hppa: Remove custom lowlevellock.h.
[glibc.git] / ChangeLog
blobe686f42b8a6acda6b1562cc35da344b82f54192f
1 2015-07-30  Torvald Riegel  <triegel@redhat.com>
3         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8         (struct sigaction): Change sa_flags from a long to an int, and add
9         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15         sysdeps/generic/sysdep.h include.
16         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18         sysdeps/hppa/sysdep.h.
19         (ENTRY, PSEUDO): Undefine before defining.
21 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24         from scratch to use INTERNAL_SYSCALL.
26 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28         [BZ #18078]
29         * scripts/check-localplt.awk: Support alternate relocations.
30         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31         sections.
32         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33         malloc entries with + REL R_386_GLOB_DAT.
34         * sysdeps/x86_64/localplt.data: New file.
36 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
38         [BZ #18731]
39         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
40         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
41         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
43 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
45         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
47 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
49         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
50         directly in terms of __sync_fetch_and_add and delete (int) cast.
52 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
54         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
55         the -D_ASM_IA64_CURRENT_H flag.
57 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
59         [BZ #18641]
60         * pwd/pwd.h (putpwent): Delete __nonnull markings.
62 2015-07-27  Andreas Schwab  <schwab@suse.de>
64         * conform/conformtest.pl (checknamespace): Filter out string
65         literals while tokenizing.
67 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
69         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
70         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
71         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
73 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
75         * nptl/tst-join7mod.c: Add #include <string.h>.
77 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
79         * sysdeps/nios2/libm-test-ulps: Update.
81 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
83         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
84         Fix order of arguments to the rt_sigprocmask syscall.
85         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
86         Likewise.
88 2015-07-24  Roland McGrath  <roland@hack.frob.com>
90         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
92 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
94         [BZ #18457]
95         * nptl/Makefile (tests): New test case tst-join7.
96         (modules-names): New test case module tst-join7mod.
97         * nptl/tst-join7.c: New file.
98         * nptl/tst-join7mod.c: New file.
99         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
100         all translation units in libc.so, libpthread.so and rtld.
102 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
106 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
109         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
110         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
115         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
116         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
117         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
119         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
120         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
121         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
122         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
123         implementation.
125 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
127         [BZ #17711]
128         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
129         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
130         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
131         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
132         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
133         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
135 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
137         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
138         instead of just saying load lock in the comments.
140 2015-07-23  Roland McGrath  <roland@hack.frob.com>
142         * sysdeps/unix/Subdirs: Moved ...
143         * sysdeps/posix/Subdirs: ... here.
144         * login/pty.h (struct termios, struct winsize): Add forward decls.
145         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
146         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
147         * sysdeps/arm/nacl/libc.abilist: Updated.
148         * sysdeps/nacl/libutil.abilist: New file.
150         * bits/signum.h: Update comments to mention 1003.1-2013 too.
151         (SIGWINCH): New macro.
153         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
154         * sysdeps/arm/nacl/libc.abilist: Add it.
156 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
158         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
160 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
162         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
163         Swap __glibc_reserved0 and sa_flags order.
165 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
167         [BZ #18657]
168         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
169         are pending TLS destructor calls.
170         * include/link.h (struct link_map): Add concurrency note for
171         L_TLS_DTOR_COUNT.
172         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
173         Don't touch the link map flag.  Atomically increment
174         l_tls_dtor_count.
175         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
176         Avoid taking the load lock and don't touch the link map flag.
177         * stdlib/tst-tls-atexit-nodelete.c: New test case.
178         * stdlib/Makefile (tests): Use it.
179         * stdlib/tst-tls-atexit.c (do_test): dlopen
180         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
181         to allow tst-tls-atexit-nodelete test case to use it.
183 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
185         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
186         to bits/types.h.
187         (msgqnum_t): New typedef.
188         (msglen_t): Likewise.
189         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
190         and msg_qbytes type to msglen_t.
192 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
194         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
195         pad0 to __glibc_reserved0.
196         (struct stat64): Likewise.
198 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
200         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
201         Change sa_flags from a long to an int and add __glibc_reserved0 before
202         it for padding.
204 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
206         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
207         anonymous by deleting "siginfo" name.
209 2015-07-21  Roland McGrath  <roland@hack.frob.com>
211         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
212         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
213         rather than __nacl_irt_filename.
214         * sysdeps/nacl/xstat.c (__xstat): Likewise.
216         * NEWS: New item for arm-nacl port.
217         * sysdeps/arm/nacl/libc.abilist: New file.
218         * sysdeps/nacl/ld.abilist: New file.
219         * sysdeps/nacl/libBrokenLocale.abilist: New file.
220         * sysdeps/nacl/libanl.abilist: New file.
221         * sysdeps/nacl/libcrypt.abilist: New file.
222         * sysdeps/nacl/libdl.abilist: New file.
223         * sysdeps/nacl/libm.abilist: New file.
224         * sysdeps/nacl/libpthread.abilist: New file.
225         * sysdeps/nacl/libresolv.abilist: New file.
226         * sysdeps/nacl/librt.abilist: New file.
228 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
230         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
231         __startcontext to initialize the new context.
232         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
233         up CFI directive to forbid further backtracing.
235 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
237         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
238         reference.
239         * charmaps/ANSI_X3.4-1968: Likewise.
240         * charmaps/BS_4730: Likewise.
241         * charmaps/BS_VIEWDATA: Likewise.
242         * charmaps/CP1250: Likewise.
243         * charmaps/CP1251: Likewise.
244         * charmaps/CP1252: Likewise.
245         * charmaps/CP1253: Likewise.
246         * charmaps/CP1254: Likewise.
247         * charmaps/CP1255: Likewise.
248         * charmaps/CP1256: Likewise.
249         * charmaps/CSN_369103: Likewise.
250         * charmaps/EBCDIC-DK-NO: Likewise.
251         * charmaps/GB_1988-80: Likewise.
252         * charmaps/GREEK-CCITT: Likewise.
253         * charmaps/GREEK7: Likewise.
254         * charmaps/INIS-8: Likewise.
255         * charmaps/ISIRI-3342: Likewise.
256         * charmaps/ISO_2033-1983: Likewise.
257         * charmaps/ISO_5427-EXT: Likewise.
258         * locales/POSIX: Likewise.
259         * locales/ar_SA: Likewise.
260         * locales/be_BY: Likewise.
261         * locales/be_BY@latin: Likewise.
262         * locales/ca_ES: Likewise.
263         * locales/cs_CZ: Likewise.
264         * locales/da_DK: Likewise.
265         * locales/de_BE: Likewise.
266         * locales/de_CH: Likewise.
267         * locales/de_LU: Likewise.
268         * locales/en_AU: Likewise.
269         * locales/en_BW: Likewise.
270         * locales/en_CA: Likewise.
271         * locales/en_DK: Likewise.
272         * locales/en_GB: Likewise.
273         * locales/en_IE: Likewise.
274         * locales/en_NZ: Likewise.
275         * locales/en_ZA: Likewise.
276         * locales/en_ZW: Likewise.
277         * locales/es_AR: Likewise.
278         * locales/es_BO: Likewise.
279         * locales/es_CL: Likewise.
280         * locales/es_CO: Likewise.
281         * locales/es_DO: Likewise.
282         * locales/es_EC: Likewise.
283         * locales/es_ES: Likewise.
284         * locales/es_HN: Likewise.
285         * locales/es_MX: Likewise.
286         * locales/es_PA: Likewise.
287         * locales/es_PE: Likewise.
288         * locales/es_PY: Likewise.
289         * locales/es_SV: Likewise.
290         * locales/es_US: Likewise.
291         * locales/es_UY: Likewise.
292         * locales/es_VE: Likewise.
293         * locales/et_EE: Likewise.
294         * locales/fa_IR: Likewise.
295         * locales/fo_FO: Likewise.
296         * locales/fr_CA: Likewise.
297         * locales/fr_CH: Likewise.
298         * locales/gv_GB: Likewise.
299         * locales/he_IL: Likewise.
300         * locales/hr_HR: Likewise.
301         * locales/id_ID: Likewise.
302         * locales/is_IS: Likewise.
303         * locales/it_CH: Likewise.
304         * locales/iw_IL: Likewise.
305         * locales/kl_GL: Likewise.
306         * locales/ko_KR: Likewise.
307         * locales/kw_GB: Likewise.
308         * locales/lg_UG: Likewise.
309         * locales/lt_LT: Likewise.
310         * locales/lv_LV: Likewise.
311         * locales/mi_NZ: Likewise.
312         * locales/nhn_MX: Likewise.
313         * locales/nl_BE: Likewise.
314         * locales/pl_PL: Likewise.
315         * locales/sk_SK: Likewise.
316         * locales/sl_SI: Likewise.
317         * locales/sv_FI: Likewise.
318         * locales/tl_PH: Likewise.
319         * locales/tr_TR: Likewise.
320         * locales/vi_VN: Likewise.
322 2015-07-21  Khem Raj  <raj.khem@gmail.com>
324         [BZ #17475]
325         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
326         of tu_IN and bh_IN.
328 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
330         [BZ #18694]
331         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
332         bits/wordsize.h.
333         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
335 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
337         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
338         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
339         (spawn_thread): New function.
340         (load): Rename to reg_dtor_and_close.  Move dlopen to...
341         (do_test): ... here.  Use IS_LOADED to test for its
342         availability.
344 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
346         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
348 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
350         [BZ #18696]
351         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
352         si_addr_bnd.
353         (si_lower): New.
354         (si_upper): Likewise.
356 2015-07-16  David S. Miller  <davem@davemloft.net>
358         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
360 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
362         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
363         buffer.
364         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
365         fail output information.
367 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
370         and strstr-ppc64..
371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
372         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
373         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
374         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
375         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
377 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
379         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
380         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
381         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
382         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
384 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
386         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
387         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
388         rtld_hidden_proto.
389         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
391 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
393         * tst-nodelete-opened.c (do_test): Add comment to clarify how
394         the test can fail.
396         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
398         [BZ #18676]
399         * elf/tst-nodelete-opened.c: New test case.
400         * elf/tst-nodelete-opened-lib.c: New test case module.
401         * elf/Makefile (tests, modules-names): Use them.
402         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
403         early.
405 2015-07-15  David S. Miller  <davem@davemloft.net>
407         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
408         futex-intenal.h
409         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
410         * sysdeps/sparc/sparc64/Makefile: Likewise.
411         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
412         Remove space from macro define.
413         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
415 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
417         [BZ #17475]
418         * locale/iso-639.def: Update Bhili and Tulu language codes as
419         per iso639-3.
421 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
423         * elf/tst-leaks1.c (main): Converted to ...
424         (do_test): ... this.
425         (TEST_FUNCTION): New macro.
426         Include test-skeleton.c.
427         * localedata/tst-langinfo.c (main): Converted to ...
428         (do_test): ... this.
429         (TEST_FUNCTION): New macro.
430         Include test-skeleton.c.
431         * math/test-fpucw.c (main): Converted to ...
432         (do_test): ... this.
433         (TEST_FUNCTION): New macro.
434         Include test-skeleton.c.
435         * math/test-tgmath.c (main): Converted to ...
436         (do_test): ... this.
437         (TEST_FUNCTION): New macro.
438         Include test-skeleton.c.
439         * math/test-tgmath2.c (main): Converted to ...
440         (do_test): ... this.
441         (TEST_FUNCTION): New macro.
442         Include test-skeleton.c.
443         * setjmp/tst-setjmp.c (main): Converted to ...
444         (do_test): ... this.
445         (TEST_FUNCTION): New macro.
446         Include test-skeleton.c.
447         * stdio-common/tst-sscanf.c (main): Converted to ...
448         (do_test): ... this.
449         (TEST_FUNCTION): New macro.
450         Include test-skeleton.c.
451         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
452         (do_test): ... this.
453         (TEST_FUNCTION): New macro.
454         Include test-skeleton.c.
456         * elf/tst-audit9.c (main): Converted to ...
457         (do_test): ... this.
458         (TEST_FUNCTION): New macro.
459         Include test-skeleton.c.
461 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
463         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
465 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
467         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
468         New variable.
470 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
472         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
474 2015-07-14  Roland McGrath  <roland@hack.frob.com>
476         * sysdeps/generic/dl-fileid.h: New file.
477         * sysdeps/posix/dl-fileid.h: New file.
478         * sysdeps/nacl/dl-fileid.h: New file.
479         * include/link.h: Include <dl-fileid.h>.
480         (struct link_map): Replace l_dev and l_ino with l_file_id.
481         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
482         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
483         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
485 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
487         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
489 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
491         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
492         Add iff $CXX is set.
493         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
494         Likewise.
495         (tst-nodelete-zmodiff): Likewise.
496         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
498 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
500         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
502 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
504         * sysdeps/aarch64/fpu/math_private.h
505         (define math_opt_barrier): Add AArch64 version.
506         (math_force_eval): Likewise.
508 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
510         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
512 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
514         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
515         %ld with %jd and cast to intmax_t.
516         (do_test_length_zero): Likewise.
518 2015-07-10  Roland McGrath  <roland@hack.frob.com>
520         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
522 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
524         * sysdeps/tile/libm-test-ulps: Regenerated.
526         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
527         Comment out the whole function, not just its body.
529 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
531         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
532         locks.
534         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
536 2015-07-10  Torvald Riegel  <triegel@redhat.com>
538         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
539         (sem_assume_only_signals_cause_futex_EINTR): Remove.
541 2015-07-10  Torvald Riegel  <triegel@redhat.com>
543         * sysdeps/nptl/futex-internal.h: New file.
544         * sysdeps/nacl/futex-internal.h: New file.
545         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
546         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
547         error checking.
548         (setxid_unmark_thread): Likewise.
549         (__nptl_setxid): Likewise.
550         (__wait_lookup_done): Likewise.
551         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
552         * nptl/nptl-init.c (sighandler_setxid): Likewise.
553         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
554         * nptl/pthread_once.c (clear_once_control): Likewise.
555         (__pthread_once_slow): Likewise.
556         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
557         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
558         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
559         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
560         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
561         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
562         Likewise.
563         (__pthread_rwlock_rdlock): Likewise.
564         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
565         Likewise.
566         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
567         Likewise.
568         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
569         Likewise.
570         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
571         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
572         Likewise.
573         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
574         __ASSUME_PRIVATE_FUTEX check.
575         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
576         Check that shared futexes are supported.
577         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
578         wrappers with error checking.
579         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
580         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
581         * nptl/pthread_barrierattr_setpshared.c
582         (pthread_barrierattr_setpshared): Check that shared futexes are
583         supported.
584         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
585         Likewise.
586         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
587         Likewise.
588         * nptl/sem_init.c (futex_private_if_supported): Remove.
589         (__new_sem_init): Adapt and check that shared futexes are supported.
590         * nptl/sem_open.c (sem_open): Likewise.
591         * nptl/sem_post.c (futex_wake): Remove.
592         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
593         (do_futex_wait): Use futex wrappers with error checking.
594         * nptl/sem_wait.c: Include lowlevellock.h.
595         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
596         Use futex_supports_pshared.
597         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
598         Use futex wrappers with error checking.
599         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
600         Likewise.
601         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
602         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
603         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
604         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
605         (futex_wake): Likewise.
606         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
607         (do_futex_wait): Use futex wrappers with error checking.
608         (__new_sem_wait_slow): Update EINTR handling.
609         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
611 2015-07-09  Martin Sebor  <msebor@redhat.com>
613         [BZ #18435]
614         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
615         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
616         * nptl/Makefile (test-xfail-tst-once5): Define.
618 2015-07-09  Roland McGrath  <roland@hack.frob.com>
620         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
621         * elf/dl-minimal.c: For readability, reorder some definitions and
622         introduce more page breaks.  Include <stdio.h>.
623         (__libc_fatal): New function.
625         * include/unistd.h: Add rtld_hidden_proto for _exit.
626         * posix/_exit.c: Add rtld_hidden_def.
627         * sysdeps/mach/hurd/_exit.c: Likewise.
628         * sysdeps/nacl/_exit.c: Likewise.
629         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
630         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
632 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
634         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
635         bndmov encoding with zero displacement.
637 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
638             H.J. Lu  <hongjiu.lu@intel.com>
640         [BZ #18134]
641         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
642         * sysdeps/i386/configure: Regenerated.
643         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
644         (_dl_runtime_profile): Save and restore Intel MPX return bound
645         registers when calling _dl_call_pltexit.  Add
646         PRESERVE_BND_REGS_PREFIX before return.
647         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
648         (LRV_BND1_OFFSET): Likewise.
649         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
650         lrv_bnd1.
651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
652         typo in bndmov encoding.
653         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
654         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
655         branch instructions to preserve bounds.
657 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
660         [GLIBC_2.22]: Add fmemopen.
662 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
664         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
665         returns an error, also try to use host port from __mach_host_self for
666         the __vm_wire call.
667         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
669 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
671         [BZ #18400]
672         [BZ #18648]
673         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
674         Fix pr_uid and pr_gid members.
675         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
676         definition to elf_greg_t.
678 2015-07-08  Roland McGrath  <roland@hack.frob.com>
680         [BZ #18383]
681         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
682         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
683         * sysdeps/arm/configure: Regenerated.
684         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
685         (test-xfail-tst-tlsalign-static): Variable removed.
687         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
688         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
689         rather than explicit 'ln -s'.
691         * resolv/rpc/netdb.h: New file.
692         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
694 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
696         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
697         length buffers.
698         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
699         test-skeleton.c.
701         [BZ #6544]
702         [BZ #11216]
703         [BZ #12836]
704         [BZ #13151]
705         [BZ #13152]
706         [BZ #14292]
707         * include/stdio.h (fmemopen): Remove hidden prototype.
708         (__fmemopen): Add new hidden prototype.
709         * libio/Makefile: Add oldfmemopen object.
710         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
711         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
712         compliance.
713         * libio/oldfmemopen.c: New file: old fmemopen implementation for
714         symbol compatibility.
715         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
716         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
717         fmemopen.
718         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
719         on append and read mode.
720         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
721         fmemopen.
722         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
723         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
724         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
725         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
726         Likewise.
727         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
728         [GLIBC_2.22]: Likewise.
729         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
730         Likewise.
731         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
732         Likewise.
733         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
734         [GLIBC_2.22]: Likewise.
735         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
736         [GLIBC_2.22]: Likewise.
737         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
738         [GLIBC_2.22]: Likewise.
739         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
740         [GLIBC_2.22]: Likewise.
741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
742         [GLIBC_2.22]: Likewise.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
744         [GLIBC_2.22]: Likewise.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
746         [GLIBC_2.22]: Likewise.
747         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
748         Likewise.
749         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
750         Likewise.
751         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
752         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
753         [GLIBC_2.22]: Likewise.
754         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
755         [GLIBC_2.22]: Likewise.
756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
757         [GLIBC_2.22]: Likewise.
758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
759         [GLIBC_2.22]: Likewise.
760         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
761         Likewise.
762         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
763         Likewise.
764         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
765         Likewise.
766         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
767         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
769 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
771         [BZ #18643]
772         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
773         IPV6_PATHMTU, and IPV6_DONTFRAG.
775 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
777         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
778         and _IO_UNBUFFERED.
779         * libio/oldfileops.c: Likewise.
780         * libio/wfileops.c: Likewise.
782 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
784         * nscd/selinux.c: Delete selinux/flask.h include.
786 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
788         [BZ #18641]
789         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
790         (putpwent): Likewise.
791         (getpwnam): Likewise.
792         (getpwent_r): Likewise.
793         (getpwuid_r): Likewise.
794         (getpwnam_r): Likewise.
795         (fgetpwent_r): Likewise.
797 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
799         [BZ #18557]
800         * inet/rcmd.c (__validuser2_sa): Check user first to
801         short-circuit host check.
803 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
804             Mikhail Ilin  <m.ilin@samsung.com>
806         [BZ #17833]
807         * elf/Makefile (tests): Add tst-nodelete.
808         (modules-names): Add tst-nodelete-uniquemod.
809         (tst-nodelete-uniquemod.so-no-z-defs): New.
810         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
811         (tst-nodelete-zmod.so-no-z-defs): Likewise.
812         ($(objpfx)tst-nodelete): Likewise.
813         ($(objpfx)tst-nodelete.out): Likewise.
814         (LDFLAGS-tst-nodelete): Likewise.
815         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
816         * elf/dl-close.c (_dl_close_worker): Add a parameter to
817         implement forced object deletion.
818         (_dl_close): Pass false to _dl_close_worker.
819         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
820         * elf/tst-nodelete.cc: New file.
821         * elf/tst-nodeletelib.cc: Likewise.
822         * elf/tst-znodeletelib.cc: Likewise.
823         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
825 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
827         [BZ #18508]
828         * stdlib/Makefile ($(objpfx)tst-makecontext3):
829         Depend on $(libdl).
830         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
831         is not called infinitely times.
832         (backtrace_helper): New function.
833         (trace_arg): New struct.
834         (st1): Enlarge stack size.
835         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
836         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
837         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
838         Likewise.
840 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
842         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
844 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
846         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
847         Include sys/types.h instead of bits/types.h.
848         Remove inclusion of bits/wordsize.h.
850 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
852         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
853         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
854         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
855         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
856         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
857         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
859 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
861         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
862         link-defines.sym.
863         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
864         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
865         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
866         and LR_SIZE.
867         * sysdeps/i386/link-defines.sym: New file.
869 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
871         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
872         (modules-names): Add tst-auditmod3a tst-auditmod3b.
873         ($(objpfx)tst-audit3): New rule.
874         ($(objpfx)tst-audit3.out): Likewise.
875         * sysdeps/i386/tst-audit3.c: New file.
876         * sysdeps/i386/tst-audit3.h: Likewise.
877         * sysdeps/i386/tst-auditmod3a.c: Likewise.
878         * sysdeps/i386/tst-auditmod3b.c: Likewise.
880 2015-07-07  Torvald Riegel  <triegel@redhat.com>
882         [BZ #18633]
883         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
884         pointer in C code.
885         (__strcat_c): Likewise.
886         (__strcat_g): Likewise.
888 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
890         [BZ #18592]
891         * misc/sbrk.c: Set errno to ENOMEM on overflow.
893 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
895         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
896         New function.  (__ieee754_sqrtf): New function.
897         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
898         New function.
899         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
900         New function.
902 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
904         * sysdeps/ieee754/support.c: Remove unused file.
906 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
908         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
909         registers instead of d ones so the layout is kernel abi compatible.
910         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
911         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
912         Likewise.
914 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
916         * sysdeps/aarch64/libm-test-ulps: Regenerated.
918 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
920         [BZ #18619]
921         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
922         and return argument in case of subnormal argument.
924 2015-07-01  Martin Sebor  <msebor@redhat.com>
926         [BZ #18435]
927         * nptl/Makefile: Add tst-once5.cc.
928         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
929         Remove macro redefinitions.
930         * nptl/tst-once5.cc: New test.
932 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
934         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
936         * sysdeps/arm/libm-test-ulps: Regenerated.
938         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
939         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
941 2015-06-30  Torvald Riegel  <triegel@redhat.com>
943         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
944         lll_lock_wait_private and lll_futex_wake probes.
946         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
947         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
948         Likewise.
949         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
950         atomic_spin_nop.
951         * sysdeps/x86_64/bits/atomic.h: Likewise.
952         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
953         to atomic_spin_nop and move ...
954         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
955         ... here and ...
956         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
957         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
958         atomic_spin_nop instead of BUSY_WAIT_NOP.
959         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
960         Likewise.
961         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
962         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
963         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
964         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
965         instead of atomic_delay.
967 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
969         [BZ #18613]
970         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
971         X_ADJ not X when adjusting exponent.
972         (__ieee754_gamma_r): Do intermediate computations in
973         round-to-nearest then adjust overflowing and underflowing results
974         as needed.
975         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
976         of X_ADJ not X when adjusting exponent.
977         (__ieee754_gammaf_r): Do intermediate computations in
978         round-to-nearest then adjust overflowing and underflowing results
979         as needed.
980         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
981         log of X_ADJ not X when adjusting exponent.
982         (__ieee754_gammal_r): Do intermediate computations in
983         round-to-nearest then adjust overflowing and underflowing results
984         as needed.  Use 1.0L not 1.0f as numerator of division.
985         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
986         log of X_ADJ not X when adjusting exponent.
987         (__ieee754_gammal_r): Do intermediate computations in
988         round-to-nearest then adjust overflowing and underflowing results
989         as needed.  Use 1.0L not 1.0f as numerator of division.
990         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
991         of X_ADJ not X when adjusting exponent.
992         (__ieee754_gammal_r): Do intermediate computations in
993         round-to-nearest then adjust overflowing and underflowing results
994         as needed.  Use 1.0L not 1.0f as numerator of division.
995         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
996         to auto-libm-test-in.
997         (tgamma_test): Use ALL_RM_TEST.
998         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
999         tests of tgamma with spurious-overflow.
1000         * math/auto-libm-test-out: Regenerated.
1001         * math/gen-libm-have-vector-test.sh: Do not check for START.
1002         * sysdeps/i386/fpu/libm-test-ulps: Update.
1003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1005         [BZ #18612]
1006         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1007         arguments, just return 0.5 times the argument, with underflow
1008         forced as needed.
1009         * math/auto-libm-test-in: Add more tests of j1.
1010         * math/auto-libm-test-out: Regenerated.
1012         [BZ #16559]
1013         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1014         (__ieee754_j1): Force underflow exception for small results.
1015         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1016         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1017         (__ieee754_j1f): Force underflow exception for small results.
1018         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1019         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1021         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1022         (__ieee754_j1l): Force underflow exception for small results.
1023         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1024         * math/auto-libm-test-in: Add more tests of j1 and jn.
1025         * math/auto-libm-test-out: Regenerated.
1027         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1028         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1029         (PF_MPLS): Likewise.
1030         (AF_IB): Likewise.
1031         (AF_MPLS): Likewise.
1032         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1033         value and macro.
1034         (MS_RMT_MASK): Include MS_LAZYTIME.
1036 2015-06-26  Mel Gorman  <mgorman@suse.de>
1038         [BZ #18502]
1039         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1040         already minimal.
1042 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1044         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1045         (DT_MIPS_NUM): Update.
1046         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1047         DT_MIPS_RLD_MAP_REL.
1049 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1051         [BZ #16559]
1052         [BZ #18602]
1053         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1054         round-to-nearest internally then recompute results that
1055         underflowed to zero in the original rounding mode.
1056         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1057         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1059         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1060         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1061         * sysdeps/i386/fpu/libm-test-ulps: Update.
1062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1066         * NEWS: Fixed description of link with vector math library.
1068 2015-06-25  Andreas Schwab  <schwab@suse.de>
1070         [BZ #18549]
1071         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1072         * libio/test-fmemopen.c (do_test): Add test for it.
1074 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1076         [BZ #17841]
1077         * Makeconfig (no-pie-ldflag): New.
1078         (+link): Set to $(+link-pie) if default to PIE.
1079         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1080         * config.make.in (build-pie-default): New.
1081         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1082         is default.  AC_SUBST.
1083         * configure: Regenerated.
1084         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1086 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1088         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1089         to 'unsigned int'.
1091         * resolv/gai_misc.h (struct waitlist): Change type of field
1092         counterp to 'volatile unsigned int *'.
1093         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1094         FUTEXADDR and OLDVAL.
1095         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1096         Give local variable TOTAL type 'volatile unsigned int'.
1097         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1098         * resolv/gai_suspend.c (gai_suspend):
1099         Give local variable CNTR type 'unsigned int'.
1101         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1102         counterp to 'volatile unsigned int *'.
1103         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1104         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1105         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1106         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1107         Give local variable TOTAL type 'volatile unsigned int'.
1108         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1110 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1112         [BZ #18383]
1113         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1114         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1115         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1116         comment for i386/x86-64.
1117         (test-xfail-tst-tlsalign-extern-static): Removed.
1119 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1121         * math/test-double.h: New file.
1122         * math/test-float.h: Likewise.
1123         * math/test-ldouble.h: Likewise.
1124         * math/test-math-inline.h: Likewise.
1125         * math/test-math-no-inline.h: Likewise.
1126         * math/test-math-scalar.h: Likewise.
1127         * math/test-math-vector.h: Likewise.
1128         * math/test-vec-loop.h: Remove file.  Contents moved into
1129         test-math-vector.h.
1130         * math/libm-test.inc (MATHCONST): Do not document macro.
1131         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1132         and test-math-scalar.h.
1133         (FUNC): Remove macro.
1134         (FUNC_TEST): Likewise.
1135         (FLOAT): Likewise.
1136         (MATHCONST): Likewise.
1137         (PRINTF_EXPR): Likewise.
1138         (PRINTF_XEXPR): Likewise.
1139         (PRINTF_NEXPR): Likewise.
1140         (TEST_DOUBLE): Likewise.
1141         (TEST_MATHVEC): Likewise.
1142         (__NO_MATH_INLINES): Likewise.
1143         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1144         and test-math-scalar.h.
1145         (FUNC): Remove macro.
1146         (FUNC_TEST): Likewise.
1147         (FLOAT): Likewise.
1148         (MATHCONST): Likewise.
1149         (PRINTF_EXPR): Likewise.
1150         (PRINTF_XEXPR): Likewise.
1151         (PRINTF_NEXPR): Likewise.
1152         (TEST_FLOAT): Likewise.
1153         (TEST_MATHVEC): Likewise.
1154         (__NO_MATH_INLINES): Likewise.
1155         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1156         and test-math-scalar.h.
1157         (FUNC): Remove macro.
1158         (FUNC_TEST): Likewise.
1159         (FLOAT): Likewise.
1160         (MATHCONST): Likewise.
1161         (PRINTF_EXPR): Likewise.
1162         (PRINTF_XEXPR): Likewise.
1163         (PRINTF_NEXPR): Likewise.
1164         (TEST_DOUBLE): Likewise.
1165         (TEST_MATHVEC): Likewise.
1166         (TEST_INLINE): Likewise.
1167         (__NO_MATH_INLINES): Likewise.
1168         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1169         test-math-scalar.h.
1170         (FUNC): Remove macro.
1171         (FUNC_TEST): Likewise.
1172         (FLOAT): Likewise.
1173         (MATHCONST): Likewise.
1174         (PRINTF_EXPR): Likewise.
1175         (PRINTF_XEXPR): Likewise.
1176         (PRINTF_NEXPR): Likewise.
1177         (TEST_FLOAT): Likewise.
1178         (TEST_MATHVEC): Likewise.
1179         (TEST_INLINE): Likewise.
1180         (__NO_MATH_INLINES): Likewise.
1181         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1182         and test-math-scalar.h.
1183         (FUNC): Remove macro.
1184         (FUNC_TEST): Likewise.
1185         (FLOAT): Likewise.
1186         (MATHCONST): Likewise.
1187         (PRINTF_EXPR): Likewise.
1188         (PRINTF_XEXPR): Likewise.
1189         (PRINTF_NEXPR): Likewise.
1190         (TEST_LDOUBLE): Likewise.
1191         (TEST_MATHVEC): Likewise.
1192         (TEST_INLINE): Likewise.
1193         (__NO_MATH_INLINES): Likewise.
1194         * math/test-ldouble.c: Include test-ldouble.h,
1195         test-math-no-inline.h and test-math-scalar.h.
1196         (FUNC): Remove macro.
1197         (FUNC_TEST): Likewise.
1198         (FLOAT): Likewise.
1199         (MATHCONST): Likewise.
1200         (PRINTF_EXPR): Likewise.
1201         (PRINTF_XEXPR): Likewise.
1202         (PRINTF_NEXPR): Likewise.
1203         (TEST_LDOUBLE): Likewise.
1204         (TEST_MATHVEC): Likewise.
1205         (__NO_MATH_INLINES): Likewise.
1206         * math/test-double-vlen2.h: Include test-double.h,
1207         test-math-no-inline.h and test-math-vector.h.
1208         (FLOAT): Remove macro.
1209         (FUNC): Likewise.
1210         (MATHCONST): Likewise.
1211         (PRINTF_EXPR): Likewise.
1212         (PRINTF_XEXPR): Likewise.
1213         (PRINTF_NEXPR): Likewise.
1214         (TEST_DOUBLE): Likewise.
1215         (TEST_MATHVEC): Likewise.
1216         (__NO_MATH_INLINES): Likewise.
1217         (CNCT): Likewise.
1218         (CONCAT): Likewise.
1219         (WRAPPER_NAME): Likewise.
1220         (WRAPPER_DECL): Likewise.
1221         (WRAPPER_DECL_ff): Likewise.
1222         (WRAPPER_DECL_fFF): Likewise.
1223         (VECTOR_WRAPPER): Likewise.
1224         (VECTOR_WRAPPER_ff): Likewise.
1225         (VECTOR_WRAPPER_fFF): Likewise.
1226         (VEC_LEN): New macro.
1227         * math/test-double-vlen4.h: Include test-double.h,
1228         test-math-no-inline.h and test-math-vector.h.
1229         (FLOAT): Remove macro.
1230         (FUNC): Likewise.
1231         (MATHCONST): Likewise.
1232         (PRINTF_EXPR): Likewise.
1233         (PRINTF_XEXPR): Likewise.
1234         (PRINTF_NEXPR): Likewise.
1235         (TEST_DOUBLE): Likewise.
1236         (TEST_MATHVEC): Likewise.
1237         (__NO_MATH_INLINES): Likewise.
1238         (CNCT): Likewise.
1239         (CONCAT): Likewise.
1240         (WRAPPER_NAME): Likewise.
1241         (WRAPPER_DECL): Likewise.
1242         (WRAPPER_DECL_ff): Likewise.
1243         (WRAPPER_DECL_fFF): Likewise.
1244         (VECTOR_WRAPPER): Likewise.
1245         (VECTOR_WRAPPER_ff): Likewise.
1246         (VECTOR_WRAPPER_fFF): Likewise.
1247         (VEC_LEN): New macro.
1248         * math/test-double-vlen8.h: Include test-double.h,
1249         test-math-no-inline.h and test-math-vector.h.
1250         (FLOAT): Remove macro.
1251         (FUNC): Likewise.
1252         (MATHCONST): Likewise.
1253         (PRINTF_EXPR): Likewise.
1254         (PRINTF_XEXPR): Likewise.
1255         (PRINTF_NEXPR): Likewise.
1256         (TEST_DOUBLE): Likewise.
1257         (TEST_MATHVEC): Likewise.
1258         (__NO_MATH_INLINES): Likewise.
1259         (CNCT): Likewise.
1260         (CONCAT): Likewise.
1261         (WRAPPER_NAME): Likewise.
1262         (WRAPPER_DECL): Likewise.
1263         (WRAPPER_DECL_ff): Likewise.
1264         (WRAPPER_DECL_fFF): Likewise.
1265         (VECTOR_WRAPPER): Likewise.
1266         (VECTOR_WRAPPER_ff): Likewise.
1267         (VECTOR_WRAPPER_fFF): Likewise.
1268         (VEC_LEN): New macro.
1269         * math/test-float-vlen4.h: Include test-float.h,
1270         test-math-no-inline.h and test-math-vector.h.
1271         (FLOAT): Remove macro.
1272         (FUNC): Likewise.
1273         (MATHCONST): Likewise.
1274         (PRINTF_EXPR): Likewise.
1275         (PRINTF_XEXPR): Likewise.
1276         (PRINTF_NEXPR): Likewise.
1277         (TEST_FLOAT): Likewise.
1278         (TEST_MATHVEC): Likewise.
1279         (__NO_MATH_INLINES): Likewise.
1280         (CNCT): Likewise.
1281         (CONCAT): Likewise.
1282         (WRAPPER_NAME): Likewise.
1283         (WRAPPER_DECL): Likewise.
1284         (WRAPPER_DECL_ff): Likewise.
1285         (WRAPPER_DECL_fFF): Likewise.
1286         (VECTOR_WRAPPER): Likewise.
1287         (VECTOR_WRAPPER_ff): Likewise.
1288         (VECTOR_WRAPPER_fFF): Likewise.
1289         (VEC_LEN): New macro.
1290         * math/test-float-vlen8.h: Include test-float.h,
1291         test-math-no-inline.h and test-math-vector.h.
1292         (FLOAT): Remove macro.
1293         (FUNC): Likewise.
1294         (MATHCONST): Likewise.
1295         (PRINTF_EXPR): Likewise.
1296         (PRINTF_XEXPR): Likewise.
1297         (PRINTF_NEXPR): Likewise.
1298         (TEST_FLOAT): Likewise.
1299         (TEST_MATHVEC): Likewise.
1300         (__NO_MATH_INLINES): Likewise.
1301         (CNCT): Likewise.
1302         (CONCAT): Likewise.
1303         (WRAPPER_NAME): Likewise.
1304         (WRAPPER_DECL): Likewise.
1305         (WRAPPER_DECL_ff): Likewise.
1306         (WRAPPER_DECL_fFF): Likewise.
1307         (VECTOR_WRAPPER): Likewise.
1308         (VECTOR_WRAPPER_ff): Likewise.
1309         (VECTOR_WRAPPER_fFF): Likewise.
1310         (VEC_LEN): New macro.
1311         * math/test-float-vlen16.h: Include test-float.h,
1312         test-math-no-inline.h and test-math-vector.h.
1313         (FLOAT): Remove macro.
1314         (FUNC): Likewise.
1315         (MATHCONST): Likewise.
1316         (PRINTF_EXPR): Likewise.
1317         (PRINTF_XEXPR): Likewise.
1318         (PRINTF_NEXPR): Likewise.
1319         (TEST_FLOAT): Likewise.
1320         (TEST_MATHVEC): Likewise.
1321         (__NO_MATH_INLINES): Likewise.
1322         (CNCT): Likewise.
1323         (CONCAT): Likewise.
1324         (WRAPPER_NAME): Likewise.
1325         (WRAPPER_DECL): Likewise.
1326         (WRAPPER_DECL_ff): Likewise.
1327         (WRAPPER_DECL_fFF): Likewise.
1328         (VECTOR_WRAPPER): Likewise.
1329         (VECTOR_WRAPPER_ff): Likewise.
1330         (VECTOR_WRAPPER_fFF): Likewise.
1331         (VEC_LEN): New macro.
1332         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1333         test-vec-loop.h.
1334         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1335         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1336         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1337         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1338         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1340         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1342 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1344         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1345         (__getlogin_r): ... this.
1347 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #18594]
1350         * math/s_ccosh.c (__ccosh): Compare with least normal value
1351         instead of comparing class with FP_SUBNORMAL.
1352         * math/s_ccoshf.c (__ccoshf): Likewise.
1353         * math/s_ccoshl.c (__ccoshl): Likewise.
1354         * math/s_cexp.c (__cexp): Likewise.
1355         * math/s_cexpf.c (__cexpf): Likewise.
1356         * math/s_cexpl.c (__cexpl): Likewise.
1357         * math/s_csin.c (__csin): Likewise.
1358         * math/s_csinf.c (__csinf): Likewise.
1359         * math/s_csinh.c (__csinh): Likewise.
1360         * math/s_csinhf.c (__csinhf): Likewise.
1361         * math/s_csinhl.c (__csinhl): Likewise.
1362         * math/s_csinl.c (__csinl): Likewise.
1363         * math/s_ctan.c (__ctan): Likewise.
1364         * math/s_ctanf.c (__ctanf): Likewise.
1365         * math/s_ctanh.c (__ctanh): Likewise.
1366         * math/s_ctanhf.c (__ctanhf): Likewise.
1367         * math/s_ctanhl.c (__ctanhl): Likewise.
1368         * math/s_ctanl.c (__ctanl): Likewise.
1369         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1370         csin, csinh, ctan and ctanh.
1371         * math/auto-libm-test-out: Regenerated.
1372         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1373         * sysdeps/i386/fpu/libm-test-ulps: Update.
1374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1376 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1378         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1379         return value is wrong, print the expected value too.
1381 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1383         [BZ #18585]
1384         * elf/readlib.c (is_gdb_python_file): New.
1385         (process_file): Don't issue errors on filenames with -gdb.py
1386         suffix.
1388 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1390         * math/auto-libm-test-in: Add more tests of csin and csinh.
1391         * math/auto-libm-test-out: Regenerated.
1392         * math/libm-test.inc (csin_test_data): Remove tests moved to
1393         auto-libm-test-in.
1394         (csinh_test_data): Likewise.
1396         [BZ #18593]
1397         * math/s_csin.c (__csin): Negate before rather than after possibly
1398         overflowing multiplication.
1399         * math/s_csinf.c (__csinf): Likewise.
1400         * math/s_csinh.c (__csinh): Likewise.
1401         * math/s_csinhf.c (__csinhf): Likewise.
1402         * math/s_csinhl.c (__csinhl): Likewise.
1403         * math/s_csinl.c (__csinl): Likewise.
1404         * math/auto-libm-test-in: Add some tests of csin and csinh.
1405         * math/auto-libm-test-out: Regenerated.
1406         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1407         (csinh_test_data): Likewise.
1408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1410         [BZ #18586]
1411         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1412         underflow exception for small results.
1414 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1416         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1418         variable and included header.
1419         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1420         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1424         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1425         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1426         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1427         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1428         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1429         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1430         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1431         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1432         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1433         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1434         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1436 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1438         [BZ #16526]
1439         [BZ #16538]
1440         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1441         (__sin): Force underflow exception for arguments with small
1442         absolute value.
1443         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1444         (__kernel_sinf): Force underflow exception for arguments with
1445         small absolute value.
1446         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1447         (__kernel_sincosl): Force underflow exception for arguments with
1448         small absolute value.
1449         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1450         (__kernel_sinl): Force underflow exception for arguments with
1451         small absolute value.
1452         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1453         (__kernel_sincosl): Force underflow exception for arguments with
1454         small absolute value.
1455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1456         (__kernel_sinl): Force underflow exception for arguments with
1457         small absolute value.
1458         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1459         (__kernel_sinl): Force underflow exception for arguments with
1460         small absolute value.
1461         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1462         (__kernel_sinf): Force underflow exception for arguments with
1463         small absolute value.
1464         * math/auto-libm-test-in: Add more tests of sin and sincos.
1465         * math/auto-libm-test-out: Regenerated.
1467         [BZ #18245]
1468         [BZ #18583]
1469         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1470         (__kernel_standard_l): Use feholdexcept and fesetenv around
1471         conversion to double instead of special-casing overflow and
1472         underflow.
1473         * math/libm-test.inc (fmod_test_data): Add more tests.
1474         (remainder_test_data): Likewise.
1475         (sqrt_test_data): Likewise.
1477 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1479         [BZ #17403]
1480         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1481         atomic_read_barrier, atomic_write_barrier): Define.
1482         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1483         atomic_read_barrier, atomic_write_barrier): Define.
1485 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1487         * math/Makefile [$(PERL) != no]
1488         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1489         dependency on libm-test.stmp below the inclusion of Rules.
1491 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1495         and included header.
1496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1500         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1502         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1504         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1505         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1506         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1507         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1508         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1509         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1510         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1511         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1512         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1513         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1514         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1516 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1518         [BZ #18371]
1519         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1520         intermediate but not final result might underflow.
1521         * math/s_csqrtf.c (__csqrtf): Likewise.
1522         * math/s_csqrtl.c (__csqrtl): Likewise.
1523         * math/auto-libm-test-in: Add more tests of csqrt.
1524         * math/auto-libm-test-out: Regenerated.
1525         * sysdeps/i386/fpu/libm-test-ulps: Update.
1527         [BZ #18219]
1528         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1529         threshold on absolute value of exponent for which scaling is used.
1530         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1531         * math/auto-libm-test-in: Add more tests of exp2.
1532         * math/auto-libm-test-out: Regenerated.
1534 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1536         [BZ #17977]
1537         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1538         when initializing interface list, based on the bug analysis
1539         and the patch proposed by Eric Newton.
1540         * resolv/tst-res_hconf_reorder.c: New test.
1541         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1542         tst-res_hconf_reorder.
1543         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1544         and $(shared-thread-library).
1545         (tst-res_hconf_reorder-ENV): New variable.
1547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1548         in comment.
1550 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1552         [BZ #16353]
1553         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1554         (__expm1): Force underflow exception for arguments with small
1555         absolute value.
1556         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1557         (__expm1f): Force underflow exception for arguments with small
1558         absolute value.
1559         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1560         (__expm1): Force underflow exception for arguments with small
1561         absolute value.
1562         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1563         (__expm1f): Force underflow exception for arguments with small
1564         absolute value.
1565         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1566         Check for small arguments before calling __expm1.
1567         * math/auto-libm-test-in: Do not mark underflow exceptions as
1568         possibly missing for bug 16353.
1569         * math/auto-libm-test-out: Regenerated.
1571 2015-06-22  Andreas Schwab  <schwab@suse.de>
1573         [BZ #18513]
1574         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1575         PTR queries.
1577 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1579         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1581         * string/strcoll_l.c: Remove unused struct element idxnow.
1583 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1585         [BZ #18569]
1586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1587         underflow and return argument in case of subnormal argument.
1588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1589         Likewise.
1590         * math/auto-libm-test-in: Add more tests of expm1.
1591         * math/auto-libm-test-out: Regenerated.
1593         [BZ #16361]
1594         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1595         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1596         tiny results.
1597         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1598         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1599         tiny results.
1600         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1601         mark underflow exceptions as possibly missing for bug 16361.
1602         * math/auto-libm-test-out: Regenerated.
1604 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1606         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1607         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1608         Remove variable.
1609         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1610         (test-xfail-XOPEN2K8/utmpx.h/conform).
1612         * conform/conformtest.pl ($xerrors): New variable.
1613         (note_error): New function.
1614         (compiletest): New argument $xfail.  Use not_error.
1615         (runtest): Likewise.
1616         (top level): Handle xfail- lines.  Update calls to compiletest and
1617         runtest.  Handle xfail- and optional- in headers listed with
1618         allow-header.
1619         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1620         (O_EXEC): Likewise.
1621         (O_SEARCH): Likewise.
1622         * conform/data/stropts.h-data (ioctl): Likewise.
1623         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1624         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1625         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1626         (msghdr.msg_controllen): Likewise.
1627         (cmsghdr.cmsg_len): Likewise.
1628         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1629         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1630         variable.
1631         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1632         (test-xfail-XPG4/stropts.h/conform): Likewise.
1633         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1634         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1635         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1636         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1637         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1638         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1639         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1640         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1641         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1642         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1643         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1644         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1645         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1646         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1647         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1648         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1649         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1650         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1651         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1653 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1655         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1656         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1657         definitions for proper unfolding of __MATHDECL_VEC.
1659 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1661         * benchtests/bench-strcoll.c:
1662         Include string.h.
1663         (main): Remove unused variable res.
1665 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1667         * timezone/Makefile (%/UTC %/Universal):
1668         Generate test-result files for UTC and Universal.
1670 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1672         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1674 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #16350]
1677         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1678         for arguments with small absolute value.
1679         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1680         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1681         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1682         (__asinh): Force underflow exception for arguments with small
1683         absolute value.
1684         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1685         (__asinhf): Force underflow exception for arguments with small
1686         absolute value.
1687         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1688         (__asinhl): Force underflow exception for arguments with small
1689         absolute value.
1690         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1691         (__asinhl): Force underflow exception for arguments with small
1692         absolute value.
1693         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1694         (__asinhl): Force underflow exception for arguments with small
1695         absolute value.
1696         * math/auto-libm-test-in: Do not mark underflow exceptions as
1697         possibly missing for bug 16350.
1698         * math/auto-libm-test-out: Regenerated.
1700         * include/bits/ipc.h: Remove file.
1701         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1702         variable.
1703         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1704         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1705         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1706         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1707         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1708         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1709         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1710         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1711         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1713         * math/auto-libm-test-in: Remove spurious underflow allowance for
1714         tests of cexp.
1715         * math/auto-libm-test-out: Regenerated.
1717         [BZ #18558]
1718         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1719         unconditional definition.
1720         (MCAST_BLOCK_SOURCE): Likewise.
1721         (MCAST_UNBLOCK_SOURCE): Likewise.
1722         (MCAST_LEAVE_GROUP): Likewise.
1723         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1724         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1725         (MCAST_MSFILTER): Likewise.
1726         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1727         Remove variable.
1728         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1729         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1730         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1731         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1732         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1734 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1736         * NEWS: Mention addition of x86_64 vector sincosf.
1737         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1738         * math/test-float-vlen4.h: Likewise.
1739         * math/test-float-vlen8.h: Likewise.
1740         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1741         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1743         * sysdeps/x86_64/fpu/Versions: New versions added.
1744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1746         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1750         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1751         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1752         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1753         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1754         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1755         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1756         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1757         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1758         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1759         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1760         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1761         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1762         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1763         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1764         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1765         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1766         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1767         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1769         * NEWS: Mention addition of x86_64 vector sincos.
1770         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1771         * math/math.h (__MATHDECL_VEC): New macro.
1772         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1773         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1774         declaration under condition.
1775         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1776         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1777         TEST_VEC_LOOP change.
1778         * math/test-double-vlen4.h: Likewise.
1779         * math/test-double-vlen8.h: Likewise.
1780         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1781         * math/test-float-vlen4.h: Likewise.
1782         * math/test-float-vlen8.h: Likewise.
1783         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1784         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1785         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1786         * sysdeps/x86_64/fpu/Versions: New versions added.
1787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1788         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1789         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1792         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1793         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1794         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1796         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1797         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1798         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1799         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1800         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1801         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1802         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1803         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1804         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1805         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1807         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1808         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1809         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1813         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1814         redirections for powf.
1815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1816         * sysdeps/x86_64/fpu/Versions: New versions added.
1817         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1818         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1819         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1820         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1822         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1823         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1824         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1825         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1826         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1827         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1828         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1829         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1830         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1831         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1832         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1834         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1835         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1836         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1838         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1839         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1841         * math/test-float-vlen16.h: Fixed 2 argument macro.
1842         * math/test-float-vlen4.h: Likewise.
1843         * math/test-float-vlen8.h: Likewise.
1844         * NEWS: Mention addition of x86_64 vector powf.
1846 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1848         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1849         and redefine.
1850         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1851         and redefine.
1852         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1853         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1854         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1856         [BZ #18553]
1857         * resource/getpriority.c (getpriority): Rename to __getpriority
1858         and define as weak alias of __getpriority.
1859         * resource/setpriority.c (setpriority): Rename to __setpriority
1860         and define as weak alias of __setpriority.
1861         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1862         __getpriority and define as weak alias of __getpriority.
1863         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1864         __setpriority and define as weak alias of __setpriority.
1865         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1866         strong name.
1867         (setpriority): Use __setpriority as strong name.
1868         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1869         __getpriority and define as weak alias of __getpriority.
1870         * include/sys/resource.h (__getpriority): Declare.  Use
1871         libc_hidden_proto.
1872         (__setpriority): Likewise.
1873         (getpriority): Don't use libc_hidden_proto.
1874         (setpriority): Likewise.
1875         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1876         getpriority.  Call __setpriority instead of setpriority.
1877         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1878         Remove variable.
1880         [BZ #18547]
1881         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1882         as weak alias of __getttynam.  Use prototype function definition.
1883         Call __setttyent, __getttyent and __endttyent instead of
1884         setttyent, getttyent and endttyent.
1885         (getttyent): Rename to __getttyent and define as weak alias of
1886         __getttyent.  Call __setttyent instead of setttyent.  Call
1887         __fgets_unlocked instead of fgets_unlocked.
1888         (setttyent): Rename to __setttyent and define as weak alias of
1889         __setttyent.
1890         (endttyent): Rename to __endttyent and define as weak alias of
1891         __endttyent.
1892         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1893         (__setttyent): Likewise.
1894         (__endttyent): Likewise.
1895         (getttyent): Don't use libc_hidden_proto.
1896         (setttyent): Likewise.
1897         (endttyent): Likewise.
1898         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1899         __endttyent instead of setttyent, getttyent and endttyent.
1900         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1901         Remove variable.
1903         [BZ #18546]
1904         * socket/recv.c (__recv): Use libc_hidden_def.
1905         * socket/socket.c (__socket): Likewise.
1906         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1907         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1908         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1909         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1910         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1911         libc_hidden_def.
1912         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1913         libc_hidden_weak.
1914         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1915         Use libc_hidden_proto.
1916         (__recv): Likewise.
1917         * socket/Versions (libc): Export __recv and __socket at version
1918         GLIBC_PRIVATE.
1919         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1920         instead of recv.
1921         (init_mq_netlink): Call __socket instead of socket.
1922         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1923         Remove variable.
1925         [BZ #18545]
1926         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1927         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1928         hidden_weak.
1929         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1930         define as alias of __mq_timedsend.  Use hidden_weak.
1931         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1932         __mq_timedsend as strong name.
1933         (mq_timedreceive): Use __mq_timedreceive as strong name.
1934         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1935         (__mq_timedreceive): Likewise.
1936         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1937         __mq_timedreceive instead of mq_timedreceive.
1938         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1939         instead of mq_timedsend.
1940         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1941         Remove variable.
1943         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1944         hidden_def and hidden_weak instead of libc_hidden_def and
1945         libc_hidden_weak.
1946         (top level): Refer to hidden_def in comment.
1947         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1948         macro.  Use it instead of libc_hidden_def.
1949         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1950         specify __GI_* name explicitly.
1951         (mq_timedreceive): Likewise.
1952         (mq_setattr): Likewise.
1954         [BZ #18544]
1955         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1956         __pthread_barrier_init and define as weak alias of
1957         __pthread_barrier_init.
1958         * sysdeps/sparc/nptl/pthread_barrier_init.c
1959         (pthread_barrier_init): Likewise.
1960         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1961         __pthread_barrier_wait and define as weak alias of
1962         __pthread_barrier_wait.
1963         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1964         (pthread_barrier_wait): Likewise.
1965         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1966         (pthread_barrier_wait): Likewise.
1967         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1968         (pthread_barrier_wait): Likewise.
1969         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1970         (pthread_barrier_wait): Likewise.
1971         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1972         __pthread_barrier_wait at version GLIBC_PRIVATE.
1973         * include/pthread.h (__pthread_barrier_init): Declare.
1974         (__pthread_barrier_wait): Likewise.
1975         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1976         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1977         (helper_thread): Likewise.
1978         (init_mq_netlink): Call __pthread_barrier_init instead of
1979         pthread_barrier_init.
1981         [BZ #18542]
1982         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1983         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1984         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1985         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1986         vswscanf.
1987         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1988         Remove variable.
1990         [BZ #18540]
1991         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1992         strong alias of _IO_fflush.  Use libc_hidden_def.
1993         * libio/iofflush_u.c (fflush_unlocked): Rename to
1994         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1995         Use libc_hidden_weak.
1996         * include/stdio.h (__fflush_unlocked): Declare.  Use
1997         libc_hidden_proto.
1998         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1999         fflush_unlocked.
2000         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2001         Remove variable.
2003         [BZ #18539]
2004         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2005         define as weak alias of __addseverity.
2006         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2007         Remove variable.
2008         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2009         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2010         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2012         [BZ #18536]
2013         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2014         (__tfind): Likewise.
2015         (__tdelete): Likewise.
2016         (__twalk): Likewise.
2017         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2018         __twalk to GLIBC_PRIVATE.
2019         * include/search.h (__tsearch): Use libc_hidden_proto.
2020         (__tfind): Likewise.
2021         (__tdelete): Likewise.
2022         (__twalk): Likewise.
2023         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2024         Call __tdelete instead of tdelete.
2025         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2026         tfind.  Call __tsearch instead of tsearch.
2027         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2028         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2029         Remove variable.
2030         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2032         [BZ #18534]
2033         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2034         (dprintf): Define as a weak alias of __dprintf, not a strong
2035         alias.
2036         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2037         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2038         dprintf.
2039         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2040         Remove variable.
2041         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2042         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2044         [BZ #18533]
2045         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2046         not a strong alias.
2047         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2048         Remove variable.
2050         [BZ #18532]
2051         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2052         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2053         (in6addr_loopback): Rename to __in6addr_loopback and define as
2054         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2055         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2056         libc_hidden_proto.
2057         (__in6addr_any): Likewise.
2058         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2059         in6addr_any.
2060         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2061         variable.
2062         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2064 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2066         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2067         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2068         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2069         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2070         redirections for pow.
2071         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2072         * sysdeps/x86_64/fpu/Versions: New versions added.
2073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2074         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2075         build of SSE, AVX2 and AVX512 IFUNC versions.
2076         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2077         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2078         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2079         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2081         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2082         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2083         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2084         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2085         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2086         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2087         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2088         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2090         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2091         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2093         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2095         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2096         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2097         * NEWS: Mention addition of x86_64 vector pow.
2099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2101         redirections for expf.
2102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2103         * sysdeps/x86_64/fpu/Versions: New versions added.
2104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2106         build of SSE, AVX2 and AVX512 IFUNC versions.
2107         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2108         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2109         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2110         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2111         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2112         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2113         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2114         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2115         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2116         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2117         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2118         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2119         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2120         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2121         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2122         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2124         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2125         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2126         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2127         * NEWS: Mention addition of x86_64 vector expf.
2129         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2130         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2133         redirections for exp.
2134         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2135         * sysdeps/x86_64/fpu/Versions: New versions added.
2136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2138         build of SSE, AVX2 and AVX512 IFUNC versions.
2139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2140         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2141         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2142         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2144         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2145         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2146         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2147         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2148         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2149         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2150         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2151         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2152         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2153         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2154         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2155         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2156         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2157         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2158         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2159         * NEWS: Mention addition of x86_64 vector exp.
2161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2163         redirections for logf.
2164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2165         * sysdeps/x86_64/fpu/Versions: New versions added.
2166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2168         build of SSE, AVX2 and AVX512 IFUNC versions.
2169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2170         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2171         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2172         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2173         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2175         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2176         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2177         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2178         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2179         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2180         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2181         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2182         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2183         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2184         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2187         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2188         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2189         * NEWS: Mention addition of x86_64 vector logf.
2191         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2192         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2193         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2194         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2195         redirections for log.
2196         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2197         * sysdeps/x86_64/fpu/Versions: New versions added.
2198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2199         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2200         build of SSE, AVX2 and AVX512 IFUNC versions.
2201         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2202         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2203         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2204         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2205         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2206         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2207         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2208         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2209         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2210         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2211         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2212         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2213         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2214         test.
2215         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2216         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2217         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2218         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2219         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2220         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2221         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2222         * NEWS: Mention addition of x86_64 vector log.
2224 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2226         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2227         cfi_adjust_cfa_offset argument.
2228         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2229         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2231         [BZ #18034]
2232         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2233         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2234         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2235         ordering using ldar.
2236         (_dl_tlsdesc_dynamic): Likewise.
2237         (_dl_tlsdesc_return_lazy): Likewise.
2238         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2239         relaxed atomics instead of volatile and synchronize with release store.
2240         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2241         volatile.
2242         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2244 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2246         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2247         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2248         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2249         * sysdeps/x86_64/fpu/Versions: New versions added.
2250         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2251         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2252         build of SSE, AVX2 and AVX512 IFUNC versions.
2253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2254         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2255         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2256         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2258         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2259         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2260         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2261         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2262         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2263         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2264         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2265         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2266         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2267         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2268         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2270         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2271         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2272         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2273         * NEWS: Mention addition of x86_64 vector sinf.
2275 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2277         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2278         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2279         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2280         Remove variable.
2281         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2282         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2284 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2286         [BZ #18530]
2287         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2288         strong alias of _IO_fputs.  Use libc_hidden_def.
2289         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2290         and define as weak alias of __fputs_unlocked.  Use
2291         libc_hidden_weak.
2292         * include/stdio.h (__fputs_unlocked): Declare.  Use
2293         libc_hidden_proto.
2294         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2295         fputs_unlocked.
2297         [BZ #18529]
2298         * resolv/netdb.h [__USE_POSIX]: Change condition to
2299         [__USE_XOPEN2K].
2300         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2301         not expect.
2302         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2303         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2304         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2305         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2306         [XPG4 || UNIX98] (AI_ALL): Likewise.
2307         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2308         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2309         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2310         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2311         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2312         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2313         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2314         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2315         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2316         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2317         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2318         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2319         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2320         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2321         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2322         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2323         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2324         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2325         [XPG4 || UNIX98] (gai_strerror): Likewise.
2326         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2327         [XPG4 || UNIX98] (getnameinfo): Likewise.
2329         [BZ #18528]
2330         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2331         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2332         __USE_XOPEN2K8].
2333         (getgrent): Likewise.
2334         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2335         expect.
2336         [XPG3 || POSIX2008] (endgrent): Likewise.
2337         [XPG3] (setgrent): Likewise.
2338         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2339         variable.
2340         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2342         [BZ #18527]
2343         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2344         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2345         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2346         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2347         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2348         * include/unistd.h (__getlogin_r): Declare.  Use
2349         libc_hidden_proto.
2350         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2351         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2352         variable.
2353         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2354         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2355         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2357 2015-06-12  Martin Sebor  <msebor@redhat.com>
2359         [BZ #18512]
2360         * Makerules (check-install-supported): New target.
2361         (install): Add check-install-supported as a dependency.
2362         * manual/install.texi (Installing the C Library): Document
2363         that overriding prefix and exec_prefix is not supported.
2364         Mention DESTDIR.
2365         * INSTALL: Regenerate from the above.
2367 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2369         [BZ #18519]
2370         * posix/Versions (libc): Export __libc_pread at version
2371         GLIBC_PRIVATE.
2372         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2373         instead of pread.
2374         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2375         variable.
2377         [BZ #18522]
2378         * misc/efgcvt_r.c
2379         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2380         (cvt_symbol): Use weak_alias instead of strong_alias.
2381         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2382         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2383         Remove variable.
2384         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2385         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2387         [BZ #18520]
2388         * inet/herrno.c (h_errno): Rename to __h_errno.
2389         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2390         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2391         to __h_errno instead of h_errno.
2392         * nptl/herrno.c (h_errno): Rename to __h_errno.
2393         (__h_errno_location): Refer to __h_errno not h_errno.
2394         * resolv/Versions (h_errno): Rename to __h_errno.
2395         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2396         Remove variable.
2397         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2399 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2401         * configure.ac: More strict check for AVX512 assembler support.
2402         * configure: Regenerated.
2404         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2405         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2406         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2407         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2409         * sysdeps/x86_64/fpu/Versions: New versions added.
2410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2412         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2415         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2416         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2417         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2418         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2419         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2420         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2421         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2422         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2423         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2424         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2425         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2426         test.
2427         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2430         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2431         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2432         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2433         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2434         * NEWS: Mention addition of x86_64 vector sin.
2436 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2438         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2439         comment.
2441 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2443         [BZ #18479]
2444         * nptl/pt-interp.c: New file.
2445         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2446         Add pt-interp.
2447         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2448         $(common-objpfx)runtime-linker.h.
2450 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2452         * Makeconfig (+interp): Remove unused variable.
2453         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2454         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2455         $(elf-objpfx)runtime-linker.h.
2456         ($(elf-objpfx)runtime-linker.h): Rename to
2457         $(common-objpfx)runtime-linker.h and move ...
2458         * Makerules [$(build-shared) = yes]: ... here.
2459         * elf/interp.c: Include <runtime-linker.h> instead of
2460         <elf/runtime-linker.h>.
2462 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2464         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2465         (__gettimeofday_syscall): Remove vsyscall fallback.
2466         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2467         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2468         Add syscall fallback function.
2469         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2470         if vDSO is not present.
2471         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2472         fallback function.
2473         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2474         present.
2475         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2476         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2478 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2480         [BZ #18497]
2481         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2482         of wcscmp.
2483         (wcscmp): Define as weak alias of WCSCMP.
2484         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2485         wcscoll.
2486         (USE_HIDDEN_DEF): Define.
2487         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2488         __wcscoll.  Don't use libc_hidden_weak.
2489         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2490         wcscmp.
2491         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2492         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2493         __GI_wcscmp.
2494         (weak_alias): Undefine and redefine.
2495         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2496         __wcscmp and define as weak alias of __wcscmp.
2497         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2498         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2499         (__wcscoll): Likewise.
2500         (wcscmp): Don't use libc_hidden_proto.
2501         (wcscoll): Likewise.
2502         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2503         wcscoll.
2504         * posix/regexec.c (check_node_accept_bytes): Likewise.
2505         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2506         variable.
2507         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2508         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2510         [BZ #18507]
2511         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2512         __fstatvfs and define as weak alias of __fstatvfs.  Use
2513         libc_hidden_weak.
2514         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2515         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2516         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2517         Define as alias of __fstatvfs, not fstatvfs.
2518         (fstatvfs64): Likewise.
2519         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2520         Define as alias of __statvfs, not statvfs.
2521         (statvfs64): Likewise.
2522         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2523         Remove variable.
2525 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2528         (HAVE_GETCPU_VSYSCALL): Define.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2530         (HAVE_GETCPU_VSYSCALL): Likewise.
2531         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2532         * sysdeps/unix/sysv/linux/sched_getcpu.c
2533         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2534         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2535         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2536         prototype.
2537         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2538         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2539         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2541         Define.
2542         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2543         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2544         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2545         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2547 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2549         * sysdeps/x86_64/fpu/Makefile: New file.
2550         * sysdeps/x86_64/fpu/Versions: New file.
2551         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2552         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2553         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2554         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2555         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2556         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2557         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2559         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2560         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2561         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2562         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2563         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2564         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2565         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2566         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2567         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2568         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2569         * sysdeps/x86_64/configure: Regenerated.
2570         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2571         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2572         * manual/install.texi (Configuring and compiling): Document
2573         --disable-mathvec.
2574         * INSTALL: Regenerated.
2575         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2577         * math/Makefile: Added rules for vector tests.
2578         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2579         declaration under condition.
2580         * math/test-double-vlen2.h: New file.
2581         * math/test-double-vlen4.h: New file.
2582         * math/test-double-vlen8.h: New file.
2583         * math/test-vec-loop.h: Added initialization macro.
2584         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2586         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2587         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2588         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2589         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2591         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2592         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2593         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2594         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2597         * sysdeps/x86_64/fpu/Versions: New versions added.
2598         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2600         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2601         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2602         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2605         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2606         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2607         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2608         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2609         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2610         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2611         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2612         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2614         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2615         * NEWS: Mention addition of x86_64 vector cosf.
2617         * math/Makefile: Added CFLAGS for new tests.
2618         * math/test-float-vlen16.h: New file.
2619         * math/test-float-vlen4.h: New file.
2620         * math/test-float-vlen8.h: New file.
2621         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2622         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2624         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2625         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2626         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2627         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2630         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2631         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2633 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2635         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2636         * locale/programs/ld-ctype.c: Likewise.
2638 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2640         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2641         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2642         bit_ZMM16_31_state): New macro.
2643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2644         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2646 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2648         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2650 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2652         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2654 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2656         [BZ #18498]
2657         * libio/memstream.c (open_memstream): Rename to __open_memstream
2658         and define as weak alias of __open_memstream.
2659         * include/stdio.h (__open_memstream): Declare.  Use
2660         libc_hidden_proto.
2661         (open_memstream): Don't use libc_hidden_proto.
2662         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2663         open_memstream.
2664         * posix/getopt.c (_getopt_internal_r): Likewise.
2665         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2666         variable.
2667         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2668         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2669         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2671         [BZ #18496]
2672         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2673         instead of wcrtomb.
2675         [BZ #18483]
2676         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2677         [__USE_XOPEN2K8].  Remove redundant #endif.
2678         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2679         Remove redundant #if.
2680         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2681         Remove variable.
2682         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2683         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2685         [BZ #18495]
2686         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2687         (__iswlower): Likewise.
2688         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2689         (__iswlower): Likewise.
2690         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2691         instead of towlower.
2692         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2693         instead of iswlower.  Call __towupper instead of towupper.
2694         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2695         instead of iswalnum.
2697 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2699         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2700         errors to stderr.
2702 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2704         [BZ #15661]
2705         [BZ #17322]
2706         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2707         Check for overflow properly.  Check for O_APPEND.  Ignore large
2708         file system block sizes.  Add comments about problems.
2709         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2710         * manual/filesys.texi (Storage Allocation): New node.
2712 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2714         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2715         cancellable syscalls.
2716         (SYS_ify): Add guard to no redefine it.
2717         (INLINE_SYSCALL): Likewise.
2718         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2719         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2720         SYSCALL_CANCEL instead.
2721         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2722         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2723         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2724         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2725         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2726         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2727         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2728         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2729         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2730         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2731         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2732         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2733         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2734         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2735         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2739         (__libc_pread64): Likewise.
2740         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2741         (__libc_preadv): Likewise.
2742         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2743         (__libc_readv64): Likewise.
2744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2745         (__libc_pwrite): Likewise.
2746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2747         (__libc_pwrite64): Likewise.
2748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2749         (__libc_pwritev): Likewise.
2750         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2751         (__libc_pwritev64): Likewise.
2752         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2753         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2754         (sync_file_range): Likewise.
2755         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2756         Likewise.
2757         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2758         Likewise.
2759         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2760         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2761         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2762         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2763         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2764         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2765         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2766         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2768         Likewise.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2770         (__libc_read64): Likewise.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2778         Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2780         (__libc_pread64): Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2782         Likewise.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2784         (__libc_pwrite64): Likewise.
2785         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2786         (sync_file_range): Likewise.
2787         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2788         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2789         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2790         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2791         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2792         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2793         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2794         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2795         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2796         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2797         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2798         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2799         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2800         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2801         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2802         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2803         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2804         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2805         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2808         Likewise.
2809         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2810         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2811         Likewise.
2812         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2813         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2814         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2815         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2816         Likewise.
2817         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2818         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2819         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2820         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2821         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2823 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2825         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2826         Include dl-vdso.
2827         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2828         Use VDSO routines for gettimeofday, clock_gettime if
2829         available.
2830         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2831         Declare VDSO symbols.
2832         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2833         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2834         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2835         * sysdeps/unix/sysv/linux/arm/Versions: Add
2836         __vdso_clock_gettime.
2838 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2840         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2841         be an inline implementation regardless of library is built within.
2842         (open_not_cancel_2): Likewise.
2843         (__read_nocancel): Likewise.
2844         (__write_nocancel): Likewise.
2845         (openat_not_cancel): Likewise.
2846         (openat_not_cancel_3): Likewise.
2847         (openat64_not_cancel): Likewise.
2848         (openat64_not_cancel_3): Likewise.
2849         (__close_nocancel): Likewise.
2850         (pause_not_cancel): Likewise.
2851         (nanosleep_not_cancel): Likewise.
2852         (sigsuspend_not_cancel): Likewise.
2854 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2856         [BZ #14958]
2857         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2858         wake-up.
2859         (__pthread_rwlock_rdlock_slow): Likewise.
2860         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2861         Likewise.
2862         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2863         Likewise.
2864         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2865         * nptl/tst-rwlock16.c: New file.
2866         * nptl/Makefile (tests): Add new test.
2868 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2870         [BZ #18324]
2871         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2872         missing wake-up of readers.
2873         * nptl/tst-rwlock15.c: New file.
2874         * nptl/Makefile (tests): Add new test.
2876 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2878         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2879         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2880         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2881         and __nacl_supply_interface_rtld.
2882         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2883         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2884         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2885         Add __nacl_supply_interface_rtld.
2886         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2888 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2890         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2891         isfinite.
2892         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2893         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2895 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2897         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2898         __signbit* with standard C99 macros.
2899         * math/e_exp10l.c: Likewise.
2900         * math/e_exp2l.c: Likewise.
2901         * math/e_scalb.c: Likewise.
2902         * math/e_scalbf.c: Likewise.
2903         * math/e_scalbl.c: Likewise.
2904         * math/s_ldexp.c: Likewise.
2905         * math/s_ldexpf.c: Likewise.
2906         * math/s_ldexpl.c: Likewise.
2907         * math/w_atan2.c: Likewise.
2908         * math/w_atan2f.c: Likewise.
2909         * math/w_atan2l.c: Likewise.
2910         * math/w_cosh.c: Likewise.
2911         * math/w_coshf.c: Likewise.
2912         * math/w_coshl.c: Likewise.
2913         * math/w_exp10.c: Likewise.
2914         * math/w_exp10f.c: Likewise.
2915         * math/w_exp10l.c: Likewise.
2916         * math/w_exp2.c: Likewise.
2917         * math/w_exp2f.c: Likewise.
2918         * math/w_exp2l.c: Likewise.
2919         * math/w_fmod.c: Likewise.
2920         * math/w_fmodf.c: Likewise.
2921         * math/w_fmodl.c: Likewise.
2922         * math/w_hypot.c: Likewise.
2923         * math/w_hypotf.c: Likewise.
2924         * math/w_hypotl.c: Likewise.
2925         * math/w_jnl.c: Likewise.
2926         * math/w_lgamma.c: Likewise.
2927         * math/w_lgamma_r.c: Likewise.
2928         * math/w_lgammaf.c: Likewise.
2929         * math/w_lgammaf_r.c: Likewise.
2930         * math/w_lgammal.c: Likewise.
2931         * math/w_lgammal_r.c: Likewise.
2932         * math/w_pow.c: Likewise.
2933         * math/w_powf.c: Likewise.
2934         * math/w_powl.c: Likewise.
2935         * math/w_remainder.c: Likewise.
2936         * math/w_remainderf.c: Likewise.
2937         * math/w_remainderl.c: Likewise.
2938         * math/w_scalb.c: Likewise.
2939         * math/w_scalbf.c: Likewise.
2940         * math/w_scalbl.c: Likewise.
2941         * math/w_scalbln.c: Likewise.
2942         * math/w_scalblnf.c: Likewise.
2943         * math/w_scalblnl.c: Likewise.
2944         * math/w_sinh.c: Likewise.
2945         * math/w_sinhf.c: Likewise.
2946         * math/w_sinhl.c: Likewise.
2947         * math/w_tgamma.c: Likewise.
2948         * math/w_tgammaf.c: Likewise.
2949         * math/w_tgammal.c: Likewise.
2950         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2951         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2952         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2953         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2954         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2955         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2956         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2957         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2958         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2959         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2960         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2961         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2962         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2967         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2968         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2975         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2976         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2977         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2978         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2980         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2981         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2982         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2983         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2984         * stdio-common/printf_fp.c: Likewise.
2985         * stdio-common/printf_fphex.c: Likewise.
2986         * stdio-common/printf_size.c: Likewise.
2988 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #18470]
2991         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2992         strnlen.
2993         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2994         Remove variable.
2995         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2996         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2997         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2998         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2999         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3000         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3001         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3002         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3003         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3004         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3006         [BZ #18468]
3007         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3008         weak alias of __wmemchr.  Use libc_hidden_weak.
3009         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3010         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3011         instead of wmemchr.
3013 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3015         [BZ #18383]
3016         * elf/tst-tlsalign-extern.c: New file.
3017         * elf/tst-tlsalign-extern-static.c: New file.
3018         * elf/tst-tlsalign-vars.c: New file.
3019         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3020         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3021         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3022         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3023         (test-xfail-tst-tlsalign-extern-static): New variable.
3025 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3027         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3028         Use variable name _sc_err instead of err.
3029         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3030         instead of ret.
3031         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3032         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3033         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3034         (INLINE_SYSCALL): Likewise.
3036         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3037         * include/string.h (__strnlen): Use libc_hidden_proto.
3038         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3039         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3040         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3041         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3042         (libc_hidden_def): Undefine and redefine.
3043         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3044         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3045         __GI_strnlen.
3046         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3047         libc_hidden_def.
3048         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3050         [BZ #18469]
3051         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3052         weak alias of __towlower.  Use libc_hidden_weak.
3053         (towupper): Rename to __towupper and define as weak alias of
3054         __towupper.  Use libc_hidden_weak.
3055         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3056         (__towupper): Likewise.
3057         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3058         __towlower instead of towlower.
3060 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3062         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3063         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3065 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3067         * sysdeps/aarch64/libm-test-ulps: Update.
3069 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3071         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3072         Define.
3073         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3075         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3076         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3077         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3078         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3079         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3081 2015-06-01  Martin Sebor  <msebor@redhat.com>
3083         [BZ #18116]
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3085         (__setcontext): Use extended four-operand version of mtsf whenever
3086         possible.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3088         (__novec_swapcontext): Likewise.
3090 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3092         * benchtests/scripts/compare_bench.py: New file.
3093         * benchtests/scripts/import_bench.py (mean): New function.
3094         (split_list): Likewise.
3095         (do_for_all_timings): Likewise.
3096         (compress_timings): Likewise.
3098         * benchtests/scripts/import_bench.py: New file.
3099         * benchtests/scripts/validate_benchout.py: Import import_bench
3100         instead of jsonschema.
3101         (validate_bench): Remove function.
3102         (main): Use import_bench.
3104 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3106         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3107         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3109 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3113 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3115         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3116         set THREAD_SELF->tid to a magic value and futex-wake it.
3117         Pass its address to the thread_exit system call.
3118         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3119         bit is clear.
3120         * sysdeps/nacl/lowlevellock.h: New file.
3121         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3123         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3124         Add TIMEOUT to current time, don't subtract it.
3126 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3128         [BZ #2981]
3129         [BZ #18422]
3130         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3131         ($(objpfx)tst-audit2.out): Also depend on
3132         $(objpfx)tst-auditmod9b.so.
3133         * elf/tst-audit2.c: Include <dlfcn.h>.
3134         (calloc_called): New.
3135         (calloc): Allow to be called more than once.
3136         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3138 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3140         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3141         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3143 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3145         * stdlib/monetary.h: Fix comment.
3147 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3149         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3150         Avoid using variables in #defines that might cause shadowing.
3151         (INTERNAL_VSYSCALL_CALL): Likewise.
3153 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3155         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3157         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3158         * nptl/lll_timedlock_wait.c: ... to this new file.
3159         * nptl/Makefile (libpthread-routines): Add it.
3160         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3161         * nptl/lll_timedwait_tid.c: ... to this new file.
3162         * nptl/Makefile (libpthread-routines): Add it.
3163         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3164         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3165         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3166         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3167         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3168         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3169         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3170         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3171         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3172         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3174 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3176         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3177         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3178         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3179         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3180         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3182         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3184         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3185         * sysdeps/unix/sysv/linux/tile/sysdep.h
3186         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3187         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3188         using vDSO syscall macro.
3190 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3192         [BZ #17293]
3193         * uk_UA: Fix sorting order for Ukrainian locale
3195 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3197         * stdlib/monetary.h: Fix comment.
3199 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3201         [BZ #18234]
3202         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3203         st_mtim and st_ctim members.
3204         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3205         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3206         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3207         (struct stat64): Likewise.
3208         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3209         (struct stat64): Likewise.
3210         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3211         (struct stat64): Likewise.
3213 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3215         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3216         Define and include sysdep-vdso.h.
3217         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3218         Likewise.
3219         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3220         Likewise.
3221         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3222         Define with VDSO_SYMBOL and use PTR_MANGLE.
3223         (__vdso_clock_gettime): Likewise.
3224         (__vdso_clock_getres): Likewise.
3225         (_libc_vdso_platform_setup): Likewise.
3226         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3227         Likewise.
3228         (_libc_vdso_platform_setup): Likewise.
3229         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3230         Likewise.
3231         (__vdso_clock_gettime): Likewise.
3232         (__vdso_clock_getres): Likewise.
3233         (__vdso_get_tbfreq): Likewise.
3234         (__vdso_getcpu): Likewise.
3235         (__vdso_time): Likewise.
3236         (__vdso_sigtramp_rt64): Likewise.
3237         (__vdso_signtramp32): Likewise.
3238         (__vdso_sigtramp_rt32): Likewise.
3239         (_libc_vdso_platform_setup): Likewise.
3240         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3241         Likewise.
3242         (__vdso_clock_gettime): Likewise.
3243         (__vdso_clock_getres): Likewise.
3244         (_libc_vdso_platform_setup): Likewise.
3245         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3246         Likewise.
3247         (__vdso_clock_gettime): Likewise.
3248         (_libc_vdso_platform_setup): Likewise.
3249         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3250         Likewise.
3251         (__vdso_getcpu): Likewise.
3252         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3253         Use VDSO_SYMBOL macro to define.
3254         (__vdso_clock_gettime): Likewise.
3255         (__vdso_clock_getres): Likewise.
3256         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3257         Likewise.
3258         (__vdso_clock_gettime): Likewise.
3259         (__vdso_clock_getres): Likewise.
3260         (__vdso_get_tbfreq): Likewise.
3261         (__vdso_getcpu): Likewise.
3262         (__vdso_time): Likewise.
3263         (__vdso_sigtramp_rt64): Likewise.
3264         (__vdso_signtramp32): Likewise.
3265         (__vdso_sigtramp_rt32): Likewise.
3266         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3267         Likewise.
3268         (__vdso_clock_gettime): Likewise.
3269         (__vdso_clock_getres): Likewise.
3270         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3271         Likewise.
3272         (__vdso_clock_gettime): Likewise.
3273         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3276         macro.
3277         (INTERNAL_VSYSCALL): Likewise.
3278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3279         Remove macro.
3280         (INTERNAL_VSYSCALL): Likewise.
3281         (INTERNAL_VSYSCALL_NCS): Likewise.
3282         (INTERNAL_VSYSCALL_CALL): New macro.
3283         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3285         Likewise.
3286         (INTERNAL_VSYSCALL): Likewise.
3287         (INTERNAL_VSYSCALL_NCS): Likewise.
3288         (INTERNAL_VSYSCALL_CALL): New macro.
3289         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3291         (INLINE_VSYSCALL): Remove macro.
3292         (INTERNAL_VSYSCALL): Remove macro.
3293         (INTERNAL_VSYSCALL_NCS): Remove macro.
3294         (INTERNAL_VSYSCALL_CALL): New macro.
3295         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3296         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3297         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3298         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3299         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3301         (INLINE_VSYSCALL): Remove macro.
3302         (INTERNAL_VSYSCALL): Likewise.
3303         (INTERNAL_VSYSCALL_NCS): Likewise.
3304         (INTERNAL_VSYSCALL_CALL): New macro.
3305         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3307         PTR_DEMANGLE on vDSO pointer.
3308         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3309         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3310         macro.
3311         (INTERNAL_SYSCALL): Likewise.
3312         (INTERNAL_VSYSCALL_NCS): Remove macro.
3313         (INTERNAL_VSYSCALL_CALL): New macro.
3314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3315         Remove macro.
3316         (INTERNAL_VSYSCALL): Likewise.
3317         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3318         sysdep-vdso.h instead of libc-vdso.h.
3319         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3320         definition.
3321         (INLINE_VSYSCALL): Likewise.
3322         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3323         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3324         definition.
3325         (INLINE_VSYSCALL): Likewise.
3326         (INTERNAL_VSYSCALL): Likewise.
3327         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3328         * sysdeps/unix/sysv/linux/timespec_get.c
3329         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3330         (timespec_get): Use ANSI prototype.
3331         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3332         and definition for Linux.
3334 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3336         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3337         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3339 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3341         [BZ #2981]
3342         [BZ #18410]
3343         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3344         for missing DT_PLTRELSZ.
3346 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3348         Remove obsolete aliases that broke 'locale -a'
3349         [BZ #18412]
3350         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3351         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3352         breaking some applications that use 'locale -a' output.
3353         Change the encoding of this file from Latin-1 to ASCII to avoid
3354         other potential problems with people grepping this file.
3356 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3358         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3359         -fasynchronous-unwind-tables.
3360         (CFLAGS-sendto.c): Likewise.
3361         (CFLAGS-sendmsg.c): Likewise.
3362         (CFLAGS-connect.c): Likewise.
3363         (CFLAGS-recvmsg.c): Likewise.
3364         (CFLAGS-recvfrom.c): Likewise.
3365         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3366         (SOCKETCALL): New macro: non-cancellable socketcall.
3367         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3368         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3369         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3370         * sysdeps/unix/sysv/linux/accept.c: New file.
3371         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3372         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3373         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3374         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3375         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3376         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3377         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3378         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3379         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3380         * sysdeps/unix/sysv/linux/send.c: Likewise.
3381         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3382         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3383         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3384         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3385         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3386         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3387         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3388         prototype.
3389         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3390         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3391         instead of __internal_xxx function.
3392         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3393         prototype.
3394         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3395         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3396         instead of __internal_xxx function.
3397         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3398         prototype.
3399         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3400         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3401         instead of __internal_xxx function.
3402         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3403         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3404         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3405         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3406         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3407         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3408         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3409         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3410         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3411         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3412         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3413         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3414         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3415         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3416         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3417         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3418         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3419         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3420         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3421         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3424         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3425         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3426         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3427         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3428         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3429         * sysdeps/unix/sysv/linux/send.S: Likewise.
3430         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3431         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3432         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3433         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3434         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3435         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3436         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3437         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3438         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3439         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3440         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3441         socketcall is implemented in GLIBC.
3443 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3445         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3446         (__fma): Ignore uninitialized warnings around packing.
3447         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3448         (__fmaf): Ignore uninitialized warnings around packing.
3449         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3450         (__fmal): Ignore uninitialized warnings around packing.
3452         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3453         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3454         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3455         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3457         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3458         switch statement into default case.
3459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3461         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3462         a conditional in forcing "inexact".
3463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3464         Likewise.
3466 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3468         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3469         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3470         for each INTERNAL_SYSCALL use.
3472 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3474         [BZ #438]
3475         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3476         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3477         variable.
3479         [BZ #18444]
3480         * string/basename.c (basename): Rename to __basename and define as
3481         weak alias of __basename.  Use libc_hidden_weak.
3482         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3483         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3484         __basename instead of basename.
3485         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3486         Remove variable.
3487         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3489 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3491         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3492         (_IO_JUMPS_FILE_plus): New.
3493         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3494         _IO_CAST_FIELD_ACCESS.
3495         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3496         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3497         * libio/freopen.c (freopen): Likewise.
3498         * libio/freopen64.c (freopen64): Likewise.
3499         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3500         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3501         * libio/iofwide.c (_IO_fwide): Likewise.
3502         * libio/memstream.c (open_memstream): Likewise.
3503         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3504         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3505         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3507 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3509         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3510         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3511         NADJ.
3512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3513         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3514         NADJ.
3515         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3516         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3517         NADJ.
3519         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3520         (p == 4) case.
3522         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3523         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3524         Remove variable.
3525         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3526         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3527         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3529 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3531         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3532         Adjust jump table label generation macros.
3534 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3536         * stdio-common/vfprintf.c (vfprintf): Move local variables
3537         args_malloced, specs, specs_malloced, and the code after
3538         do_positional to the printf_positional function.
3539         (printf_positional): New function.
3541 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3543         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3544         function.
3545         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3546         STEP4_TABLE, process_arg): Move macro definitions
3547         out of the vfprintf function.  (Cosmetic change only.)
3549 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3551         * benchtests/Makefile (stdio-common-bench): Define.
3552         (benchset): Add stdio-common-bench.
3553         * sprintf-inputs: New file.
3554         * sprintf-source.c: New file.
3556 2015-05-21  Andreas Schwab  <schwab@suse.de>
3558         [BZ #13028]
3559         [BZ #17053]
3560         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3561         of struct __res_state.
3562         * resolv/res_send.c (__libc_res_nsend): Likewise.
3563         (get_nsaddr): New function.
3564         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3565         statp directly.
3567 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3569         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3570         -D_POSIX_C_SOURCE=199506L.
3572         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3574         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3575         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3576         Do not mention otherwise.
3577         [POSIX] (_XOPEN_VERSION): Do not expect.
3578         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3579         [POSIX] (_POSIX2_C_BIND): Likewise.
3580         [POSIX] (_POSIX2_VERSION): Likewise.
3581         [POSIX] (_XOPEN_XPG2): Likewise.
3582         [POSIX] (_XOPEN_XPG3): Likewise.
3583         [POSIX] (_XOPEN_XPG4): Likewise.
3584         [POSIX] (_XOPEN_UNIX): Likewise.
3585         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3586         [POSIX] (_POSIX_BARRIERS): Likewise.
3587         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3588         [POSIX] (_POSIX_CPUTIME): Likewise.
3589         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3590         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3591         [POSIX] (_POSIX_SHELL): Likewise.
3592         [POSIX] (_POSIX_SPAWN): Likewise.
3593         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3594         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3595         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3596         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3597         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3598         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3599         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3600         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3601         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3602         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3603         [POSIX] (_POSIX2_PBS): Likewise.
3604         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3605         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3606         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3607         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3608         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3609         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3610         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3611         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3612         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3613         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3614         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3615         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3616         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3617         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3618         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3619         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3620         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3621         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3622         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3623         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3624         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3625         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3626         [POSIX] (_SC_2_C_BIND): Likewise.
3627         [POSIX] (_SC_2_C_VERSION): Likewise.
3628         [POSIX] (_SC_2_PBS): Likewise.
3629         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3630         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3631         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3632         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3633         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3634         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3635         [POSIX] (_SC_BARRIERS): Likewise.
3636         [POSIX] (_SC_BASE): Likewise.
3637         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3638         [POSIX] (_SC_DEVICE_IO): Likewise.
3639         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3640         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3641         [POSIX] (_SC_FD_MGMT): Likewise.
3642         [POSIX] (_SC_FIFO): Likewise.
3643         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3644         [POSIX] (_SC_FILE_LOCKING): Likewise.
3645         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3646         [POSIX] (_SC_IOV_MAX): Likewise.
3647         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3648         [POSIX] (_SC_NETWORKING): Likewise.
3649         [POSIX] (_SC_PAGE_SIZE): Likewise.
3650         [POSIX] (_SC_PASS_MAX): Likewise.
3651         [POSIX] (_SC_PIPE): Likewise.
3652         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3653         [POSIX] (_SC_REGEXP): Likewise.
3654         [POSIX] (_SC_SHELL): Likewise.
3655         [POSIX] (_SC_SIGNALS): Likewise.
3656         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3657         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3658         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3659         [POSIX] (_SC_USER_GROUPS): Likewise.
3660         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3661         [POSIX] (_SC_STREAMS): Likewise.
3662         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3663         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3664         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3665         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3666         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3667         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3668         [POSIX] (_PC_FILESIZEBITS): Likewise.
3669         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3670         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3671         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3672         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3673         [POSIX] (uid_t): Likewise.
3674         [POSIX] (gid_t): Likewise.
3675         [POSIX] (off_t): Likewise.
3676         [POSIX] (pid_t): Likewise.
3677         [POSIX] (cuserid): Allow.
3678         (_SC_2_CHAR_TERM): Require constant.
3679         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3680         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3681         variable.
3683 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3685         * sysdeps/nacl/pthread-pids.h: New file.
3686         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3687         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3689         * nptl/pthread-pids.h: New file.
3690         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3691         * nptl/nptl-init.c: Include <pthread-pids.h>.
3692         (__pthread_initialize_minimal_internal):
3693         Call __pthread_initialize_pids instead of set_tid_address syscall.
3695         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3696         * sysdeps/posix/usleep.c: ... here.
3698 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3700         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3701         call_pselect6 object.
3702         [$(subdir) = io]: Remove call_sync_file_range object.
3703         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3704         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3705         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3706         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3708 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3710         * math/s_cproj.c: Add include "math_private.h".
3711         * math/s_cprojf.c: Likewise.
3712         * math/s_cprojl.c: Likewise.
3714 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #18244]
3717         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3718         high mantissa bit when testing whether P is a NaN.
3719         * math/libm-test.inc (remainder_test_data): Add more tests.
3720         (remquo_test_data): Likewise.
3722         [BZ #18049]
3723         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3724         below -32, return the argument, with underflow if subnormal.
3725         * math/auto-libm-test-in: Add more tests of atanh.
3726         * math/auto-libm-test-out: Regenerated.
3728 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3730         [BZ #18434]
3731         * nptl/tst-sem15.c: New file.
3732         * nptl/Makefile (tests): Add it.
3733         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3734         s/<</>>/ to fix typo in EOVERFLOW check.
3735         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3737 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3739         * manual/strings.texi (envz_remove): Fix typo in safety
3740         annotations.
3742 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3743             Steve Ellcey  <sellcey@imgtec.com>
3745         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3746         in order to avoid strict alias warnings.
3747         (iruserok_af): Ditto for ra.
3749 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3751         [BZ #17581]
3752         * malloc/hooks.c
3753         (magicbyte): Convert to a function and avoid returning 0x01.
3754         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3755         (mem2chunk_check): Fix unsigned comparisons to zero.
3756         Hoist defs of sz and magic.
3758 2015-05-19  Richard Henderson  <rth@redhat.com>
3760         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3762         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3764 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3766         [BZ #16159]
3767         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3768         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3769         (reused_arena): Find a non-corrupt arena.
3770         (heap_trim): Pass arena to unlink.
3771         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3772         malloc_printerr.
3773         (top_check): Likewise.
3774         (free_check): Likewise.
3775         (realloc_check): Likewise.
3776         * malloc/malloc.c (malloc_printerr): Add arena argument.
3777         (unlink): Likewise.
3778         (munmap_chunk): Adjust.
3779         (ARENA_CORRUPTION_BIT): New macro.
3780         (arena_is_corrupt): Likewise.
3781         (set_arena_corrupt): Likewise.
3782         (sysmalloc): Use mmap if there are no usable arenas.
3783         (_int_malloc): Likewise.
3784         (__libc_malloc): Don't fail if arena_get returns NULL.
3785         (_mid_memalign): Likewise.
3786         (__libc_calloc): Likewise.
3787         (__libc_realloc): Adjust for additional argument to
3788         malloc_printerr.
3789         (_int_free): Likewise.
3790         (malloc_consolidate): Likewise.
3791         (_int_realloc): Likewise.
3792         (_int_memalign): Don't touch corrupt arenas.
3793         * malloc/tst-malloc-backtrace.c: New test case.
3795         * Makefile (summarize-tests): Fix return value on success.
3797         * manual/string.texi (Envz Functions): Add envz_remove.
3799 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3801         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3802         (invalid_name): New function, broken out of ...
3803         (__opendirat): ... here.  Call it.
3804         (need_isdir_precheck): New function, broken out of ...
3805         (__opendirat): ... here.  Call it.
3806         Use __fxstatat64, not __xstatat64.
3807         (opendir_oflags): New function, broken out of ...
3808         (__opendirat): ... here.  Call it.
3809         (opendir_tail): New function, broken out of ...
3810         (__opendirat): ... here.  Call it.
3811         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3812         opendir_tail, rather than punting to __opendirat.
3813         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3815 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3817         * .gitignore: Ignore generated *.pyc.
3819 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3821         * include/stdio.h: Define __need_wint_t.
3822         * test-skeleton.c: Avoid `for' loop initial declaration.
3823         * nptl/tst-initializers1.c: Use test-skeleton.c.
3825 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3827         [BZ #18418]
3828         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3830 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3832         [BZ #16352]
3833         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3834         (__ieee754_atanh): Force underflow exception for results with
3835         small absolute value.
3836         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3837         (__ieee754_atanhf): Force underflow exception for results with
3838         small absolute value.
3839         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3840         (__ieee754_atanh): Force underflow exception for results with
3841         small absolute value.
3842         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3843         (__ieee754_atanhf): Force underflow exception for results with
3844         small absolute value.
3845         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3846         (__ieee754_atanhl): Force underflow exception for results with
3847         small absolute value.
3848         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3849         (__ieee754_atanhl): Force underflow exception for results with
3850         small absolute value.
3851         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3852         (__ieee754_atanhl): Force underflow exception for results with
3853         small absolute value.
3854         * math/auto-libm-test-in: Do not allow missing underflow
3855         exceptions from atanh.
3856         * math/auto-libm-test-out: Regenerated.
3858         [BZ #18221]
3859         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3860         2**-28 as threshold for returning x or +/- 1/x.
3861         * math/auto-libm-test-in: Add more tests of tan.
3862         * math/auto-libm-test-out: Regenerated.
3864         [BZ #18220]
3865         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3866         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3867         * math/auto-libm-test-in: Add another test of lgamma.
3868         * math/auto-libm-test-out: Regenerated.
3870 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3872         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3873         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3874         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3875         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3876         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3877         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3878         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3879         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3881         (log1): Use fabs.  (my_log2): Use fabs.
3882         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3883         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3885         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3886         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3887         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3888         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3889         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3890         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3891         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3892         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3894 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3896         [BZ #18217]
3897         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3898         as threshold for returning 1 - x.
3899         * math/auto-libm-test-in: Add more tests of erfc.
3900         * math/auto-libm-test-out: Regenerated.
3902 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #18196]
3905         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3906         threshold for large arguments.
3907         * math/auto-libm-test-in: Add another test of atan.
3908         * math/auto-libm-test-out: Regenerated.
3910         [BZ #16339]
3911         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3912         (__log1p): Force underflow exception for results with small
3913         absolute value.
3914         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3915         (__log1pf): Force underflow exception for results with small
3916         absolute value.
3917         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3918         (__log1p): Force underflow exception for results with small
3919         absolute value.
3920         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3921         (__log1pf): Force underflow exception for results with small
3922         absolute value.
3923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3924         (__log1pl): Force underflow exception for results with small
3925         absolute value.
3926         * math/auto-libm-test-in: Do not allow missing underflow
3927         exceptions from log1p.
3928         * math/auto-libm-test-out: Regenerated.
3930 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3931             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3933         [BZ #16704]
3934         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3936 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3938         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3939         (libmvec): New variable.
3940         * configure.ac: Added option for mathvec build.
3941         * configure: Regenerated.
3942         * mathvec/Depend: New file.
3943         * mathvec/Makefile: New file.
3944         * shlib-versions: Added libmvec.
3945         * math/Makefile: Added rule for libm.so installation.
3947         * bits/math-vector.h: New file.
3948         * bits/libm-simd-decl-stubs.h: New header.
3949         * math/Makefile (headers): Added new header
3950         libm-simd-decl-stubs.h.
3951         * math/math.h (__MATHCALL_VEC): New macro.
3953         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3954         for conditions in testing functions.
3955         * math/Makefile: Added call of libm-have-vector-test.sh.
3956         * math/libm-test.inc (HAVE_VECTOR): New macros.
3958         * math/libm-test.inc: START refactored.
3959         * math/test-double.c (TEST_MATHVEC): Add define.
3960         * math/test-float.c: Likewise.
3961         * math/test-idouble.c: Likewise.
3962         * math/test-ifloat.c: Likewise.
3963         * math/test-ildoubl.c: Likewise.
3964         * math/test-ldouble.c: Likewise.
3965         * sysdeps/generic/math-tests-arch.h
3966         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3967         architecture check.
3969         * math/test-double.c (FUNC_TEST): New macro.
3970         * math/test-float.c: Likewise.
3971         * math/test-idouble.c: Likewise.
3972         * math/test-ifloat.c: Likewise.
3973         * math/test-ildoubl.c: Likewise.
3974         * math/test-ldouble.c: Likewise.
3975         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3977 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3979         * sysdeps/nacl/fdopendir.c: New file.
3981         * dirent/scandir-tail.c: New file.
3982         * dirent/scandir64-tail.c: New file.
3983         * dirent/Makefile (routines): Add them.
3984         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3985         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3986         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3987         [!SCANDIR] (SCANDIR_TAIL): New macro.
3988         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3989         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3990         (SCANDIRAT): Macro removed.
3991         (SCANDIR_TAIL): New macro.
3992         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3993         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3994         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3995         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3996         (READDIR): Macro removed.
3997         (SCANDIR_TAIL): New macro.
3998         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3999         (SCANDIR_TAIL): New macro.
4001         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4002         * dirent/scandir-cancel.c: ... to this new file.
4003         * dirent/Makefile (routines): Add it.
4004         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4005         * sysdeps/unix/sysv/linux/i386/scandir64.c
4006         (SKIP_SCANDIR_CANCEL): Macro removed.
4007         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4009         * dirent/tst-scandir.c: New file.
4010         * dirent/tst-scandir64.c: New file.
4011         * dirent/Makefile (tests): Add them.
4013 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4015         [BZ #18409]
4016         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4018 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4020         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4021         list.
4023 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4025         * benchtests/bench-strcoll.c: New benchmark.
4026         * benchtests/Makefile: Generate locales and run benchmark.
4027         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4028         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4029         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4030         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4031         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4032         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4033         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4034         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4035         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4036         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4037         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4038         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4039         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4040         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4041         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4042         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4043         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4044         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4045         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4046         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4047         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4048         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4049         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4050         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4052 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4054         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4055         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4057 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4059         * posix/uname-values.h: New file.
4060         * posix/uname.c: Include that instead of <config-name.h>.
4061         * sysdeps/nacl/uname-values.h: New file.
4062         * sysdeps/arm/nacl/uname-values.h: New file.
4064 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4066         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4067         splitting into fields.
4069 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4071         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4072         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4073         * locale/localeinfo.h: Add enum collation_encoding_type.
4074         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4075         * programs/ld-collate.c (collate_output): Add encoding type info.
4076         * string/strcoll_l.c (STRDIFF): New function.
4077         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4078         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4080 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4082         [BZ #18397]
4083         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4084         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4085         <fpu_control.h> instead of <math/fpu_control.c>.
4086         * sysdeps/mips/mips32/fpu/Makefile: New file.
4088 2015-05-11  Andreas Schwab  <schwab@suse.de>
4090         [BZ #18007]
4091         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4092         nss_endgrent.
4093         (_nss_compat_endgrent): Call nss_endgrent.
4094         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4095         nss_endpwent.
4096         (_nss_compat_endpwent): Call nss_endpwent.
4097         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4098         needent, call nss_setspent only if non-zero.
4099         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4100         (internal_endspent): Don't call nss_endspent.
4101         (_nss_compat_endspent): Call nss_endspent.
4102         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4103         Remove.  All uses removed.
4104         (internal_setent): Remove parameter stayopen, add parameter
4105         stream.  Use it instead of global variable.
4106         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4107         (internal_endent, internal_getent): Add parameter stream.  Use it
4108         instead of global variable.
4109         (CONCAT(_nss_files_end,ENTNAME))
4110         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4111         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4112         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4113         uses removed.
4114         (internal_setent, internal_endent): Add parameter stream.  Use it
4115         instead of global variable.
4116         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4117         stream.
4118         (get_next_alias): Add parameter stream.
4119         (_nss_files_getaliasent_r): Pass global stream.
4120         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4121         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4122         (_nss_files_gethostbyname4_r): Pass local stream to
4123         internal_setent, internal_getent and internal_endent.  Remove
4124         locking.
4126 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4128         * tst-strfmon1.c (tests): Update expected currency symbol.
4130 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4132         * sysdeps/nacl/gethostname.c: New file.
4134 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4136         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4137         and sinh.
4138         * math/auto-libm-test-out: Regenerated.
4139         * sysdeps/i386/fpu/libm-test-ulps: Update.
4140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4144         [BZ #18125]
4145         * stdlib/tst-setcontext3.c: New file.
4146         * stdlib/tst-setcontext3.sh: New file.
4147         * stdlib/Makefile (tests): Add tst-setcontext3.
4148         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4149         to verify test program created output file.
4150         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4151         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4152         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4153         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4155 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4157         [BZ #18383]
4158         * elf/tst-tlsalign.c: New file.
4159         * elf/tst-tlsalign-static.c: New file.
4160         * elf/tst-tlsalign-lib.c: New file.
4161         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4162         (tests-static): Add tst-tlsalign-static.
4163         (modules-names): Add tst-tlsalign-lib.
4164         (test-xfail-tst-tlsalign): New variable.
4165         (test-xfail-tst-tlsalign-static): New variable.
4167         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4168         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4170 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4172         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4173         csqrt, erfc, sin and sincos.
4174         * math/auto-libm-test-out: Regenerated.
4175         * sysdeps/i386/fpu/libm-test-ulps: Update.
4176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4178 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4180         * sysdeps/aarch64/libm-test-ulps: Update.
4182 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4184         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4185         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4186         * math/auto-libm-test-out: Regenerated.
4187         * sysdeps/i386/fpu/libm-test-ulps: Update.
4188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4192         [BZ #18265]
4193         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4194         (wcsncpy): Likewise.
4196 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4198         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4199         Assume __ASSUME_FALLOCATE is always true.
4200         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4201         (__posix_fallocate64_l64): Likweise.
4202         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4203         (posix_fallocate): Likewise.
4204         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4205         (__posix_fallocate64_l64): Likewise.
4206         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4207         [!__ASSUME_FALLOCATE]: Add comment.
4209 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4211         * sysdeps/unix/sysv/linux/i386/Makefile
4212         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4213         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4214         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4215         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4216         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4217         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4218         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4220 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4222         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4223         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4224         tgamma.
4225         * math/auto-libm-test-out: Regenerated.
4226         * sysdeps/i386/fpu/libm-test-ulps: Update.
4227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4231         * math/auto-libm-test-in: Add more tests of tgamma.
4232         * math/auto-libm-test-out: Regenerated.
4233         * sysdeps/i386/fpu/libm-test-ulps: Update.
4234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4236         * math/auto-libm-test-in: Add more tests of tanh.
4237         * math/auto-libm-test-out: Regenerated.
4238         * sysdeps/i386/fpu/libm-test-ulps: Update.
4239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241         * math/auto-libm-test-in: Add more tests of tan.
4242         * math/auto-libm-test-out: Regenerated.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4247         * math/auto-libm-test-out: Regenerated.
4248         * sysdeps/i386/fpu/libm-test-ulps: Update.
4249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251         * math/auto-libm-test-in: Add another test of pow.
4252         * math/auto-libm-test-out: Regenerated.
4253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4255         * math/auto-libm-test-in: Add more tests of lgamma.
4256         * math/auto-libm-test-out: Regenerated.
4257         * sysdeps/i386/fpu/libm-test-ulps: Update.
4258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4261         log1p.
4262         * math/auto-libm-test-out: Regenerated.
4263         * sysdeps/i386/fpu/libm-test-ulps: Update.
4264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4266 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4268         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4269         Elf64_Chdr structs and ELFCOMPRESS constants.
4271 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4273         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4274         expm1.
4275         * math/auto-libm-test-out: Regenerated.
4276         * sysdeps/i386/fpu/libm-test-ulps: Update.
4277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279         * math/auto-libm-test-in: Add more tests of erf and erfc.
4280         * math/auto-libm-test-out: Regenerated.
4281         * sysdeps/i386/fpu/libm-test-ulps: Update.
4282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4284 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4286         * config.h.in (HAVE_AARCH64_BE): Add.
4288 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4290         * math/auto-libm-test-in: Add more tests of csqrt.
4291         * math/auto-libm-test-out: Regenerated.
4292         * sysdeps/i386/fpu/libm-test-ulps: Update.
4293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4295         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4296         * math/auto-libm-test-out: Regenerated.
4297         * sysdeps/i386/fpu/libm-test-ulps: Update.
4298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4302 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4304         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4305         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4307         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4308         (euidaccess, eaccess): Define as weak aliases.
4310         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4311         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4312         but __suseconds_t is often 'long int' so some sources assume that
4313         type is being used (e.g. they use %ld to print tv_usec).
4315 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4317         [BZ #18007]
4318         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4319         (CVE-2014-8121)
4320         * nss/tst-nss-getpwent.c: New file.
4321         * nss/Makefile (tests): Add new test.
4323 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4325         [BZ #18346]
4326         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4327         exponents less than 48 as cases where high part of mantissa needs
4328         examining to determine whether argument is integral.
4329         * math/libm-test.inc (round_test_data): Add more tests.
4331 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4333         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4335 2015-04-27  David S. Miller  <davem@davemloft.net>
4337         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4338         __tls_get_addr.
4339         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4341 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4343         [BZ#18333]
4344         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4346 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4348         [BZ#18333]
4349         * time/tzset.c (parse_tzname): Return error on memory allocation
4350         failure.
4351         * test-skeleton.c (struct temp_name_list): Change type of name
4352         member to non-const.
4353         (add_temp_file): Create a copy of the file name.
4354         (delete_temp_files): Deallocate memory.
4355         (create_temp_file): Add comment.
4357 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4359         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4360         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4362 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4364         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4365         * sysdeps/arm/configure: Regenerated.
4367 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4369         [BZ #17715]
4370         * time/tzfile.c (__tzfile_read): Check for large values of
4371         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4372         * time/tzset.c (__tzstring_len): New function, based on the old
4373         __tzstring function.
4374         (__tzstring): Call __tzstring_len.
4375         (parse_tzname): New helper function extracted from
4376         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4377         the input string.
4378         (parse_offset): New helper function extracted from
4379         __tzset_parse_tz.  Replace switch with fallthrough with
4380         initialization before sscanf.
4381         (parse_rule): Likewise.
4382         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4383         new-style function definition.
4384         * timezone/Makefile (tests): Add tst-tzset.
4385         (tst-tzset.out): Dependencies on time zone files.
4386         (tst-tzset-ENV): Set TZDIR.
4387         (testdata/XT%): Copy crafted time zone files.
4388         * timezone/README: Mention crafted time zone files.
4389         * timezone/testdata/XT1, timezone/testdata/XT2,
4390         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4391         files.
4392         * timezone/tst-tzset.c: New test.
4394 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4396         * Makeconfig (+gccwarn): Remove -Winline.
4398 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4400         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4402 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4404         * NEWS: Mention sysconf() cache information support for s390.
4405         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4407 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4409         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4410         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4411         (__nearbyint): Likewise.
4412         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4413         (copysignl): Likewise.
4415 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4417         [BZ #18287]
4418         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4419         based on padding.  (CVE-2015-1781)
4421 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4423         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4424         libc-vdso.h.
4425         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4426         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4427         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4428         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4429         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4430         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4431         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4432         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4433         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4434         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4435         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4436         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4437         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4438         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4439         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4440         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4441         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4442         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4443         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4444         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4445         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4446         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4447         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4449 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4451         * stdlib/setenv.c (__add_to_environ):
4452         Dump core quickly if setenv (..., NULL, ...) is called.
4453         This time, do it the right way, and pacify GCC with a pragma.
4455 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4457         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4458         IMAP->l_prev cannot be null, and #if out the code for the contrary
4459         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4460         believe that NS (&_dl_ns[NSID]) could point outside the array.
4462         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4463         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4464         before using NSID as an index.
4466 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4468         [BZ #17825]
4469         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4470         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4471         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4473 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4475         Add preliminary port to Google Native Client on ARM.
4476         * abi-tags (.*-.*-nacl.*): New entry.
4477         * sysdeps/arm/nacl: New directory.
4478         * sysdeps/nacl: New directory.
4480 2015-04-16  David S. Miller  <davem@davemloft.net>
4482         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4483         lowlevellock-futex.h
4485 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4487         * sysdeps/tile/configure.ac: New file.
4488         * sysdeps/tile/configure: Regenerated.
4490 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4492         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4493         conditionals for weak_alias and libc_hidden_weak.
4494         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4495         libc_hidden_weak and weak_alias.
4496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4497         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4498         and weak_alias for static one.
4500 2015-04-15  David S. Miller  <davem@davemloft.net>
4502         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4504 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4506         [BZ #18206]
4507         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4508           Use signed comparision instead of substraction to avoid
4509           overflow bug.
4510         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4511           Take the sign of ret.
4512         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4513           Do not expect precise return values. Only the sign matters.
4514         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4515         * wcsmbs/test-wcsncmp.c: New File.
4516         * string/test-strncmp.c: Add wcsncmp support.
4518 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4520         [BZ #6792]
4521         * math/w_log1p.c: New file.
4522         * math/w_log1pf.c: Likewise.
4523         * math/w_log1pl.c: Likewise.
4524         * math/Makefile (libm-calls): Add w_log1p.
4525         * math/s_log1pl.c (log1pl): Remove weak_alias.
4526         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4527         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4528         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4529         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4530         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4531         [NO_LONG_DOUBLE] (log1pl): Likewise.
4532         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4533         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4534         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4535         (log1p): Remove long_double_symbol.
4536         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4537         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4538         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4539         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4540         remove weak_alias for corresponding log1p function.
4541         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4542         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4543         * sysdeps/ia64/fpu/w_log1p.c: New file.
4544         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4545         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4546         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4548 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4550         [BZ #18247]
4551         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4552         decimal exponent by 1.
4553         * stdlib/tst-strtod-round-data: Add more tests.
4554         * stdlib/tst-strtod-round.c (tests): Regenerated.
4556 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4558         * math/auto-libm-test-in: Add more tests of clog and clog10.
4559         * math/auto-libm-test-out: Regenerated.
4560         * sysdeps/i386/fpu/libm-test-ulps: Update.
4561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4563 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4565         * Makeconfig (module-cppflags): Exclude all .v.i files.
4566         (skip-module-cppflags): Variable removed.
4568         * configure.ac (libc_config_ok): Initialize before reading
4569         preconfigure scripts, not after.
4570         * configure: Regenerated.
4572         * test-skeleton.c (TIMEOUT): Move #define to top level.
4573         (main): Grok environment variable TEST_DIRECT.  If set, print
4574         test expectation details into that file and then behave as if
4575         given --direct.
4577 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4579         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4580         warning on 32-bit.
4582 2015-04-08  David S. Miller  <davem@davemloft.net>
4584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4586 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4588         * math/auto-libm-test-in: Add more tests of atanh.
4589         * math/auto-libm-test-out: Regenerated.
4590         * sysdeps/i386/fpu/libm-test-ulps: Update.
4591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4593         * math/auto-libm-test-in: Add more tests of atan.
4594         * math/auto-libm-test-out: Regenerated.
4595         * sysdeps/i386/fpu/libm-test-ulps: Update.
4596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4598 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4600         * elf/pldd.c (main): Rewrite to use struct
4601         scratch_buffer instead of extend_alloca.
4602         * elf/pldd-xx.c (find_maps): Likewise.
4603         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4604         <alloca.h>.
4605         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4606         scratch_buffer instead of extend_alloca.
4607         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4608         grp/compat-initgroups.c.
4609         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4610         Rewrite to use struct scratch_buffer instead of extend_alloca.
4611         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4612         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4614 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4616         * math/auto-libm-test-in: Add more tests of cbrt.
4617         * math/auto-libm-test-out: Regenerated.
4618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4620         * math/auto-libm-test-in: Add more tests of cabs.
4621         * math/auto-libm-test-out: Regenerated.
4622         * sysdeps/i386/fpu/libm-test-ulps: Update.
4623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4625         [BZ #18210]
4626         [BZ #18211]
4627         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4628         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4629         computations.
4630         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4631         clog10.
4632         * math/auto-libm-test-out: Regenerated.
4633         * sysdeps/i386/fpu/libm-test-ulps: Update.
4634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636         [BZ #18197]
4637         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4638         (atan): Set FE_TONEAREST mode for internal computations.
4639         * math/auto-libm-test-in: Add more tests of atan.
4640         * math/auto-libm-test-out: Regenerated.
4642 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4644         [BZ #17930]
4645         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4647 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4649         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4651 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4653         * include/scratch_buffer.h: New file.
4654         * malloc/scratch_buffer_grow.c: Likewise.
4655         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4656         * malloc/scratch_buffer_set_array_size.c: Likewise.
4657         * malloc/tst-scratch_buffer.c: Likewise.
4658         * malloc/Makefile (routines): Add scratch_buffer_grow.
4659         (tests): Add test case.
4660         * malloc/Versions (GLIBC_PRIVATE): Export
4661         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4662         __libc_scratch_buffer_set_array_size.
4664 2015-04-06  Richard Henderson  <rth@redhat.com>
4666         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4667         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4669         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4670         unsigned int before printing.
4672 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4674         [BZ #17596]
4675         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4676         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4678 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4680         * include/libc-internal.h (libc_max_align_t): Define.
4682 2015-04-02  Andreas Schwab  <schwab@suse.de>
4684         [BZ #16850]
4685         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4687 2015-04-02  Mel Gorman  <mgorman@suse.de>
4689         [BZ #17195]
4690         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4691         as well as the main arena.
4693 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4695         [BZ #18185]
4696         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4697         sharing L2 cache to 2 for Silvermont/Knights Landing.
4699 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4701         [BZ #17711]
4702         * config.make.in (have-protected-data): New.
4703         * configure.ac: Check linker support for protected data symbol.
4704         * configure: Regenerated.
4705         * elf/Makefile (modules-names): Add tst-protected1moda and
4706         tst-protected1modb if $(have-protected-data) is yes.
4707         (tests): Add tst-protected1a and tst-protected1b if
4708         $(have-protected-data) is yes.
4709         ($(objpfx)tst-protected1a): New.
4710         ($(objpfx)tst-protected1b): Likewise.
4711         (tst-protected1modb.so-no-z-defs): Likewise.
4712         * elf/tst-protected1a.c: New file.
4713         * elf/tst-protected1b.c: Likewise.
4714         * elf/tst-protected1mod.h: Likewise.
4715         * elf/tst-protected1moda.c: Likewise.
4716         * elf/tst-protected1modb.c: Likewise.
4718 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4720         [BZ #17711]
4721         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4722         indicates it is called from do_lookup_x on relocation against
4723         protected data, skip the data definion in the executable from
4724         copy reloc.
4725         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4726         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4727         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4728         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4729         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4730         otherwise to 0.
4731         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4732         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4733         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4734         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4735         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4736         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4738 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4740         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4741         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4743 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4745         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4746         THREAD_SETMEM_NC.
4747         * sysdeps/x86_64/nptl/tls.h: Ditto.
4749 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4751         * dlfcn/tststatic.c (main): Converted to ...
4752         (do_test): ... this.
4753         (TEST_FUNCTION): New macro.
4754         Include test-skeleton.c.
4756 2015-03-26  Alan Modra  <amodra@gmail.com>
4758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4759         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4760         zero for undefined weak.
4761         (elf_machine_plt_conflict): Similarly.
4763 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4765         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4766         atanh.
4767         * math/auto-libm-test-out: Regenerated.
4768         * sysdeps/i386/fpu/libm-test-ulps: Update.
4769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4771         * math/auto-libm-test-in: Add another test of asin.
4772         * math/auto-libm-test-out: Regenerated.
4773         * sysdeps/i386/fpu/libm-test-ulps: Update.
4774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4777         Remove macro.
4778         (LLL_EBX_REG): Likewise.
4779         (LLL_ENTER_KERNEL): Likewise.
4781         * math/auto-libm-test-in: Add more tests of asin.
4782         * math/auto-libm-test-out: Regenerated.
4783         * sysdeps/i386/fpu/libm-test-ulps: Update.
4784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4786         [BZ #18138]
4787         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4788         libc_do_syscall_args): New structure.
4789         (INTERNAL_SYSCALL_MAIN_0): New macro.
4790         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4791         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4792         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4793         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4794         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4795         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4796         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4797         Replace conditional definitions by conditional definitions of ....
4798         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4799         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4800         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4801         (libpthread-sysdep_routines): Add libc-do-syscall.
4802         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4803         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4804         to __NR_futex not 240.
4806 2015-03-25  Alan Modra  <amodra@gmail.com>
4808         * NEWS: Advertise TLS optimization.
4809         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4810         (DT_PPC_NUM): Increment.
4811         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4812         (CHECK_STATIC_TLS): Use here.
4813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4814         TLS descriptors.
4815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4816         * sysdeps/powerpc/dl-tls.c: New file.
4817         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4818         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4819         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4820         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4825 2015-03-25  Alan Modra  <amodra@gmail.com>
4827         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4828         for overlapping .opd entries" to "support...".
4829         * sysdeps/powerpc/powerpc64/configure: Regenerate
4831 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4833         * math/auto-libm-test-in: Add more tests of acos.
4834         * math/auto-libm-test-out: Regenerated.
4835         * sysdeps/i386/fpu/libm-test-ulps: Update.
4836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838         * math/auto-libm-test-in: Add more tests of expm1.
4839         * math/auto-libm-test-out: Regenerated.
4840         * sysdeps/i386/fpu/libm-test-ulps: Update.
4841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4843 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4845         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4846         * math/auto-libm-test-out: Regenerated.
4847         * sysdeps/i386/fpu/libm-test-ulps: Update.
4848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853         * math/auto-libm-test-in: Add more tests of log2.
4854         * math/auto-libm-test-out: Regenerated.
4855         * sysdeps/i386/fpu/libm-test-ulps: Update.
4856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4858 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4860         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4861         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4862         _IO_IS_APPENDING bit in READ_WRITE instead.
4864 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4866         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4867         (__determine_cpumask_size): Replace extend_alloca with a
4868         variable-length array.  Do not treat res == 0 as an error.
4870 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4872         [BZ #18100]
4873         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4874         and integer overflow.
4875         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4876         (main): Add integer overflow tests.
4877         * manual/pattern.texi (Calling Wordexp): Document additional use
4878         for WRDE_SYNTAX.
4880 2015-03-23  Alan Modra  <amodra@gmail.com>
4882         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4883         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4884         and false branch of conditional.
4885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4886         Likewise.
4888 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4890         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4891         libc-modules.h
4892         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4893         unused declaration of _hurd_intr_rpc_msg_in_trap.
4894         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4895         defined instead of whether it is non-zero.
4896         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4897         input constraint instead of both input and output constraint.  Use ecx
4898         clobber instead of %ecx.
4899         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4900         mutex_unlock): Use a statement expression instead of an expression list.
4901         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4902         type to vm_size_t instead of vm_address_t.
4903         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4904         defined instead of whether it is non-zero.
4905         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4906         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4907         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4908         comparisons with mapaddr.
4909         * nscd/nscd-client.h: Include <time.h>.
4910         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4911         9th parameter to __vm_region instead of int.
4912         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4913         * scripts/check-local-headers.sh (exclude): Add device/,
4914         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4915         cthreads.h.
4917 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4919         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4920         to account for alignment padding.
4921         * sysdeps/arm/memmove.S: Likewise.
4923 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4925         * sysdeps/unix/sysv/linux/generic/README: New file.
4927 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4929         [BZ #18138]
4930         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4931         (futex_abstimed_wait)
4932         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4933         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4934         of lll_futex_timed_wait.
4936 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4938         [BZ #17542]
4939         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4941 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4943         [BZ #17090]
4944         [BZ #17620]
4945         [BZ #17621]
4946         [BZ #17628]
4947         * NEWS: Update.
4948         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4949         entries with Static TLS too.  Skip entries past the end of the
4950         allocated DTV, from Alan Modra.
4951         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4952         Static TLS DTV entry set up from...
4953         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4954         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4955         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4956         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4957         for Static TLS.
4958         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4959         that the slot we find is associated with the given map before
4960         using its generation count.
4961         * nptl_db/db_info.c: Include ldsodefs.h.
4962         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4963         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4964         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4965         (link_map::l_tls_offset): New struct field.
4966         (dtv_t::counter): Likewise.
4967         (rtld_global): New struct.
4968         (_rtld_global): New rtld variable.
4969         (dl_tls_dtv_slotinfo_list): New rtld global field.
4970         (dtv_slotinfo_list): New struct.
4971         (dtv_slotinfo): Likewise.
4972         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4973         (td_lookup): Rename to...
4974         (td_mod_lookup): ... this.  Use new mod parameter instead of
4975         LIBPTHREAD_SO.
4976         * nptl_db/td_thr_tlsbase.c: Include link.h.
4977         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4978         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4979         addresses even if the DTV is out of date or missing them.
4980         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4981         index zero-length arrays.
4982         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4983         (td_lookup): Make it a macro implemented in terms of...
4984         (td_mod_lookup): ... this declaration.
4985         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4986         (DB_MAIN_VARIABLE): Likewise.
4988 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4990         [BZ #18134]
4991         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4993 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4995         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4997 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4999         [BZ #18128]
5000         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5001         (atomic_add, atomic_increment_and_test)
5002         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5004 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5006         * stdlib/setenv.c (__add_to_environ):
5007         Dump core quickly if setenv (..., NULL, ...) is called.
5009 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5011         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5012         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5013         all the necessary asm magic in one place.
5014         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5015         using those.
5017 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5019         [BZ #14906]
5020         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5021         traced file mtime. Use consistent log message.
5022         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5023         (register_traced_file): Call install_watches. Always set mtime.
5024         (invalidate_cache): Iterate over all trace files. Call install_watches.
5025         (inotify_check_files): Don't inline. Handle watching parent
5026         directories and configuration file movement in and out.
5027         (handle_inotify_events): New function.
5028         (main_loop_poll): Call handle_inotify_events.
5029         (main_loop_epoll): Likewise.
5030         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5031         (struct traced_file): Use array of inotify fds. Add parent directory,
5032         and basename.
5033         (struct database_dyn): Remove unused file_mtime.
5034         (init_traced_file): New inline function.
5035         (define_traced_file): New macro.
5036         * nss/nss_db/db-init.c: Use define_traced_file.
5037         (_nss_db_init): Use init_traced_file.
5038         * nss/nss_files/files-init.c: Use define_traced_file.
5039         (_nss_files_init): Use init_traced_file.
5041 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5043         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5044         [_LIBC]: Do not include <stdlib.h>.
5045         [!_LIBC] (abort): Remove declaration.
5046         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5047         _FP_STATIC_ASSERT instead of conditionally calling abort.
5048         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5049         (_FP_EXTEND_CNAN): Likewise.
5050         (FP_TRUNC): Likewise.
5051         (__FP_CLZ): Likewise.
5052         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5054 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5056         * manual/string.texi (XPG basename): Fix prototype.
5058 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5060         [BZ #18080]
5061         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5062         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5063         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5064         (__setcontext): Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5066         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5067         Call rt_sigprocmask syscall one time to set new signal mask
5068         and retrieve the current signal mask instead of two calls.
5069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5070         (__swapcontext): Likewise.
5071         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5072         * stdlib/tst-setcontext2.c: New file.
5074 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5078 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5080         [BZ #18093]
5081         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5082         the wrong size.
5084 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5086         [BZ #18043]
5087         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5089 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5091         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5092         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5093         Remove define.
5094         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5095         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5096         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5097         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5098         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5099         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5100         define.
5101         * nptl_db/td_symbol_list.c (td_lookup): Remove
5102         HAVE_ASM_GLOBAL_DOT_NAME code.
5103         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5104         HAVE_ASM_GLOBAL_DOT_NAME check.
5105         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5106         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5107         (DOT_LABEL): Remove define.
5108         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5109         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5110         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5111         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5112         (__TLS_GET_ADDR): Likewise.
5113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5114         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5116 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5118         [BZ #18111]
5119         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5120         (_FPU_SETCW): Initialize cw from fpsr before storing.
5121         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5122         (fesetexceptflag): Rewrite using fpu_control.h.
5123         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5125 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5127         [BZ #18110]
5128         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5129         asms.
5130         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5132 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5134         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5135         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5136         abort.
5137         (_FP_FMA): Likewise.
5138         (_FP_DIV): Likewise.
5140 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5142         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5143         with 0 in that case.
5144         * Makefile (summarize-tests): New canned sequence, factored out of
5145         commands for targets tests and xtests.  Display summary lines that
5146         don't start with PASS: or XFAIL: rather than ones that do start with
5147         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5148         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5149         do start with ERROR: or FAIL:.
5150         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5151         (except for [$(build-shared) = yes]).
5152         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5153         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5154         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5155         * nptl/Makefile: Revert 2015-03-04 changes.
5156         [$(CXX) empty] (tests-unsupported): New variable.
5157         * debug/Makefile: Likewise.
5159         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5160         gnulib file.  Replace __attribute with __attribute__ throughout.
5162 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5164         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5166 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5168         [BZ #18104]
5169         * math/auto-libm-test-in: Add another test of pow.
5170         * math/auto-libm-test-out: Regenerated.
5172 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5174         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5175         $(config-cflags-nofma).
5177 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5179         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5180         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5181         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5182         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5183         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5184         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5185         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5186         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5187         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5188         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5189         Add comment on closing #endif.
5191 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5193         * posix/wordexp.c (CHAR_IN_SET): New macro.
5194         (parse_param): Use it.
5196 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5198         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5200 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5202         [BZ #18043]
5203         * posix/wordexp.c (parse_param): Fix buffer overflow.
5204         * posix/wordexp-test.c (test_case): Add test case.
5206 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5208         [BZ #18042]
5209         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5210         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5212 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5214         [BZ #18043]
5215         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5216         (do_bz18043): Delete.
5217         (at_page_end): New.
5218         (testit): Refactor to have words at the edge of unreadable page.
5220 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5222         [BZ #16734]
5223         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5224         Cleanup read-only streams as well.
5225         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5227 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5229         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5230         <bits/libc-lockP.h>
5232 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5234         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5235         on [__KERNEL__].
5236         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5237         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5238         * soft-fp/op-common.h (_FP_DECL): Likewise.
5240 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5242         * elf/ifuncdep2.c (global): Replace
5243         __attribute__((visibility("protected"))) with
5244         asm (".protected global").
5245         * elf/ifuncmod1.c (global): Likewise.
5246         * elf/ifuncmod5.c (global): Likewise.
5248 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5250         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5251         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5253 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5255         * manual/install.texi (Configuring and compiling):
5256         Document test-wrapper-env-only.
5257         * INSTALL: Regenerated.
5259 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5261         [BZ #18043]
5262         * posix/wordexp.c (parse_param): Fix buffer overflow.
5263         * posix/wordexp-test.c (do_bz18043): Add test case.
5265 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5267         * time/tst-strptime2.c (do_test): Ensure failing tests are
5268         reported correctly.
5269         * time/tst-strptime3.c (do_test): Likewise.
5271 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5273         Fix aio_error thread-safety.
5274         * sysdeps/pthread/aio_error.c: New file
5275         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5276         synchronization.
5278 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5280         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5281         (group_number, vfprintf): Use it.
5282         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5283         (JUMP, REF): Use it.
5284         (WORK_BUFFER_SIZE): New enum constant.
5285         (process_arg, vfprintf): Use it.
5287 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5289         * manual/errno.texi (Error Messages): Complete example function
5290         by adding missing #define.
5291         (program_invocation_name): Add statement indicating GNU
5292         extension and reference which header file declares the variable.
5293         (program_invocation_short_name): Likewise.
5295 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5297         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5298         compatibility note.
5300 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5302         * Makeconfig (test-wrapper-env-only): New variable.
5303         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5304         then use that with $(test-wrapper-env-only) rather than using
5305         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5307 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5309         [BZ #18082]
5310         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5311         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5312         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5313         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5314         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5315         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5316         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5317         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5318         Likewise.
5319         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5320         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5321         Likewise.
5322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5323         Likewise.
5324         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5325         Likewise.
5326         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5327         Likewise.
5328         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5329         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5330         Likewise.
5331         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5332         Likewise.
5333         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5334         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5336 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5338         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5339         (ETH_ALEN): New macro.
5340         (struct ether_addr): Use it for length of ether_addr_octet.
5342         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5343         (setdb): Don't call __nss_configure_lookup for "rpc".
5344         (do_test): Don't call test_rpc.
5345         (output_rpcent, test_rpc): Functions moved ...
5346         * sunrpc/test-rpcent.c: ... to this new file.
5347         * sunrpc/Makefile (tests): Add it.
5349         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5350         __xpg_sigpause.
5351         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5352         * nptl/tst-signal6.c: Likewise.
5353         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5354         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5356         * configure.ac (libc_cv_cxx_link_ok): New check.
5357         Reset CXX to empty if it fails to link.
5358         * configure: Regenerated.
5359         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5360         bug-atexit3-lib only if $(CXX) is nonempty.
5361         * nptl/Makefile (tests): Likewise for tst-cancel24.
5362         (tests, tests-static): Likewise for tst-cancel24-static.
5363         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5364         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5365         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5366         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5368 2015-03-04  Andreas Schwab  <schwab@suse.de>
5370         [BZ #17631]
5371         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5372         for non-GCC compilers.
5373         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5374         Likewise.
5376 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5378         [BZ #17776]
5379         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5380         integer before bitwise and assembly operations.
5381         (feclearexcept): Likewise.
5382         * math/test-fenvinline.c: New file.
5383         * math/Makefile: Add test-fenvinline test.
5385 2015-03-03  Alan Modra  <amodra@gmail.com>
5387         [BZ #16512]
5388         * scripts/localplt.awk: Strip off symbol version.
5389         * NEWS: Mention bug fix.
5391 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5393         * sysdeps/pthread/timer_routines.c
5394         (timer_free_list, thread_free_list, thread_active_list): Make static.
5396 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #17779]
5399         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5400         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5401         Undefine.
5402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5403         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5404         Likewise.
5405         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5406         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5407         Likewise.
5409 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5411         [BZ #18036]
5412         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5413         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5415 2015-03-02  Andreas Schwab  <schwab@suse.de>
5417         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5418         variable name.
5420 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5422         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5423         Return error status.
5425 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5427         [BZ #15969]
5428         * locale/findlocale.c (_nl_find_locale): Introduce const
5429         version of loc_name and drop unsafe type casts.
5431 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5433         * dlfcn/tststatic2.c (main): Converted to ...
5434         (do_test): ... this.
5435         (TEST_FUNCTION): New macro.
5436         Include test-skeleton.c.
5438 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5440         [BZ #17711]
5441         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5442         (tests-pie): Add vismain.
5443         (CFLAGS-vismain.c): New.
5444         * elf/vismain.c: Add comments for PIE requirement.
5446 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5448         [BZ #18046]
5449         [BZ #18047]
5450         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5451         0x1p-56L as threshold for just returning the argument.
5452         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5453         0x1p-32L as threshold for just returning the argument.
5454         * math/auto-libm-test-in: Add more tests of atanh.
5455         * math/auto-libm-test-out: Regenerated.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5457         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5459 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5461         * string/bcopy.c (bcopy): Call memmove for performance.
5463 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5465         * string/bzero.c (__bzero): Call memset for performance.
5467 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5469         [BZ #18068]
5470         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5471         to 00100000.
5473 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5475         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5477 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5479         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5480         (__kernel_standard): Use CSTR macro when setting exc.name.
5481         * sysdeps/ieee754/Makefile [$(subdir) = math]
5482         (CFLAGS-k_standard.c): Remove variable.
5484         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5485         setting p and q from "else if" to "else".
5486         (qzero): Likewise.
5487         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5488         (qone): Likewise.
5489         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5490         (qzerof): Likewise.
5491         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5492         (qonef): Likewise.
5493         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5494         (qzero): Likewise.
5495         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5496         (qone): Likewise.
5498         [BZ #18038]
5499         [BZ #18039]
5500         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5501         return pi/2 for arguments below 0x1p-113L.
5502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5503         return pi/2 for arguments below 0x1p-106L.
5504         * math/auto-libm-test-in: Add more tests of acos.
5505         * math/auto-libm-test-out: Regenerated.
5507         [BZ #16351]
5508         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5509         (MO): New macro.
5510         (__ieee754_asin): Force underflow exception for results with small
5511         absolute value.
5512         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5513         (MO): New macro.
5514         (__ieee754_asinf): Force underflow exception for results with
5515         small absolute value.
5516         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5517         (__ieee754_asin): Force underflow exception for results with small
5518         absolute value.
5519         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5520         (__ieee754_asinf): Force underflow exception for results with
5521         small absolute value.
5522         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5523         (__ieee754_asinl): Force underflow exception for results with
5524         small absolute value.
5525         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5526         (__ieee754_asinl): Force underflow exception for results with
5527         small absolute value.
5528         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5529         (__ieee754_asinl): Force underflow exception for results with
5530         small absolute value.
5531         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5532         Include <math.h>.
5533         * math/auto-libm-test-in: Do not mark underflow exceptions as
5534         possibly missing for bug 16351.
5535         * math/auto-libm-test-out: Regenerated.
5537         [BZ #18030]
5538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5539         of power of 2 down when low part has opposite sign.
5540         * math/libm-test.inc (logb_test_data): Add more tests.
5542 2015-02-26  Andreas Schwab  <schwab@suse.de>
5544         [BZ #18032]
5545         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5546         over collating symbol inside a bracket expression.  Minor cleanup.
5547         * posix/tst-fnmatch3.c (do_test): Add test case.
5549 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5551         [BZ #18029]
5552         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5553         Adjust exponent of power of 2 down when low part has opposite
5554         sign.
5555         * math/libm-test.inc (ilogb_test_data): Add more tests.
5557 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5559         [BZ #15969]
5560         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5561         the previous change.
5563         [BZ #15969]
5564         * locale/findlocale.c (_nl_find_locale): Retry archive search
5565         after alias expansion.
5567 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5569         * iconv/tst-iconv3.c (main): Converted to ...
5570         (do_test): ... this.
5571         (TEST_FUNCTION): New macro.
5572         Include test-skeleton.c.
5574         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5575         (convert): Make function static.
5576         (test_unalign): Likewise.  Add const to argument pointee types.
5577         (main): Replace with static function do_test.
5578         Print "Succeeded." only if RET is zero.
5579         (TEST_FUNCTION): New macro.
5580         Include test-skeleton.c.
5582         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5583         returns a null pointer.
5585 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5587         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5588         to __memcpy_ppc only for static builds.
5590 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5592         [BZ #18020]
5593         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5594         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5595         * math/auto-libm-test-in: Add more tests of asinh.
5596         * math/auto-libm-test-out: Regenerated.
5597         * sysdeps/i386/fpu/libm-test-ulps: Update.
5598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5600 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5602         [BZ #15850]
5603         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5604         and ip6_mtuinfo definitions here.
5605         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5606         in this define too.  Update comment.
5608 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5610         * elf/sprof.c (load_shobj): Tweak error message to match others.
5612 2015-02-24  Kevin Easton  <kevin@guarana.org>
5614         [BZ #16145] (partial fix)
5615         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5616         to reduce lock contention.
5618 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5620         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5621         (struct timex): Update time comment.
5622         (ADJ_SETOFFSET): Define.
5624 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #18019]
5627         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5628         2**56 not 2**28 as threshold for log (2x) formula.
5629         * math/auto-libm-test-in: Add more tests of acosh.
5630         * math/auto-libm-test-out: Regenerated.
5631         * sysdeps/i386/fpu/libm-test-ulps: Update.
5632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5636         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5637         parenthesis around the buf assignment.
5638         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5640 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5642         [BZ #16783]
5643         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5644         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5645         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5646         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5647         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5648         * math/libm-test.inc (scalb_test_data): Add more tests.
5650 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5652         [BZ #17916]
5653         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5654         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5656 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5658         [BZ #17523]
5659         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5660         * io/bits/fcntl2.h (open): Use it.
5661         (openat): Likewise.
5662         * io/open.c (__libc_open): Likewise.
5663         * io/open64.c (__libc_open64): Likewise.
5664         * io/open64_2.c (__open64_2): Likewise.
5665         * io/open_2.c (__open_2): Likewise.
5666         * io/openat.c (__openat): Likewise.
5667         * io/openat64.c (__openat64): Likewise.
5668         * io/openat64_2.c (__openat64_2): Likewise.
5669         * io/openat_2.c (__openat_2): Likewise.
5670         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5671         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5672         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5673         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5674         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5675         (__open_nocancel): Likewise.
5676         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5677         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5678         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5680 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5682         [BZ #14841]
5683         * resolv/gethnamaddr.c (getanswer): Skip logging if
5684         RES_USE_DNSSEC is set.
5685         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5687 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5689         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5691 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5693         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5694         201304L, for Unicode 7.
5696 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5698         [BZ #17836]
5699         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5700         shared library.  Add gmon-start.os otherwise.
5701         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5702         $(objpfx)gmon-start.os if builing shared library.
5703         ($(objpfx)g$(static-start-installed-name)): Likewise.
5705 2015-02-23  Andreas Schwab  <schwab@suse.de>
5707         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5709 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5711         [BZ #17269]
5712         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5713         (enlarge_userbuf): Likewise.
5715 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5717         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5718         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5719         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5720         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5722 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5724         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5725         expression inside statement expression.
5727 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5729         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5730         <sysdeps/nptl/lowlevellock.h> and remove macros and
5731         functions that are now defined there.
5732         (SYS_futex): Remove.
5733         (lll_compare_and_swap): Remove.
5734         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5736 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5738         [BZ #17999]
5739         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5740         instead of scandirat.
5741         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5742         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5743         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5744         __scandirat.
5745         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5746         (__scandirat): Declare.  Use libc_hidden_proto.
5747         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5748         Remove variable.
5749         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5751 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5753         [BZ #15319]
5754         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5755         (MO): New macro.
5756         (__ieee754_atan2): For results with small absolute value, force
5757         underflow exception and remove excess range and precision from
5758         return value.
5759         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5760         (MO): New macro.
5761         (__ieee754_atan2f): For results with small absolute value, force
5762         underflow exception and remove excess range and precision from
5763         return value.
5764         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5765         (MO): New macro.
5766         (__atan): For results with small absolute value, force underflow
5767         exception and remove excess range and precision from return value.
5768         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5769         (MO): New macro.
5770         (__atanf): For results with small absolute value, force underflow
5771         exception and remove excess range and precision from return value.
5772         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5773         <math.h>.
5774         (__ieee754_atan2): Force underflow exception for results with
5775         small absolute value.
5776         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5777         <math_private.h>.
5778         (atan): Force underflow exception for results with small absolute
5779         value.
5780         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5781         (__atanf): Force underflow exception for results with small
5782         absolute value.
5783         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5784         <math.h>.
5785         (__atanl): Force underflow exception for results with small
5786         absolute value.
5787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5788         (__atanl): Force underflow exception for results with small
5789         absolute value.
5790         * sysdeps/x86/fpu/bits/mathinline.h
5791         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5792         (__ieee754_atan2): Only define inline for long double.
5793         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5794         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5795         * math/auto-libm-test-in: Do not mark underflow exceptions as
5796         possibly missing for bug 15319.  Add more tests of atan2.
5797         * math/auto-libm-test-out: Regenerated.
5798         * math/libm-test.inc (casin_test_data): Do not mark underflow
5799         exceptions as possibly missing for bug 15319.
5800         (casinh_test_data): Likewise.
5801         * sysdeps/i386/fpu/libm-test-ulps: Update.
5803 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5805         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5806         * sysdeps/mips/bits/endian.h: Fix comments.
5808 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5810         [BZ #17996]
5811         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5812         (hdestroy_r): Likewise.
5813         (hsearch_r): Likewise.
5814         (__hcreate_r): Declare and use libc_hidden_proto.
5815         (__hdestroy_r): Likewise.
5816         (__hsearch_r): Likewise.
5817         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5818         (hcreate): Call __hcreate_r instead of hcreate_r.
5819         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5820         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5821         as weak alias of __hcreate_r.
5822         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5823         __hdestroy_r.
5824         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5825         __hsearch_r.
5826         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5827         Remove variable.
5828         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5829         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5830         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5831         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5833 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5835         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5836         arena_lock into a single arena_get.
5838 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5840         * dl-reloc.c: Inlucde libc-internal.h.
5841         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5842         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5843         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5844         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5845         (grow_heap): Likewise.
5846         * malloc/malloc.c: Include libc-internal.h.
5847         (do_check_malloc): Call powerof2.
5848         (sysmalloc): Use pagesize. Call ALIGN_UP.
5849         (systrim): Use pagesize.
5850         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5851         (__libc_valloc): Use pagesize.
5852         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5854 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5856         [BZ #17991]
5857         * include/sys/resource.h (__getrlimit64): Declare.  Use
5858         libc_hidden_proto.
5859         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5860         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5861         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5862         getrlimit64.
5863         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5864         __getrlimit64.
5865         [!getrlimit64] (getrlimit64): Define as weak alias of
5866         __getrlimit64.  Use libc_hidden_weak.
5867         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5868         using __getrlimit64 not __new_getrlimit64.
5869         (__GI_getrlimit64): Likewise.
5870         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5871         Likewise.
5872         (__GI_getrlimit64): Likewise.
5873         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5875         (getrlimit): Add __getrlimit64 alias.
5876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5877         Likewise.
5878         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5879         Remove variable.
5880         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5881         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5883 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5885         * libio/fileops.c: Add missing sys/mman.h
5886         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5888 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5890         * manual/math.texi (Errors in Math Functions): Clarify goals
5891         regarding inexact and underflow exceptions.
5893 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5895         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5896         * sysdeps/mips/memset.S: Ditto.
5898 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5900         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5902 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5904         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5905         (__v1longjmp): Remove versioned symbol.
5906         (__v1siglongjmp): Remove alias and versioned symbol.
5907         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5908         (__v2siglongjmp): Likewise.
5910 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5912         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5914 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5916         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5918 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #17987]
5921         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5922         zero result does not depend on the sign resulting from
5923         subtraction.
5924         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5925         Likewise.
5926         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5927         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5928         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5929         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5930         * math/libm-test.inc (remquo_test_data): Add more tests.
5932 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5934         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5935         Problem reported by J William Piggott.
5937 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5939         [BZ #17978]
5940         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5941         products 4 * y and 2 * y where those would overflow.
5942         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5943         Likewise.
5944         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5945         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5946         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5947         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5948         * math/libm-test.inc (remquo_test_data): Add more tests.
5950         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5952         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5953         [defined _COMPILING_NEWLIB].
5954         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5955         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5957         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5958         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5960 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5962         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5963         acquired.
5965 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5967         [BZ #17792]
5968         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5969         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5970         HOST_STACK_END_ADDR): Likewise.
5972 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5974         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5975         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5976         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5978 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5980         * sysdeps/generic/c++-types.data: New file.
5981         * sysdeps/generic/ld.abilist: New file.
5982         * sysdeps/generic/libBrokenLocale.abilist: New file.
5983         * sysdeps/generic/libanl.abilist: New file.
5984         * sysdeps/generic/libc.abilist: New file.
5985         * sysdeps/generic/libcrypt.abilist: New file.
5986         * sysdeps/generic/libdl.abilist: New file.
5987         * sysdeps/generic/libm.abilist: New file.
5988         * sysdeps/generic/libpthread.abilist: New file.
5989         * sysdeps/generic/libresolv.abilist: New file.
5990         * sysdeps/generic/librt.abilist: New file.
5992 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5994         [BZ #17569]
5995         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5996         Compute absolute value of x as modified by fmod, not original
5997         value of x.
5998         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5999         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6000         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6001         RUN_TEST_ffI_f1_mod8.
6002         (remquo_test_data): Add more tests.
6004 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6006         * sysdeps/init_array/pt-crti.S: New file.
6008 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6010         [BZ #17967]
6011         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6012         __builtin_fmaf instead of relying on contraction of a * b + c.
6014 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6016         [BZ #17969]
6017         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6018         node.
6020 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6022         [BZ #17964]
6023         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6024         __builtin_fma instead of relying on contraction of a * b + c.
6026 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6028         * Makeconfig (ASFLAGS): Add -Werror=undef.
6029         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6030         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6031         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6033         * Makeconfig (after-link): New variable.
6034         (+link-pie, +link-pie-tests): Use it.
6035         (+link-static, +link-static-tests): Likewise.
6036         (+link, +link-tests): Likewise.
6037         * Makerules (build-module, build-module-asneeded): Likewise.
6038         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6039         Likewise.
6040         * elf/Makefile ($(objpfx)ld.so): Likewise.
6042 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6044         [BZ #17965]
6045         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6046         both struct timeval and struct timespec.
6048 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6050         [BZ #16560]
6051         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6052         and redefine.
6053         (__ieee754_exp2l): Do not multiply small fractional parts by
6054         M_LN2l.
6055         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6056         small argument.
6057         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6058         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6059         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6060         * math/auto-libm-test-in: Add more tests of exp2.
6061         * math/auto-libm-test-out: Regenerated.
6063 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6065         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6066         unaligned path.
6068 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6070         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6071         little endian.
6073 2015-02-12  Andreas Schwab  <schwab@suse.de>
6075         [BZ #15790]
6076         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6077         Filter out elision flags from value returned in kind.
6078         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6079         * nptl/tst-pthread-mutexattr.c: New file.
6081 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6083         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6084         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6085         into gnu-gnu, and update comment to refer to abi-tags.
6087 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6089         [BZ #15467]
6090         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6091         (__sincos): Set errno to EDOM for infinite argument.
6092         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6093         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6094         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6095         (__sincosl): Set errno to EDOM for infinite argument.
6096         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6097         (__sincosl): Set errno to EDOM for infinite argument.
6098         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6099         (__sincosl): Set errno to EDOM for infinite argument.
6100         * math/libm-test.inc (sincos_test_data): Test errno setting.
6102 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6104         * string/strxfrm_l.c: Remove #define STRCMP.
6105         * string/strcoll_l.c: Remove #define STRLEN.
6106         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6107         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6109 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6111         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6112         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6113         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6114         * sysdeps/mips/mips64/Makefile: ... here.
6115         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6116         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6117         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6118         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6119         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6120         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6121         * sysdeps/mips/mips64/n64/Implies: Likewise.
6123 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6125         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6126         <sys/time.h>, <string.h>, and <errno.h>.
6127         (dest_offset, dest_address, value, zero): Remove unused variables.
6128         (ldouble): Remove typedef.
6129         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6130         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6131         1).  Fix code style.
6132         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6133         (check): Function removed.
6134         (CHECK): New macro.
6135         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6136         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6137         Don't call set_sigaction_FP and remove_sigaction_FP here.
6138         (ldouble_test): Just use 'long double' as macro argument, no need for
6139         the 'ldouble' typedef.
6140         (do_test): Set up SIGFPE handler at start, using plain signal rather
6141         than sigaction.  Fix code style.
6143 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6145         [BZ #17949]
6146         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6147         jump label.
6149 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6151         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6152         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6154         * sysdeps/powerpc/configure.ac: Remove file.
6155         * sysdeps/powerpc/configure: Likewise.
6157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6158         [sysdep_routines]: Remove wordcopy-power6 object.
6159         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6160         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6161         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6162         (__memmove_ppc32): Likewise.
6163         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6164         file.
6165         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6167         Remove preprocessor.
6169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6170         [sysdep_routines]: Remove wide chars objects.
6171         [wcsmbs]: New rule for wide char objects.
6173         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6174         Remove wordcopy-power6 obejct.
6175         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6176         Use local call for wordcopy and memcpy symbols.
6177         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6179         implementation for loader.
6180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6183         Remove wordcopy-power7 object.
6184         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6185         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6186         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6187         (_wordcopy_fwd_dest_aligned): Likewise.
6188         (_wordcopy_bwd_aligned): Likewise.
6189         (_wordcopy_bwd_dest_aligned): Likewise.
6191         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6192         Rewrite to call __memmove_ppc instead of include default
6193         implementation.
6195         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6196         Remove wide chars objects.
6197         [wcsmbs]: New rule for wide char objects.
6199 2015-02-09  Andreas Schwab  <schwab@suse.de>
6201         [BZ #17912]
6202         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6203         in terms of __O_DIRECTORY.
6205 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6207         * time/getdate.c: Include <stdbool.h>.
6208         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6209         call PTR_MANGLE.
6210         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6211         PTR_DEMANGLE.
6213 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6215         Add ersatz _Static_assert on older C hosts
6216         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6217         pre-C11 C platform that is not known to support _Static_assert.
6219 2015-02-07  Richard Braun  <rbraun@sceen.net>
6221         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6222         sigstate.
6223         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6225 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6227         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6228         priority against unexistent AIO_PRIO_DELTA_MAX.
6229         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6230         instead of int.
6231         * misc/fchflags.c (fchflags): Likewise.
6232         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6233         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6234         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6235         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6236         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6237         Declare macros.
6238         [__USE_MISC] (chflags, fchflags): Declare functions.
6239         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6240         EINVAL when nfds is greater than FD_SETSIZE.
6241         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6242         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6243         45.
6244         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6245         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6246         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6247         MACH_RCV_TIMED_OUT.
6248         * hurd/hurd/signal.h (_hurd_self_sigstate,
6249         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6250         Explicit casts from void *.
6251         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6252         * abi-tags: Rename gnu-gnu os into gnu.
6254         [BZ #4719]
6255         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6256         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6257         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6258         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6259         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6260         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6262         [BZ #17944]
6263         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6264         duplicates ADDR->sun_path with sockaddr LEN limitation.
6265         * sysdeps/mach/hurd/connect.c: Include <string.h>
6266         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6267         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6268         * sysdeps/mach/hurd/sendto.c: Likewise.
6269         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6270         implementing it by hand.
6272 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6274         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6275         Use sfi_breg on ldr.
6276         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6277         Likewise.
6279         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6280         it's defined.
6281         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6282         Test SIGSETXID only if it's defined.
6284         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6286         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6287         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6289         * nptl/tst-align2.c: Moved ...
6290         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6291         * nptl/Makefile (tests): Remove tst-align2.
6292         * sysdeps/unix/sysv/linux/Makefile
6293         [$(subdir) = nptl] (tests): Add tst-align-clone.
6294         * nptl/tst-getpid1.c: Moved ...
6295         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6296         * nptl/tst-getpid2.c: Moved ...
6297         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6298         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6299         * sysdeps/unix/sysv/linux/Makefile
6300         [$(subdir) = nptl] (tests): ... here.
6301         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6302         * sysdeps/unix/sysv/linux/Makefile
6303         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6305         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6306         Drop trailing \n from perror argument.  Use return rather than exit.
6308         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6309         on [SA_SIGINFO].
6310         * nptl/tst-cancel21.c (do_test): Likewise.
6311         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6312         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6313         [!SA_SIGINFO]: Make it a stub test.
6315         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6316         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6318         * posix/tst-getlogin.c: Move to ...
6319         * login/tst-getlogin.c: ... here.
6320         * posix/Makefile (tests): Move tst-getlogin to ...
6321         * login/Makefile (tests): ... here.
6323         * libio/tst-atime.c (do_test): Move local variables SV and E
6324         inside [ST_NOATIME] conditional.
6326         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6328         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6330         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6331         (wait_code): New function replaces macro.
6332         Call nanosleep rather than syscall.
6334         * nptl/pt-system.c: Rewritten.  Put everything under
6335         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6336         Use IFUNC to redirect when possible.
6338         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6339         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6340         Use IFUNC to redirect when possible.
6342         * nptl/pt-fork.c: Rewritten.  Put everything under
6343         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6344         Use IFUNC to redirect when possible.
6345         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6348         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6349         unconditionally nowadays.  This included the only reference to
6350         __vdso_clock_gettime that appears outside libc proper.
6351         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6352         Remove version set (containing only __vdso_clock_gettime).
6353         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6354         Add attribute_hidden.
6355         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6356         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6357         libc_hidden_data_def.
6358         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6359         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6361         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6362         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6363         setrpcent, and getrpcport to ...
6364         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6365         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6366         getrpcbynumber_r, and getrpcent_r to ...
6367         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6368         * inet/getrpcbyname.c: Moved ...
6369         * sunrpc/getrpcbyname.c: ... here.
6370         * inet/getrpcbyname_r.c: Moved ...
6371         * sunrpc/getrpcbyname_r.c: ... here.
6372         * inet/getrpcbynumber.c: Moved ...
6373         * sunrpc/getrpcbynumber.c: ... here.
6374         * inet/getrpcbynumber_r.c: Moved ...
6375         * sunrpc/getrpcbynumber_r.c: ... here.
6376         * inet/getrpcent.c: Moved ...
6377         * sunrpc/getrpcent.c: ... here.
6378         * inet/getrpcent_r.c: Moved ...
6379         * sunrpc/getrpcent_r.c: ... here.
6380         * inet/Makefile (routines): Move those to ...
6381         * sunrpc/Makefile (routines): ... here.
6382         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6383         the $(subdirs) list.
6384         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6385         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6386         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6387         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6389         * elf/Makefile (routines): Include $(all-dl-routines), not just
6390         $(dl-routines).
6391         (rtld-routines): Likewise.  Use = rather than :=.
6392         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6393         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6394         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6395         * sysdeps/arm/Makefile: Likewise.
6396         * sysdeps/i386/Makefile: Likewise.
6397         * sysdeps/x86_64/Makefile: Likewise.
6398         * sysdeps/hppa/Makefile [$(subdir) = elf]
6399         (sysdep_routines, sysdep-rtld-routines): Don't add
6400         $(sysdep-dl-routines) to these.
6401         * sysdeps/ia64/Makefile: Likewise.
6402         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6403         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6404         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6405         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6406         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6407         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6408         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6409         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6410         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6411         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6412         these; sysdep-dl-routines alone is enough.
6414 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6416         [BZ #17932]
6417         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6418         where multiplication results in zero and third argument is finite
6419         and nonzero.
6420         * math/auto-libm-test-in: Add more tests of fma.
6421         * math/auto-libm-test-out: Regenerated.
6423         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6424         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6425         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6426         (_FP_CMP_EQ): Likewise.
6427         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6429         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6430         extra argument CHECK_NAN.  Redefine as wrapper around
6431         _FP_EXTEND_CNAN.
6433 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6435         * version.h (RELEASE): Set to "stable".
6436         (VERSION): Set to "2.21"
6437         * include/features.h (__GLIBC_MINOR__): Set to 21.
6439         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6441 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6442             Paul Eggert  <eggert@cs.ucla.edu>
6444         [BZ #16618]
6445         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6446         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6447         size in bytes. Store needed elements in wpmax. Use needed size
6448         in bytes for extend_alloca.
6450 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6452         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6453         binutls 2.25, and texinfo 5.2.
6454         * INSTALL: Regenerate.
6455         * sysdeps/nios2/configure: Regenerate.
6456         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6457         * manual/contrib.texi: Update.
6458         * po/be.po: Update.
6459         * po/bg.po: Update.
6460         * po/ca.po: Update.
6461         * po/cs.po: Update.
6462         * po/da.po: Update.
6463         * po/de.po: Update.
6464         * po/el.po: Update.
6465         * po/eo.po: Update.
6466         * po/es.po: Update.
6467         * po/fi.po: Update.
6468         * po/fr.po: Update.
6469         * po/gl.po: Update.
6470         * po/hr.po: Update.
6471         * po/hu.po: Update.
6472         * po/ia.po: Update.
6473         * po/id.po: Update.
6474         * po/it.po: Update.
6475         * po/ja.po: Update.
6476         * po/ko.po: Update.
6477         * po/lt.po: Update.
6478         * po/nb.po: Update.
6479         * po/nl.po: Update.
6480         * po/pl.po: Update.
6481         * po/pt_BR.po: Update.
6482         * po/ru.po: Update.
6483         * po/rw.po: Update.
6484         * po/sk.po: Update.
6485         * po/sl.po: Update.
6486         * po/sv.po: Update.
6487         * po/tr.po: Update.
6488         * po/uk.po: Update.
6489         * po/vi.po: Update.
6490         * po/zh_CN.po: Update.
6491         * po/zh_TW.po: Update.
6493         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6494         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6495         * sysdeps/hppa/dl-irel.h: Remove #warning.
6496         * sysdeps/hppa/entry.h: Provide prototype for
6497         __canonicalize_funcptr_for_compare and cast argument.
6498         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6499         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6500         * sysdeps/hppa/sotruss-lib.c: New file.
6501         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6502         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6503         (atomic_compare_and_exchange_bool_acq): Likewise.
6504         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6505         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6507         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6508         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6509         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6511 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6513         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6514         called function in non-PIC case.
6516 2015-01-31  David S. Miller  <davem@davemloft.net>
6518         * sysdeps/sparc/sparc32/bits/atomic.h
6519         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6520         unlock not after it.
6521         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6522         volatile register usage warnings from the compiler.
6524         * sysdeps/sparc/nptl/sem_init.c: Delete.
6525         * sysdeps/sparc/nptl/sem_post.c: Delete.
6526         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6527         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6528         * sysdeps/sparc/sparc32/sem_init.c: New file.
6529         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6530         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6531         padding explicitly initialized.
6532         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6533         padding for in-semaphore spinlock.
6534         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6535         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6536         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6537         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6538         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6539         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6540         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6541         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6542         version.
6543         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6544         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6546 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6548         [BZ #17801]
6549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6550         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6551         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6552         New.
6553         (index_AVX_Fast_Unaligned_Load): Likewise.
6554         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6555         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6556         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6557         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6558         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6559         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6560         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6561         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6562         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6564 2015-01-29  Andreas Schwab  <schwab@suse.de>
6566         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6568 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6570         [BZ #17892]
6571         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6573 2015-01-28  Martin Sebor  <msebor@redhat.com>
6575         * math/README.libm-test: Clarify. Add "How to read the test output."
6577 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6579         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6580         Define to 0.
6582 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6584         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6585         (__HAVE_64B_ATOMICS): Define to 0.
6587 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6589         [BZ #17885]
6590         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6591         value to set as new flag.
6593         [BZ #16576]
6594         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6595         and use _ARCH_PPCSQ instead.
6596         (__ieee754_sqrt): Likewise.
6597         (__ieee754_sqrtf): Likewise.
6598         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6599         _ARCH_PPCSQ is defined.
6600         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6601         fsqrt instruction.
6602         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6603         _ARCH_PPCSQ is defined.
6604         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6605         fsqrts instruction.
6606         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6608 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6610         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6611         bug (GCC BZ #64739).
6613 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6615         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6616         Mark _retval as used.
6617         (lll_futex_wake_unlock): Likewise.
6618         (lll_futex_timed_wait_requeue_pi): Likewise.
6620         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6621         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6622         register variables.
6624         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6625         libm_hidden_def.
6627         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6628         (__bswap_64): Mark as __always_inline.
6630 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6632         [BZ #15378]
6633         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6634         when none of the search directories exist.
6636 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6638         [BZ #17869]
6639         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6640         power8 in .machine directive.
6642         [BZ #17868]
6643         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6644         set dependency from opd value.
6646 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6649         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6650         architecture.
6652 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6654         [BZ #17870]
6655         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6656         with uint64_t.
6657         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6658         (uint64_t) 1.
6659         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6660         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6661         Replace 1UL with (uint64_t) 1.
6662         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6663         int with uint64_t.
6665 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6667         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6668         (if_freenameindex): Likewise.
6670         * resource/getrlimit64.c: Add missing libc_hidden_def.
6672 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6674         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6675         __label__.
6676         (_FP_FMA): Likewise.
6677         (_FP_TO_INT_ROUND): Likewise.
6678         (_FP_FROM_INT): Likewise.
6680 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6682         [BZ #16418]
6683         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6684         Make code racy and cancel safe.
6686 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6688         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6689         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6690         attribution.
6692         * pwd/tst-getpw.c: Rewrite.
6694         [BZ #17702]
6695         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6696         (modules-names): Add moddummy1 and moddummy2.
6697         ($(objpfx)tst-rec-dlopen): Define.
6698         * dlfcn/moddummy1.c: New file.
6699         * dlfcn/moddummy2.c: New file.
6700         * dlfcn/tst-rec-dlopen.c: New file.
6701         * elf/dl-cache.c (_dl_load_cache_lookup):
6702         Return char*. Copy result with alloca/strcpy/strdup.
6703         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6704         returns char*. Free cached. If not saving realname
6705         free cached.
6706         * elf/dl-open.c (dl_open_worker): Do not assert that
6707         _r_debug->r_state is RT_CONSISTENT.
6708         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6709         returns char*.
6711 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6712             Carlos O'Donell  <carlos@redhat.com>
6714         [BZ #12674]
6715         * nptl/sem_waitcommon.c: New file.
6716         * nptl/sem_wait.c: Include sem_waitcommon.c.
6717         (__sem_wait_cleanup, do_futex_wait): Remove.
6718         (__new_sem_wait): Adapt.
6719         (__new_sem_trywait): New function.
6720         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6721         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6722         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6723         (sem_timedwait): Adapt.
6724         * nptl/sem_post.c (__new_sem_post): Adapt.
6725         (futex_wake): New function.
6726         (__old_sem_post): Add release MO fence.
6727         * nptl/sem_open.c (sem_open): Adapt.
6728         * nptl/sem_init.c (__new_sem_init): Adapt.
6729         (futex_private_if_supported): New function.
6730         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6731         (__old_sem_getvalue): Add using previous code.
6732         * sysdeps/nptl/internaltypes.h: Adapt.
6733         * nptl/tst-sem13.c (do_test): Adapt.
6734         * nptl/tst-sem11.c (main): Adapt.
6735         * nptl/sem_trywait.c: Remove.
6736         * nptl/DESIGN-sem.txt: Remove.
6737         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6738         (gen-as-const-headers): Remove structsem.sym.
6739         * nptl/structsem.sym: Remove.
6740         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6741         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6742         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6743         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6744         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6745         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6746         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6747         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6748         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6749         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6750         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6751         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6752         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6753         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6754         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6755         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6756         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6757         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6758         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6759         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6760         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6761         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6763 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6765         * INSTALL: Regenerated.
6767         * po/libc.pot: Regenerated.
6769 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6770             Sandra Loosemore  <sandra@codesourcery.com>
6771             Andrew Jenner  <andrew@codesourcery.com>
6772             Joseph Myers  <joseph@codesourcery.com>
6773             Nathan Sidwell  <nathan@codesourcery.com>
6775         * NEWS: Mention new Nios II port.
6776         * sysdeps/nios2/Implies: New file.
6777         * sysdeps/nios2/Makefile: New file.
6778         * sysdeps/nios2/Subdirs: New file.
6779         * sysdeps/nios2/Versions: New file.
6780         * sysdeps/nios2/__longjmp.S: New file.
6781         * sysdeps/nios2/abort-instr.h: New file.
6782         * sysdeps/nios2/backtrace.c: New file.
6783         * sysdeps/nios2/bits/endian.h: New file.
6784         * sysdeps/nios2/bits/fenv.h: New file.
6785         * sysdeps/nios2/bits/link.h: New file.
6786         * sysdeps/nios2/bits/setjmp.h: New file.
6787         * sysdeps/nios2/bsd-_setjmp.S: New file.
6788         * sysdeps/nios2/bsd-setjmp.S: New file.
6789         * sysdeps/nios2/configure: New generated file.
6790         * sysdeps/nios2/configure.ac: New file.
6791         * sysdeps/nios2/crti.S: New file.
6792         * sysdeps/nios2/crtn.S: New file.
6793         * sysdeps/nios2/dl-init.c: New file.
6794         * sysdeps/nios2/dl-machine.h: New file.
6795         * sysdeps/nios2/dl-sysdep.h: New file.
6796         * sysdeps/nios2/dl-tls.h: New file.
6797         * sysdeps/nios2/dl-trampoline.S: New file.
6798         * sysdeps/nios2/gccframe.h: New file.
6799         * sysdeps/nios2/gmp-mparam.h: New file.
6800         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6801         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6802         * sysdeps/nios2/ldsodefs.h: New file.
6803         * sysdeps/nios2/libc-tls.c: New file.
6804         * sysdeps/nios2/libm-test-ulps: New file.
6805         * sysdeps/nios2/machine-gmon.h: New file.
6806         * sysdeps/nios2/math-tests.h: New file.
6807         * sysdeps/nios2/math_private.h: New file.
6808         * sysdeps/nios2/memusage.h: New file.
6809         * sysdeps/nios2/nptl/Makefile: New file.
6810         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6811         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6812         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6813         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6814         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6815         * sysdeps/nios2/nptl/tls.h: New file.
6816         * sysdeps/nios2/preconfigure: New file.
6817         * sysdeps/nios2/s_fma.c: New file.
6818         * sysdeps/nios2/s_fmaf.c: New file.
6819         * sysdeps/nios2/setjmp.S: New file.
6820         * sysdeps/nios2/sfp-machine.h: New file.
6821         * sysdeps/nios2/sotruss-lib.c: New file.
6822         * sysdeps/nios2/stackguard-macros.h: New file.
6823         * sysdeps/nios2/stackinfo.h: New file.
6824         * sysdeps/nios2/start.S: New file.
6825         * sysdeps/nios2/sysdep.h: New file.
6826         * sysdeps/nios2/tls-macros.h: New file.
6827         * sysdeps/nios2/tst-audit.h: New file.
6828         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6829         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6830         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6831         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6832         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6833         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6834         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6835         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6836         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6837         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6838         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6839         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6840         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6841         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6842         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6843         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6844         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6845         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6846         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6847         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6848         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6849         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6850         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6851         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6852         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6853         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6854         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6855         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6856         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6857         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6858         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6859         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6860         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6861         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6862         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6863         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6864         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6865         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6866         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6867         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6868         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6869         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6870         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6871         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6873 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6875         [BZ #17844]
6876         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6877         (getutent): Use weak_alias in non SHARED case
6878         and default_symbol_version in SHARED case.
6879         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6880         (getutent_r, pututline): Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6882         (getutid): Likewise.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6884         (getutid_r): Likewise.
6885         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6886         (getutline): Likewise.
6887         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6888         (getutline_r): Likewise.
6889         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6890         (updwtmp): Likewise.
6892 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6894         [BZ #17848]
6895         * sysdeps/s390/s390-32/memcmp.S
6896         (memcmp_g5): Rename to __memcmp_g5.
6897         * sysdeps/s390/s390-32/memcpy.S
6898         (memcpy_g5): Rename to __memcpy_g5.
6899         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6900         (memcpy_mvcle) Rename to __memcpy_mvcle.
6901         * sysdeps/s390/s390-32/memset.S
6902         (memset_g5): Rename to __memset_g5.
6903         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6904         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6905         and use prefixed functions.
6906         * sysdeps/s390/s390-32/multiarch/memcmp.S
6907         (memcmp_z196): Rename to __memcmp_z196.
6908         (memcmp_z10): Rename to __memcmp_z10.
6909         (memcmp): Set alias to __memcmp_g5.
6910         (bcmp): Set alias to __memcmp_g5.
6911         * sysdeps/s390/s390-32/multiarch/memcpy.S
6912         (memcpy_z196): Rename to __memcpy_z196.
6913         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6914         (memcpy_z10): Rename to __memcpy_z10.
6915         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6916         (memcpy): Set alias to __memcpy_g5.
6917         * sysdeps/s390/s390-32/multiarch/memset.S
6918         (memset_z196): Rename to __memset_z196.
6919         Jump to __memset_mvcle instead of memset_mvcle.
6920         (memset_z10): Rename to __memset_z10.
6921         Jump to __memset_mvcle instead of memset_mvcle.
6922         (memset_mvcle) Rename to __memset_mvcle.
6923         (memset): Set alias to __memset_g5.
6924         * sysdeps/s390/s390-64/memcmp.S
6925         (memcmp_z900): Rename to __memcmp_z900.
6926         * sysdeps/s390/s390-64/memcpy.S
6927         (memcpy_z900): Rename to __memcpy_z900.
6928         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6929         (memcpy_mvcle) Rename to __memcpy_mvcle.
6930         * sysdeps/s390/s390-64/memset.S
6931         (memset_z900): Rename to __memset_z900.
6932         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6933         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6934         and use prefixed functions.
6935         * sysdeps/s390/s390-64/multiarch/memcmp.S
6936         (memcmp_z196): Rename to __memcmp_z196.
6937         (memcmp_z10): Rename to __memcmp_z10.
6938         (memcmp): Set alias to __memcmp_z900.
6939         (bcmp): Set alias to __memcmp_z900.
6940         * sysdeps/s390/s390-64/multiarch/memcpy.S
6941         (memcpy_z196): Rename to __memcpy_z196.
6942         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6943         (memcpy_z10): Rename to __memcpy_z10.
6944         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6945         (memcpy): Set alias to __memcpy_z900.
6946         * sysdeps/s390/s390-64/multiarch/memset.S
6947         (memset_z196): Rename to __memset_z196.
6948         Jump to __memset_mvcle instead of memset_mvcle.
6949         (memset_z10): Rename to __memset_z10.
6950         Jump to __memset_mvcle instead of memset_mvcle.
6951         (memset_mvcle) Rename to __memset_mvcle.
6952         (memset): Set alias to __memset_z900.
6954 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #17748]
6957         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6958         __fesetenv instead of fesetenv.
6960 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6962         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6963         macro.
6965 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6967         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6968         regression on LE.
6970         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6971         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6973         strncmp-power8 object.
6974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6975         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6976         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6977         * NEWS: Update.
6979 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6980             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6982         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6983         trailing byte check.
6985 2015-01-13  David S. Miller  <davem@davemloft.net>
6987         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6989 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6991         * login/logout.c (logout): Use memset rather than bzero.
6992         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6993         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6994         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6995         (_gethtbyaddr): Likewise.
6996         * locale/programs/simple-hash.c (bcopy): Macro removed.
6998 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7001         Add strcmp-power8 object.
7002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7003         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7004         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7005         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7006         __strcmp_power8 implementation.
7007         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7008         * NEWS: Update.
7010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7011         Add strncpy-power8 and stpncpy-power8 objects.
7012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7013         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7014         implementations.
7015         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7016         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7017         __stpncpy_power8 implementation.
7018         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7019         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7020         __strncpy_power8 implementation.
7021         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7022         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7023         * NEWS: Update.
7025         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7026         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7027         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7030         strncat-power8 object.
7031         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7032         __strcat_power8 implementation.
7033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7034         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7035         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7036         optimized strcat for power8.
7038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7039         strcpy-power8 and stpcpy-power8 objects.
7040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7041         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7042         implementations.
7043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7044         multiarch stpcpy implementation for POWER8.
7045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7046         multiarch strcpy implementation for POWER8.
7047         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7048         __strcpy_power8 function.
7049         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7050         stpcpy for POWER8.
7051         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7052         strcpy for POWER8.
7053         * NEWS: Update.
7055 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7057         [BZ #16009]
7058         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7059         weights and rules. Use do_xfrm_cached if data fits in cache,
7060         do_xfrm otherwise.  Moved former main loop to...
7061         * (do_xfrm_cached): New function.
7062         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7063         find_idx, find_position and stack_push.
7064         * (find_idx): New function.
7065         * (find_position): Likewise.
7066         * localedata/sort-test.sh: Added test run for do_xfrm.
7067         * localedata/xfrm-test.c (main): Added command line option
7068         -nocache to run the test with strings that are too large for
7069         the STRXFRM cache.
7071 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7073         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7074         variable to lll_futex_wake call, not the value itself.
7076 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7078         [BZ #17803]
7079         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7080         twom64.  Adjust value to 0x1p-64L.
7081         (__scalblnl): Only return standard underflowing result for K <=
7082         -64 not K <= -63; adjust exponent for underflowing result by 64
7083         not 63.
7084         * math/libm-test.inc (scalbn_test_data): Add more tests.
7085         (scalbln_test_data): Likewise.
7087         [BZ #17834]
7088         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7089         0x1p63L.
7090         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7091         not HX.
7092         * math/libm-test.inc (scalbn_test_data): Add more tests.
7093         (scalbln_test_data): Likewise.
7095 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7096             Stefani Seibold  <stefani@seibold.net>
7098         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7099         (sysdep_routines): Add dl-vdso here, ...
7100         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7101         (sysdep_routines): ... not here.
7102         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7103         fallback when vDSO is not presented.
7104         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7105         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7106         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7107         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7108         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7109         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7110         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7111         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7112         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7113         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7114         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7115         fallback configurable symbol when vDSO is not available.
7116         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7117         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7118         be able to redefine fallback symbol when vDSO is not available.
7119         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7120         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7122 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7124         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7125         (TLS_INIT_TP): Add tm_capable initialization.
7126         (TLS_DEFINE_INIT_TP): Likewise.
7127         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7128         TCB.
7129         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7130         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7131         calculation.
7132         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7133         transactoion is lock elision is built and TCB tm_capable is set.
7134         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7136         (INTERNAL_SYSCALL_NCS): Likewise.
7137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7138         (INTERNAL_SYSCALL_NCS): Likewise.
7139         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7141         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7142         for powerpc.
7143         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7144         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7145         and remove it for 32 bits case.
7146         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7148         initialization.
7149         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7150         Disable lock elision with rdlocks if elision is not available.
7152         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7153         (sysdep_routines): Add lock elision objects.
7154         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7155         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7156         [pthread_mutex_t] (__elision): Add field.
7157         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7158         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7159         elision definitions for powerpc.
7160         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7161         implementation of lock elision for powerpc.
7162         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7163         implementation of timed lock elision for powerpc.
7164         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7165         implementation of trylock with lock elision for powerpc.
7166         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7167         implementaion of unlock for lock elision for powerpc.
7168         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7169         automatic enable lock elision for mutexes.
7170         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7171         transaction execution definitions for powerpc.
7172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7173         definitions.
7174         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7175         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7176         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7177         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7178         * NEWS: Update.
7180 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7182         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7183         for #include of <shm-directory.h>.
7185 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7187         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7188         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7190 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7192         [BZ #17791]
7193         * NEWS: Mention bug fix.
7194         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7195         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7196         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7198 2015-01-09  Torvald Riegel <triegel@redhat.com>
7200         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7202 2015-01-09  Torvald Riegel <triegel@redhat.com>
7204         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7206 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7208         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7209         pointer and cast to uintptr_t.
7211 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7213         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7214         removed.
7215         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7217 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7219         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7220         of 0.
7222 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7224         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7225         <nptl/pthreadP.h> instead.
7226         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7228         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7229         already defined.
7230         [__SIGRTMIN] (init): Function removed.
7231         [__SIGRTMIN] (initialized): Variable removed.
7232         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7233         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7234         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7235         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7236         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7237         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7238         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7239         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7240         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7241         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7242         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7243         * sysdeps/nptl/allocrtsig.c: New file.
7244         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7245         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7246         * sysdeps/generic/testrtsig.h: File removed.
7248         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7249         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7251         * nptl/nptl-init.c (pthread_functions): Conditionalize
7252         .ptr__nptl_setxid initialization on [SIGSETXID].
7254         * sysdeps/nptl/sys/procfs.h: New file.
7255         * nptl_db/Makefile (headers): Add it.
7256         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7258         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7259         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7260         * nptl/pthread_attr_setaffinity.c: Include it.
7261         * nptl/pthread_setattr_default_np.c: Likewise.
7262         * nptl/check-cpuset.h: New file.
7264 2015-01-08  Richard Henderson  <rth@redhat.com>
7266         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7267         (CFLAGS-tst-execstack-prog.c): Likewise.
7268         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7270 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7271             Sandra Loosemore  <sandra@codesourcery.com>
7272             Andrew Jenner  <andrew@codesourcery.com>
7273             Joseph Myers  <joseph@codesourcery.com>
7274             Nathan Sidwell  <nathan@codesourcery.com>
7276         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7277         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7278         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7279         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7280         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7281         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7282         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7283         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7284         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7285         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7286         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7287         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7288         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7289         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7290         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7291         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7292         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7294 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7296         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7297         timespec struct member in syscall macro.
7298         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7299         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7300         first timeval struct member in syscall macro.
7301         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7303 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7305         [BZ #17748]
7306         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7307         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7308         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7309         __feupdateenv and define as weak alias of __feupdateenv.  Use
7310         libm_hidden_weak.
7311         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7312         libm_hidden_def.
7313         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7314         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7315         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7316         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7317         libm_hidden_def.
7318         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7319         __feupdateenv and define as weak alias of __feupdateenv.  Use
7320         libm_hidden_weak.
7321         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7322         libm_hidden_def.
7323         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7324         __feupdateenv and define as weak alias of __feupdateenv.  Use
7325         libm_hidden_weak.
7326         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7327         libm_hidden_def.
7328         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7329         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7330         (__feupdateenv): Likewise.
7331         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7332         __feupdateenv and define as weak alias of __feupdateenv.  Use
7333         libm_hidden_weak.
7334         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7335         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7336         libm_hidden_def.
7337         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7338         function.
7339         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7340         libm_hidden_def.
7341         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7342         __feupdateenv instead of feupdateenv.
7343         (default_libc_feupdateenv_test): Likewise.
7344         (libc_feresetround_ctx): Likewise.
7346 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7348         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7349         prototype.
7351 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7353         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7354         COLL_SYM in a couple of places to avoid uninitialized variable
7355         wanings on tilegx gcc 4.8.2.
7357 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7359         * sysdeps/aarch64/strcpy.S: New file.
7360         * sysdeps/aarch64/stpcpy.S: New file.
7361         * NEWS: Updated.
7363 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7365         * sysdeps/aarch64/strrchr.S: New file.
7366         * NEWS: Updated.
7368 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7370         [BZ #17658]
7371         * stdlib/setenv.c: Fix memory leak when setting large,
7372         duplicate string.
7374 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7376         [BZ #17273]
7377         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7378         and tabs from buffer before parsing fstab entry.
7379         * misc/tst-mntent.c (main): Add test for mount entry with
7380         trailing spaces and tabs.
7382 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7384         [BZ #17748]
7385         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7386         * math/fesetround.c (fesetround): Rename to __fesetround and
7387         define as weak alias of __fesetround.  Use libm_hidden_weak.
7388         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7389         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7390         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7391         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7392         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7393         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7394         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7395         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7396         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7397         __fesetround_inline.
7398         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7399         __fesetround_inline instead of __fesetround.
7400         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7401         __fesetround and define as weak alias of __fesetround.  Use
7402         libm_hidden_weak.  Call __fesetround_inline instead of
7403         __fesetround.
7404         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7405         __fesetround and define as weak alias of __fesetround.  Use
7406         libm_hidden_weak.
7407         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7408         Likewise.
7409         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7410         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7411         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7412         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7413         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7414         __fesetround and define as weak alias of __fesetround.  Use
7415         libm_hidden_weak.
7416         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7417         __fesetround instead of fesetround.
7418         (default_libc_feholdexcept_setround): Likewise.
7419         (libc_feholdsetround_ctx): Likewise.
7420         (libc_feholdsetround_noex_ctx): Likewise.
7422         [BZ #17748]
7423         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7424         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7425         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7426         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7427         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7428         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7429         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7430         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7431         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7432         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7433         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7434         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7435         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7436         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7437         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7438         libm_hidden_def.
7439         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7440         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7441         Likewise.
7442         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7443         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7444         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7445         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7446         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7447         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7448         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7449         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7450         __fesetenv instead of fesetenv.
7451         (libc_feresetround_noex_ctx): Likewise.
7452         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7453         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7454         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7455         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7456         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7457         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7459         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7460         (__feupdateenv): Likewise.
7461         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7462         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7463         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7464         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7466 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7468         [BZ #17806]
7469         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7470         addresses have been freed.
7472 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7474         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7475         and nservall.
7477 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7479         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7480         Clean up check_pf allocation pattern. addresses
7482 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7484         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7485         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7486         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7487         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7488         * nptl/pthread_join.c (pthread_join): Likewise.
7489         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7490         * sysdeps/posix/waitid.c (__waitid): Likewise.
7491         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7492         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7493         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7494         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7496         Likewise.
7497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7498         (__libc_pread64): Likewise.
7499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7500         (__libc_pwrite): Likewise.
7501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7502         (__libc_pwrite64): Likewsie.
7503         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7504         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7505         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7506         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7507         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7508         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7509         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7511         Likewise.
7512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7513         (__libc_pread64): Likewise.
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7515         Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7517         (__libc_pwrite64): Likewise.
7518         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7519         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7520         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7521         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7522         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7523         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7524         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7525         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7526         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7527         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7528         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7529         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7530         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7531         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7532         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7533         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7534         Likewise.
7536 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7538         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7539         (CFLAGS-test-double.c): Likewise.
7540         (CFLAGS-test-ldouble.c): Likewise.
7541         (CPPFLAGS-test-ifloat.c): Likewise.
7542         (CPPFLAGS-test-idouble.c): Likewise.
7543         (CPPFLAGS-test-ildoubl.c): Likewise.
7544         (CFLAGS-test-test-fenv.c): Remove variable.
7545         (CFLAGS-test-misc.c): Likewise.
7547 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7549         [BZ #17797]
7550         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7551         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7552         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7553         CLOCKS_PER_SEC == 1000000.
7554         * time/clocktest.c (main): Replace %ld with %jd and cast to
7555         intmax_t.
7557 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7559         * sysdeps/generic/unwind-resume.h: New file.
7560         * sysdeps/gnu/unwind-resume.c: Include it.
7561         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7562         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7563         argument list.
7564         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7565         global rather than static.
7566         (_Unwind_Resume): Update user.
7567         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7568         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7569         rather than static.  Add __attribute__ ((cold)).
7570         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7571         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7572         * sysdeps/arm/arm-unwind-resume.S: New file.
7573         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7574         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7575         * sysdeps/arm/Makefile [$(subdir) = csu]
7576         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7577         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7578         Add rt-arm-unwind-resume.
7579         [$(subdir) = nptl]
7580         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7581         Add pt-arm-unwind-resume.
7582         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7583         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7585 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7587         [BZ #17748]
7588         * include/fenv.h (__feholdexcept): Declare.  Use
7589         libm_hidden_proto.
7590         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7591         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7592         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7593         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7594         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7595         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7596         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7597         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7598         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7599         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7600         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7601         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7602         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7603         (feholdexcept): Likewise.
7604         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7605         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7606         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7607         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7608         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7609         __feholdexcept instead of feholdexcept.
7610         (default_libc_feholdexcept_setround): Likewise.
7612 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7614         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7615         to avoid using stl/str to align destination.
7617 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7619         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7621 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #17796]
7624         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7625         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7626         Define as weak alias not strong alias.
7628 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7630         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7631         bltzal with addiupc.
7632         (RTLD_START): Ditto.
7634 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7636         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7637         for __vdso_* functions in declarations.
7638         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7639         definitions.
7640         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7641         INTERNAL_VSYSCALL): Use struct return types to check for error.
7643         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7644         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7645         function with cast from llround().
7646         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7647         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7648         Define.
7650 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7652         [BZ #17793]
7653         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7654         Define as weak alias not strong alias.
7656         [BZ #17635]
7657         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7658         ...
7659         * ctype/ctype-extn.c: ... here.
7660         (__isblank_l): Move to ...
7661         * ctype/ctype-c99_l.c: ... here.  New file.
7662         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7663         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7664         Remove variable.
7665         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7666         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7667         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7668         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7669         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7671         [BZ #17777]
7672         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7673         (posix_fadvise64): Define as weak alias not strong alias.
7674         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7675         (posix_fallocate64): Likewise.
7676         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7677         Remove variable.
7678         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7679         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7680         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7681         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7682         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7684 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7686         [BZ #16191]
7687         * NEWS: Mention bug fix.
7688         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7689         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7690         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7691         (HOST_STACK_END_ADDR): Likewise.
7693 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #17748]
7696         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7697         * math/fegetround.c (fegetround): Rename to __fegetround and
7698         define as weak alias of __fegetround.  Use libm_hidden_weak.
7699         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7700         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7701         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7702         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7703         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7704         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7705         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7706         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7707         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7708         Undefine after rather than before function definition; use
7709         parentheses around function name in definition.
7710         (__fegetround): Also undefine macro after function definition.
7711         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7712         __fegetround and define as weak alias of __fegetround.  Use
7713         libm_hidden_weak.  Do not undefine as macro.
7714         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7715         Likewise.
7716         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7717         __fegetround and define as weak alias of __fegetround.  Use
7718         libm_hidden_weak.
7719         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7720         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7721         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7722         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7723         __fegetround and define as weak alias of __fegetround.  Use
7724         libm_hidden_weak.
7725         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7726         __fegetround instead of fegetround.
7728         [BZ #17782]
7729         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7730         Condition macro definition on [__USE_MISC].
7732         [BZ #17781]
7733         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7734         (struct sigaction): Change type of sa_flags field to int.
7736         [BZ #17780]
7737         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7738         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7739         __glibc_reserved0.
7741         * nptl/version.c (banner): Use single year in copyright notice.
7743         * NEWS: Update copyright dates.
7744         * catgets/gencat.c (print_version): Likewise.
7745         * csu/version.c (banner): Likewise.
7746         * debug/catchsegv.sh: Likewise.
7747         * debug/pcprofiledump.c (print_version): Likewise.
7748         * debug/xtrace.sh (do_version): Likewise.
7749         * elf/ldconfig.c (print_version): Likewise.
7750         * elf/ldd.bash.in: Likewise.
7751         * elf/pldd.c (print_version): Likewise.
7752         * elf/sotruss.sh: Likewise.
7753         * elf/sprof.c (print_version): Likewise.
7754         * iconv/iconv_prog.c (print_version): Likewise.
7755         * iconv/iconvconfig.c (print_version): Likewise.
7756         * locale/programs/locale.c (print_version): Likewise.
7757         * locale/programs/localedef.c (print_version): Likewise.
7758         * login/programs/pt_chown.c (print_version): Likewise.
7759         * malloc/memusage.sh (do_version): Likewise.
7760         * malloc/memusagestat.c (print_version): Likewise.
7761         * malloc/mtrace.pl: Likewise.
7762         * manual/libc.texinfo: Likewise.
7763         * nptl/version.c (banner): Likewise.
7764         * nscd/nscd.c (print_version): Likewise.
7765         * nss/getent.c (print_version): Likewise.
7766         * nss/makedb.c (print_version): Likewise.
7767         * posix/getconf.c (main): Likewise.
7768         * scripts/test-installation.pl: Likewise.
7769         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7771 2015-01-02  Will Newton  <will.newton@linaro.org>
7773         * sysdeps/arm/armv7/configure: Removed.
7774         * sysdeps/arm/armv7/configure.ac: Likewise.
7776 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7778         * All files with FSF copyright notices: Update copyright dates
7779         using scripts/update-copyrights.
7780         * intl/plural.c: Regenerated.
7781         * locale/programs/charmap-kw.h: Likewise.
7782         * locale/programs/locfile-kw.h: Likewise.
7784 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7786         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7788 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7790         [BZ #17748]
7791         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7792         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7793         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7794         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7795         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7796         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7797         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7798         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7799         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7800         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7801         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7802         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7803         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7804         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7805         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7806         libm_hidden_def.
7807         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7808         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7809         Likewise.
7810         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7811         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7812         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7813         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7814         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7815         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7816         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7817         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7818         __fegetenv instead of fegetenv.
7819         (libc_feholdsetround_noex_ctx): Likewise.
7821 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7823         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7824         (Elf_MIPS_ABIFlags_v0): New structure.
7825         (EF_MIPS_FP64): Define.
7826         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7827         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7828         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7829         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7830         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7831         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7832         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7833         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7834         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7835         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7836         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7837         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7838         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7839         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7840         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7841         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7842         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7843         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7844         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7845         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7846         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7847         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7848         field.
7849         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7850         EF_MIPS_FP64.
7851         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7852         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7853         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7854         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7855         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7856         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7857         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7858         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7859         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7860         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7861         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7862         record the current FP ABI extension.
7863         (mips-mode-switch): Define to show if kernel headers support mode
7864         switching.
7865         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7866         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7867         supported SYSV ABI version to 3.
7868         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7869         feature.
7871 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7872             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7874         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7875         path.
7876         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7878 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7880         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7881         __fegetround and redefine to call __fegetround.  Remove condition
7882         on [!__NO_MATH_INLINES].
7883         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7884         function.
7885         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7886         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7887         Remove macro.
7888         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7889         instead of <fenv_libc.h>.
7890         (__llrintl): Call fegetround instead of __fegetround.
7891         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7892         instead of <fenv_libc.h>.
7893         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7894         (__lrintl): Call fegetround instead of __fegetround.
7895         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7896         instead of <fenv_libc.h>.
7897         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7898         (__rintl): Call fegetround instead of __fegetround.
7900 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7902         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7903         arrays.
7905 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7907         [BZ #17775]
7908         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7909         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7910         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7912 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7914         * sysdeps/i386/tls-macros.h: Include <features.h>.
7915         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7916         (TLS_IE): Likewise.
7917         (TLS_LD): Likewise.
7918         (TLS_GD): Likewise.
7919         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7920         define for GCC >= 5.0.
7922 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7924         * math/test-fenv.c (test_single_exception, set_single_exc,
7925         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7926         feexcp_mask_test, feenable_test, fe_single_test): Add
7927         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7928         case where they are not used.
7929         * math/libm-test.inc: Likewise.
7930         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7931         unused in the absence of FP rounding/exception support.
7932         * stdio-common/tst-printf-round.c: Likewise.
7933         * stdlib/tst-strtod-round.c: Likewise.
7934         * stdlib/tst-strtod-underflow.c: Likewise.
7936 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7938         [BZ #17723]
7939         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7940         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7941         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7942         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7943         libm_hidden_weak.
7944         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7945         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7946         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7947         libm_hidden_def.
7948         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7949         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7950         libm_hidden_weak.
7951         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7952         Likewise.
7953         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7954         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7955         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7956         libm_hidden_weak.
7957         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7958         libm_hidden_def.
7959         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7960         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7961         (__feraiseexcept): Likewise.
7962         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7963         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7964         libm_hidden_weak.
7965         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7966         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7967         libm_hidden_def.
7968         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7969         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7970         Use libm_hidden_def.
7971         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7972         libm_hidden_def.
7973         (feraiseexcept): Define as weak not strong alias.  Use
7974         libm_hidden_weak.
7975         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7976         New inline function.  Factored out of ...
7977         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7978         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7979         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7980         feraiseexcept.
7981         * math/w_acos.c (__acos): Likewise.
7982         * math/w_asin.c (__asin): Likewise.
7983         * math/w_ilogb.c (__ilogb): Likewise.
7984         * math/w_j0.c (y0): Likewise.
7985         * math/w_j1.c (y1): Likewise.
7986         * math/w_jn.c (yn): Likewise.
7987         * math/w_log.c (__log): Likewise.
7988         * math/w_log10.c (__log10): Likewise.
7989         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7990         * sysdeps/aarch64/fpu/math_private.h
7991         (libc_feupdateenv_test_aarch64): Likewise.
7992         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7993         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7994         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7995         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7996         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7997         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7998         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7999         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8000         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8001         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8003 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8005         [BZ #17732]
8006         * io/test-utime.c (main): Replace %ld with %jd and cast to
8007         intmax_t.
8008         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8009         * nptl/tst-mutex5.c: Include <stdint.h>.
8010         (do_test): Replace %ld with %jd and cast to intmax_t.
8011         * posix/tst-regex.c (run_test): Likewise.
8012         (run_test_backwards): Likewise.
8013         * rt/tst-clock.c: Include <stdint.h>.
8014         (clock_test): Replace %ld with %jd and cast to intmax_t.
8015         * rt/tst-cpuclock1.c: Include <stdint.h>.
8016         (do_test): Replace %lu with %ju and cast to uintmax_t.
8017         * rt/tst-cpuclock2.c: Include <stdint.h>.
8018         (do_test): Replace %lu with %ju and cast to uintmax_t.
8019         * rt/tst-mqueue1.c: Include <stdint.h>.
8020         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8021         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8022         intmax_t.
8023         * rt/tst-mqueue4.c (do_test): Likewise.
8024         * rt/tst-timer4.c: Include <stdint.h>.
8025         (check_ts): Replace %ld with %jd and cast to intmax_t.
8026         (do_test): Likewise.
8027         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8028         and cast to intmax_t.
8029         * sysdeps/pthread/tst-timer.c (main): Likewise.
8030         * time/clocktest.c (main): Likewise.
8031         * time/tst-posixtz.c (do_test): Likewise.
8032         * timezone/tst-timezone.c (main): Likewise.
8034 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8035             H.J. Lu  <hongjiu.lu@intel.com>
8037         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8038         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8039         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8040         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8041         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8042         version if bit_Fast_Unaligned_Load is set.
8043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8050         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8051         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8052         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8053         to 4.
8054         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8055         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8056         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8057         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8059 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8061         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8062         instead of #if to avoid a Wundef warning.
8063         * stdlib/tst-limits.c (do_test): Likewise.
8065         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8066         parallel other exception macros.
8067         (fegetenv): Convert from macro to extern inline so that it applies
8068         retroactively to inline functions already seen by the compiler.
8069         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8071         * posix/Makefile (before-compile): Use $(objpfx) for
8072         posix-conf-vars-def.h.
8074 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8076         * posix/getconf.c (main): Use size_t for type of I.
8077         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8078         NSPEC.
8080         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8081         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8082         * posix/posix-envs.def: Likewise.
8083         * sysdeps/posix/sysconf.c: Likewise.
8084         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8085         (specs): Remove array.
8086         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8087         array.
8089         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8090         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8091         (__sysconf): Use CONF_IS_* macros.
8093         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8094         ($(objpfx)posix-conf-vars-def.h): New target.
8095         * posix/posix-conf-vars.list: New file.
8096         * posix/posix-conf-vars.h: New file.
8097         * posix/confstr.c: Include posix-conf-vars.h.
8098         (confstr): Use CONF_IS_* macros.
8099         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8100         CONF_IS_* macros.
8101         * scripts/gen-posix-conf-vars.awk: New file.
8103 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8105         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8106         fegetround): Add no-op macros to avoid linknamespace issues.
8108         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8109         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8111         * sysdeps/unix/sysv/linux/tile/sysdep.h
8112         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8113         assembly-specific section to avoid a redefinition warning.
8115         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8116         long before casting to pointer to avoid a cast warning.
8118 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8120         * sysdeps/tile/tilegx/Implies: New file.
8122 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8124         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8126 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8128         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8130 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8133         not define.
8134         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8135         <kernel-features.h>.
8136         (__utimes) [__NR_utimes]: Make code unconditional.
8137         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8138         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8139         (__ASSUME_UTIMES): Do not undefine.
8140         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8141         (__ASSUME_UTIMES): Likewise.
8142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8143         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8144         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8145         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8147 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8149         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8151 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8153         [BZ #17747]
8154         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8155         alias to weak alias for j0l, y0l.
8156         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8157         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8159         [BZ #17746]
8160         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8161         conversion.
8163 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8165         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8166         to zero if not already defined.
8168 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8170         [BZ #17724]
8171         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8172         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8173         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8174         (char *) casts added.
8175         * sysdeps/ieee754/k_standardf.c: New file.
8176         * sysdeps/ieee754/k_standardl.c: Likewise.
8177         * math/Makefile (libm-support): Remove k_standard.
8178         (libm-calls): Add k_standard.
8180 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8182         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8183         Optimize to avoid an unnecessary FPCR read.
8185 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8187         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8188         Optimize to reduce FPCR/FPSR accesses.
8190 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8192         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8193         Call libc_fetestexcept_aarch64.
8195 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8197         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8198         Call libc_fesetround_aarch64.
8200 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8202         [BZ #17733]
8203         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8204         (__bind): Do not define as weak alias.
8205         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8206         define.
8207         (__getsockname): Do not define as weak alias.
8209 2014-12-22  Will Newton  <will.newton@linaro.org>
8211         * manual/install.texi: Document that we require bison 2.7
8212         or above.
8213         * INSTALL: Regenerate.
8214         * configure.ac: Use AC_CHECK_PROG_VER instead of
8215         AC_PATH_PROG when checking for bison and check for
8216         version 2.7 or above.
8217         * configure: Regenerate.
8219 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8221         [BZ #17745]
8222         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8223         * sysdeps/tile/ffsll.c (ffsll): To here.
8225         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8227 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8229         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8230         if not defined.
8231         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8232         definition.
8233         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8234         hidden ___tls_get_addr.
8235         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8236         hidden __tls_get_addr.
8237         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8238         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8239         Likewise.
8241 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8243         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8244         _dl_init call.
8246 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8248         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8249         from "call _dl_init@PLT".
8250         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8252 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8254         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8255         guarantees.
8257 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8259         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8261 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8263         [BZ #17744]
8264         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8265         strnlen.
8267 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8269         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8270         of multu on MIPSr6.
8271         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8272         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8273         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8274         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8275         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8277 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8279         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8280         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8281         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8282         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8283         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8284         mips32r6/mips64r6.
8285         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8287 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8289         * string/strncat.c (STRNCAT): Simplify implementation.
8291 2014-12-19  David S. Miller  <davem@davemloft.net>
8293         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8294         access the quad as both a long double and as a series of 4 words.
8296         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8297         link_map->l_info array access.
8299 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8301         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8303         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8304         * math/atest-exp2.c (TIMEOUT): Likewise.
8305         * math/atest-sincos.c (TIMEOUT): Likewise.
8307 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8309         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8310         -Wno-error with -fno-builtin-lround.
8312 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8314         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8315         Contains futex constants and functions moved over from ...
8316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8317         <lowlevellock-futex.h>.
8318         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8319         (lll_timedwait_tid): Add comments and parentheses around macro
8320         arguments.
8322 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8325         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8326         (__lll_private_flag): Remove.
8327         (lll_futex_wait): Likewise.
8328         (lll_futex_timed_wait): Likewise.
8329         (lll_futex_wake): Likewise.
8330         (lll_futex_requeue): Likewise.
8331         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8332         (__lll_timedwait_tid): Spell out argument names.
8333         (lll_timedwait_tid): Add comments and parentheses around macro
8334         arguments.
8335         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8336         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8338 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8340         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8341         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8342         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8343         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8344         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8345         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8346         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8347         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8348         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8349         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8351         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8352         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8353         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8354         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8355         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8356         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8357         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8360 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8362         * sysdeps/x86_64/x32/Makefile: New file.
8364 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8366         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8367         1L with (mp_limb_t) 1.
8369 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8371         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8372         * nptl/libc_pthread_init.c: ... here.
8373         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8374         * nptl/register-atfork.c: ... here.
8376         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8377         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8378         Use assert_perror to check its return value.
8379         (__gai_create_helper_thread): Likewise.
8381         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8383         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8385 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8387         [BZ #17725]
8388         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8389         __profil_counter.
8390         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8391         Likewise.
8392         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8393         Likewise.
8394         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8395         Likewise.
8396         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8397         (profil_counter): Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8399         (profil_counter): Likewise.
8400         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8401         Likewise.
8402         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8403         Likewise.
8404         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8405         (profil_counter): Likewise.
8406         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8407         Likewise.
8408         [!__profil_counter] (profil_counter): Define as weak alias of
8409         __profil_counter.
8410         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8411         (profil_counter): Rename to __profil_counter.
8412         [!__profil_counter] (profil_counter): Define as weak alias of
8413         __profil_counter.
8414         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8415         (profil_counter): Rename to __profil_counter.
8416         [!__profil_counter] (profil_counter): Define as weak alias of
8417         __profil_counter.
8418         * sysdeps/posix/profil.c: Update comment referring to
8419         profil_counter.
8420         (__profil): Use __profil_counter instead of profil_counter.
8421         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8422         __profil_counter.  Use __profil_counter_ushort and
8423         __profil_counter_uint in definitions.
8424         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8425         instead of profil_counter_uint and profil_counter_ushort.
8427         [BZ #17722]
8428         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8429         define as weak alias of __inet_makeaddr.
8430         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8431         as weak alias of __inet_addr.
8432         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8433         as weak alias of __inet_pton.  Use libc_hidden_weak.
8434         * include/arpa/inet.h (__inet_pton): Declare.  Use
8435         libc_hidden_proto.
8436         (inet_makeaddr): Don't use libc_hidden_proto.
8437         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8438         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8439         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8440         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8441         Remove variable.
8442         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8443         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8445 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8447         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8449 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8451         * stdio-common/bug-vfprintf-nargs.c (do_test):
8452         Cast value to intptr_t to avoid format warning
8453         for usage with PRIdPTR printing macro.
8455 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8457         * libio/tst-widetext.c (do_test):
8458         Use format type %td instead of %Zd for ptrdiff_t
8459         in order to avoid format warning.
8461 2014-12-17  Andreas Schwab  <schwab@suse.de>
8463         * nscd/mem.c (gc): Add size_t cast to match printf format.
8465 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8467         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8468         (init): Apply PTR_MANGLE to pointers before storing them.
8469         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8470         before using them.
8472 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #17719]
8475         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8476         define as weak alias of __memrchr.
8477         (__memrchr): Do not define as strong alias of memrchr.
8478         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8479         Remove variable.
8480         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8481         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8482         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8484         [BZ #17717]
8485         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8486         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8487         (if_indextoname): Rename to __if_indextoname and define as weak
8488         alias of __if_indextoname.  Use libc_hidden_weak.
8489         (if_freenameindex): Rename to __if_freenameindex and define as
8490         weak alias of __if_freenameindex.
8491         (if_nameindex): Rename to __if_nameindex and define as weak alias
8492         of __if_nameindex.
8493         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8494         __if_nametoindex and define as weak alias of __if_nametoindex.
8495         Use libc_hidden_weak.
8496         (if_freenameindex): Rename to __if_freenameindex and define as
8497         weak alias of __if_freenameindex.
8498         (if_nameindex): Rename to __if_nameindex and define as weak alias
8499         of __if_nameindex.
8500         (if_indextoname): Rename to __if_indextoname and define as weak
8501         alias of __if_indextoname.  Use libc_hidden_weak.
8502         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8503         __if_nametoindex and define as weak alias of __if_nametoindex.
8504         Use libc_hidden_weak.
8505         (if_freenameindex): Rename to __if_freenameindex and define as
8506         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8507         (if_nameindex_netlink): Use __if_freenameindex instead of
8508         if_freenameindex.
8509         (if_nameindex): Rename to __if_nameindex and define as weak alias
8510         of __if_nameindex.  Use libc_hidden_weak.
8511         (if_indextoname): Rename to __if_indextoname and define as weak
8512         alias of __if_indextoname.  Use libc_hidden_weak.
8513         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8514         libc_hidden_proto.
8515         [!_ISOMAC] (__if_freenameindex): Likewise.
8516         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8517         if_nametoindex.
8518         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8519         variable.
8520         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8521         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8522         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8523         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8524         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8525         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8526         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8528         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8529         Remove variable.
8530         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8531         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8533 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8535         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8536         subscript above bounds'
8538         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8539         bounds.
8541 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8543         * libio/tst-fopenloc.c: Use test-skeleton.c.
8545         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8546         (entry): Rename to ITEM.
8547         (do_test, comp): Adjust.
8549         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8551 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8553         * string/tester.c: Include <libc-internal.h>.
8554         (test_memset): Ignore -Wmemset-transposed-args.
8556 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8558         * misc/tst-mntent2.c (do_test): Fix warning.
8560 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8562         * elf/tst-unique4lib.cc(a): Mark as used.
8564 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8566         [BZ #17630]
8567         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8568         names.
8570 2014-12-16  Allan McRae  <allan@archlinux.org>
8572         * stdio-common/Makefile (tests): Re-add bug26.
8574 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8576         [BZ #17657]
8577         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8578         static array.
8580 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8582         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8583         (__lll_lock_wait): Likewise.
8584         (__lll_timedlock_wait): Likewise.
8585         (__lll_timedwait_tid): Likewise.
8586         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8587         (__lll_robust_timedlock_wait): Likewise.
8588         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8589         (lll_cond_trylock): Likewise.
8590         (__lll_lock): Likewise.
8591         (__lll_robust_lock): Likewise.
8592         (__lll_cond_lock): Likewise.
8593         (lll_robust_cond_lock): Likewise.
8594         (__lll_timedlock): Likewise.
8595         (__lll_robust_timedlock): Likewise.
8596         (__lll_unlock): Likewise.
8597         (__lll_robust_unlock): Likewise.
8598         (lll_wait_tid): Likewise.
8599         (lll_timedwait_tid): Likewise.
8601 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8603         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8605 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8607         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8609 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8611         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8612         * stdio-common/tst-sprintf.c: Likewise.
8614 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8616         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8618 2014-12-15  Jeff Law  <law@redhat.com>
8620         [BZ #16617]
8621         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8622         on the heap.  (CVE-2012-3406)
8623         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8624         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8625         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8627 2014-12-15  Will Newton  <will.newton@linaro.org>
8629         * manual/install.texi: Bump required version of texinfo
8630         to 4.7 from 4.5.
8631         * INSTALL: Regenerated.
8632         * configure.ac: Check for makeinfo version 4.7 and above.
8633         * configure: Regenerated.
8635 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8637         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8638         PREFIX, string constant to insert between directory and name.
8639         * sysdeps/posix/shm_open.c: Update caller.
8640         * sysdeps/posix/shm_unlink.c: Likewise.
8641         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8642         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8643         (SEM_SHM_PREFIX): New macro.
8644         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8645         [$(have-thread-library) = no].
8646         * nptl/Makefile (libpthread-routines): Add shm-directory.
8647         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8648         * sysdeps/nptl/shm-directory.h: New file.
8649         * sysdeps/posix/shm-directory.c
8650         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8651         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8652         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8653         INTERNAL_SYSCALL.
8654         (__where_is_shmfs): Function removed.
8655         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8656         Variables removed.
8657         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8658         Use SHM_GET_NAME.
8659         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8661         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8662         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8663         unconditional for use inside libpthread.
8664         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8666 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8668         * nptl/pthread_getaffinity.c: New file.
8669         * nptl/pthread_setaffinity.c: New file.
8670         * nptl/pthread_getname.c: New file.
8671         * nptl/pthread_setname.c: New file.
8673         * nptl/pthread_create.c (START_THREAD_DEFN)
8674         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8676 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8677             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8679         * resolv/res_send.c (send_vc): Disable warning resplen may
8680         be used uninitialized.
8682 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8684         * nptl/tst-mutex6.c
8685         (ATTR_NULL): New define checks ATTR against NULL.
8686         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8687         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8689 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8691         [BZ #17581]
8692         * malloc/hooks.c
8693         (mem2mem_check): Revert my previous change.
8694         (malloc_check_get_size): Revert my previous change.
8695         (mem2chunk_check): Revert my previous change.
8697 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8699         * sysdeps/posix/shm-directory.c: New file.
8700         * sysdeps/posix/shm-directory.h: New file.
8701         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8702         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8703         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8704         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8705         Transmute EPERM to EACCES.
8706         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8707         from ...
8708         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8709         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8711 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8713         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8714         pointer and cast to uintptr_t.
8715         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8716         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8717         Add cast to avoid warning.
8718         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8720 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8722         * nptl/semaphore.h: Move to ...
8723         * sysdeps/pthread/semaphore.h: ... here.
8724         * Makefile (installed-headers): Change nptl/semaphore.h to
8725         sysdeps/pthread/semaphore.h.
8727 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8729         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8730         generated error format strings.
8732         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8733         -Wformat-extra-args warnings for scanf formats.
8734         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8735         test of zero-length format (duh).
8736         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8737         corner-case scanf format test.
8738         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8739         generated fprintf format string.
8740         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8741         corner-case sprintf format tests.
8742         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8743         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8744         -Wformat-extra-args warnings throughout.
8745         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8746         (CFLAGS-scanf4.c): Likewise.
8747         (CFLAGS-scanf7.c): Likewise.
8748         (CFLAGS-tst-sprintf.c): Likewise.
8749         (CFLAGS-tst-printf.c): Likewise.
8750         (CFLAGS-tst-printfsz.c): Likewise.
8752 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8754         * include/cpio.h: New file.
8755         * include/fmtmsg.h: Likewise.
8757         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8758         corresponding format argument to size_t.
8759         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8760         arguments.
8761         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8762         corresponding format argument to size_t.
8763         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8764         arguments.
8765         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8766         corresponding format argument to size_t.
8767         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8768         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8769         (CFLAGS-tst-mbswcs2.c): Likewise.
8770         (CFLAGS-tst-mbswcs3.c): Likewise.
8771         (CFLAGS-tst-mbswcs4.c): Likewise.
8772         (CFLAGS-tst-mbswcs5.c): Likewise.
8773         (CFLAGS-tst-trans.c): Likewise
8775 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8777         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8778         rather than assuming they won't contain any '%'s.
8780 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8782         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8783         inhibit_loop_to_libcall to avoid recursive calls.
8784         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8785         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8787 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8789         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8790         prototype.
8792 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8794         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8795         integer value instead of boolean.
8797 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8799         * malloc/malloc.c: Fix powerof2 check.
8801 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8803         * locale/programs/locfile.h (maybe_swap_uint32):
8804         Remove inline and add unused attribute.
8806 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8808         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8809         Truncating assembler expression to a .long expression.
8811 2014-12-11  Andreas Schwab  <schwab@suse.de>
8813         * elf/rtld.c (struct map_args): Constify str member.
8814         (do_preload): Constify fname argument.
8816 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8819         constants definition.
8821 2014-12-11  Andreas Schwab  <schwab@suse.de>
8823         [BZ #16657]
8824         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8825         FORCE_ELISION instead of DO_ELISION.
8826         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8827         Remove.
8828         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8829         Likewise.
8831         * iconvdata/gconv-modules: Remove duplicate entry.
8833 2014-12-11  Will Newton  <will.newton@linaro.org>
8835         Merge gettext 0.19.3 into intl/.
8837         This involves a number of cosmetic changes to comments
8838         and ANSI function definitions and prototypes throughout
8839         all the files. The gettext copyright header is used but
8840         with the date ranges taken from the glibc copy.
8842         * NEWS: Add gettext merge to 2.21.
8843         * intl/bindtextdom.c: Switch to gettext copyright.
8844         Use ANSI definitions and prototypes.
8845         Use gl_* locking primitives rather than __libc_* ones.
8846         Use __builtin_expect rather than __glibc_likely/unlikely.
8847         * intl/dcgettext.c: Switch to gettext copyright.
8848         Use ANSI definitions and prototypes.
8849         * intl/dcigettext.c: Switch to gettext copyright.
8850         Use ANSI definitions and prototypes.
8851         (INTDIV0_RAISES_SIGFPE): New define.
8852         Use gl_* locking primitives rather than __libc_* ones.
8853         Include eval-plural.h instead of plural-eval.c.
8854         Use __builtin_expect rather than __glibc_likely/unlikely.
8855         * intl/dcngettext.c: Switch to gettext copyright.
8856         Use ANSI definitions and prototypes.
8857         * intl/dgettext.c: Likewise.
8858         * intl/dngettext.c: Likewise.
8859         * intl/plural-eval.c: Renamed to...
8860         * intl/eval-plural.h: ...this.
8861         * intl/explodename.c: Switch to gettext copyright.
8862         Use ANSI definitions and prototypes.
8863         (_nl_explode_name): Use strchr instead of __rawmemchr.
8864         * intl/finddomain.c: Switch to gettext copyright.
8865         Use ANSI definitions and prototypes.
8866         Use gl_* locking primitives rather than __libc_* ones.
8867         (_nl_find_domain): Use malloc rather than alloca for
8868         allocation of temporary locale name.
8869         * intl/gettext.c: Switch to gettext copyright.
8870         Use ANSI definitions and prototypes.
8871         * intl/gettextP.h: Switch to gettext copyright.
8872         Use ANSI definitions and prototypes.
8873         Use gl_* locking primitives rather than __libc_* ones.
8874         * intl/gmo.h: Switch to gettext copyright.
8875         (struct sysdep_string): Move struct segment_pair outside of
8876         struct definition.
8877         * intl/hash-string.c: Use ANSI definitions and prototypes.
8878         * intl/hash-string.h: Switch to gettext copyright.
8879         Use ANSI definitions and prototypes.
8880         * intl/l10nflist.c: Switch to gettext copyright.
8881         Use ANSI definitions and prototypes.
8882         (_nl_normalize_codeset): Avoid integer overflow.
8883         * intl/loadinfo.h: Switch to gettext copyright.
8884         Use ANSI definitions and prototypes.
8885         (LIBINTL_DLL_EXPORTED): New define.
8886         (PATH_SEPARATOR): New define.
8887         * intl/loadmsgcat.c: Switch to gettext copyright.
8888         * intl/localealias.c: Switch to gettext copyright.
8889         Use ANSI definitions and prototypes.
8890         (_nl_expand_alias): Use PATH_SEPARATOR.
8891         * intl/ngettext.c: Switch to gettext copyright.
8892         Use ANSI definitions and prototypes.
8893         * intl/plural-exp.c: Likewise.
8894         * intl/plural-exp.h: Switch to gettext copyright.
8895         Use ANSI definitions and prototypes.
8896         (struct expression): Move definition of enum operator outside
8897         of struct definition.
8898         * intl/plural.c: Regenerate.
8899         * intl/plural.y: Switch to gettext copyright.
8900         Use ANSI definitions and prototypes.
8901         Port to bison 3.0.
8902         * intl/textdomain.c: Switch to gettext copyright.
8903         Use ANSI definitions and prototypes.
8904         Use gl_* locking primitives rather than __libc_* ones.
8906 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8908         * debug/warning-nop.c: Add used atrribute.
8910 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8912         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8914         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8915         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8916         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8918 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8919             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8921         [BZ #17634]
8922         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8923         Undefine after defining function.  Define as weak alias of
8924         __wcschr.  Use libc_hidden_weak.
8925         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8926         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8927         (libc_hidden_def): Also define __GI___wcschr alias.
8928         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8929         __wcschr and define as weak alias of __wcschr.
8930         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8931         __wcschr.
8932         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8933         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8934         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8935         libc_hidden_weak.  Do not use libc_hidden_def.
8936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8937         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8938         __GI___wcschr alias.
8939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8940         [IS_IN (libc)] (wcschr): Define as macro expanding to
8941         __redirect_wcschr.
8942         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8943         [IS_IN (libc)] (__wcschr_power6): Likewise.
8944         [IS_IN (libc)] (__wcschr_power7): Likewise.
8945         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8946         instead of wcschr.
8947         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8948         __libc_wcschr.
8949         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8950         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8951         __wcschr and define as weak alias of __wcschr.  Use
8952         libc_hidden_builtin_def.
8953         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8954         as weak alias of __wcschr.  Use libc_hidden_weak.
8955         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8956         wcschr.
8957         * time/era.c (_nl_init_era_entries): Likewise.
8958         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8959         variable.
8960         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8961         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8963 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8965         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8966         format for long int variable.
8968 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8970         [BZ #10672]
8971         * manual/search.texi: (Array Sort Function): Remove claim how to make
8972         qsort stable.
8974 2014-12-10  Andreas Schwab  <schwab@suse.de>
8976         [BZ #12847]
8977         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8978         user-controlled locks.
8980 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8982         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8983         register.
8985 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8987         * configure.ac (--disable-werror): New configure option.
8988         (enable_werror): New AC_SUBST.
8989         * configure: Regenerated.
8990         * config.make.in (enable-werror): New variable.
8991         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8992         -Wno-error=undef.
8993         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8994         * manual/install.texi (Configuring and compiling): Document
8995         --disable-werror.
8996         * INSTALL: Regenerated.
8997         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8998         (CFLAGS-tst-chk2.c): Likewise.
8999         (CFLAGS-tst-chk3.c): Likewise.
9000         (CFLAGS-tst-chk4.cc): Likewise.
9001         (CFLAGS-tst-chk5.cc): Likewise.
9002         (CFLAGS-tst-chk6.cc): Likewise.
9003         (CFLAGS-tst-lfschk1.c): Likewise.
9004         (CFLAGS-tst-lfschk2.c): Likewise.
9005         (CFLAGS-tst-lfschk3.c): Likewise.
9006         (CFLAGS-tst-lfschk4.cc): Likewise.
9007         (CFLAGS-tst-lfschk5.cc): Likewise.
9008         (CFLAGS-tst-lfschk6.cc): Likewise.
9010         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9011         (main): Disable -Wdeprecated-declarations around calls to
9012         register_printf_function.
9014         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9015         (do_test): Disable -Wdiv-by-zero around some calls to
9016         fwrite_unlocked and fread_unlocked.
9018         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9019         (DIAG_POP_NEEDS_COMMENT): Likewise.
9020         (_DIAG_STR1): Likewise.
9021         (_DIAG_STR): Likewise.
9022         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9023         * stdio-common/bug21.c: Include <libc-internal.h>.
9024         (do_test): Disable -Wformat around call to sscanf.
9025         * stdio-common/scanf14.c: Include <libc-internal.h>.
9026         (main): Disable -Wformat around some calls to scanf functions.
9028 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9030         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9032 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9034         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9035         stack variable alignment.
9037 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9039         [BZ #17682]
9040         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9041         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9042         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9043         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9044         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9045         __getrlimit instead of getrlimit.
9046         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9047         __gettimeofday instead of gettimeofday.
9048         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9049         Likewise.
9050         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9051         Likewise.
9052         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9053         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9054         Remove variable.
9055         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9056         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9058 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9060         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9061         for wide-character tests.
9063 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9065         * io/openat64.c: #include <libc-internal.h>
9066         (__openat64): Prototypify.  Use ignore_value on MODE.
9067         * io/openat.c: Likewise.
9068         * misc/reboot.c: #include <libc-internal.h>
9069         (reboot): Prototypify.  Use ignore_value on HOWTO.
9070         * misc/ptrace.c: #include <libc-internal.h>
9071         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9073 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9075         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9076         XPG4, UNIX98 and XOPEN2K.
9077         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9078         Remove variable.
9079         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9081 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9083         * libio/fileops.c: Use ISO C style for function definitions.
9084         * libio/iofopen.c: Likewise.
9085         * libio/wfileops.c: Likewise.
9087         [BZ #17653]
9088         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9089         offset on EOF.
9090         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9091         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9092         (fgets_func): Function pointer to fgets and fgetws.
9093         (do_ftell_test): Add test to verify ftell value after read
9094         EOF.
9095         (do_test): Set fgets_func.
9097         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9098         O_TRUNC flag for w and w+ modes.
9099         (do_rewind_test): Likewise.
9100         (do_ftell_test): Likewise.
9101         (do_write_test): Likewise.
9103         [BZ #17647]
9104         * libio/fileops.c (do_ftell): Seek only when there are
9105         unflushed writes.
9106         * libio/wfileops.c (do_ftell_wide): Likewise.
9107         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9108         test case.
9109         (do_one_test): Call it.
9111 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9113         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9114         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9115         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9116         Remove variable.
9117         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9118         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9119         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9121 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9123         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9124         Remove variable.
9125         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9127         [BZ #17668]
9128         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9129         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9130         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9131         __freeifaddrs.  Use libc_hidden_weak.
9132         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9133         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9134         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9135         __freeifaddrs.  Use libc_hidden_weak.
9136         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9137         __getifaddrs and define as weak alias of __getifaddrs.  Use
9138         libc_hidden_weak.
9139         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9140         __freeifaddrs.  Use libc_hidden_weak.
9141         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9142         Remove variable.
9143         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9144         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9146 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9148         [BZ #17601]
9149         * sysdeps/mips/start.S (__start): Use indirect jump to call
9150         __libc_start_main.
9152 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9154         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9156         * nptl/tst-mutex1.c: Include <stdbool.h>.
9157         [!ATTR] (ATTR_NULL): New macro.
9158         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9159         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9160         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9162         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9163         to char *.
9165         [BZ #17665]
9166         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9167         Change conditional to [__USE_MISC].
9169         [BZ #17664]
9170         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9171         fgets_unlocked.
9172         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9173         __fgets_unlocked.
9174         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9175         fgets_unlocked.
9176         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9177         Remove variable.
9178         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9179         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9180         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9181         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9182         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9183         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9184         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9185         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9186         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9188         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9190 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9192         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9193         Remove strpbrk objects.
9194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9195         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9196         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9197         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9198         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9199         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9202         Remove strcspn objects.
9203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9204         (__libc_ifunc_impl_list): Remove strcspn implementation.
9205         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9206         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9207         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9208         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9210         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9211         Remove strspn objetcs.
9212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9213         (__libc_ifunc_impl_list): Remove strspn implementation.
9214         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9215         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9216         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9217         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9219 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9221         [BZ #17581]
9222         * malloc/hooks.c
9223         (mem2mem_check): Add a terminator to the chain of checking blocks.
9224         (malloc_check_get_size): Use it here.
9225         (mem2chunk_check): Ditto.
9227 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9229         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9230         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9232 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9234         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9236         * nptl/nptl-init.c: Include libc-internal.h.
9237         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9239         * elf/ldconfig.c (search_dir): Expand comment.
9241 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9243         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9244         variable.
9245         (linknamespace-symlist-stdlibs-tests): Likewise.
9246         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9247         instead of $(objpfx)symlist-stdlibs.
9248         (linknamespace-libs-isoc): New variable.
9249         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9250         (linknamespace-libs-ISO): New variable.
9251         (linknamespace-libs-ISO99): Likewise.
9252         (linknamespace-libs-ISO11): Likewise.
9253         (linknamespace-libs-XPG3): Likewise.
9254         (linknamespace-libs-XPG4): Likewise.
9255         (linknamespace-libs-POSIX): Likewise.
9256         (linknamespace-libs-UNIX98): Likewise.
9257         (linknamespace-libs-XOPEN2K): Likewise.
9258         (linknamespace-libs-POSIX2008): Likewise.
9259         (linknamespace-libs-XOPEN2K8): Likewise.
9260         ($(objpfx)symlist-stdlibs): Replace by
9261         $(linknamespace-symlist-stdlibs-tests).  Use
9262         $(linknamespace-libs-$*) as set of libraries.
9263         ($(linknamespace-header-tests)): Update dependencies.  Use
9264         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9265         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9266         * conform/linknamespace.pl: Remove comment about considering
9267         definitions of symbols from irrelevant libraries.
9269 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9271         [BZ #13862]
9272         * elf/dl-tls.c: Include <atomic.h>.
9273         (oom): Remove #ifdef SHARED/#endif.
9274         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9275         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9276         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9277         big enough.
9278         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9279         * nptl/Makefile (tests): Add tst-stack4.
9280         (modules-names): Add tst-stack4mod.
9281         ($(objpfx)tst-stack4): New.
9282         (tst-stack4mod.sos): Likewise.
9283         ($(objpfx)tst-stack4.out): Likewise.
9284         ($(tst-stack4mod.sos)): Likewise.
9285         (clean): Likewise.
9286         * nptl/tst-stack4.c: New file.
9287         * nptl/tst-stack4mod.c: Likewise.
9289 2014-11-27  J. Brown  <jb999@gmx.de>
9291         * sysdeps/x86/bits/string.h: Add recent CPUs.
9293 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9295         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9296         sigblock.
9298         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9299         feof.
9301         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9302         variable.
9304 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9306         * nscd/connections.c: Include libc-internal.h because of macro
9307         usage ignore_value.
9309 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9311         * string/bits/string3.h (__warn_memset_zero_len): Don't
9312         declare for gcc newer than 5.0.
9313         (memset): Don't test for zero-length __LEN for gcc newer than
9314         5.0.
9316 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9318         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9319         size_t for %zu format.
9321         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9322         difference, not %ju.
9324 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9326         * include/libc-internal.h (ignore_value): New macro.
9327         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9328         with ignore_value.
9330         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9331         definition.
9333         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9334         pthread_cleanup_push to void *.
9336         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9337         Undefine.
9339         [BZ #16619]
9340         [BZ #16740]
9341         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9342         instead of 1L << 52.
9344         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9345         * libio/bug-rewind2.c (do_test): Likewise.
9347         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9348         * debug/test-strcpy_chk-ifunc.c: Likewise.
9349         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9350         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9351         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9352         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9353         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9354         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9355         * Rules [$(multi-arch) = no] (tests): Do not filter out
9356         $(tests-ifunc).
9357         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9358         * debug/Makefile (tests-ifunc): Remove variable.
9359         (tests): Do not add $(tests-ifunc).
9360         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9361         (tests): Do not add $(tests-ifunc).
9362         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9363         [TEST_IFUNC]: Remove conditionals.
9364         * string/test-string.h (TEST_IFUNC): Remove macro.
9365         [TEST_IFUNC]: Remove conditionals.
9367         * string/test-strchr.c [!WIDE] (L): New macro.
9368         [WIDE] (L): Likewise.
9369         (check1): Use CHAR instead of char.  Use L on string and character
9370         constants.
9372 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9374         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9375         tests.
9376         * sysdeps/powerpc/bits/atomic.h
9377         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9378         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9379         (atomic_exchange_and_add_acq): Likewise.
9380         (atomic_exchange_and_add_rel): Likewise.
9381         * sysdeps/powerpc/powerpc32/bits/atomic.h
9382         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9383         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9384         * sysdeps/powerpc/powerpc64/bits/atomic.h
9385         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9386         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9388 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9390         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9391         Change synchronization of __sched_fifo_min_prio and
9392         __sched_fifo_max_prio.
9393         * nptl/pthread_mutexattr_getprioceiling.c
9394         (pthread_mutexattr_getprioceiling): Likewise.
9395         * nptl/pthread_mutexattr_setprioceiling.c
9396         (pthread_mutexattr_setprioceiling): Likewise.
9397         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9398         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9399         Likewise.
9401 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9403         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9404         void.
9406 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9408         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9409         third argument const.
9411 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9413         fnmatch: work around GCC compiler warning bug with uninit var
9414         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9415         This works around a bug with x86-64 GCC 4.9.2 and earlier
9416         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9417         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9418         used uninitialized in this function [-Wmaybe-uninitialized]".
9420 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9422         * posix/bug-regex31.c (main): Return RES not 0.
9424 2014-11-25  Anton Blanchard <anton@samba.org>
9426         * sysdeps/powerpc/bits/atomic.h
9427         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9429 2014-11-24  Sterling Augustine  <saugustine@google.com>
9431         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9433 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9435         [BZ #17608]
9436         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9438 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #17633]
9441         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9442         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9443         variable.
9444         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9445         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9447 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9449         * string/strncpy.c (strncpy): Improve performance by using memset.
9451 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9453         * string/strcpy.c (strcpy):
9454         Improve performance by using strlen and memcpy.
9456 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9458         * string/strcoll_l.c (get_next_seq): __always_inline.
9459         * string/strcoll_l.c (do_compare): __always_inline.
9461 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9463         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9464         defined.
9465         * include/mqueue.h: Likewise.
9466         * include/stdlib.h: Likewise.
9468         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9469         (get_null_defines): Adjust.
9470         * sunrpc/Makefile: Adjust comment.
9471         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9472         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9473         (CFLAGS-interp.c): Likewise.
9474         (CFLAGS-ldconfig.c): Likewise.
9475         (CPPFLAGS-.os): Likewise.
9476         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9477         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9478         * extra-modules.mk (extra-modules.mk): Likewise.
9479         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9480         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9481         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9482         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9483         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9484         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9485         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9486         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9487         * iconvdata/Makefile (CPPFLAGS): Likewise.
9488         (cpp-srcs-left): Add libof for all iconvdata routines.
9489         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9490         * include/assert.h: Likewise.
9491         * include/ctype.h: Likewise.
9492         * include/errno.h: Likewise.
9493         * include/libc-symbols.h: Likewise.
9494         * include/math.h: Likewise.
9495         * include/netdb.h: Likewise.
9496         * include/resolv.h: Likewise.
9497         * include/stdio.h: Likewise.
9498         * include/stdlib.h: Likewise.
9499         * include/string.h: Likewise.
9500         * include/sys/stat.h: Likewise.
9501         * include/wctype.h: Likewise.
9502         * intl/l10nflist.c: Likewise.
9503         * libidn/idn-stub.c: Likewise.
9504         * libio/libioP.h: Likewise.
9505         * nptl/libc_multiple_threads.c: Likewise.
9506         * nptl/pthreadP.h: Likewise.
9507         * posix/regex_internal.h: Likewise.
9508         * resolv/res_hconf.c: Likewise.
9509         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9510         * sysdeps/arm/memmove.S: Likewise.
9511         * sysdeps/arm/sysdep.h: Likewise.
9512         * sysdeps/generic/_itoa.h: Likewise.
9513         * sysdeps/generic/symbol-hacks.h: Likewise.
9514         * sysdeps/gnu/errlist.awk: Likewise.
9515         * sysdeps/gnu/errlist.c: Likewise.
9516         * sysdeps/i386/i586/memcpy.S: Likewise.
9517         * sysdeps/i386/i586/memset.S: Likewise.
9518         * sysdeps/i386/i686/memcpy.S: Likewise.
9519         * sysdeps/i386/i686/memmove.S: Likewise.
9520         * sysdeps/i386/i686/mempcpy.S: Likewise.
9521         * sysdeps/i386/i686/memset.S: Likewise.
9522         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9523         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9524         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9525         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9526         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9527         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9528         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9529         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9530         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9531         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9532         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9533         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9534         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9535         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9536         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9537         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9538         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9539         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9540         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9542         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9545         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9547         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9548         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9549         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9550         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9551         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9552         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9555         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9556         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9558         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9559         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9560         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9562         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9563         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9564         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9565         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9566         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9567         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9568         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9569         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9570         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9571         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9572         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9573         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9574         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9575         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9576         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9577         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9578         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9579         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9580         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9581         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9582         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9583         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9584         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9585         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9586         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9587         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9588         * sysdeps/posix/closedir.c: Likewise.
9589         * sysdeps/posix/opendir.c: Likewise.
9590         * sysdeps/posix/readdir.c: Likewise.
9591         * sysdeps/posix/rewinddir.c: Likewise.
9592         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9593         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9594         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9595         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9596         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9597         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9598         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9599         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9600         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9602         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9604         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9605         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9606         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9607         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9608         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9609         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9611         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9612         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9613         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9614         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9615         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9616         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9618         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9620         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9628         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9629         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9630         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9631         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9632         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9633         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9634         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9635         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9636         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9637         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9638         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9640         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9641         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9642         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9643         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9646         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9649         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9650         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9651         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9652         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9653         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9654         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9655         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9657         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9658         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9659         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9660         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9661         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9663         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9664         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9665         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9666         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9667         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9668         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9670         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9671         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9672         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9674         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9675         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9676         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9677         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9678         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9679         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9680         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9681         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9682         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9683         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9684         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9686         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9688         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9690         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9691         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9692         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9693         * sysdeps/unix/alpha/sysdep.S: Likewise.
9694         * sysdeps/unix/alpha/sysdep.h: Likewise.
9695         * sysdeps/unix/make-syscalls.sh: Likewise.
9696         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9698         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9699         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9700         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9701         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9702         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9703         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9704         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9705         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9707         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9709         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9711         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9712         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9713         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9714         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9715         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9716         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9717         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9718         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9719         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9720         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9721         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9722         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9725         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9726         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9730         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9734         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9735         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9736         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9737         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9738         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9739         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9740         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9743         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9746         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9747         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9748         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9749         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9750         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9752         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9754         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9755         * sysdeps/x86_64/memcpy.S: Likewise.
9756         * sysdeps/x86_64/memmove.c: Likewise.
9757         * sysdeps/x86_64/memset.S: Likewise.
9758         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9759         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9760         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9761         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9762         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9763         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9765         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9766         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9767         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9768         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9769         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9770         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9771         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9772         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9773         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9774         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9775         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9776         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9777         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9778         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9779         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9780         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9781         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9782         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9783         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9784         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9785         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9786         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9787         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9788         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9789         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9790         * sysdeps/x86_64/strcmp.S: Likewise.
9792         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9794         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9795         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9796         * elf/rtld-Rules: Likewise.
9797         * elf/setup-vdso.h: Likewise.
9798         * include/assert.h: Likewise.
9799         * include/bits/stdlib-float.h: Likewise.
9800         * include/errno.h: Likewise.
9801         * include/sys/stat.h: Likewise.
9802         * include/unistd.h: Likewise.
9803         * sysdeps/aarch64/setjmp.S: Likewise.
9804         * sysdeps/alpha/setjmp.S: Likewise.
9805         * sysdeps/arm/__longjmp.S: Likewise.
9806         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9807         * sysdeps/arm/setjmp.S: Likewise.
9808         * sysdeps/arm/sysdep.h: Likewise.
9809         * sysdeps/generic/_itoa.h: Likewise.
9810         * sysdeps/generic/dl-sysdep.h: Likewise.
9811         * sysdeps/generic/ldsodefs.h: Likewise.
9812         * sysdeps/i386/dl-tls.h: Likewise.
9813         * sysdeps/i386/setjmp.S: Likewise.
9814         * sysdeps/m68k/setjmp.c: Likewise.
9815         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9816         * sysdeps/mach/hurd/opendir.c: Likewise.
9817         * sysdeps/posix/getcwd.c: Likewise.
9818         * sysdeps/posix/opendir.c: Likewise.
9819         * sysdeps/posix/profil.c: Likewise.
9820         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9821         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9822         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9823         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9824         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9825         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9827         * sysdeps/s390/dl-tls.h: Likewise.
9828         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9829         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9830         * sysdeps/sh/sh3/setjmp.S: Likewise.
9831         * sysdeps/sh/sh4/setjmp.S: Likewise.
9832         * sysdeps/unix/alpha/sysdep.h: Likewise.
9833         * sysdeps/unix/arm/sysdep.S: Likewise.
9834         * sysdeps/unix/i386/sysdep.S: Likewise.
9835         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9836         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9837         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9838         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9840         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9841         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9842         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9843         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9844         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9845         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9846         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9847         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9850         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9853         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9854         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9855         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9858         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9859         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9860         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9862         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9863         * sysdeps/x86_64/setjmp.S: Likewise.
9865         * include/math.h: Use IS_IN instead of IS_IN_libm.
9866         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9868         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9869         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9870         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9871         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9872         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9873         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9875         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9876         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9877         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9878         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9880         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9881         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9882         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9883         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9886         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9887         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9888         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9889         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9890         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9891         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9892         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9893         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9894         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9895         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9896         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9897         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9898         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9900         Likewise.
9901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9902         Likewise.
9903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9904         Likewise.
9905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9906         Likewise.
9907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9908         Likewise.
9909         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9910         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9911         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9912         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9913         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9914         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9920         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9921         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9922         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9923         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9924         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9925         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9926         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9927         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9928         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9929         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9930         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9932         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9933         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9935         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9937         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9938         * nptl/pthreadP.h: Likewise.
9939         * nptl_db/structs.def: Likewise.
9940         * sysdeps/arm/sysdep.h: Likewise.
9941         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9942         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9943         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9944         * sysdeps/unix/alpha/sysdep.h: Likewise.
9945         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9947         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9948         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9949         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9950         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9951         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9952         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9953         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9954         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9955         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9956         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9957         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9958         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9963         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9965         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9966         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9967         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9968         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9969         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9970         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9972         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9973         * nptl/pthreadP.h: Likewise.
9974         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9975         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9976         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9977         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9978         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9979         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9980         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9981         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9982         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9983         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9984         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9985         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9987         Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9992         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9995         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9996         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9997         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9999         * dlfcn/dladdr.c: Use IS_IN.
10000         * dlfcn/dladdr1.c: Likewise.
10001         * dlfcn/dlclose.c: Likewise.
10002         * dlfcn/dlerror.c: Likewise.
10003         * dlfcn/dlinfo.c: Likewise.
10004         * dlfcn/dlmopen.c: Likewise.
10005         * dlfcn/dlopen.c: Likewise.
10006         * dlfcn/dlsym.c: Likewise.
10007         * dlfcn/dlvsym.c: Likewise.
10009         * include/ifaddrs.h: Use IS_IN.
10010         * inet/check_pf.c: Likewise.
10011         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10012         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10014         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10015         IS_IN_ldconfig.
10016         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10017         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10019         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10020         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10021         IS_IN (libc).
10023         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10025         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10026         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10027         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10028         * include/libc-symbols.h (IS_IN_LIB): New macro.
10029         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10030         * include/netdb.h: Likewise.
10031         * include/stap-probe.h: Remove all uses of IN_LIB.
10033         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10034         instead of IN_MODULE.
10035         * include/libc-symbols.h (IN_MODULE): Define using
10036         MODULE_NAME.
10037         (PASTE_NAME, PASTE_NAME1): New macros.
10038         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10039         of IN_LIB.
10040         (STAP_PROBE_ASM): Likewise.
10042 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10044         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10045         __mach_init in dlopened libc.
10047 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10049         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10050         * sysdeps/arm/preconfigure: Regenerate.
10052 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10054         * nptl/pthread_create.c (__pthread_create_2_1): Set
10055         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10056         when copying values from IATTR into PD.
10058 2014-11-21  Will Newton  <will.newton@linaro.org>
10059             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10061         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10062         Refactor inline-asm.  Also add comment.
10064         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10065         ElfW macro instead of hardcoded Elf64 types.
10066         (la_aarch64_gnu_pltenter): Likewise.
10067         * sysdeps/aarch64/dl-machine.h
10068         (elf_machine_runtime_setup): Use ElfW(Addr).
10070         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10071         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10072         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10073         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10074         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10075         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10076         (R_AARCH64_TLS_DTPMOD): This.
10077         (R_AARCH64_TLS_DTPREL64): Rename to ...
10078         (R_AARCH64_TLS_DTPREL): This.
10079         (R_AARCH64_TLS_TPREL64): Rename to ...
10080         (R_AARCH64_TLS_TPREL): This.
10081         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10082         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10083         R_AARCH64_TLS_TPREL64.
10084         (elf_machine_rela): Likewise.
10086 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10088         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10089         by setting it to 0.  64b atomics are not supported currently.
10091 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10093         [BZ #16469]
10094         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10095         search domain names.
10097 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10099         [BZ #16469]
10100         * NEWS: Update.
10101         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10102         trailing dot.
10103         * posix/tst-getaddrinfo5.c: New.
10104         * posix/Makefile (tests): Add it.
10106 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10108         [BZ #14498]
10109         * NEWS: Fixed.
10110         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10111         after parsing line but before break_if_match.
10112         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10113         if there is a protocol mismatch.
10115 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10117         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10118         because the potential race is on the user-supplied stream.
10120 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10122         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10123         string literal if not passed a buffer.
10124         * manual/job.texi (ctermid): Update reasoning, note deviation
10125         from posix, suggest mtasurace when not passed a buffer, for
10126         future non-preliminary safety notes.
10128 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10130         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10131         of not passing it a buffer.
10132         Reported by Peng Haitao.
10134 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10136         * manual/Makefile ($(objpfx)stamp-summary): Require
10137         check-safety.sh to pass.
10138         * manual/check-safety.sh: Wish for verification that every
10139         @deftypefn and @deftypefun is followed by a @safety remark.
10141 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10143         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10145         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10146         PTHREAD_CANCEL_ASYNCHRONOUS.
10147         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10148         send SIGCANCEL.
10150         * nptl/default-sched.h: New file.
10151         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10152         * nptl/pthread_create.c: Include it.
10153         (__pthread_create_2_1): Use collect_default_sched instead of making
10154         Linux syscalls here directly.
10156 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10158         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10159         __pthread_once): Use C11 atomics.
10161 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10163         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10165 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10167         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10168         atomic_thread_fence_acquire, atomic_thread_fence_release,
10169         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10170         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10171         atomic_compare_exchange_weak_relaxed,
10172         atomic_compare_exchange_weak_acquire,
10173         atomic_compare_exchange_weak_release,
10174         atomic_exchange_acquire, atomic_exchange_release,
10175         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10176         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10177         atomic_fetch_and_acquire,
10178         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10180 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10182         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10183         USE_ATOMIC_COMPILER_BUILTINS): Define.
10184         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10186         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10188         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10190         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10192         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10193         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10194         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10196         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10198         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10200         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10202         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10204         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10206         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10208         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10210         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10212         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10214         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10216         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10218         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10219         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10220         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10222         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10225 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10227         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10228         the sched_priority value here.  It was already checked when the user
10229         called pthread_attr_setschedparam.
10231         * nptl/tst-bad-schedattr.c: New file.
10232         * nptl/Makefile (tests): Add it.
10234 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10235             Florian Weimer  <fweimer@redhat.com>
10236             Joseph Myers  <joseph@codesourcery.com>
10237             Adam Conrad  <adconrad@0c3.net>
10238             Andreas Schwab  <schwab@suse.de>
10239             Brooks  <bmoses@google.com>
10241         [BZ #17625]
10242         * wordexp-test.c (__dso_handle): Add prototype.
10243         (__register_atfork): Likewise.
10244         (__app_register_atfork): New function.
10245         (registered_forks): New global.
10246         (register_fork): New function.
10247         (test_case): Add 3 new tests for WRDE_CMDSUB.
10248         (main): Call __app_register_atfork.
10249         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10250         fork count is non-zero fail the test.
10251         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10252         is set.
10253         (parse_dollars): Remove check for WRDE_NOCMD.
10254         (parse_dquote): Likewise.
10256 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10258         * Makeconfig (built-modules): List non-library modules to be
10259         built.
10260         (module-cppflags): Include libc-modules.h for
10261         everything except shlib-versions.v.i.
10262         (CPPFLAGS): Use it.
10263         (before-compile): Add libc-modules.h.
10264         ($(common-objpfx)libc-modules.h,
10265         $(common-objpfx)libc-modules.stmp): New targets.
10266         (common-generated): Add libc-modules.h and libc-modules.stmp.
10267         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10268         * include/libc-symbols.h: Don't include libc-modules.h.
10269         * include/libc-modules.h: Remove file.
10270         * scripts/gen-libc-modules.awk: New script to generate
10271         libc-modules.h.
10272         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10273         Depend on libc-modules.stmp.
10275         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10277         * Makeconfig (in-module): Get value of libof set for the
10278         translation unit.
10279         (CPPFLAGS): Use $(in-module).
10280         * Makerules: Don't suffix routine names for nonlib.
10281         * include/libc-modules.h: New file.
10282         * include/libc-symbols.h: Include libc-modules.h
10283         (IS_IN): New macro to replace IS_IN_* macros.
10284         * elf/Makefile: Set libof-* for each routine.
10285         * elf/rtld-Rules: Likewise.
10286         * extra-modules.mk: Likewise.
10287         * iconv/Makefile: Likewise.
10288         * iconvdata/Makefile: Likewise.
10289         * locale/Makefile: Likewise.
10290         * malloc/Makefile: Likewise.
10291         * nss/Makefile: Likewise.
10292         * sysdeps/gnu/Makefile: Likewise.
10293         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10294         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10295         * sysdeps/s390/s390-64/Makefile: Likewise.
10296         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10297         CPPFLAGS for nscd instead of nonlib.
10299 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10301         * nptl/createthread.c: New file.
10303         * nptl/createthread.c: Moved ...
10304         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10306         * nptl/createthread.c: Add proper top-line comment.
10307         (do_clone): Folded into ...
10308         (create_thread): ... here.  Take new arguments STOPPED_START and
10309         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10310         increment __nptl_threads, do event-reporting logic, do
10311         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10312         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10313         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10314         just send SIGCANCEL.
10315         * nptl/pthread_create.c: Forward-declare create_thread before
10316         including createthread.c.
10317         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10318         declaration, and new macro START_THREAD_SELF to replace argument.
10319         Remove return statement.
10320         (report_thread_creation): New function.
10321         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10322         synchronization logic, and __nptl_nthreads increment here, around
10323         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10324         PD->parent_cancelhandling here, before create_thread.  When
10325         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10326         __deallocate_stack, and ENOMEM translation here.
10328 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10330         [BZ #17616]
10331         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10332         (mptwo): Rename to __mptwo.
10333         (__inv): Use __mptwo instead of mptwo.
10334         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10335         (mptwo): Rename to __mptwo.
10336         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10337         of mpone and __mptwo instead of mptwo.
10338         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10339         instead of mpone.
10340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10341         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10342         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10343         of mpone and __mptwo instead of mptwo.
10344         (__mpranred): Use __mpone instead of mpone.
10345         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10346         variable.
10347         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10348         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10349         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10350         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10351         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10352         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10353         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10354         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10355         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10356         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10357         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10358         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10359         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10360         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10361         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10362         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10363         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10364         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10365         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10367 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10369         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10370         replace BSD Handler xref with BSD Signal Handling.
10372 2014-11-17  Richard Henderson  <rth@redhat.com>
10374         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10375         (_FP_PACK_RAW_2): Remove.
10376         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10377         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10378         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10379         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10380         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10381         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10382         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10383         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10384         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10385         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10386         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10387         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10388         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10389         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10390         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10391         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10393 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10395         * signal/signal.h [__USE_MISC]
10396         (struct sigvec): Remove type.
10397         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10398         (sigvec): Remove declaration.
10399         * sysdeps/posix/sigvec.c: Moved ...
10400         * signal/sigvec.c: ... here, replacing old file.
10401         (struct sigvec): New type, copied from old signal.h definition.
10402         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10403         (__sigvec): Convert definition to prototype.
10404         (sigvec): Replace weak_alias with compat_symbol.
10405         * signal/Versions (libc: GLIBC_2.21): New version set.
10406         * include/signal.h: Remove __sigvec declaration.
10407         * sysdeps/unix/bsd/sigvec.c: Remove file.
10408         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10409         * manual/signal.texi (BSD Handler): Remove subsection.
10410         Move siginterrupt up to ...
10411         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10412         (Blocking in BSD): Fold subsection into its parent.
10413         * NEWS: Mention sigvec removal.
10415 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10417         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10418         (DLA_FMS): Make definition conditional only on [__FMA4__].
10419         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10420         definition.
10422         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10423         Make definition conditional only on [PROF].
10424         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10425         definition.
10426         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10427         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10429         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10430         !__GNUC__].
10431         * include/signal.h (__sigpause): Move declaration above call to
10432         libc_hidden_proto.
10433         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10434         variable.
10435         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10436         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10438 2014-11-14  David S. Miller  <davem@davemloft.net>
10440         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10441         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10443 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10445         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10446         * configure: Regenerated.
10447         * manual/install.texi (Tools for Compilation): Document a
10448         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10449         compiler verified to work.
10450         * INSTALL: Regenerated.
10452         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10453         redeclare with asm name.
10454         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10455         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10456         including <string.h>.
10457         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10458         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10459         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10460         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10461         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10462         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10463         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10465 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10467         * stdlib/strtol.c (__strtol): Use prototype definition.
10469         [BZ #17594]
10470         * stdlib/strtol.c (SYM__): New macro.
10471         (SYM__1): Likewise.
10472         (__strtol): Likewise.
10473         (strtol): Rename to __strtol and define as weak alias of
10474         __strtol.  Use libc_hidden_weak.
10476 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10478         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10479         Use numbered labels in inline assembly.
10481 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10483         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10484         Add setjmp LIBC_PROBE.
10485         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10486         Likewise.
10487         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10488         Add longjmp, longjmp_target LIBC_PROBE.
10489         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10490         Likewise.
10492 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10495         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10496         to get rid of unused variable warning.
10498 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10500         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10501         Check for unwind_backtrace ==  NULL only in SHARED case.
10502         (__backchain_backtrace): Compile only in SHARED case.
10503         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10504         Likewise.
10505         (__backchain_backtrace): Declare as static.
10507 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10509         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10510         (__libc_multiple_threads_ptr): Variable moved ...
10511         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10513 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10515         * conform/GlibcConform.pm: New file.
10516         * conform/conformtest.pl: Use GlibcConform module.
10517         * conform/linknamespace.pl: New file.
10518         * conform/list-header-symbols.pl: Likewise.
10519         * conform/Makefile (linknamespace-symlists-base): New variable.
10520         (linknamespace-symlists-tests): Likewise.
10521         (linknamespace-header-base): Likewise.
10522         (linknamespace-header-tests): Likewise.
10523         (tests-special): Add new tests.
10524         ($(linknamespace-symlists-tests)): New rule.
10525         (linknamespace-libs): New variable.
10526         ($(objpfx)symlist-stdlibs): New rule.
10527         ($(linknamespace-header-tests)): Likewise.
10528         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10529         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10530         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10531         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10532         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10533         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10534         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10535         (test-xfail-ISO/math.h/linknamespace): Likewise.
10536         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10537         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10538         (test-xfail-ISO/time.h/linknamespace): Likewise.
10539         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10540         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10541         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10542         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10543         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10544         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10545         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10546         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10547         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10548         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10549         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10550         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10551         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10552         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10553         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10554         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10555         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10556         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10557         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10558         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10559         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10560         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10561         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10562         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10563         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10564         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10565         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10566         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10567         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10568         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10569         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10570         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10571         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10572         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10573         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10574         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10575         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10576         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10577         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10578         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10579         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10580         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10581         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10582         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10583         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10584         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10585         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10586         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10587         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10588         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10589         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10590         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10591         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10592         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10593         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10594         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10595         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10596         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10597         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10598         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10599         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10600         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10601         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10602         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10603         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10604         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10605         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10606         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10607         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10608         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10609         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10610         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10611         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10612         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10613         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10614         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10615         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10616         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10617         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10618         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10619         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10620         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10621         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10622         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10623         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10624         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10625         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10626         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10627         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10628         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10629         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10630         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10631         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10632         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10633         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10634         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10635         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10636         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10637         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10638         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10639         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10640         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10642         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10643         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10644         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10645         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10647         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10648         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10649         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10650         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10651         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10652         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10653         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10654         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10655         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10656         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10657         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10658         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10659         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10660         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10661         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10662         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10663         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10664         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10665         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10666         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10667         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10668         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10669         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10670         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10671         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10672         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10673         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10674         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10675         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10676         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10677         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10678         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10679         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10680         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10681         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10682         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10683         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10684         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10685         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10686         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10687         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10688         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10690         [BZ #17589]
10691         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10692         of fgets_unlocked.
10694         [BZ #17585]
10695         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10696         (memmem): Rename to __memmem and define as weak alias of
10697         __memmem.  Use libc_hidden_weak.
10698         (__memmem): Use libc_hidden_def.
10699         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10700         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10701         memmem.
10703         [BZ #17582]
10704         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10705         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10706         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10707         and define as weak alias of __fgets_unlocked.  Use
10708         libc_hidden_weak.
10709         (__fgets_unlocked): Use libc_hidden_def.
10710         * include/stdio.h (__fgets_unlocked): Declare.  Use
10711         libc_hidden_proto.
10712         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10713         __fgets_unlocked instead of fgets_unlocked.
10714         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10715         (GET_NPROCS_CONF_PARSER): Likewise.
10716         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10717         (GET_NPROCS_CONF_PARSER): Likewise.
10719         [BZ #17574]
10720         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10721         weak alias of __wmemset.  Use libc_hidden_weak.
10722         (__wmemset): Use libc_hidden_def.
10723         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10724         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10725         of wmemset.
10727         [BZ #17573]
10728         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10729         with asm name __mempcpy.
10730         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10732         [BZ #17572]
10733         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10734         and define as weak alias of __rawmemchr.
10735         (__rawmemchr): Do not define as strong alias of rawmemchr.
10737         [BZ #17571]
10738         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10739         alias of __qsort_r.
10740         (qsort): Call __qsort_r instead of qsort_r.
10741         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10742         (__qsort_r): Declare.  Call libc_hidden_proto.
10743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10744         instead of qsort_r.
10745         * nscd/gai.c (__qsort_r): Define to qsort_r.
10746         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10747         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10748         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10750         [BZ #17570]
10751         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10752         define as weak alias of __malloc_info.
10754         [BZ #17584]
10755         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10756         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10757         (__rewinddir): Use libc_hidden_def.
10758         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10759         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10760         (__rewinddir): Use libc_hidden_def.
10761         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10762         weak alias of __rewinddir.  Don't use libc_hidden_def.
10763         (__rewinddir): Use libc_hidden_def.
10764         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10765         (__rewinddir): Use libc_hidden_proto.
10766         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10767         rewinddir.
10768         (__getcwd): Use __rewinddir instead of rewinddir.
10770         [BZ #17583]
10771         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10772         alias of __fileno.  Use libc_hidden_weak.
10773         (__fileno): Use libc_hidden_def.
10774         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10775         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10776         alias of __ftello.
10777         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10778         __ftello.
10779         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10780         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10781         libc_hidden_def.
10782         (fread_unlocked): Don't use libc_hidden_ver.
10783         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10784         and define as weak alias of __fread_unlocked.  Don't use
10785         libc_hidden_def.
10786         (__fread_unlocked): Use libc_hidden_def.
10787         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10788         (ftello): Don't use libc_hidden_proto.
10789         (__ftello): Declare.  Use libc_hidden_proto.
10790         (fread_unlocked): Don't use libc_hidden_proto.
10791         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10792         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10793         and __ftello instead of fileno, fread_unlocked and ftello.
10795 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10797         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10798         GOT12.
10799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10800         Likewise.
10801         (_dl_start_user): Likewise.
10802         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10804 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10805             Siddhesh Poyarekar  <siddhesh@redhat.com>
10807         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10808         Move argv and envp down instead of moving argc up.
10809         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10811 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10813         [BZ #17506]
10814         * test-skeleton.c (main): Return successful if one of
10815         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10816         * string/tst-strcoll-overflow.c: Define expected status.
10818 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10820         [BZ #17475]
10821         * locale/iso-639.def: Define Bhili and Tulu language codes.
10823 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10825         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10827 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10829         [BZ #17555]
10830         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10832 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10834         * configure.ac: Updated check of minimal required version to
10835         2.22.
10836         * manual/install.texi (Tools for Compilation): Updated version
10837         number.
10838         * configure: Regenerated.
10839         * INSTALL: Likewise.
10841 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10843         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10844         __tls_get_addr.
10846 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10848         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10849         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10850         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10851         libc_hidden_weak.
10852         (waitpid): Define as alias of __waitpid.
10853         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10854         __waitpid.
10855         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10856         libc_hidden_weak.
10857         (waitpid): Define as alias of __waitpid.
10858         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10859         __libc_waitpid alias.
10860         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10861         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10862         Likewise.
10863         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10864         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10865         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10866         alias.
10867         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10868         __waitpid.
10869         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10870         libc_hidden_weak.
10871         (waitpid): Define as alias of __waitpid.
10873 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10875         * manual/llio.texi: Add comment that write safety has been
10876         fixed in Linux.
10878         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10879         (localplt-build-dso): Add elf/ld.so.
10880         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10881         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10882         and free for ld.so.
10883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10884         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10886         Likewise.
10887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10888         Likewise.
10889         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10890         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10891         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10892         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10893         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10894         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10895         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10896         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10897         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10898         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10899         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10901 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10903         [BZ #14132]
10904         * include/libc-symbols.h (INTUSE): Remove macro.
10905         (INTDEF): Likewise.
10906         (INTVARDEF): Likewise.
10907         (_INTVARDEF): Likewise.
10908         (INTDEF2): Likewise.
10909         (INTVARDEF2): Likewise.
10910         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10911         rtld_hidden_def instead of INTVARDEF.
10912         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10913         (_dl_starting_up_internal): Remove declaration.
10914         (_dl_starting_up): Use rtld_hidden_proto.
10915         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10916         declaration.
10917         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10918         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10919         _dl_starting_up.
10920         * elf/dl-writev.h (_dl_writev): Likewise.
10921         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10922         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10923         _dl_starting_up_internal.
10925 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10927         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10928         test-skeleton.c.
10930 2014-11-05  Will Newton  <will.newton@linaro.org>
10932         * benchtests/Makefile: (bench-malloc): Add malloc thread
10933         scalability benchmark.
10934         * benchtests/bench-malloc-threads.c: New file.
10936 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10938         * sysdeps/aarch64/strchrnul.S: New file.
10940 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10942         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10943         definition.
10944         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10945         Likwise.
10946         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10947         Likewise.
10948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10949         Likewise.
10950         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10951         Likewise.
10952         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10953         Likewise.
10955 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10957         * catgets/test-gencat.c: Use test-skeleton.c.
10958         * catgets/tst-catgets.c: Likewise.
10959         * csu/tst-empty.c: Likewise.
10960         * elf/tst-audit2.c: Likewise.
10961         * elf/tst-global1.c: Likewise.
10962         * elf/tst-pathopt.c: Likewise.
10963         * elf/tst-piemod1.c: Likewise.
10964         * elf/tst-tls10.c: Likewise.
10965         * elf/tst-tls11.c: Likewise.
10966         * elf/tst-tls12.c: Likewise.
10967         * gnulib/tst-gcc.c: Likewise.
10968         * iconvdata/tst-e2big.c: Likewise.
10969         * iconvdata/tst-loading.c: Likewise.
10970         * iconv/tst-iconv1.c: Likewise.
10971         * iconv/tst-iconv2.c: Likewise.
10972         * inet/test-inet6_opt.c: Likewise.
10973         * inet/tst-gethnm.c: Likewise.
10974         * inet/tst-network.c: Likewise.
10975         * inet/tst-ntoa.c: Likewise.
10976         * intl/tst-codeset.c: Likewise.
10977         * intl/tst-gettext2.c: Likewise.
10978         * intl/tst-gettext3.c: Likewise.
10979         * intl/tst-ngettext.c: Likewise.
10980         * intl/tst-translit.c: Likewise.
10981         * io/test-stat.c: Likewise.
10982         * libio/test-fmemopen.c: Likewise.
10983         * libio/tst-freopen.c: Likewise.
10984         * libio/tst-sscanf.c: Likewise.
10985         * libio/tst-ungetwc1.c: Likewise.
10986         * libio/tst-ungetwc2.c: Likewise.
10987         * libio/tst-widetext.c: Likewise.
10988         * localedata/tst-ctype.c: Likewise.
10989         * localedata/tst-digits.c: Likewise.
10990         * localedata/tst-leaks.c: Likewise.
10991         * localedata/tst-mbswcs1.c: Likewise.
10992         * localedata/tst-mbswcs2.c: Likewise.
10993         * localedata/tst-mbswcs3.c: Likewise.
10994         * localedata/tst-mbswcs4.c: Likewise.
10995         * localedata/tst-mbswcs5.c: Likewise.
10996         * localedata/tst-setlocale.c: Likewise.
10997         * localedata/tst-trans.c: Likewise.
10998         * localedata/tst-wctype.c: Likewise.
10999         * localedata/tst-xlocale1.c: Likewise.
11000         * login/tst-grantpt.c: Likewise.
11001         * malloc/tst-calloc.c: Likewise.
11002         * malloc/tst-malloc.c: Likewise.
11003         * malloc/tst-mallocstate.c: Likewise.
11004         * malloc/tst-mcheck.c: Likewise.
11005         * malloc/tst-mtrace.c: Likewise.
11006         * malloc/tst-obstack.c: Likewise.
11007         * math/atest-exp2.c: Likewise.
11008         * math/atest-exp.c: Likewise.
11009         * math/atest-sincos.c: Likewise.
11010         * math/test-matherr.c: Likewise.
11011         * math/test-misc.c: Likewise.
11012         * math/test-powl.c: Likewise.
11013         * math/tst-definitions.c: Likewise.
11014         * misc/tst-dirname.c: Likewise.
11015         * misc/tst-efgcvt.c: Likewise.
11016         * misc/tst-fdset.c: Likewise.
11017         * misc/tst-hsearch.c: Likewise.
11018         * misc/tst-mntent2.c: Likewise.
11019         * nptl/tst-sem7.c: Likewise.
11020         * nptl/tst-sem8.c: Likewise.
11021         * nptl/tst-sem9.c: Likewise.
11022         * nss/test-netdb.c: Likewise.
11023         * posix/tst-fnmatch.c: Likewise.
11024         * posix/tst-getlogin.c: Likewise.
11025         * posix/tst-gnuglob.c: Likewise.
11026         * posix/tst-mmap.c: Likewise.
11027         * pwd/tst-getpw.c: Likewise.
11028         * resolv/tst-inet_ntop.c: Likewise.
11029         * rt/tst-timer.c: Likewise.
11030         * stdio-common/test-fseek.c: Likewise.
11031         * stdio-common/test-popen.c: Likewise.
11032         * stdio-common/test-vfprintf.c: Likewise.
11033         * stdio-common/tst-cookie.c: Likewise.
11034         * stdio-common/tst-fileno.c: Likewise.
11035         * stdio-common/tst-gets.c: Likewise.
11036         * stdio-common/tst-obprintf.c: Likewise.
11037         * stdio-common/tst-perror.c: Likewise.
11038         * stdio-common/tst-sprintf2.c: Likewise.
11039         * stdio-common/tst-sprintf3.c: Likewise.
11040         * stdio-common/tst-sprintf.c: Likewise.
11041         * stdio-common/tst-swprintf.c: Likewise.
11042         * stdio-common/tst-tmpnam.c: Likewise.
11043         * stdio-common/tst-unbputc.c: Likewise.
11044         * stdio-common/tst-wc-printf.c: Likewise.
11045         * stdlib/tst-environ.c: Likewise.
11046         * stdlib/tst-fmtmsg.c: Likewise.
11047         * stdlib/tst-limits.c: Likewise.
11048         * stdlib/tst-rand48-2.c: Likewise.
11049         * stdlib/tst-rand48.c: Likewise.
11050         * stdlib/tst-random2.c: Likewise.
11051         * stdlib/tst-random.c: Likewise.
11052         * stdlib/tst-strtol.c: Likewise.
11053         * stdlib/tst-strtoll.c: Likewise.
11054         * stdlib/tst-tls-atexit.c: Likewise.
11055         * stdlib/tst-xpg-basename.c: Likewise.
11056         * string/test-ffs.c: Likewise.
11057         * string/tst-bswap.c: Likewise.
11058         * string/tst-inlcall.c: Likewise.
11059         * string/tst-strtok.c: Likewise.
11060         * string/tst-strxfrm.c: Likewise.
11061         * sysdeps/x86_64/tst-audit10.c: Likewise.
11062         * sysdeps/x86_64/tst-audit3.c: Likewise.
11063         * sysdeps/x86_64/tst-audit4.c: Likewise.
11064         * sysdeps/x86_64/tst-audit5.c: Likewise.
11065         * time/tst-ftime_l.c: Likewise.
11066         * time/tst-getdate.c: Likewise.
11067         * time/tst-mktime3.c: Likewise.
11068         * time/tst-mktime.c: Likewise.
11069         * time/tst-posixtz.c: Likewise.
11070         * time/tst-strptime2.c: Likewise.
11071         * time/tst-strptime3.c: Likewise.
11072         * wcsmbs/tst-btowc.c: Likewise.
11073         * wcsmbs/tst-mbrtowc.c: Likewise.
11074         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11075         * wcsmbs/tst-wchar-h.c: Likewise.
11076         * wcsmbs/tst-wcpncpy.c: Likewise.
11077         * wcsmbs/tst-wcrtomb.c: Likewise.
11078         * wcsmbs/tst-wcsnlen.c: Likewise.
11079         * wcsmbs/tst-wcstof.c: Likewise.
11081 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11083         [BZ #14132]
11084         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11085         INTDEF.
11086         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11087         declaration.
11088         (_dl_mcount): Use rtld_hidden_proto.
11089         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11090         _dl_mcount.
11091         * elf/rtld.c (_rtld_global_ro): Likewise.
11093         [BZ #14132]
11094         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11095         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11096         of _dl_init_internal.
11097         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11098         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11099         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11100         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11101         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11102         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11103         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11104         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11105         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11106         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11107         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11108         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11109         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11110         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11111         * sysdeps/tile/dl-start.S (_start): Likewise.
11112         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11113         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11115         [BZ #14132]
11116         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11117         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11118         (rtld_progname): Make macro definition unconditional.
11119         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11120         INTDEF.
11121         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11122         (dl_main): Likewise.
11123         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11124         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11125         instead of _dl_argv_internal.
11126         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11127         __GI__dl_argv instead of INTUSE(_dl_argv).
11128         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11129         __GI__dl_argv instead of _dl_argv_internal.
11131         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11132         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11133         macro.
11134         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11135         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11136         New macro.
11137         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11138         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11139         macro.
11140         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11141         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11143 2014-11-04  Andreas Schwab  <schwab@suse.de>
11145         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11147 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11149         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11150         mtvsrd instruction in binary form.
11152 2014-11-03  Andreas Schwab  <schwab@suse.de>
11154         [BZ #17522]
11155         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11156         for less than MB_LEN_MAX use a local buffer of that size.
11157         * libio/tst-fputws.c: New file.
11158         * libio/Makefile (tests): Add tst-fputws.
11160 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11162         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11163         the size of the fpu_fr.fpu_dregs[] array.
11165 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11167         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11168         (__nanosleep): Do not define as alias.
11169         (nanosleep): Define as alias of __nanosleep.
11170         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11171         __libc_nanosleep name.
11173 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11175         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11176         install.texi in comment.
11178 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11180         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11181         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11182         ... add here and use lwsync or sync ...
11183         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11184         ... and add here using lwsync.
11186 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11188         * elf/dl-machine-reject-phdr.h: New file.
11189         * elf/dl-load.c: #include that.
11190         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11191         if that returned true.
11193 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11195         [BZ #17496]
11196         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11197         gen-as-const-headers chunk.  Add a big scare comment after the last
11198         safe place to touch before-compile.
11200 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11202         * manual/install.texi (Tools for Compilation): Update autoconf
11203         version requirements.
11204         * INSTALL: Regenerated.
11206         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11207         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11208         (__libc_pselect): Likewise.
11210         [BZ #14138]
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11216 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11218         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11219         correct barrier instruction.
11220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11221         Likewise.
11222         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11223         Likewise.
11225 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11227         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11228         after defining inlines.  Instead, just use parens to defeat macro
11229         expansion of __isctype in its declaration.
11231 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11233         * include/sys/uio.h (__libc_readv): Remove declaration.
11234         (__libc_writev): Likewise.
11235         * misc/readv.c (__libc_readv): Rename to __readv.
11236         (__readv): Do not define as alias.
11237         (readv): Define as alias of __readv.
11238         * misc/writev.c (__libc_writev): Rename to __writev.
11239         (__writev): Do not define as alias.
11240         (writev): Define as alias of __writev.
11241         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11242         (__readv): Do not define as alias.
11243         (readv): Define unconditionally as alias of __readv.
11244         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11245         (__writev): Do not define as alias.
11246         (writev): Define unconditionally as alias of __writev.
11247         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11248         name.
11249         (writev): Do not define __libc_writev name.
11251 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11253         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11254         (convert_charseq): New function, broken out of ...
11255         (use_from_charmap): ... here.  Call it.
11256         (use_to_charmap): Use convert_charseq and free instead of duplicating
11257         its code with a variable-length stack struct.
11259 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11261         * include/fcntl.h (__libc_creat): Remove declaration.
11262         * io/creat.c (__libc_creat): Rename to creat.
11263         (creat): Do not define as alias.
11264         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11265         of creat instead of __libc_creat.
11266         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11267         to creat.
11268         (creat): Do not define as alias.
11269         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11270         __libc_creat.
11271         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11272         __libc_creat name.
11273         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11274         Likewise.
11276 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11278         * manual/llio.texi: Add comments discussing why write() may be
11279         considered MT-unsafe on Linux.
11281 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11283         * dl-load.c (local_strdup): Remove.
11284         (expand_dynamic_string_token): Use __strdup.
11285         (decompose_rpath): Likewise.
11286         (_dl_map_object): Likewise.
11288 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11290         [BZ #14132]
11291         * sysdeps/generic/unwind-dw2-fde.c
11292         (__register_frame_info_bases_internal): Do not declare.
11293         (__register_frame_info_table_bases_internal): Likewise.
11294         (__deregister_frame_info_bases_internal): Likewise.
11295         (__register_frame_info_bases): Declare and use hidden_proto before
11296         definition.  Use hidden_def instead of INTDEF.
11297         (__register_frame_info_table_bases): Likewise.
11298         (__deregister_frame_info_bases): Likewise.
11299         (__register_frame_info): Do not use INTUSE.
11300         (__register_frame): Likewise.
11301         (__register_frame_info_table): Likewise.
11302         (__register_frame_table): Likewise.
11303         (__deregister_frame_info): Likewise.
11304         (__deregister_frame): Likewise.
11306 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11308         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11309         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11310         not undefine.
11311         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11312         Likewise.
11313         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11314         Likewise.
11316 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11318         [BZ #14138]
11319         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11320         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11321         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11322         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11323         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11324         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11325         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11326         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11327         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11328         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11329         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11330         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11331         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11332         syscall.
11333         (setfsuid): Likewise.
11334         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11335         (setfsuid): Likewise.
11336         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11337         (setfsuid): Likewise.
11338         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11339         Likewise.
11340         (setfsuid): Likewise.
11341         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11342         (setfsuid): Likewise.
11343         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11344         Likewise.
11345         (setfsuid): Likewise.
11347 2014-10-27  Andreas Schwab  <schwab@suse.de>
11349         [BZ #17501]
11350         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11351         check for Slow_SSE4_2 feature bit.
11352         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11353         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11354         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11355         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11357 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11359         * configure.ac: Validate compiler version with a empirical test of
11360         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11361         $CC -v output.
11362         * configure: Regenerated.
11364         * inet/htons.c (htons): Prototypify.
11365         * inet/htonl.c (htonl): Likewise.
11367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11369         * string/strncat.c (strncat): Improve performance by using strlen.
11371 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11373         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11375 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11377         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11378         Call libc_fetestexcept_aarch64.
11380 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11382         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11383         Call libc_feholdexcept_aarch64.
11385 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11387         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11388         Call get_rounding_mode.
11390 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11392         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11393         Simplify logic.
11395 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11397         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11398         Simplify logic.
11400 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11402         [BZ #14138]
11403         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11404         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11405         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11406         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11407         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11408         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11409         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11410         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11411         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11412         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11413         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11414         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11415         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11416         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11417         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11418         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11419         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11420         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11421         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11422         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11423         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11424         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11425         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11426         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11427         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11428         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11429         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11430         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11431         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11432         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11433         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11434         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11435         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11436         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11437         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11438         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11439         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11440         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11441         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11442         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11443         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11444         syscall.
11445         (geteuid): Likewise.
11446         (getgid): Likewise.
11447         (getuid): Likewise.
11448         (getresgid): Likewise.
11449         (getresuid): Likewise.
11450         (getgroups): Likewise.
11451         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11452         (geteuid): Likewise.
11453         (getgid): Likewise.
11454         (getuid): Likewise.
11455         (getresgid): Likewise.
11456         (getresuid): Likewise.
11457         (getgroups): Likewise.
11458         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11459         (geteuid): Likewise.
11460         (getgid): Likewise.
11461         (getuid): Likewise.
11462         (getresgid): Likewise.
11463         (getresuid): Likewise.
11464         (getgroups): Likewise.
11465         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11466         Likewise.
11467         (geteuid): Likewise.
11468         (getgid): Likewise.
11469         (getuid): Likewise.
11470         (getresgid): Likewise.
11471         (getresuid): Likewise.
11472         (getgroups): Likewise.
11473         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11474         (geteuid): Likewise.
11475         (getgid): Likewise.
11476         (getuid): Likewise.
11477         (getresgid): Likewise.
11478         (getresuid): Likewise.
11479         (getgroups): Likewise.
11480         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11481         Likewise.
11482         (geteuid): Likewise.
11483         (getgid): Likewise.
11484         (getuid): Likewise.
11485         (getgroups): Likewise.
11487         [BZ #14138]
11488         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11489         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11490         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11491         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11492         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11493         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11494         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11495         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11496         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11497         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11498         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11499         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11500         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11501         __chown.
11502         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11503         (lchown): Likewise.
11504         (fchown): Likewise.
11505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11506         Likewise.
11507         (lchown): Likewise.
11508         (fchown): Likewise.
11509         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11510         (lchown): Likewise.
11511         (fchown): Likewise.
11512         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11513         Likewise.
11514         (lchown): Likewise.
11515         (fchown): Likewise.
11517 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11519         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11520         Simplify logic.
11522 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11524         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11525         Cleanup logic.
11527 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11529         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11530         Remove unused include.
11532 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11534         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11535         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11536         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11537         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11539 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11540             Helge Deller <deller@gmx.de>
11542         [BZ #17508]
11543         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11544         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11545         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11547 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11549         [BZ #14132]
11550         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11551         Remove macro definition.
11552         (__ashrdi3_v_glibc20): Likewise.
11553         (__lshrdi3_v_glibc20): Likewise.
11554         (__cmpdi2_v_glibc20): Likewise.
11555         (__ucmpdi2_v_glibc20): Likewise.
11556         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11557         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11558         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11559         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11560         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11561         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11563 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11565         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11566         old GNU extension [0] syntax.
11567         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11568         alloca rather than an array member with variable length.
11569         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11570         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11571         (parse_opt): ... here.  Likewise use alloca there.
11572         Validate the -i argument before checking for rootness.
11573         (send_shutdown): New function, broken out of ...
11574         (parse_opt): ... here.
11576 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11578         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11579         macro to get at the _rt_local_ro field.
11580         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11581         ([PIC] case) or _dl_hwcap ([!PIC] case).
11582         * sysdeps/arm/setjmp.S: Likewise.
11584         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11585         * sysdeps/arm/configure.ac: New check to define it.
11586         * sysdeps/arm/configure: Regenerated.
11587         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11588         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11589         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11590         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11591         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11592         Use move/movt pair instead of a load.
11593         (LDST_GLOBAL): Macro removed.
11594         (LDR_GLOBAL): New macro replaces it.
11595         (LDR_HIDDEN): New macro.
11596         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11597         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11599         * setjmp/tst-setjmp-static.c: New file.
11600         * setjmp/Makefile (tests): Add it.
11601         (tests-static): New variable.
11603 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11605         [BZ #17485]
11606         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11608 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11610         [BZ #14132]
11611         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11613 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11615         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11617 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11619         * io/fts.c (dirent_not_directory): New function.
11620         (fts_build): Call it.
11622 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11624         * nptl/version.c (__nptl_main): Use normal __write rather than
11625         INTERNAL_SYSCALL.
11626         (banner): Update copyright years.
11628         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11629         gettimeofday.
11630         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11631         * nptl/pthread_cond_timedwait.c: Likewise.
11632         * nptl/pthread_mutex_timedlock.c: Likewise.
11633         * nptl/sem_timedwait.c: Likewise.
11635         * sysdeps/nptl/bits/libc-lock.h
11636         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11637         (__libc_lock_init_recursive): Return void, not 0.
11638         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11639         (__libc_rwlock_init): Likewise.
11640         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11642 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11644         [BZ #15215]
11645         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11646         (__pthread_once_slow): ... here.
11647         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11648         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11650 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11652         [BZ #15215]
11653         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11654         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11655         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11656         * nptl/pthread_once.c (__pthread_once): Likewise.
11657         Update comments.
11659 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11661         [BZ #14138]
11662         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11663         name.
11664         (writev): Use __libc_writev as strong name.
11665         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11666         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11668 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11670         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11672         * sysdeps/i386/nptl/tls.h
11673         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11674         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11675         New macros.
11676         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11677         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11678         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11679         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11680         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11681         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11683         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11684         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11685         on [__NR_futex].
11686         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11687         broken out of ...
11688         (__pthread_mutex_init): ... here.  Call it.
11689         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11690         Conditionalize PI cases on [__NR_futex].
11691         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11692         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11693         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11695         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11696         conditional on [SIGSETXID].
11697         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11698         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11699         is defined.  Likewise for SIGSETXID.
11700         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11701         Conditionalize definitions on [SIGSETXID].
11702         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11703         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11704         unblocking on [SIGCANCEL].
11706         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11707         [__NR_set_robust_list].
11709 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11711         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11712         (do_compare): Likewise.
11714 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11716         [BZ #15884]
11717         * string/strcoll_l.c: Don't include stdio.h.
11718         (coll_seq): Remove members idxarr and rulearr.
11719         (get_next_seq_cached): Remove function.
11720         (get_next_seq): Likewise.
11721         (get_next_seq_nocache): Rename to get_next_seq.
11722         (do_compare): Remove function.
11723         (do_compare_nocache): Rename to do_compare.
11724         (STRCOLL): Remove weight and rules cache.
11726 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11728         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11729         * sysdeps/arm/sfp-machine.h: ... to here.
11730         * sysdeps/arm/Implies: Remove arm/soft-fp.
11732 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11734         * conform/data/sys/utsname.h-data (*_t): Allow.
11735         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11736         [POSIX] (WEXITED): Do not expect constant.
11737         [POSIX] (WSTOPPED): Likewise.
11738         [POSIX] (WNOHANG): Likewise.
11739         [POSIX] (WNOWAIT): Likewise.
11740         [POSIX] (siginfo_t): Do not expect type or elements.
11741         [POSIX] (pid_t): Do not expect type.
11742         [POSIX] (signal.h): Do not allow header.
11743         [POSIX] (sys/resource.h): Likewise.
11744         [POSIX] (si_*): Do not allow pattern.
11745         [POSIX] (W*): Likewise.
11746         [POSIX] (P_*): Likewise.
11747         [POSIX] (BUS_*): Likewise.
11748         [POSIX] (CLD_*): Likewise.
11749         [POSIX] (FPE_*): Likewise.
11750         [POSIX] (ILL_*): Likewise.
11751         [POSIX] (POLL_*): Likewise.
11752         [POSIX] (SEGV_*): Likewise.
11753         [POSIX] (SI_*): Likewise.
11754         [POSIX] (TRAP_*): Likewise.
11755         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11756         variable.
11758 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11760         [BZ #12926]
11761         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11762         infinite loop when __recvmsg returns 0.
11764 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11766         * CANCEL-FCT-WAIVE: Remove file.
11767         * CANCEL-FILE-WAIVE: Likewise.
11769         [BZ #14132]
11770         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11771         instead of INTVARDEF.
11772         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11773         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11774         rtld_hidden_data_def instead of INTVARDEF.
11775         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11776         * elf/dl-deps.c (expand_dst): Likewise.
11777         * elf/dl-load.c (_dl_dst_count): Likewise.
11778         (_dl_dst_substitute): Likewise.
11779         (decompose_rpath): Likewise.
11780         (_dl_init_paths): Likewise.
11781         (open_path): Likewise.
11782         (_dl_map_object): Likewise.
11783         * elf/rtld.c (dl_main): Likewise.
11784         (process_dl_audit): Likewise.
11785         (process_envvars): Likewise.
11786         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11787         Remove declaration.
11788         (__libc_enable_secure): Use rtld_hidden_proto.
11790 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11792         * elf/dl-load.c
11793         (add_path): New function broken out of _dl_rtld_di_serinfo.
11794         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11796 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11798         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11799         parentheses around macro arguments.
11800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11801         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11803         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11804         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11805         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11808         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11809         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11811         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11812         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11813         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11814         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11815         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11816         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11821         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11822         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11823         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11825         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11826         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11827         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11829         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11830         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11831         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11832         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11833         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11834         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11835         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11836         Likewise.
11837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11838         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11840         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11841         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11842         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11844         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11845         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11846         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11847         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11848         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11849         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11850         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11857         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11858         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11859         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11860         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11861         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11862         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11863         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11864         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11865         (_FP_FRAC_SRS_1): Likewise.
11866         (_FP_FRAC_CLZ_1): Likewise.
11867         (_FP_MUL_MEAT_1_imm): Likewise.
11868         (_FP_MUL_MEAT_1_wide): Likewise.
11869         (_FP_MUL_MEAT_1_hard): Likewise.
11870         (_FP_SQRT_MEAT_1): Likewise.
11871         (_FP_FRAC_ASSEMBLE_1): Likewise.
11872         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11873         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11874         (__FP_CLZ_2): Likewise.
11875         (_FP_MUL_MEAT_2_wide): Likewise.
11876         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11877         (_FP_MUL_MEAT_2_gmp): Likewise.
11878         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11879         (_FP_SQRT_MEAT_2): Likewise.
11880         (_FP_FRAC_ASSEMBLE_2): Likewise.
11881         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11882         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11883         (_FP_FRAC_CLZ_4): Likewise.
11884         (_FP_MUL_MEAT_4_wide): Likewise.
11885         (_FP_MUL_MEAT_4_gmp): Likewise.
11886         (_FP_SQRT_MEAT_4): Likewise.
11887         (_FP_FRAC_ASSEMBLE_4): Likewise.
11888         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11889         * soft-fp/op-common.h (_FP_CMP): Likewise.
11890         (_FP_CMP_EQ): Likewise.
11891         (_FP_CMP_UNORD): Likewise.
11892         (_FP_TO_INT): Likewise.
11893         (_FP_FROM_INT): Likewise.
11894         [!__FP_CLZ] (__FP_CLZ): Likewise.
11895         (_FP_DIV_HELP_imm): Likewise.
11896         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11897         Likewise.
11898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11899         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11901         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11902         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11903         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11906         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11907         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11908         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11909         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11910         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11911         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11912         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11913         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11914         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11917         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11919         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11922         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11924         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11925         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11926         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11927         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11928         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11929         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11930         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11931         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11932         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11933         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11934         (FP_UNPACK_RAW_SP): Likewise.
11935         (FP_PACK_RAW_S): Likewise.
11936         (FP_PACK_RAW_SP): Likewise.
11937         (FP_UNPACK_S): Likewise.
11938         (FP_UNPACK_SP): Likewise.
11939         (FP_UNPACK_SEMIRAW_S): Likewise.
11940         (FP_UNPACK_SEMIRAW_SP): Likewise.
11941         (FP_PACK_S): Likewise.
11942         (FP_PACK_SP): Likewise.
11943         (FP_PACK_SEMIRAW_S): Likewise.
11944         (FP_PACK_SEMIRAW_SP): Likewise.
11945         (_FP_SQRT_MEAT_S): Likewise.
11946         (FP_CMP_S): Likewise.
11947         (FP_CMP_EQ_S): Likewise.
11948         (FP_CMP_UNORD_S): Likewise.
11949         (FP_TO_INT_S): Likewise.
11950         (FP_FROM_INT_S): Likewise.
11952         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11954         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11955         (FP_EX_INVALID_IMZ): Likewise.
11956         (FP_EX_INVALID_IMZ_FMA): Likewise.
11957         (FP_EX_INVALID_ISI): Likewise.
11958         (FP_EX_INVALID_ZDZ): Likewise.
11959         (FP_EX_INVALID_IDI): Likewise.
11960         (FP_EX_INVALID_SQRT): Likewise.
11961         (FP_EX_INVALID_CVI): Likewise.
11962         (FP_EX_INVALID_VC): Likewise.
11963         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11964         "invalid" exceptions.
11965         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11966         (_FP_ADD_INTERNAL): Likewise.
11967         (_FP_MUL): Likewise.
11968         (_FP_FMA): Likewise.
11969         (_FP_DIV): Likewise.
11970         (_FP_CMP_CHECK_NAN): Likewise.
11971         (_FP_SQRT): Likewise.
11972         (_FP_TO_INT): Likewise.
11973         (FP_EXTEND): Likewise.
11975 2014-10-09  Allan McRae  <allan@archlinux.org>
11977         * po/fr.po: Update French translation from translation project.
11979 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11981         [BZ #14132]
11982         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11983         of INTDEF.
11984         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11985         (__cxa_atexit): Use libc_hidden_proto.
11986         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11988         [BZ #14132]
11989         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11990         declaration.
11991         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11992         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11993         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11994         [!_ISOMAC] (__iswctype_internal): Likewise.
11995         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11996         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11997         alias.
11998         (fcntl): Remove __fcntl_internal alias.
11999         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12000         __connect_internal alias.
12001         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12002         Likewise.
12004         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12005         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12006         FP_DENORM_ZERO.
12007         (_FP_CHECK_FLUSH_ZERO): New macro.
12008         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12009         (_FP_CMP): Likewise.
12010         (_FP_CMP_EQ): Likewise.
12011         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12012         FP_DENORM_ZERO.
12013         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12014         (FP_TRUNC): Likewise.
12016         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12017         treated as invalid conversion, not as normal exponent.
12019         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12020         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12021         (_FP_CMP_EQ): Likewise.
12022         (_FP_CMP_UNORD): Likewise.
12023         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12024         (FP_CMP_EQ_D): Likewise.
12025         (FP_CMP_UNORD_D): Likewise.
12026         * soft-fp/extended.h (FP_CMP_E): Likewise.
12027         (FP_CMP_EQ_E): Likewise.
12028         (FP_CMP_UNORD_E): Likewise.
12029         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12030         (FP_CMP_EQ_Q): Likewise.
12031         (FP_CMP_UNORD_Q): Likewise.
12032         * soft-fp/single.h (FP_CMP_S): Likewise.
12033         (FP_CMP_EQ_S): Likewise.
12034         (FP_CMP_UNORD_S): Likewise.
12035         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12036         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12037         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12038         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12039         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12040         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12041         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12042         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12043         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12044         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12045         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12046         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12047         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12048         to FP_CMP_Q.
12049         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12050         FP_CMP_Q.
12051         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12052         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12053         FP_CMP_EQ_Q.
12054         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12055         FP_CMP_Q.
12056         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12057         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12058         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12059         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12060         FP_CMP_EQ_Q.
12061         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12062         FP_CMP_Q.
12063         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12064         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12065         FP_CMP_EQ_Q.
12066         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12067         FP_CMP_Q.
12068         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12069         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12070         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12071         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12072         FP_CMP_EQ_Q.
12074         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12075         a subnormal result, set the underflow exception if trapping on
12076         underflow is enabled.
12077         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12078         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12079         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12080         redefine to 0.
12081         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12082         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12083         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12084         * soft-fp/extendxftf2.c (__extendxftf2): Use
12085         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12087         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12088         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12089         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12090         FP_HANDLE_EXCEPTIONS.
12091         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12092         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12093         FP_HANDLE_EXCEPTIONS.
12094         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12095         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12096         FP_HANDLE_EXCEPTIONS.
12097         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12098         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12099         FP_HANDLE_EXCEPTIONS.
12101 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12103         [BZ #14132]
12104         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12105         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12106         use INTUSE.
12107         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12108         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12109         Remove alias.
12110         (__adjtimex): Define using libc_hidden_ver.
12111         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12112         Remove declaration.
12113         (ntp_gettime): Call __adjtimex directly.
12114         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12115         Remove declaration.
12116         (ntp_gettimex): Call __adjtimex directly.
12117         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12118         __adjtimex_internal alias.
12120 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12122         [BZ #17460]
12123         * nscd/nscd.c (more_help): Rewrite list of tables collection
12124         using xstrdup and asprintf.
12126         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12128 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12129             Roland McGrath  <roland@hack.frob.com>
12131         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12132         (do_lookup_unique): ... local function 'enter' here; update callers.
12134 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12136         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12137         compat_symbol calls on [SHARED].
12138         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12139         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12140         Remove.
12141         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12142         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12143         (oldsetrlimit): Remove.
12144         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12146         (lchown): New syscall entry.
12147         (oldsetrlimit): Remove.
12148         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12150         (oldsetrlimit): Remove.
12151         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12153         [BZ #14138]
12154         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12155         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12156         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12157         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12158         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12159         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12160         (fchown): Likewise.
12161         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12162         (fchown): Likewise.
12163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12164         Likewise.
12166 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12168         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12169         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12170         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12171         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12172         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12173         Likewise.
12174         (__old_sem_post): Likewise.
12176 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12178         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12179         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12180         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12181         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12182         Use INLINE_VSYSCALL macro.
12183         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12184         __vdso_clock_gettime.
12185         * sysdeps/unix/sysv/linux/tile/init-first.c
12186         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12187         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12188         __vdso_clock_gettime.
12190         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12191         to set up frame more cleanly.
12193         * sysdeps/tile/memcmp.c: New file.
12195         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12197         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12198         * sysdeps/tile/tilegx/strcasestr.c: New file.
12199         * sysdeps/tile/tilegx/strnlen.c: New file.
12200         * sysdeps/tile/tilegx/strstr.c: New file.
12202         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12204 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12206         * nptl/tst-setuid3.c: Write errors to stdout.
12208 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12210         * elf/dl-deps.c
12211         (preload): New functions broken out of _dl_map_object_deps.
12212         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12214 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12216         [BZ #14138]
12217         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12218         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12220 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12222         * sysdeps/mips/strcmp.S: New.
12224 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12226         [BZ #14138]
12227         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12228         (linkat): Likewise.
12229         (mkdirat): Likewise.
12230         (readlinkat): Likewise.
12231         (renameat): Likewise.
12232         (symlinkat): Likewise.
12233         (unlinkat): Likewise.
12234         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12235         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12236         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12237         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12238         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12239         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12240         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12242 2014-09-30  Will Newton  <will.newton@linaro.org>
12244         * math/math.h: Define long double math functions if
12245         _LIBC_TEST is defined.
12246         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12248         * localedata/Makefile: Move assignment to tests-special
12249         into an ifdef testing run-built-tests.
12250         * timezone/Makefile: Likewise.
12252 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12254         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12255         with $(BASH) not $(SHELL).
12257 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12258             Matthew LeGendre  <legendre1@llnl.gov>
12260         [BZ #17411]
12261         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12262         l_reloc_result.
12264 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12266         * stdio-common/printf_fp.c
12267         (hack_digit): New function, broken out of ...
12268         (__printf_fp): ... local function here.  Update call sites.
12269         hack_digit now takes an additional parameter that is a pointer
12270         to a struct of the referenced locals.  Those locals moved inside
12271         the struct and references updated.
12273 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12275         * aclocal.m4: Require autoconf 2.69.
12276         * configure: Regenerated.
12277         * sysdeps/aarch64/configure: Likewise.
12278         * sysdeps/alpha/configure: Likewise.
12279         * sysdeps/arm/armv7/configure: Likewise.
12280         * sysdeps/arm/configure: Likewise.
12281         * sysdeps/ia64/configure: Likewise.
12282         * sysdeps/mach/configure: Likewise.
12283         * sysdeps/mips/configure: Likewise.
12284         * sysdeps/s390/configure: Likewise.
12285         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12288         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12289         file.
12290         * sysdeps/ia64/configure.ac: Likewise.
12292 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12295         specify symbol version for ld.so.  Do not include entry for
12296         libpthread.
12297         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12298         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12299         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12301         [BZ #14171]
12302         * Makeconfig [$(build-shared) = yes]
12303         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12304         makefiles.
12305         [$(build-shared) = yes && $(soversions.mk-done) = t]
12306         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12307         [$(build-shared) = yes && $(soversions.mk-done) = t]
12308         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12309         to Makerules.
12310         [$(build-shared) = yes && $(soversions.mk-done) = t]
12311         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12312         here.
12313         [$(build-shared) = yes && $(soversions.mk-done) = t]
12314         (common-generated): Don't append gnu/lib-names.h and
12315         gnu/lib-names.stmp here.
12316         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12317         (lib-names-h-abi): New variable.
12318         [$(build-shared) = yes && $(soversions.mk-done) = t]
12319         (lib-names-stmp-abi): Likewise.
12320         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12321         abi-variants] (before-compile): Append
12322         $(common-objpfx)$(lib-names-h-abi).
12323         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12324         abi-variants] (common-generated): Append gnu/lib-names.h.
12325         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12326         abi-variants] (install-others-nosubdir): Depend on
12327         $(inst_includedir)/$(lib-names-h-abi).
12328         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12329         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12330         [$(build-shared) = yes && $(soversions.mk-done) = t]
12331         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12332         [$(build-shared) = yes && $(soversions.mk-done) = t]
12333         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12334         [$(build-shared) = yes && $(soversions.mk-done) = t]
12335         (common-generated): Append $(lib-names-h-abi) and
12336         $(lib-names-stmp-abi).
12337         * scripts/lib-names.awk: Do not handle multi being set.
12338         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12339         Remove variable.
12340         (abi-lp64_be-ld-soname): Likewise.
12341         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12342         Likewise.
12343         (abi-hard-ld-soname): Likewise.
12344         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12345         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12346         Remove variable.
12347         (abi-o32_hard-ld-soname): Likewise.
12348         (abi-o32_soft_2008-ld-soname): Likewise.
12349         (abi-o32_hard_2008-ld-soname): Likewise.
12350         (abi-n32_soft-ld-soname): Likewise.
12351         (abi-n32_hard-ld-soname): Likewise.
12352         (abi-n32_soft_2008-ld-soname): Likewise.
12353         (abi-n32_hard_2008-ld-soname): Likewise.
12354         (abi-n64_soft-ld-soname): Likewise.
12355         (abi-n64_hard-ld-soname): Likewise.
12356         (abi-n64_soft_2008-ld-soname): Likewise.
12357         (abi-n64_hard_2008-ld-soname): Likewise.
12358         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12359         Likewise.
12360         (abi-64-v2-ld-soname): Likewise.
12361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12362         ld.so entries.
12363         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12364         variable.
12365         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12366         entry.
12367         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12368         variable.
12369         (abi-64-ld-soname): Likewise.
12370         (abi-x32-ld-soname): Likewise.
12371         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12372         entry.
12373         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12375 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12377         [BZ #14138]
12378         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12379         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12380         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12381         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12382         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12383         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12384         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12385         syscall entry for GLIBC_2.2 symbol version.
12386         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12387         Likewise.
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12389         (setrlimit): Likewise.
12390         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12391         Likewise.
12393 2014-09-23  Will Newton  <will.newton@linaro.org>
12395         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12396         _LINUX_ARM_SYSDEP_H include guard too.
12397         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12398         define.
12400 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12402         * sysdeps/unix/sysv/linux/eventfd.c:
12403         Make first argument unsigned.
12404         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12405         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12407 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12409         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12410         * socket/sys/socket.h: Likewise
12411         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12413 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12415         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12417 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12419         * time/tst-ftime.c: New test.
12420         * time/Makefile (tests): Add tst-ftime.
12422 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12424         * soft-fp/extended.h: Fix comment formatting.
12425         * soft-fp/op-1.h: Likewise.
12426         * soft-fp/op-2.h: Likewise.
12427         * soft-fp/op-4.h: Likewise.
12428         * soft-fp/op-8.h: Likewise.
12429         * soft-fp/op-common.h: Likewise.
12430         * soft-fp/soft-fp.h: Likewise.
12432         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12434 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12436         [BZ #6652]
12437         * Makeconfig (soversions-default-setname): Remove variable.
12438         ($(common-objpfx)soversions.i): Don't pass default_setname to
12439         soversions.awk.
12440         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12441         oldest_abi to abi-versions.awk.
12442         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12443         * config.make.in (oldest-abi): Remove variable.
12444         * configure.ac (--enable-oldest-abi): Remove configure option.
12445         * configure: Regenerated.
12446         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12447         text.
12448         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12449         * scripts/soversions.awk: Do not handle default_setname variable.
12450         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12451         variable.
12452         * sysdeps/mach/hurd/configure: Regenerated.
12453         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12454         variable.
12455         * sysdeps/unix/sysv/linux/configure: Regenerated.
12457 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12459         * elf/Makefile (CFLAGS-interp.c): Remove.
12460         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12461         path string.
12462         * elf/interp.c: Include generated runtime-linker.h
12464         * Makerules (lib%.so): Don't include $(+interp) in
12465         prerequisites.
12466         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12467         * dlfcn/eval.c: Remove file.
12469         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12470         macros.
12472         [BZ #17266]
12473         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12474         4.2 and newer.
12476         [BZ #17370]
12477         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12479 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12480             Jakub Jelinek  <jakub@redhat.com>
12482         [BZ #17266]
12483         * libio/stdio.h: Check definition of __fortify_function
12484         instead of __extern_always_inline to include bits/stdio2.h.
12485         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12486         check if __extern_always_inline is defined.
12487         [__USE_MISC || __USE_XOPEN]: Likewise.
12488         [__USE_ISOC99] Likewise.
12489         * misc/sys/cdefs.h (__fortify_function): Define only if
12490         __extern_always_inline is defined.
12491         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12492         __extern_always_inline and __extern_inline only for g++-4.3
12493         and newer or a compatible gcc.
12495 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12497         [BZ #17371]
12498         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12499         last change to handle zero prefix length.
12501 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12503         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12504         _SC_REGEX_VERSION.
12506         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12507         _POSIX_RAW_SOCKETS.
12509 2014-09-13  Allan McRae  <allan@archlinux.org>
12511         * po/ru.po: Update Russian translation from translation project.
12513 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12515         * locale/programs/locale.c (show_locale_vars): Inline local function
12516         into its sole call site.  Clean up some style nits.
12517         (print_item): New function, broken out of ...
12518         (show_info): ... local function here.  Clean up style nits.
12520         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12521         out of ...
12522         (set_class_defaults): ... local function set_default here.
12523         Define set_default as a macro locally to pass constant parameters.
12524         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12525         rather than a shared local.
12527         * stdlib/rpmatch.c (try): New function, broken out of ...
12528         (rpmatch): ... local function here.  Also, prototypify definition.
12530 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12532         * scripts/soversions.awk: Do not handle configuration names.
12533         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12534         vendor and os variables to soversions.awk.
12535         * configure.ac: Do not modify gnu-* host_os.
12536         * configure: Regenerated
12537         * shlib-versions: Remove first column with configuration names.
12538         * nptl/shlib-versions: Likewise.
12539         * nptl_db/shlib-versions: Likewise.
12540         * sysdeps/hppa/shlib-versions: Likewise.
12541         * sysdeps/m68k/shlib-versions: Likewise.
12542         * sysdeps/mach/hurd/shlib-versions: Likewise.
12543         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12544         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12545         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12546         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12547         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12548         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12549         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12550         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12552         Likewise.
12553         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12554         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12555         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12556         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12557         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12558         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12559         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12560         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12563         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12565         Regenerated.
12566         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12568         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12570         * shlib-versions: Remove OS-specific entries.  Moved to files in
12571         sysdeps.
12572         * sysdeps/mach/hurd/shlib-versions: New file.
12573         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12575         * nptl/shlib-versions: Remove architecture-specific entries.
12576         Moved to files in sysdeps.
12577         * shlib-versions: Likewise.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12579         file.
12580         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12581         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12582         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12583         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12585         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12586         (UDP_NO_CHECK6_RX): Likewise.
12588 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12590         * sysdeps/posix/sysconf.c (__sysconf): Spell
12591         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12593 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12595         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12596         loading.
12597         * iconv/Versions (__gconv_transliterate): Export for use from
12598         gconv modules.
12599         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12600         (struct __gconv_trans_data, __gconv_trans_fct,
12601         __gconv_trans_context_fct, __gconv_trans_query_fct,
12602         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12603         definitions.
12604         (struct __gconv_step_data): Remove __trans member.
12605         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12606         longer hidden.  Remove unused trans_data argument.
12607         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12608         (__gconv_translit_find): Remove declaration.
12609         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12610         prototype.
12611         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12612         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12613         trans_data argument.  Add hidden definition.
12614         (__gconv_translit_find): Remove.
12615         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12616         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12617         * iconv/skeleton.c: Remove transliteration initialization.
12618         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12619         __gconv_step_data initialization.
12620         * libio/iofwide.c (__libio_translit_): Remove.
12621         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12622         * wcsmbs/btowc.c (__btowc): Likewise.
12623         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12624         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12625         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12626         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12627         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12628         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12629         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12630         * wcsmbs/wctob.c (wctob): Likewise.
12632 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12634         [BZ #16194]
12635         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12636         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12637         register usage.
12638         * sysdeps/x86/Makefile: Adjust.
12640 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12641             Roland McGrath  <roland@hack.frob.com>
12643         * locale/weight.h: Add include guard.
12644         (findidx): Make static rather than auto; take new parameters
12645         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12646         * locale/weightwc.h: Likewise.
12647         * posix/fnmatch_loop.c
12648         (FCT): Change type of EXTRA from int32_t to wint_t.
12649         Don't include either header inside the function.
12650         Call FINDIDX rather than findidx, and pass new arguments.
12651         #undef FINDIDX at the end of the file.
12652         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12653         FINDIDX before including fnmatch_loop.c for the non-wide version.
12654         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12655         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12656         for the wide version.
12657         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12658         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12659         Pass new arguments to findidx.
12660         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12661         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12662         Don't #include it inside the function.  Pass new arguments to findidx.
12663         * posix/regex_internal.h
12664         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12665         (re_string_elem_size_at): Don't #include it inside the function.
12666         Pass new arguments to findidx.
12667         * string/strcoll_l.c: #include WEIGHT_H at top level.
12668         (get_next_seq): Don't #include it inside the function.
12669         Pass new arguments to findidx.
12670         (get_next_seq_nocache): Likewise.
12671         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12672         (STRXFRM): Don't #include it inside the function.
12673         Pass new arguments to findidx.
12675 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12677         [BZ #17344]
12678         * malloc/malloc.c (unlink): Turn asserts into a call to
12679         malloc_printerr.
12681 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12683         [BZ #17370]
12684         * libio/wfileops (do_ftell_wide): Free OUT.
12686 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12688         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12690 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12692         [BZ #17363]
12693         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12694         group if the current group is empty.
12696 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12698         * benchtests/bench-memset.c (test_main): Add more test from size
12699         from 32 to 512 bytes.
12700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12701         Add POWER8 memset object.
12702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12703         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12704         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12705         implementation.
12706         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12707         Likewise.
12708         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12709         multiarch POWER8 memset optimization.
12710         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12711         POWER8 memset optimization.
12713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12714         Remove bzero multiarch objects.
12715         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12716         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12717         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12718         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12719         Remove define.
12720         [__bzero]: Redefine to specific name.
12721         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12722         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12723         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12724         define.
12725         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12726         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12728 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12730         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12731         warnings into errors.
12733         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12734         __cxa_thread_atexit_impl prototype.
12736 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12738         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12739         Fix capitalization of error message.
12741 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12743         * sysdeps/mips/preconfigure: Modify ABI tests.
12745 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12747         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12749 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12750             Carlos O'Donell  <carlos@systemhalted.org>
12752         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12753         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12754         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12755         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12756         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12758         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12759         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12760         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12761         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12762         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12763         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12764         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12765         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12766         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12767         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12769         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12770         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12771         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12772         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12773         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12774         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12775         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12776         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12777         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12778         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12779         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12780         Deconditionalize the code that was previously under [RESET_PID].
12781         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12782         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12783         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12784         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12785         include sysdep.h.
12787 2014-09-08  Allan McRae  <allan@archlinux.org>
12789         * version.h (RELEASE): Set to "development".
12790         (VERSION): Set to "2.20.90"
12792 2014-09-07  Allan McRae  <allan@archlinux.org
12794         * version.h (RELEASE): Set to "stable".
12795         (VERSION): Set to "2.20"
12796         * include/features.h (__GLIBC_MINOR__): Set to 20.
12798         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12799         Liebler.
12801         * po/ko.po: Update Korean translation from translation project.
12803 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12805         [BZ #17354]
12806         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12807         macro for handling signed relocations.
12809 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12811         [BZ #17325]
12812         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12813         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12814         assert.
12815         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12816         * iconvdata/ibm935.c (BODY): Likewise.
12817         * iconvdata/ibm937.c (BODY): Likewise.
12818         * iconvdata/ibm939.c (BODY): Likewise.
12819         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12820         assert.
12821         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12822         script.
12823         * iconvdata/run-iconv-test.sh: New test loop for checking for
12824         decoder crashers.
12826 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12828         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12829         libm_hidden_ver.
12831 2014-09-01  Allan McRae  <allan@archlinux.org>
12833         * po/eo.po: Update Esperanto translation from translation project.
12835         * po/ca.po: Update Catalan translation from translation project.
12837 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12839         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12840         __proc_dostop call.
12842 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12844         [BZ #17319]
12845         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12846         to call set_thread_area instead of hand written asm.
12847         (__NR_set_thread_area): Removed define.
12848         (TLS_FLAG_WRITABLE): Likewise.
12849         (__ASSUME_SET_THREAD_AREA): Remove check.
12850         (TLS_EBX_ARG): Remove define.
12851         (TLS_LOAD_EBX): Likewise.
12853 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12855         Simplify atomicity of socket creation in bind.
12857         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12858         looking up the name after linking the file.
12860 2014-08-27  Allan McRae  <allan@archlinux.org>
12862         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12864 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12866         [BZ #17187]
12867         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12868         trans_compare, open_translit, __gconv_translit_find):
12869         Remove module loading code.
12871 2014-08-26  Allan McRae  <allan@archlinux.org>
12873         * po/vi.po: Update Vietnamese translation from translation project.
12875         * po/uk.po: Update Ukrainian translation from translation project.
12877         * po/fr.po: Update French translation from translation project.
12879         * po/ru.po: Update Russian translation from translation project.
12881         * po/pl.po: Update Polish translation from translation project.
12883         * po/cs.po: Update Czech translation from translation project.
12885         * po/de.po: Update German translation from translation project.
12887         * po/bg.po: Update Bulgarian translation from translation project.
12889         * po/sv.po: Update Sweedish translation from translation project.
12891         * po/nl.po: Update Dutch translation from translation project.
12893         * po/es.po: Update Spanish translation from translation project.
12895 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12897         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12899         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12900         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12901         (CPPFLAGS-iconvconfig): Likewise.
12902         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12904         * include/libc-symbols.h: Remove unnecessary check for
12905         NOT_IN_libc.
12906         * nptl/pthreadP.h: Likewise.
12907         * sysdeps/aarch64/setjmp.S: Likewise.
12908         * sysdeps/alpha/setjmp.S: Likewise.
12909         * sysdeps/arm/sysdep.h: Likewise.
12910         * sysdeps/i386/setjmp.S: Likewise.
12911         * sysdeps/m68k/setjmp.c: Likewise.
12912         * sysdeps/posix/getcwd.c: Likewise.
12913         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12914         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12915         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12916         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12917         * sysdeps/sh/sh3/setjmp.S: Likewise.
12918         * sysdeps/sh/sh4/setjmp.S: Likewise.
12919         * sysdeps/unix/alpha/sysdep.h: Likewise.
12920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12921         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12922         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12923         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12928         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12931         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12933         * sysdeps/x86_64/setjmp.S: Likewise.
12935 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12937         [BZ #17263]
12938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12939         <stdint.h>.
12940         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12941         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12943 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12945         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12947         [BZ #17262]
12948         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12949         and __x86_64__ when disabling x87 inline functions.
12951 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12953         [BZ #17259]
12954         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12955         asm statement with __cpuid_count.
12957 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12959         * configure.ac: Change __ehdr_start code to dereference the struct.
12960         Run readelf on the output to look for relocations.
12961         * configure: Regenerated.
12963 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12965         [BZ #17261]
12966         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12967         value to 0.
12968         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12970 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12972         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12974 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12976         [BZ #16892]
12977         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12978         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12980 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12982         * malloc/malloc.c: Fix typo in comment.
12984 2014-08-09  Allan McRae  <allan@archlinux.org>
12986         * Regenerate libc.po.
12988 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12990         * intl/tst-gettext2.sh: Check every lang file for creation.
12992 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12994         * sysdeps/aarch64/fpu/math_private.h
12995         (libc_feholdsetround_noex_aarch64_ctx): New function.
12997 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12999         * sysdeps/arm/armv6/strcpy.S (strcpy):
13000         Fix performance issue in misaligned cases.
13002 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13004         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13005         Move definition from termios.h.
13006         (struct termio): Likewise.
13007         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13008         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13009         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13010         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13013         Move definition to ioctl-types.h
13014         (struct termio): Likewise.
13015         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13016         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13017         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13018         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13019         Likewise.
13021 2014-08-05  Richard Henderson  <rth@redhat.com>
13023         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13024         exceptions.
13025         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13026         Add fraiseexcpt.
13027         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13028         Use __feraiseexcept.
13029         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13030         Protect libm symbols with IS_IN_libm.
13032         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13034 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13036         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13038 2014-08-04  Will Newton  <will.newton@linaro.org>
13040         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13041         file.
13043 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13045         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13046         variants for each function.
13048 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13050         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13051         appended ...
13052         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13053         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13054         appended ...
13055         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13056         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13057         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13058         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13059         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13060         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13061         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13062         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13063         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13064         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13065         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13066         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13067         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13068         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13069         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13070         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13071         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13072         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13073         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13074         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13075         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13076         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13077         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13078         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13079         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13080         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13081         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13082         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13083         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13084         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13085         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13086         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13087         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13088         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13089         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13090         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13091         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13092         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13093         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13094         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13095         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13097         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13098         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13099         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13100         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13101         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13102         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13103         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13104         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13105         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13106         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13107         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13108         Update #include.
13109         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13110         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13112 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13114         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13115         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13116         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13117         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13118         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13119         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13121 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13123         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13124         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13125         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13126         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13128 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13130         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13131         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13132         (__libc_vfork): Define function under this name.
13133         (__vfork): Define as an alias.
13134         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13135         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13137 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13139         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13140         that was previously under [RESET_PID].
13141         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13143 2014-08-04  Andreas Schwab  <schwab@suse.de>
13145         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13147 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13149         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13150         (main): Likewise.
13152 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13154         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13156 2014-08-01  Richard Henderon  <rth@redhat.com>
13158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13159         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13160         typo in exact zero test.
13161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13162         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13165 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13167         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13168         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13169         * sysdeps/arm/sysdep.h: ... here.
13170         [!__ASSEMBLER__]: Include <stdint.h>.
13172 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13174         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13175         (HAVE_WCTYPE_H): Likewise.
13176         (HAVE_ISWCTYPE): Likewise.
13177         (ENABLE_NLS): Likewise.
13178         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13179         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13181         * posix/regex_internal.c: Check if DEBUG is defined and is
13182         set.
13184         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13185         (HAVE_MBSRTOWCS): Likewise.
13186         * posix/fnmatch.c: Include string.h unconditionally.
13188 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13190         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13191         reversal.
13193 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13195         * sysdeps/generic/safe-fatal.h: New file.
13196         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13197         * nptl/forward.c: Include it.
13198         (__pthread_unwind): Use __safe_fatal as default action, rather
13199         than a bogus use of INTERNAL_SYSCALL that could never work.
13201         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13202         * configure.ac (libc_cv_builtin_trap): New test.
13203         * configure: Regenerated.
13204         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13205         (ABORT_INSTRUCTION): Define using __builtin_trap.
13207         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13208         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13209         * sysdeps/nptl/nptl-signals.h: New file.
13210         * nptl/pthreadP.h: Include <nptl-signals.h>.
13212 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13214         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13215         (ONE_DIRECTION): Define.
13216         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13217         (ONE_DIRECTION): Define.
13218         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13219         (ONE_DIRECTION): Define.
13221 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13223         * sysdeps/s390/Makefile: Delete file.
13224         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13225         * sysdeps/s390/__longjmp.c: Delete file.
13226         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13227         Remove fields __flags and __reserved.
13228         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13229         and add versioning.
13230         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13231         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13232         * sysdeps/s390/rtld-setjmp.S: Likewise.
13233         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13234         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13235         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13236         * sysdeps/s390/s390-32/setjmp.S: ... here.
13237         Add versioning.
13238         (__sigsetjmp): Remove setting __flags field.
13239         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13240         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13241         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13242         * sysdeps/s390/s390-64/setjmp.S: ... here.
13243         Add versioning.
13244         (__sigsetjmp): Remove setting __flags field.
13245         * sysdeps/s390/setjmp.S: Delete file.
13246         * sysdeps/s390/sigjmp.c: Likewise.
13247         * sysdeps/s390/v1-longjmp.c: Likewise.
13248         * sysdeps/s390/v1-setjmp.h: Likewise.
13249         * sysdeps/s390/v1-sigjmp.c: Likewise.
13250         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13251         Remove v1-longjmp_chk.
13252         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13253         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13254         Include debug/longjmp_chk.c and add versioning.
13255         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13256         Include nptl/pt-longjmp.c and add versioning.
13257         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13258         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13259         Include __longjmp.c.
13260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13261         Move to ...
13262         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13263         (__getcontext): Remove setting __flags field.
13264         Add versioning.
13265         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13266         Don't restore upper high grps.
13267         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13268         Likewise.
13269         (__swapcontext): Remove setting uc_flags field.
13270         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13271         Delete file.
13272         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13273         Include __longjmp.c.
13274         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13275         Move to ...
13276         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13277         (__getcontext): Remove setting __flags field.
13278         Add versioning.
13279         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13280         (__swapcontext): Remove setting uc_flags field.
13281         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13282         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13283         Remove fields uc_high_gprs and __reserved.
13284         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13285         New file with reverted content.
13286         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13287         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13288         Regenerated.
13289         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13290         Regenerated.
13292 2014-07-31  Andreas Schwab  <schwab@suse.de>
13294         * config.h.in (HAVE_IFUNC): Define to 0.
13295         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13296         definedness.
13298 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13301         memmove-avx-unaligned, memcpy-avx-unaligned and
13302         mempcpy-avx-unaligned.
13303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13304         Add tests for AVX memcpy functions.
13305         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13306         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13307         memcpy_chk.
13308         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13309         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13310         memmove_chk.
13311         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13312         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13313         mempcpy_chk.
13314         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13315         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13316         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13318 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13320         [BZ #17213]
13321         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13322         powerpc64le.
13324 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13326         [BZ #16839]
13327         * manual/llio.texi: Add section about open file description locks.
13328         * manual/examples/ofdlocks.c: Example of open file description
13329         lock usage.
13330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13331         F_OFD_SETLK, and F_OFD_SETLKW.
13333 2014-07-23  Allan McRae  <allan@archlinux.org>
13335         * po/es.po: Update Spanish translation from translation project.
13337 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13339         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13341 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13343         [BZ #17078]
13344         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13345         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13346         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13348 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13350         [BZ #17088]
13351         * math/fesetenv.c (__fesetenv)
13352         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13353         * math/feupdateenv.c (__feupdateenv)
13354         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13356         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13357         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13358         (__ASSUME_SOCKETCALL): Do not define.
13360         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13361         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13362         (__ASSUME_SOCKETCALL): Do not define.
13363         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13364         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13365         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13366         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13367         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13368         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13369         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13370         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13372         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13373         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13374         (__ASSUME_SOCKETCALL): Do not define.
13375         (__ASSUME_IPC64): Define unconditionally.
13376         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13377         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13378         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13380         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13382         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13383         Likewise.
13385         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13386         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13387         (__ASSUME_SOCKETCALL): Do not define.
13388         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13389         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13390         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13391         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13392         (__ASSUME_REQUEUE_PI): Define unconditionally.
13393         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13394         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13395         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13396         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13398         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13400         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13401         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13402         (__ASSUME_SOCKETCALL): Do not define.
13403         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13405         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13406         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13408         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13410         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13411         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13412         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13413         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13414         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13415         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13417         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13418         (__ASSUME_GETCPU_SYSCALL): Likewise.
13420         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13421         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13422         cases for individual architectures.
13423         * sysdeps/gnu/configure: Regenerated.
13424         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13425         LIBC_SLIBDIR_RTLDDIR.
13426         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13427         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13428         LIBC_SLIBDIR_RTLDDIR.
13429         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13431         LIBC_SLIBDIR_RTLDDIR.
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13433         Regenerated.
13434         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13435         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13436         file.
13437         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13438         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13439         file.
13440         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13441         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13442         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13443         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13445         * sysdeps/aarch64/shlib-versions: Move to ...
13446         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13447         * sysdeps/alpha/shlib-versions: Move to ...
13448         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13449         * sysdeps/arm/shlib-versions: Move to ...
13450         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13451         * sysdeps/hppa/shlib-versions: Move all contents except for
13452         libgcc_s entry to ...
13453         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13454         entry from ...
13455         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13456         * sysdeps/ia64/shlib-versions: Move to ...
13457         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13458         entry from ...
13459         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13460         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13461         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13462         * sysdeps/microblaze/shlib-versions: Move to ...
13463         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13464         * sysdeps/mips/shlib-versions: Move to ...
13465         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13466         entry from ...
13467         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13468         * sysdeps/tile/shlib-versions: Move to ...
13469         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13470         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13471         from ...
13472         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13473         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13474         entry from ...
13475         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13477 2014-07-17  Will Newton  <will.newton@linaro.org>
13479         * sysdeps/arm/bits/atomic.h
13480         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13481         (__arch_compare_and_exchange_bool_16_int): Likewise.
13482         (__arch_compare_and_exchange_bool_64_int): Likewise.
13484         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13485         into an #else block.
13487 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13489         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13490         just Linux configurations.  Test empirically that the compiler sets
13491         __ARM_EABI__, rather than using the tuple to decide.
13492         * sysdeps/arm/preconfigure: Regenerated.
13493         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13494         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13495         contents appended ...
13496         * sysdeps/arm/configure.ac: ... here.
13497         * sysdeps/arm/configure: Regenerated.
13499 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13501         * nptl/pthread_kill.c: New file.
13502         * nptl/pthread_sigmask.c: New file.
13503         * nptl/pthread_sigqueue.c: New file.
13505         * sysdeps/nptl/lowlevellock.h: New file.
13506         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13507         * sysdeps/nptl/lowlevellock-futex.h: New file.
13509         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13510         Remove dead declarations.
13512 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13514         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13515         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13516         config-cflags-avx2.
13517         * sysdeps/x86_64/configure.ac: Likewise.
13518         * sysdeps/i386/configure: Regenerated.
13519         * sysdeps/x86_64/configure: Likewise.
13520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13521         memset-avx2 only if config-cflags-avx2 is yes.
13522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13523         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13524         defined.
13525         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13526         only if HAVE_AVX2_SUPPORT is defined.
13527         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13529 2014-07-14  Alan Modra  <amodra@gmail.com>
13531         [BZ #17153]
13532         * elf/elf.h (DT_PPC64_NUM): Correct value.
13533         * NEWS: Add to fixed bug list.
13535 2014-07-13  Jim Meyering  <meyering@fb.com>
13537         [BZ 17150]
13538         regex: don't deref NULL upon heap allocation failure
13539         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13540         failure in one more place.
13541         To trigger the segfault, configure grep -with-included-regex,
13542         build it, and run these commands:
13543         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13545 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13547         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13549 2014-07-11  Richard Henderson  <rth@redhat.com>
13551         * sysdeps/aarch64/libm-test-ulps: Update.
13553 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13555         [BZ #17135]
13556         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13557         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13558         (__nptl_setxid): Initialize error member.  Call
13559         __nptl_setxid_error.
13560         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13561         * nptl/descr.h (struct xid_command): Add error member.
13562         * nptl/tst-setuid3.c: New file.
13563         * nptl/Makefile (tests): Add it.
13565 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13568         New define.
13569         (__lll_trylock): Use __lll_base_trylock.
13570         (__lll_cond_trylock): Likewise.
13572 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13574         * nptl/pthread_create.c (start_thread): Use atomic_or and
13575         lll_futex_wake directly rather than lll_robust_dead.
13576         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13577         (lll_robust_dead): Macro removed.
13578         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13579         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13580         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13583         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13584         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13585         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13586         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13587         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13588         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13590         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13591         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13592         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13594         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13595         Use atomic_compare_and_exchange_val_acq directly rather than
13596         lll_robust_trylock.
13597         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13598         (__lll_robust_trylock, lll_robust_trylock): Removed.
13599         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13600         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13601         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13603         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13604         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13605         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13606         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13608         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13609         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13610         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13611         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13614 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13616         * manual/locale.texi (Locale Names): New section documenting
13617         locale name syntax.  Adjust menu and node chaining accordingly.
13618         (Choosing Locale): Reference Locale Names, Locale Categories.
13619         Mention setting LC_ALL=C.  Reflect that name syntax is now
13620         documented.
13621         (Locale Categories): New section title.  Reference Locale Names.
13622         LC_ALL is an environment variable, but not a category.
13623         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13624         description, now in Locale Name.  Reference that section.  Locale
13625         name syntax is now documented.
13627 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13629         [BZ #17137]
13630         * locale/findlocale.c (name_present, valid_locale_name): New
13631         functions.
13632         (_nl_find_locale): Use the loc_name variable to store name
13633         candidates.  Call name_present and valid_locale_name to check and
13634         validate locale names.  Return an error if the locale is invalid.
13636 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13638         * locale/setlocale.c (setlocale): Use strdup for allocating
13639         composite name copy.
13641 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13643         Sync up with gnulib.
13644         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13645         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13646         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13647         and _GL_ARG_NONNULL.
13648         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13649         [!_LIBC]: Include code for Windows and Cygwin.
13650         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13651         Include prototype for int strerror_r.
13652         [!_LIBC] (is_open): New function.
13653         (flush_stdout): New function.
13654         (print_errno_message): Use it.
13655         (error): Likewise.
13656         (error_at_line): Likewise.
13657         (error_tail) Add function attribute macros.  Use
13658         __builtin_expect.
13660         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13662         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13664         * io/ftw.c: Include sys/param.h unconditionally.
13666         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13668         [BZ #17125]
13669         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13670         libc_freeres_ptr.
13671         (freecache): New function to free CACHE on exit.
13673         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13674         initialization.
13676 2014-07-09  David S. Miller  <davem@davemloft.net>
13678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13680         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13681         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13682         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13683         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13684         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13685         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13686         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13687         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13688         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13689         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13690         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13691         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13692         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13694 2014-07-09  Andreas Schwab  <schwab@suse.de>
13696         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13697         output.
13698         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13699         (do_test): Likewise.
13701         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13703 2014-07-09  Will Newton  <will.newton@linaro.org>
13705         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13706         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13707         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13708         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13709         * sysdeps/hppa/start.S (_start): Likewise.
13711 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13713         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13715         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13716         defined.
13718 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13720         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13721         after checking that it is non-NULL.
13723         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13725 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13727         * sysdeps/powerpc/memmove.c: Remove file.
13728         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13729         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13730         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13731         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13732         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13733         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13734         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13735         string memmove instead of removed powerpc one.
13737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13738         [weak_alias]: Fix compiler warning due trailing data.
13739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13740         [weak_alias]: Likewise.
13741         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13742         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13745         (__libc_ifunc_impl_list): Add memmove functions.
13747 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13749         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13750         Remove code.
13751         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13752         Likewise
13753         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13754         Likewise
13755         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13756         Likewise
13757         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13758         Likewise
13759         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13760         Likewise
13761         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13762         Likewise
13763         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13764         Likewise
13765         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13766         Likewise
13767         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13768         Likewise
13769         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13770         Likewise
13771         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13772         Likewise
13773         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13774         Likewise
13775         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13776         Likewise
13777         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13778         Likewise
13779         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13780         Likewise
13781         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13782         Likewise
13784 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13786         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13787         to avoid alignment traps in non-cacheable memory.
13788         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13791         multiarch objects.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13793         file: multiarch power7 memmove.
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13795         multiarch default memmove.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13797         multiarch memove for powerpc32/power4.
13799         * string/bcopy.c: Use full path to include memmove.c.
13800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13801         multiarch objects.
13802         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13803         bcopy for powerpc64.
13804         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13805         bcopy for powerpc64.
13806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13807         and memmove implementations.
13808         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13809         optimized multiarch memmove for POWER7/powerpc64.
13810         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13811         default multiarch memmove for powerpc64.
13812         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13813         multiarch for powerpc64.
13814         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13815         for POWER7/powerpc64.
13816         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13817         memmove for POWER7/powerpc64.
13819         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13820         glibc default one.
13822         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13823         __ELF_NATIVE_CLASS equal to 64.
13825 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13827         * sysdeps/nptl/lowlevellock.h: File removed.
13829         * NEWS: NPTL is no longer an add-on!
13830         * nptl/internaltypes.h: Moved ...
13831         * sysdeps/nptl/internaltypes.h: ... here.
13832         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13833         * sysdeps/nptl/fork.c: Likewise.
13834         * sysdeps/nptl/gai_misc.h: Likewise.
13835         * sysdeps/nptl/librt-cancellation.c: Likewise.
13836         * sysdeps/nptl/jmp-unwind.c: Likewise.
13837         * sysdeps/nptl/setxid.h: Likewise.
13838         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13839         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13840         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13841         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13842         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13843         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13844         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13845         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13846         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13847         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13848         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13849         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13850         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13851         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13852         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13853         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13854         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13855         * nptl/Makeconfig: Moved ...
13856         * sysdeps/nptl/Makeconfig: ... here.
13857         * nptl/configure: File removed.
13858         * nptl/ANNOUNCE: File removed.
13859         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13860         * sysdeps/unix/sysv/linux/configure: Regenerated.
13862         * nptl/Makefile (routines): Add libc_pthread_init,
13863         libc_multiple_threads, register-atfork and unregister-atfork.
13864         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13865         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13866         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13867         pthread-pi-defines.sym, structsem.sym.
13868         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13869         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13870         [$(subdir) = nptl] (tests): Add tst-setgetname.
13871         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13872         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13873         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13874         [!LIBC_SIGACTION]: Remove aliases.
13875         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13876         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13877         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13878         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13879         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13880         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13881         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13883         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13884         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13885         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13886         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13887         __libc_allocate_rtsig_private.
13888         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13889         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13890         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13891         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13892         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13893         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13894         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13895         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13896         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13897         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13898         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13899         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13900         * nptl/internaltypes.h: ... here.
13901         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13902         * sysdeps/nptl/jmp-unwind.c: ... here.
13903         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13904         * nptl/libc-lowlevellock.c: ... here.
13905         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13906         * nptl/libc_multiple_threads.c: ... here.
13907         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13908         * nptl/libc_pthread_init.c: ... here.
13909         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13910         * nptl/lowlevelbarrier.sym: ... here.
13911         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13912         * nptl/lowlevelcond.sym: ... here.
13913         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13914         * nptl/lowlevellock.c: ... here.
13915         * nptl/lowlevellock.h: Moved ...
13916         * sysdeps/nptl/lowlevellock.h: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13918         * nptl/lowlevelrobustlock.c: ... here.
13919         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13920         * nptl/lowlevelrobustlock.sym: ... here.
13921         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13922         * nptl/lowlevelrwlock.sym: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13924         * nptl/pt-fork.c: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13926         * nptl/pthread-pi-defines.sym: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13928         * nptl/pthread_attr_getaffinity.c: ... here.
13929         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13930         * nptl/pthread_attr_setaffinity.c: ... here.
13931         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13932         * nptl/pthread_mutex_cond_lock.c: ... here.
13933         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13934         Update #include.
13935         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13936         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13937         * nptl/pthread_once.c: ... here, replacing old file.
13938         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13939         * nptl/pthread_yield.c: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13941         * nptl/register-atfork.c: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13943         * nptl/sem_post.c: ... here.
13944         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13945         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13946         * nptl/sem_timedwait.c: ... here.
13947         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13948         * nptl/sem_trywait.c: ... here.
13949         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13950         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13951         * nptl/sem_wait.c: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13953         * nptl/structsem.sym: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13955         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13956         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13957         * nptl/unregister-atfork.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13959         * nptl/unwindbuf.sym: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13961         * sysdeps/nptl/fork.c: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13963         * sysdeps/nptl/fork.h: ... here.
13964         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13965         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13966         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13967         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13968         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13969         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13970         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13971         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13972         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13973         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13974         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13975         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13976         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13977         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13978         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13979         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13980         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13981         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13982         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13983         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13984         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13985         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13986         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13987         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13988         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13989         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13990         * sysdeps/unix/sysv/linux/raise.c: ... here.
13991         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13992         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13993         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13994         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13995         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13996         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13997         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13998         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13999         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14000         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14001         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14002         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14003         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14004         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14005         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14007 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14009         * sysdeps/generic/memcopy.h: Add comment for
14010         MEMCPY_OK_FOR_FWD_MEMMOVE.
14012 2014-07-04  Will Newton  <will.newton@linaro.org>
14014         * string/memchr.c: Merge from gnulib.
14015         [_LIBC]: Remove conditionals.
14016         (__ptr_t): Remove define.
14017         (LONG_MAX_32_BITS): Likewise.
14018         (LONG_MAX): Likewise.
14019         (MEMCHR): Use ANSI prototype and optimize algorithm.
14021         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14023 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14025         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14026         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14028         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14029         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14030         in a bare environment with no <stdlib.h> installed.
14031         * sysdeps/nptl/configure: Regenerated.
14033         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14035         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14036         AC_EGREP_CPP for kernel header checks, so they only succeed if
14037         including <linux/version.h> actually works right.
14038         * sysdeps/unix/sysv/linux/configure: Regenerated.
14040         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14041         value so it's not diagnosed as unused.
14043         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14044         thing) with "ifeq ($(subdir),rt)".
14046 2014-07-03  Richard Henderson  <rth@redhat.com>
14048         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14049         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14050         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14052         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14053         (math_force_eval): New.
14055         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14056         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14058         * sysdeps/alpha/fpu/s_round.c: Remove file.
14059         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14061         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14062         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14063         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14064         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14065         (_dl_start, print_statistics): Likewise.
14066         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14067         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14069         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14070         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14071         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14072         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14074         (HP_SMALL_TIMING_AVAIL): Define.
14075         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14077         (HP_SMALL_TIMING_AVAIL): Define.
14078         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14079         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14081         * sysdeps/aarch64/hp-timing.h: New file.
14083         * sysdeps/generic/hp-timing.h: Remove dead comment.
14084         * sysdeps/generic/hp-timing-common.h: New file.
14085         * sysdeps/alpha/hp-timing.h: Include it.
14086         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14087         * sysdeps/i386/i686/hp-timing.h: Likewise.
14088         * sysdeps/ia64/hp-timing.h: Likewise.
14089         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14090         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14092         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14093         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14094         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14095         (hp_timing_t): New.
14097         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14098         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14099         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14100         * elf/rtld.c (_dl_start_final): Likewise.
14101         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14102         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14103         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14104         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14105         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14106         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14107         (HP_TIMING_DIFF_INIT): Remove.
14108         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14109         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14110         (HP_TIMING_DIFF_INIT): Remove.
14111         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14112         * sysdeps/i386/i686/hp-timing.c: Remove file.
14113         * sysdeps/x86_64/hp-timing.c: Remove file.
14114         * sysdeps/ia64/hp-timing.c: Remove file.
14115         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14116         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14118         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14120         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14121         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14122         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14123         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14125         (HP_TIMING_ACCUM): Remove.
14126         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14127         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14128         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14130         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14131         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14132         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14133         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14135         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14136         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14137         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14139         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14141 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14143         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14145 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14147         Sync up with gettext.
14148         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14149         [_MSC_VER]: Include malloc.h
14150         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14151         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14152         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14153         TEMP_FAILURE_RETRY.  Cast return of alloca.
14154         [!_LIBC] Call gl_rwlock_init.
14155         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14157 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14159         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14160         before checking its value.
14162 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14164         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14166         * debug/memcpy_chk.c: Don't include pagecopy.h.
14167         * debug/mempcpy_chk.c: Likewise.
14168         * string/memcpy.c: Likewise.
14169         * string/memmove.c: Likewise.
14170         * sysdeps/powerpc/memmove.c: Likewise.
14171         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14172         definition of PAGE_COPY_FWD_MAYBE here...
14173         * sysdeps/generic/pagecopy.h: ... from here.
14174         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14176 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14177             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14179         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14181         optimizations.
14182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14183         (__libc_ifunc_impl_list): Likewise.
14184         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14185         multiarch strcat for PPC64.
14186         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14187         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14189 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14191         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14193 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14195         * intl/loadmsgcat.c: Remove declaration of
14196         get_sysdep_segment_value.
14197         (get_sysdep_segment_value): Use ISO C style.
14198         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14199         semicolon.  Fix typo and formatting in comment.
14200         (_nl_unload_domain): Use ISO C style.
14202         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14204 2014-07-02  Will Newton  <will.newton@linaro.org>
14206         * malloc/obstack.c: Merge from gnulib master.
14207         [HAVE_CONFIG_H]: Remove conditional code.
14208         [!_LIBC]: Include config.h.
14209         [!ELIDE_CODE]: Don't include inttypes.h, include
14210         stdint.h unconditionally.
14211         (print_and_abort): Mark as _Noreturn.
14212         (_obstack_allocated_p): Mark as __attribute_pure__.
14213         (obstack_free): Rename to __obstack_free.
14214         [!__attribute__]: Remove conditional code.
14215         * malloc/obstack.h: Merge from gnulib master.
14216         [__cplusplus]: Move conditional down.
14217         [!__attribute_pure__]: Define __attribute_pure__ here
14218         if it is not already defined.
14219         (_obstack_memory_used): Mark as __attribute_pure__.
14220         [!__obstack_free]: Define as obstack_free.
14221         [__GNUC__]: Remove check for ancient NeXT gcc.
14223 2014-07-02  Will Newton  <will.newton@linaro.org>
14224             Paul Eggert  <eggert@cs.ucla.edu>
14226         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14228 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14230         * resolv/gethnamaddr.c: Add comment warning that the file is
14231         not maintained.
14233 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14235         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14236         entries.
14238         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14239         entry for aio_cancel and aio_cancel64.
14240         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14241         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14242         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14243         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14244         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14245         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14246         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14247         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14248         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14249         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14250         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14251         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14252         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14254 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14256         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14257         * nptl/pthread_mutex_lock.c: Likewise.
14258         * nptl/pthread_mutex_timedlock.c: Likewise.
14259         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14261 2014-07-01  Richard henderson  <rth@redhat.com>
14263         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14264         (__isnan, __isnanl): Remove.
14265         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14267         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14269 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14271         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14273 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         * resolv/nss_dns/dns-host.c (getanswer_r)
14276         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14278 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14281         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14282         undefine.
14283         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14284         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14286 2014-07-01  Roland McGrath <roland@hack.frob.com>
14288         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14289         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14291         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14292         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14294         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14295         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14296         ... here.
14297         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14298         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14300         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14301         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14302         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14303         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14305         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14306         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14307         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14308         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14309         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14310         Moved ...
14311         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14312         ... here.
14313         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14314         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14316         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14317         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14318         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14319         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14324         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14333         ... here.
14334         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14335         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14337         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14338         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14339         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14340         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14341         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14343 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14345         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14346         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14347         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14348         Add sysdep.
14350 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14354 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14356         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14357         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14359         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14361         * sysdeps/arm/libm-test-ulps: Regenerated.
14363 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14364             Roland McGrath <roland@hack.frob.com>
14366         * test-skeleton.c (signal_handler): Kill the whole process group
14367         before killing the child individually.
14368         (main): Report any failure on `setpgid'.
14370 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14372         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14373         from _TLS_H to _ARM_NPTL_TLS_H.
14374         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14375         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14377 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14379         [BZ #16539]
14380         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14381         (__expm1l): Return argument unchanged when small but not
14382         subnormal.
14384         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14385         include macro name.
14386         (_FP_UNPACK_RAW_1_P): Likewise.
14387         (_FP_PACK_RAW_1): Likewise.
14388         (_FP_PACK_RAW_1_P): Likewise.
14389         (_FP_MUL_MEAT_1_wide): Likewise.
14390         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14391         (_FP_MUL_MEAT_1_hard): Likewise.
14392         (_FP_DIV_MEAT_1_imm): Likewise.
14393         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14394         (_FP_DIV_MEAT_1_udiv): Likewise.
14395         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14396         (_FP_UNPACK_RAW_2): Likewise.
14397         (_FP_UNPACK_RAW_2_P): Likewise.
14398         (_FP_PACK_RAW_2): Likewise.
14399         (_FP_PACK_RAW_2_P): Likewise.
14400         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14401         (_FP_MUL_MEAT_2_wide): Likewise.
14402         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14403         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14404         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14405         (_FP_MUL_MEAT_2_gmp): Likewise.
14406         (_FP_DIV_MEAT_2_udiv): Likewise.
14407         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14408         (_FP_FRAC_SRL_4): Likewise.
14409         (_FP_FRAC_SRST_4): Likewise.
14410         (_FP_FRAC_SRS_4): Likewise.
14411         (_FP_UNPACK_RAW_4): Likewise.
14412         (_FP_UNPACK_RAW_4_P): Likewise.
14413         (_FP_PACK_RAW_4): Likewise.
14414         (_FP_PACK_RAW_4_P): Likewise.
14415         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14416         (_FP_MUL_MEAT_4_wide): Likewise.
14417         (_FP_MUL_MEAT_4_gmp): Likewise.
14418         (umul_ppppmnnn): Likewise.
14419         (_FP_DIV_MEAT_4_udiv): Likewise.
14420         (__FP_FRAC_ADD_4): Likewise.
14421         (__FP_FRAC_SUB_3): Likewise.
14422         (__FP_FRAC_SUB_4): Likewise.
14423         (__FP_FRAC_DEC_3): Likewise.
14424         (__FP_FRAC_DEC_4): Likewise.
14425         (__FP_FRAC_ADDI_4): Likewise.
14426         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14427         (_FP_FRAC_SRL_8): Likewise.
14428         (_FP_FRAC_SRS_8): Likewise.
14430         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14431         include macro name.
14432         (FP_UNPACK_RAW_EP): Likewise.
14433         (FP_PACK_RAW_E): Likewise.
14434         (FP_PACK_RAW_EP): Likewise.
14435         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14436         (_FP_ISSIGNAN): Likewise.
14437         (_FP_ADD_INTERNAL): Likewise.
14438         (_FP_FMA): Likewise.
14439         (_FP_CMP): Likewise.
14440         (_FP_SQRT): Likewise.
14441         (_FP_TO_INT): Likewise.
14442         (_FP_FROM_INT): Likewise.
14443         (FP_EXTEND): Likewise.
14444         (_FP_DIV_MEAT_N_loop): Likewise.
14446 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14448         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14449         throughout.
14451 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14453         [BZ #17097]
14454         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14455         result with correct sign in case of exponents that produce
14456         overflow except for X very close to 1.
14458 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14460         mktime: merge #if/#ifdef usage from glibc
14461         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14462         as that works with both Glibc's and Gnulib's style.
14463         See thread starting at Siddhesh Poyarekar's bug report at:
14464         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14466 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14468         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14469         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14470         * sysdeps/tile/tilegx/memmove.c: Remove file.
14472 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14474         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14475         abi-name definition.
14476         * scripts/soversions.awk: Do not handle or generate ABI lines.
14477         * shlib-versions: Remove ABI entries.
14478         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14479         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14481 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14484         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14485         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14486         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14488         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14490         Moved ...
14491         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14492         ... here.
14493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14494         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14496         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14498         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14500         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14502         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14504         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14506         Moved ...
14507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14509         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14511         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14513         Moved ...
14514         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14516         Moved ...
14517         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14519         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14521         Moved ...
14522         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14524         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14526         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14528         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14530         Moved ...
14531         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14533         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14534         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14535         Moved ...
14536         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14538         Moved ...
14539         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14541         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14543         Moved ...
14544         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14545         ... here.
14546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14547         Identical file removed.
14548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14549         Moved ...
14550         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14552         Identical file removed.
14553         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14556         Moved ...
14557         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14559         Identical file removed.
14560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14561         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14563         Identical file removed.
14564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14565         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14566         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14567         Identical file removed.
14568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14569         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14571         Identical file removed.
14572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14573         Moved ...
14574         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14576         Identical file removed.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14578         Moved ...
14579         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14581         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14583         Identical file removed.
14584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14585         Moved ...
14586         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14587         ... here.
14588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14589         Identical file removed.
14590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14591         Moved ...
14592         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14594         Identical file removed.
14595         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14596         Moved ...
14597         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14599         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14600         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14601         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14603         Moved ...
14604         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14605         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14606         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14608         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14609         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14610         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14611         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14612         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14614 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14616         [BZ #17092]
14617         * nscd/nscd.c (monitor_child): Return exit status of child
14618         instead of return value from wait syscall.
14620 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14622         * configure.ac (libc_commonpagesize): Remove variable.
14623         (libc_relro_required): Likewise.
14624         (libc_cv_z_relro): Remove configure test.
14625         * configure: Regenerated.
14626         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14627         variable.
14628         (libc_relro_required): Likewise.
14629         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14630         (libc_relro_required): Likewise.
14631         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14632         (libc_relro_required): Likewise.
14633         * sysdeps/arm/preconfigure: Regenerated.
14634         * sysdeps/ia64/preconfigure: Remove file.
14635         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14636         variable.
14637         (libc_relro_required): Likewise.
14639         [BZ #16561]
14640         [BZ #16562]
14641         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14642         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14643         recompute overflowing results in original rounding mode.
14644         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14645         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14646         recompute overflowing results in original rounding mode.
14647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14648         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14649         recompute overflowing results in original rounding mode.
14650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14651         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14652         recompute overflowing results in original rounding mode.
14653         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14654         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14655         recompute overflowing results in original rounding mode.
14656         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14657         (libc_feholdsetround_ctx): New macro.
14658         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14659         * sysdeps/i386/fpu/libm-test-ulps: Update.
14660         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14662 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14664         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14665         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14666         corresponding .cpsetup call.
14668 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14670         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14671         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14672         * sysdeps/arm/Makefile [$(subdir) = csu]
14673         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14674         (static-only-routines): Add aeabi_read_tp here.
14675         (shared-only-routines): Add libc-aeabi_read_tp here.
14676         (CFLAGS-libc-start.c): Add -fexceptions here.
14677         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14678         (sysdep_routines, static-only-routines, shared-only-routines):
14679         Don't add to these here.
14680         (CFLAGS-libc-start.c): Likewise.
14682         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14683         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14684         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14685         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14686         * sysdeps/arm/Makefile [$(subdir) = rt]
14687         (librt-sysdep_routines, librt-shared-only-routines):
14688         Append rt-aeabi_unwind_cpp_pr1 here.
14689         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14690         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14691         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14692         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14693         Append nptl-aeabi_unwind_cpp_pr1 here.
14694         (tests): Filter out tst-cleanupx4 here.
14695         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14696         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14697         Don't do those here.
14699 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14701         * scripts/list-sources.sh: Do not handle ports specially.
14703 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14705         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14706         * sysdeps/arm/feupdateenv.c: Likewise.
14708         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14710 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14712         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14713         trailing whitespace removed.
14714         * scripts/config.guess: Update to version 2014-03-23.
14715         * scripts/config.sub: Update to version 2014-05-01
14716         * scripts/install-sh: Update to version 2013-12-25.23.
14717         * scripts/move-if-change: Update from gnulib.
14719 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14721         * debug/memmove_chk.c: Remove pagecopy.h include.
14723 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14725         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14726         identical to gnulib mktime.
14728 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14730         * configure.ac: Do not test for machine being rs6000.  Do not test
14731         for powerpc*-*soft.
14732         * configure: Regenerated.
14734         [BZ #11505]
14735         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14736         test.
14737         * configure: Regenerated.
14738         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14739         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14740         Remove configure test.
14741         * sysdeps/arm/configure: Regenerated.
14742         * sysdeps/nptl/configure.ac: Do not check
14743         libc_cv_asm_cfi_directives.
14744         * sysdeps/nptl/configure: Regenerated.
14745         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14746         * sysdeps/x86_64/nptl/configure: Remove generated file.
14747         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14748         unconditional.
14749         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14751 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14754         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14755         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14756         it is defined.
14758         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14759         instead of whether it is defined.
14760         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14761         * sysdeps/hppa/dl-machine.h: Likewise.
14762         * sysdeps/ia64/dl-machine.h: Likewise.
14763         * sysdeps/m68k/dl-machine.h: Likewise.
14764         * sysdeps/microblaze/dl-machine.h: Likewise.
14765         * sysdeps/mips/dl-machine.: Likewise.
14766         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14767         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14768         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14769         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14770         * sysdeps/sh/dl-machine.h: Likewise.
14771         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14772         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14773         * sysdeps/tile/dl-machine.h: Likewise.
14774         * sysdeps/x86_64/dl-machine.h: Likewise.
14776         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14777         code.
14778         (verify_persistent_db): Likewise.
14780 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14783         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14785         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14787         Moved ...
14788         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14789         ... here.
14790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14791         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14793         Identical file removed.
14794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14795         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14797         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14799         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14801         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14803         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14805         Moved ...
14806         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14808         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14812         Moved ...
14813         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14815         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14817         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14819         Identical file removed.
14820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14821         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14823         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14825         Moved ...
14826         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14827         ... here.
14828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14829         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14831         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14833         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14835         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14839         Moved ...
14840         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14842         Moved ...
14843         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14845         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14847         Moved ...
14848         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14850         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14852         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14853         folded into ...
14854         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14855         * sysdeps/unix/sysv/linux/s390/Versions
14856         (libpthread: GLIBC_2.19): New version set.
14857         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14858         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14859         (librt: GLIBC_2.3.3): New version set.
14860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14861         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14862         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14863         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14864         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14865         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14866         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14867         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14868         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14869         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14870         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14871         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14872         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14873         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14874         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14875         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14876         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14877         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14878         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14879         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14880         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14881         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14882         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14883         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14884         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14885         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14886         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14887         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14888         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14889         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14890         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14891         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14896         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14898         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14900         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14902         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14903         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14904         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14906         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14907         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14908         (__libc_vfork): Define the function under this name.
14909         [!NOT_IN_libc] (__vfork): Make this an alias.
14910         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14912         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14913         (__libc_vfork): Define the function under this name.
14914         [!NOT_IN_libc] (__vfork): Make this an alias.
14915         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14916         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14917         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14920         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14922         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14923         code that was previously under [RESET_PID].
14924         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14925         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14928         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14929         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14930         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14931         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14932         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14933         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14934         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14935         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14936         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14937         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14938         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14939         Moved ...
14940         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14944         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14945         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14946         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14947         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14948         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14950         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14951         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14952         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14953         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14954         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14955         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14958         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14959         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14960         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14961         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14962         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14963         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14964         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14965         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14966         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14968         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14970 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14972         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14973         that was previously under [RESET_PID].
14974         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14976 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14978         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14979         not undefine and redefine.
14980         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14981         [O_CLOEXEC]: Make code unconditional.
14982         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14983         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14984         <kernel-features.h>.
14985         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14986         conditional variable definition.
14987         (shm_open) [O_CLOEXEC]: Make code unconditional.
14988         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14989         code.
14991         * configure.ac (USE_REGPARMS): Don't define here.
14992         * configure: Regenerated.
14993         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14994         * sysdeps/i386/configure: Regenerated.
14996         * nptl/createthread.c: Don't include kernel-features.h.
14997         * nptl/pthread_cancel.c: Likewise.
14998         * nptl/pthread_condattr_setclock.c: Likewise.
14999         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15000         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15001         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15002         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15003         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15004         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15005         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15008         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15009         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15010         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15011         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15012         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15013         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15014         * nscd/gai.c: Likewise.
15015         * nss/nss_db/db-open.c: Likewise.
15016         * sysdeps/generic/ldsodefs.h: Likewise.
15017         * sysdeps/sh/nptl/tls.h: Likewise.
15018         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15019         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15020         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15021         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15022         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15023         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15024         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15025         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15026         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15027         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15028         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15029         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15030         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15031         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15032         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15033         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15034         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15035         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15036         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15037         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15040         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15041         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15046         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15047         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15048         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15049         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15050         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15051         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15052         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15053         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15054         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15055         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15056         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15057         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15058         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15059         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15060         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15061         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15062         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15063         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15064         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15065         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15066         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15067         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15068         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15069         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15070         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15071         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15072         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15073         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15074         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15075         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15098         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15099         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15100         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15101         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15102         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15103         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15104         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15105         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15106         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15107         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15108         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15109         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15110         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15111         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15112         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15113         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15114         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15115         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15116         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15117         * sysdeps/unix/sysv/linux/system.c: Likewise.
15118         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15119         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15120         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15121         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15122         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15123         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15124         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15126         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15127         * configure: Regenerated.
15128         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15130         * configure.ac (base_machine): Do not set specially for particular
15131         machines here.
15132         * configure: Regenerated.
15133         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15134         settings from configure.ac.
15135         * sysdeps/i386/preconfigure: New file.
15136         * sysdeps/s390/preconfigure: Likewise.
15137         * sysdeps/sh/preconfigure: Likewise.
15138         * sysdeps/sparc/preconfigure: Likewise.
15140 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15142         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15143         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15144         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15145         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15146         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15147         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15148         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15149         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15150         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15151         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15152         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15153         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15154         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15155         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15156         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15157         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15159         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15160         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15162         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15163         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15164         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15165         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15166         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15167         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15168         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15169         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15170         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15171         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15172         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15173         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15174         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15175         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15176         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15177         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15178         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15179         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15180         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15181         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15183         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15185         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15187         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15188         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15189         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15190         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15191         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15192         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15193         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15194         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15195         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15196         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15197         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15198         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15199         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15202         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15204         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15206         Moved ...
15207         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15208         ... here.
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15210         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15212         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15214         Moved ...
15215         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15217         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15219         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15223         Moved ...
15224         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15226         Moved ...
15227         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15229         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15231         Moved ...
15232         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15234         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15236         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15238         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15242         Moved ...
15243         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15244         ... here.
15245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15250         Moved ...
15251         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15253         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15255         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15259         Moved ...
15260         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15262         Moved ...
15263         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15265         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15267         Moved ...
15268         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15274 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15276         * timezone/checktab.awk: Update from tzcode 2014e.
15277         * timezone/private.h: Likewise.
15278         * timezone/tzfile.h: Likewise.
15279         * timezone/zdump.c: Likewise.
15280         * timezone/zic.c: Likewise.
15282         * sysdeps/unix/sysv/linux/kernel-features.h
15283         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15284         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15285         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15286         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15287         Remove conditional code.
15289 2014-06-25  Will Newton  <will.newton@linaro.org>
15291         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15292         (_dl_arm_cap_flags): Add HWCAP2 values.
15293         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15294         (_DL_HWCAP_COUNT): Increase to 37.
15295         (_DL_HWCAP_LAST): New define.
15296         (_DL_HWCAP2_LAST): New define.
15297         (_dl_procinfo): Add support for printing
15298         AT_HWCAP2 entries.
15299         (_dl_string_hwcap): Use _dl_hwcap_string.
15301 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15305 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15307         * README: Do not mention ports directory.
15309         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15310         Remove macro.
15311         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15312         <kernel-features.h>.
15313         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15314         conditional variable definition.
15315         (__futimes): Update comment.
15316         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15317         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15319         [BZ #16560]
15320         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15321         arguments close to 0.
15322         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15323         Likewise.
15324         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15325         Likewise.
15326         * math/auto-libm-test-in: Add more tests of exp10.
15327         * math/auto-libm-test-out: Regenerated.
15328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15330         * sysdeps/unix/sysv/linux/kernel-features.h
15331         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15332         * sysdeps/unix/sysv/linux/readv.c: Do not include
15333         <kernel-features.h>.
15334         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15335         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15336         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15337         unconditional.
15338         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15339         conditional code.
15340         * sysdeps/unix/sysv/linux/writev.c: Do not include
15341         <kernel-features.h>.
15342         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15343         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15344         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15345         unconditional.
15346         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15347         conditional code.
15349 2014-06-25  Will Newton  <will.newton@linaro.org>
15351         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15352         comment changes throughout the file.  Remove checks
15353         for HAVE_*_H definitions that are not required.
15354         (__gen_tempname): Call abort if an unknown kind value is
15355         passed.
15357 2014-06-25  Andreas Schwab  <schwab@suse.de>
15359         [BZ #17086]
15360         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15361         scalbln, scalblnf, scalblnl in libc.
15363 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15365         [BZ #17086]
15366         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15367         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15368         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15370 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15372         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15373         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15374         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15375         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15376         Update #include.
15377         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15378         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15379         Update #include.
15380         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15381         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15382         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15383         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15384         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15385         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15386         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15387         * sysdeps/x86/bits/semaphore.h: ... here.
15388         * sysdeps/x86/nptl/elide.h: Moved ...
15389         * sysdeps/x86/elide.h: ... here.
15390         * sysdeps/x86_64/nptl/Implies: File removed.
15391         * sysdeps/i386/nptl/Implies: File removed.
15393 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15395         [BZ #16539]
15396         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15397         return the argument for normal arguments with exponent below -64.
15398         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15399         Likewise.
15400         * math/auto-libm-test-in: Add another test of expm1.
15401         * math/auto-libm-test-out: Regenerated.
15403         [BZ #16287]
15404         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15405         calling __erfcl for arguments at least 16.
15406         * math/auto-libm-test-in: Add more tests of erf.
15407         * math/auto-libm-test-out: Regenerated.
15409         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15410         individual architectures.
15411         * sysdeps/unix/sysv/linux/configure: Regenerated.
15412         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15413         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15414         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15415         (ldd_rewrite_script): Define variable.
15416         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15418         file.
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15420         generated file.
15421         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15422         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15423         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15424         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15425         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15426         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15427         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15428         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15430 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15432         [BZ #17084]
15433         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15434         Rename member __data.d to __data.__elision_data.
15436 2014-06-24  Wilco  <wdijkstr@arm.com>
15438         * NEWS: Add 16918 to fixed bug list.
15440 2014-06-24  Wilco  <wdijkstr@arm.com>
15442         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15444 2014-06-24  Wilco  <wdijkstr@arm.com>
15446         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15447         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15448         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15449         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15450         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15451         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15452         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15453         Use _FPU_MASK_RM.
15455 2014-06-24  Wilco  <wdijkstr@arm.com>
15457         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15459 2014-06-24  Wilco  <wdijkstr@arm.com>
15461         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15462         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15463         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15464         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15466 2014-06-24  Wilco  <wdijkstr@arm.com>
15468         [BZ #16918]
15469         * sysdeps/arm/feupdateenv.c (feupdateenv):
15470         Rewrite to reduce FPSCR accesses and fix return value.
15472 2014-06-24  Wilco  <wdijkstr@arm.com>
15474         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15475         Optimize to avoid unnecessary FPSCR writes.
15476         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15477         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15478         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15479         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15481 2014-06-24  Wilco  <wdijkstr@arm.com>
15483         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15484         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15485         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15486         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15487         Call libc_fetestexcept_vfp.
15488         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15489         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15490         __SOFTFP__ ifdef so that they can be built for softfp.
15492 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15494         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15495         argument type signed char.
15497         * Makerules (check-abi): Dump diff of symlist if the test
15498         fails.
15500 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15502         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15503         using abort.
15505         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15506         Remove unused variable ST.
15508 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15510         [BZ #16354]
15511         [BZ #17061]
15512         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15513         small arguments before calling __expm1.
15514         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15515         small arguments before calling __expm1f.
15516         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15517         small arguments before calling __expm1l.
15518         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15519         Likewise.
15520         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15521         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15522         spurious underflow for some cosh tests.
15523         * math/auto-libm-test-out: Regenerated.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15526         [BZ #17050]
15527         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15528         (__ieee754_y1): Set errno if return value overflows.
15529         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15530         (__ieee754_y1f): Set errno if return value overflows.
15531         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15532         (__ieee754_y1l): Set errno if return value overflows.
15533         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15534         (__ieee754_y1l): Set errno if return value overflows.
15535         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15536         * math/auto-libm-test-out: Regenerated.
15538         * math/gen-auto-libm-tests.c: Document use of
15539         ignore-zero-inf-sign.
15540         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15541         (input_flags): Add ignore-zero-inf-sign.
15542         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15543         * math/gen-libm-test.pl (generate_testfile): Handle
15544         ignore-zero-inf-sign.
15545         * math/auto-libm-test-in: Mark some cpow tests with
15546         ignore-zero-inf-sign and some with xfail-rounding.
15547         * math/auto-libm-test-out: Regenerated.
15548         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15549         * sysdeps/i386/fpu/libm-test-ulps: Update.
15550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15552         [BZ #16315]
15553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15554         overflowing or underflowing operations take place with sign of
15555         result.
15556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15558         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15559         (__ieee754_pow): Recompute overflowing and underflowing results in
15560         original rounding mode.
15561         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15562         (__powl_helper): Allow negative argument X and scale negated value
15563         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15564         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15565         overflowing or underflowing operations take place with sign of
15566         result.
15567         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15568         Include <math.h>.
15569         * math/auto-libm-test-in: Add more tests of pow.
15570         * math/auto-libm-test-out: Regenerated.
15571         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15572         (pow_tonearest_test_data): Remove.
15573         (pow_test_tonearest): Likewise.
15574         (pow_towardzero_test_data): Likewise.
15575         (pow_test_towardzero): Likewise.
15576         (pow_downward_test_data): Likewise.
15577         (pow_test_downward): Likewise.
15578         (pow_upward_test_data): Likewise.
15579         (pow_test_upward): Likewise.
15580         (main): Don't call removed functions.
15581         * sysdeps/i386/fpu/libm-test-ulps: Update.
15582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15584 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15587         Moved ...
15588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15590         Moved ...
15591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15593         Moved ...
15594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15596         Moved ...
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15599         File removed.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15601         File removed.
15602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15603         File removed.
15604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15605         File removed.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15607         File removed.
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15609         File removed.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15611         File removed.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15613         File removed.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15615         File removed.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15617         File removed.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15619         File removed.
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15621         File removed.
15622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15623         Moved ...
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15626         Moved ...
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15628         ... here.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15633         Moved ...
15634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15636         Moved ...
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15639         Moved ...
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15645         Moved ...
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15648         Moved ...
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15652         ... here.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15654         Moved ...
15655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15657         Moved ...
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15659         ... here.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15661         Moved ...
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15663         ... here.
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15665         Moved ...
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15667         ... here.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15669         Moved ...
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15672         Moved ...
15673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15677         Moved ...
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15679         ... here.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15681         Moved ...
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15683         ... here.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15685         Moved ...
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15688         Moved ...
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15691         Moved ...
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15697         Moved ...
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15699         ... here.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15701         Moved ...
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15704         Moved ...
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15710         Moved ...
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15715         Moved ...
15716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15718         Moved ...
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15721         Moved ...
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15723         ... here.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15725         Moved ...
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15727         ... here.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15729         Moved ...
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15731         ... here.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15733         Moved ...
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15736         Moved ...
15737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15742         Moved ...
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15744         ... here.
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15746         Moved ...
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15748         ... here.
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15750         Moved ...
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15752         ... here.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15754         Moved ...
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15757         Moved ...
15758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15760 2014-06-23  Will Newton  <will.newton@linaro.org>
15761             Wilco  <wdijkstr@arm.com>
15763         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15764         implementation.  Include get-rounding-mode.h.
15765         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15766         [!libc_feholdsetround_noex_ctx]: Define
15767         libc_feholdsetround_noex_ctx.
15768         [!libc_feholdsetround_noexf_ctx]: Define
15769         libc_feholdsetround_noexf_ctx.
15770         [!libc_feholdsetround_noexl_ctx]: Define
15771         libc_feholdsetround_noexl_ctx.
15772         (libc_feholdsetround_ctx): New function.
15773         (libc_feresetround_ctx): New function.
15774         (libc_feholdsetround_noex_ctx): New function.
15775         (libc_feresetround_noex_ctx): New function.
15777 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15779         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15780         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15781         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15782         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15783         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15784         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15786         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15787         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15788         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15789         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15790         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15791         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15793         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15795         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15797         Moved ...
15798         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15799         ... here.
15800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15801         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15803         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15805         Moved ...
15806         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15808         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15814         Moved ...
15815         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15817         Moved ...
15818         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15820         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15822         Moved ...
15823         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15827         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15828         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15829         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15833         Moved ...
15834         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15835         ... here.
15836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15845         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15847         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15849         Moved ...
15850         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15852         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15854         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15856         Moved ...
15857         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15859         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15860         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15861         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15863         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15864         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15865         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15866         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15867         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15872         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15874         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15876         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15878         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15880         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15881         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15882         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15883         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15884         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15885         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15886         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15888         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15889         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15890         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15892 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15894         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15895         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15896         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15897         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15898         (IPV6_PMTUDISC_INTERFACE): Likewise.
15899         (IPV6_PMTUDISC_OMIT): Likewise.
15901 2014-06-23  Andreas Schwab  <schwab@suse.de>
15903         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15904         Remove unused errout label.
15906 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15908         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15909         macro: hardware supports Vector Crypto instructions.
15911 2014-06-23  Will Newton  <will.newton@linaro.org>
15913         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15914         rather than __builtin_expect.
15916         * elf/dl-lookup.c (undefined_msg): Remove variable.
15917         (_dl_lookup_symbol_x): Replace undefined_msg with string
15918         literal.
15920         * elf/dl-lookup.c (do_lookup_unique): New function.
15921         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15922         to a separate function.
15924 2014-06-23  Andreas Schwab  <schwab@suse.de>
15926         [BZ #17079]
15927         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15928         before reading the next line.
15930 2014-06-23  Will Newton  <will.newton@linaro.org>
15932         * test-skeleton.c (signal_handler): Use printf and %m
15933         rather than perror.  Use printf rather than fprintf to
15934         stderr.  Use puts rather than fputs to stderr.
15935         (main): Likewise.
15937 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15939         * nscd/nscd.c (thread_info_t): Remove typedef.
15940         (thread_info): Remove variable.
15942 2014-06-21  Allan McRae  <allan@archlinux.org>
15944         * NEWS: Mention CVE-2014-4043.
15946 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15948         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15949         * nptl/smp.h: ... here.
15951         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15953         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15954         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15955         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15956         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15958         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15959         * nptl/stack-aliasing.h: New file.
15960         * sysdeps/i386/i686/stack-aliasing.h: New file.
15961         * sysdeps/i386/i686/nptl/Makefile: File removed.
15962         * sysdeps/x86_64/stack-aliasing.h: New file.
15963         * sysdeps/x86_64/nptl/Makefile
15964         (CFLAGS-pthread_create.c): Variable removed.
15966         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15967         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15968         old file.
15969         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15970         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15971         old file.
15973 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15975         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15976         (__ASSUME_SIGFRAME_V2): Remove macro.
15977         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15978         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15979         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15980         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15981         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15982         Declare as function.  Remove conditional macro definitions.
15983         (__default_rt_sa_restorer): Likewise.
15984         (__default_sa_restorer_v1): Remove declaration.
15985         (__default_sa_restorer_v2): Likewise.
15986         (__default_rt_sa_restorer_v1): Likewise.
15987         (__default_rt_sa_restorer_v2): Likewise.
15988         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15989         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15990         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15992 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15994         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15995         (libpthread-routines): Add sysdep.
15996         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15997         * sysdeps/unix/sysv/linux/sparc/Versions
15998         (libpthread: GLIBC_2.3.3): New version set.
15999         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16000         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16001         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16002         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16003         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16004         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16005         Moved ...
16006         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16008         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16010         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16012         * sysdeps/sparc/nptl/sem_init.c: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16014         * sysdeps/sparc/nptl/sem_post.c: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16016         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16018         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16020         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16021         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16022         (libpthread-routines): Add cpu_relax.
16023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16024         File removed.
16025         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16026         (librt: GLIBC_2.3.3): New version set.
16027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16028         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16029         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16030         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16033         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16035         Moved ...
16036         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16038         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16040         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16042         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16044         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16046         Moved ...
16047         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16048         Update #include.
16049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16050         Moved ...
16051         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16052         Update #include.
16053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16054         Moved ...
16055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16056         Update #include.
16057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16058         Moved ...
16059         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16060         Update #include.
16061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16062         Moved ...
16063         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16064         Update #include.
16065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16066         Moved ...
16067         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16068         Update #include.
16069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16070         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16076         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16078         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16080         Moved ...
16081         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16083         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16085         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16087 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16089         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16090         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16091         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16092         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16093         * nscd/nscd.c: Likewise.
16094         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16095         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16096         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16097         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16099         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16100         <kernel-features.h>.
16101         (init_mq_netlink): Remove conditional have_sock_cloexec
16102         definitions.  Remove code conditional on have_sock_cloexec < 0.
16103         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16104         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16105         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16106         <kernel-features.h>.
16107         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16108         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16110 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16113         Add tests for memset_chk and memset.
16115         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16116         with AVX2_Usable.
16118 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16120         [BZ #16046]
16121         * elf/tst-dl-iter-static.c: New file.
16122         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16124         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16125         error.
16127 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16129         * sysdeps/unix/sysv/linux/kernel-features.h
16130         (__ASSUME_F_GETOWN_EX): Remove macro.
16131         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16132         <kernel-features.h>.
16133         (miss_F_GETOWN_EX): Remove variable or macro.
16134         (do_fcntl): Do not check miss_F_GETOWN_EX.
16135         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16137         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16138         Remove macro.
16139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16140         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16141         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16143         * sysdeps/unix/sysv/linux/kernel-features.h
16144         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16145         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16146         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16147         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16149 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16151         [BZ #17075]
16152         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16153         Fix calculation of the symbol's value.
16154         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16155         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16156         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16157         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16158         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16159         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16160         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16161         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16162         (modules-names): Add `tst-armtlsdescmod',
16163         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16164         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16165         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16166         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16167         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16168         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16169         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16170         ($(objpfx)tst-armtlsdescloc): New dependency.
16171         ($(objpfx)tst-armtlsdescextnow): Likewise.
16172         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16173         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16174         TLS scheme support.
16175         * sysdeps/arm/configure: Regenerate.
16177 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16179         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16180         (__atfct_seterrno_2): Likewise.
16181         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16182         <kernel-features.h>.
16183         (__ASSUME_ATFCTS): Do not undefine and redefine.
16184         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16185         (__have_atfcts): Remove conditional definition.
16186         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16187         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16188         unreachable if [__ASSUME_ATFCTS].
16189         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16190         not undefine and redefine.
16191         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16192         <kernel-features.h>.
16193         (faccessat) [__NR_faccessat]: Make code unconditional.
16194         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16195         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16196         <kernel-features.h>.
16197         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16198         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16199         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16200         <kernel-features.h>.
16201         (fchownat) [__NR_fchownat]: Make code unconditional.
16202         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16203         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16204         <kernel-features.h>.
16205         (futimesat) [__NR_futimesat]: Make code unconditional.
16206         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16207         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16208         <kernel-features.h>.
16209         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16210         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16211         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16212         <kernel-features.h>.
16213         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16214         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16215         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16216         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16217         <kernel-features.h>.
16218         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16219         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16220         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16221         <kernel-features.h>.
16222         (linkat) [__NR_linkat]: Make code unconditional.
16223         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16224         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16225         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16226         <kernel-features.h>.
16227         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16228         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16229         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16230         <kernel-features.h>.
16231         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16232         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16233         * sysdeps/unix/sysv/linux/openat.c: Do not include
16234         <kernel-features.h>.
16235         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16236         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16237         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16238         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16239         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16240         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16241         <kernel-features.h>.
16242         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16243         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16244         result of INLINE_SYSCALL directly, not via int variable.
16245         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16246         <kernel-features.h>.
16247         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16248         (renameat) [__NR_renameat]: Make code unconditional.
16249         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16250         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16251         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16252         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16253         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16254         (__ASSUME_ATFCTS): Do not undefine and redefine.
16255         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16256         <kernel-features.h>.
16257         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16258         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16259         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16260         <kernel-features.h>.
16261         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16262         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16263         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16264         (__ASSUME_ATFCTS): Do not undefine and redefine.
16265         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16266         <kernel-features.h>.
16267         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16268         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16269         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16270         <kernel-features.h>.
16271         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16272         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16274 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16276         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16278 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16280         [BZ #17069]
16281         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16282         constructed tree before returning error.
16283         * posix/bug-regexp36.c: Expand test case.
16285 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16287         [BZ #6803]
16288         * math/libm-test.inc (scalbln_test_date):
16289         Add errno expectations.
16290         * math/w_scalblnf.c: New File.
16291         Add wrapper which checks for setting errno to ERANGE.
16292         Add weak_alias for corresponding scalbln function.
16293         * math/w_scalbln.c: Likewise.
16294         * math/w_scalblnl.c: Likewise.
16295         * math/Makefile (libm-calls): Add w_scalbln.
16296         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16297         Remove weak_alias for corresponding scalbln function.
16298         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16301         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16302         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16303         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16304         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16305         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16306         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16307         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16308         Remove long_double_symbol for scalblnl function in libm, libc.
16309         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16310         Add wrapper which checks for setting errno to ERANGE.
16311         Add long_double_symbol for scalblnl function in libm, libc.
16312         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16313         Remove long_double_symbol for scalblnl in libm.
16314         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16315         Add wrapper which checks for setting errno to ERANGE.
16316         Add long_double_symbol for scalblnl function in libm.
16317         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16318         Do not use wrapper because of own implementation.
16320 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16322         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16323         3 bytes for __pad1 for x32.
16324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16326 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16327             H.J. Lu  <hongjiu.lu@intel.com>
16329         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16330         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16331         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16332         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16333         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16335 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16337         [BZ #17069]
16338         * posix/regcomp.c (parse_expression): Deallocate partially
16339         constructed tree before returning error.
16340         * posix/Makefile.c (tests): Add bug-regex36.
16341         (generated): Add bug-regex36.mtrace.
16342         (tests-special): Add $(objpfx)bug-regex36-mem.out
16343         (bug-regex36-ENV): New variable.
16344         ($(objpfx)bug-regex36-mem.out): New rule.
16345         * posix/bug-regex36.c: New file.
16347 2014-06-19  Will Newton  <will.newton@linaro.org>
16349         * malloc/malloc.c (systrim): If extra is zero then return
16350         early.
16352 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16354         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16356 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16358         * sysdeps/aarch64/strchr.S: New file.
16360 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16362         [BZ #17022]
16363         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16364         from arguments -2 or below.
16365         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16366         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16368 2014-06-18  Andreas Schwab  <schwab@suse.de>
16370         [BZ #17062]
16371         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16372         of a bracket expr not to run off the end of the string.
16373         * posix/Makefile (tests): Add tst-fnmatch3.
16374         * posix/tst-fnmatch3.c: New file.
16376 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16378         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16379         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16380         [$(cross-compiling) = no]: Likewise.
16381         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16382         [$(cross-compiling) = no]: Likewise.
16384 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16386         [BZ #17031]
16387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16388         double, adjusted for any remainder from the high double.
16389         * math/libm-test.inc (nearbyint): Add tests.
16390         (rint): Likewise.
16392 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16394         * nptl/sysdeps/powerpc/Makefile: Moved ...
16395         * sysdeps/powerpc/nptl/Makefile: ... here.
16396         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16397         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16398         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16399         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16400         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16401         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16402         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16403         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16404         * nptl/sysdeps/powerpc/tls.h: Moved ...
16405         * sysdeps/powerpc/nptl/tls.h: ... here.
16407 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16409         [BZ #16681]
16410         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16411         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16412         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16413         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16414         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16415         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16416         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16417         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16418         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16420 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16422         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16424 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16426         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16427         defined operator.
16429         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16430         $TIMEOUTFACTOR.
16432 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16434         [BZ #17058]
16435         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16436         non-executed part of the test.
16438 2014-06-16  Andreas Schwab  <schwab@suse.de>
16440         * string/bits/string2.h (strdup, strndup): Update feature guard.
16442 2014-06-14  David S. Miller  <davem@davemloft.net>
16444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16446 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16448         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16449         that was previously under [RESET_PID].
16450         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16452         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16453         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16454         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16455         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16456         (__libc_vfork): New strong alias.
16457         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16459 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16461         * sysdeps/generic/elide.h: New file.
16463 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16465         * Makefile (installed-headers): Adjust path of pthread.h header.
16467 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16469         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16470         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16471         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16472         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16474         * nptl/sysdeps/s390/Makefile: Moved ...
16475         * sysdeps/s390/nptl/Makefile: ... here.
16476         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16477         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16478         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16479         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16480         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16481         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16482         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16483         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16484         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16485         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16486         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16487         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16488         * nptl/sysdeps/s390/tls.h: Moved ...
16489         * sysdeps/s390/nptl/tls.h: ... here.
16491         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16492         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16494 2014-06-13  David S. Miller  <davem@davemloft.net>
16496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16499         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16503         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16504         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16505         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16506         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16507         Remove RESET_PID cpp guards.
16508         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16509         Remove RESET_PID cpp guards.
16510         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16512 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16514         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16515         __sp to uintptr_t.
16517 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16519         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16520         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16521         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16522         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16523         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16524         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16525         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16526         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16527         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16528         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16529         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16530         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16531         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16532         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16533         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16534         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16535         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16536         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16537         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16540         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16541         (pthread_rwlock_rdlock): Add elision.
16542         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16543         (pthread_rwlock_wrlock): Add elision.
16544         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16545         (pthread_rwlock_trywrlock): Add elision.
16546         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16547         (pthread_rwlock_tryrdlock): Add elision.
16548         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16549         (pthread_rwlock_tryrdlock): Add elision unlock.
16550         * nptl/sysdeps/pthread/pthread.h:
16551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16552         (PTHREAD_RWLOCK_INITIALIZER,
16553         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16554         Handle new elision field.
16555         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16556         * sysdeps/arm/nptl/bits/pthreadtypes.h
16557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16558         * sysdeps/sh/nptl/bits/pthreadtypes.h
16559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16560         * sysdeps/tile/nptl/bits/pthreadtypes.h
16561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16562         * sysdeps/a/nptl/bits/pthreadtypes.h
16563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16564         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16566         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16568         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16570         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16571         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16572         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16574         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16576         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16578         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16580         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16581         (elision_init): Set try_xbegin to zero when no RTM.
16582         * sysdeps/x86/nptl/bits/pthreadtypes.h
16583         (pthread_rwlock_t): Change __pad1 to __rwelision.
16584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16586 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16588         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16589         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16590         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16591         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16593 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16595         [BZ #16996]
16596         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16597         that the cached result has been set before returning it.
16599 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16601         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16602         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16603         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16604         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16605         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16606         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16608         * nptl/sysdeps/sparc/Makefile: Moved ...
16609         * sysdeps/sparc/nptl/Makefile: ... here.
16610         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16611         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16612         * nptl/sysdeps/sparc/tls.h: Moved ...
16613         * sysdeps/sparc/nptl/tls.h: ... here.
16614         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16615         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16616         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16617         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16618         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16619         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16620         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16621         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16622         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16623         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16624         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16625         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16626         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16627         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16628         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16629         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16630         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16631         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16632         Update #include.
16633         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16635         Update #include.
16636         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16638         Update #include.
16639         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16641         Update #include.
16643         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16645         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16646         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16648         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16649         (struct list_links): Type removed.
16650         (struct thread_node, struct timer_node): Replace struct list_links
16651         with struct list_head.
16652         (list_unlink_ip): Likewise.
16653         * sysdeps/pthread/timer_routines.c
16654         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16655         (list_append, list_insbefore): Likewise.
16656         (list_init): Function removed.
16657         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16658         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16659         * sysdeps/pthread/Makefile: ... here, new file.
16661         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16662         * sysdeps/nptl/Implies: ... here.
16663         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16664         * nptl/sysdeps/pthread/list.h: Moved ...
16665         * include/list.h: ... here.
16666         * nptl/sysdeps/pthread/createthread.c: Moved ...
16667         * nptl/createthread.c: ... here.
16668         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16669         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16670         * nptl/pt-longjmp.c: ... here.
16671         * nptl/sysdeps/pthread/Makefile: Moved ...
16672         * sysdeps/nptl/Makefile: ... here.
16673         * nptl/sysdeps/pthread/Subdirs: Moved ...
16674         * sysdeps/nptl/Subdirs: ... here.
16675         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16676         * sysdeps/nptl/aio_misc.h: ... here.
16677         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16678         * sysdeps/nptl/bits/libc-lock.h: ... here.
16679         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16680         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16681         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16682         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16683         * nptl/sysdeps/pthread/configure: Moved ...
16684         * sysdeps/nptl/configure: ... here.
16685         * nptl/sysdeps/pthread/configure.ac: Moved ...
16686         * sysdeps/nptl/configure.ac: ... here.
16687         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16688         * sysdeps/nptl/gai_misc.h: ... here.
16689         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16690         * sysdeps/nptl/librt-cancellation.c: ... here.
16691         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16692         * sysdeps/nptl/malloc-machine.h: ... here.
16693         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16694         * sysdeps/nptl/pthread-functions.h: ... here.
16695         * nptl/sysdeps/pthread/pthread.h: Moved ...
16696         * sysdeps/nptl/pthread.h: ... here.
16697         * nptl/sysdeps/pthread/setxid.h: Moved ...
16698         * sysdeps/nptl/setxid.h: ... here.
16699         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16700         * sysdeps/nptl/sigfillset.c: ... here.
16701         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16702         * sysdeps/nptl/tcb-offsets.h: ... here.
16703         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16704         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16705         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16706         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16707         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16708         * sysdeps/pthread/allocalim.h: ... here.
16709         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16710         * sysdeps/pthread/bits/sigthread.h: ... here.
16711         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16712         * sysdeps/pthread/flockfile.c: ... here.
16713         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16714         * sysdeps/pthread/ftrylockfile.c: ... here.
16715         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16716         * sysdeps/pthread/funlockfile.c: ... here.
16717         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16718         * sysdeps/pthread/posix-timer.h: ... here.
16719         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16720         * sysdeps/pthread/timer_create.c: ... here.
16721         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16722         * sysdeps/pthread/timer_delete.c: ... here.
16723         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16724         * sysdeps/pthread/timer_getoverr.c: ... here.
16725         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16726         * sysdeps/pthread/timer_gettime.c: ... here.
16727         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16728         * sysdeps/pthread/timer_routines.c: ... here.
16729         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16730         * sysdeps/pthread/timer_settime.c: ... here.
16731         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16732         * sysdeps/pthread/tst-timer.c: ... here.
16733         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16734         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16736         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16737         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16739         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16740         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16741         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16742         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16743         Update #include target.
16744         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16745         * sysdeps/i386/i686/nptl/Makefile: ... here.
16746         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16747         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16748         Update #include target.
16749         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16750         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16751         * nptl/sysdeps/i386/Makefile: Moved ...
16752         * sysdeps/i386/nptl/Makefile: ... here.
16753         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16754         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16755         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16756         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16757         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16758         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16759         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16760         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16761         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16762         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16763         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16764         * nptl/sysdeps/i386/tls.h: Moved ...
16765         * sysdeps/i386/nptl/tls.h: ... here.
16767         * sysdeps/sh/Makefile [$(subdir) = csu]
16768         (gen-as-const-headers): Add tcb-offsets.sym.
16769         * nptl/sysdeps/sh/Makefile: File removed.
16770         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16771         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16772         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16773         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16774         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16775         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16776         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16777         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16778         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16779         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16780         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16781         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16782         * nptl/sysdeps/sh/tls.h: Moved ...
16783         * sysdeps/sh/nptl/tls.h: ... here.
16784         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16785         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16787         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16789         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16793         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16795         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16797         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16798         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16799         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16800         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16801         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16803         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16805         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16811         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16815         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16816         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16817         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16818         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16819         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16821         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16823         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16824         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16825         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16827         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16829         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16831         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16833 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16835         * posix/spawn_faction_addopen.c: Include string.h.
16837 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16839         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16840         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16841         * nptl/sysdeps/x86_64/Makefile: Moved ...
16842         * sysdeps/x86_64/nptl/Makefile: ... here.
16843         * nptl/sysdeps/x86_64/configure: Moved ...
16844         * sysdeps/x86_64/nptl/configure: ... here.
16845         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16846         * sysdeps/x86_64/nptl/configure.ac: ... here.
16847         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16848         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16849         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16850         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16851         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16852         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16853         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16854         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16855         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16856         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16857         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16858         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16859         * nptl/sysdeps/x86_64/tls.h: Moved ...
16860         * sysdeps/x86_64/nptl/tls.h: ... here.
16861         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16862         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16863         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16864         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16866         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16868 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16872 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16874         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16875         type.
16876         [POSIX] (off_t): Likewise.
16877         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16878         [POSIX] (S_ISBLK): Require macro.
16879         [POSIX] (S_ISCHR): Likewise.
16880         [POSIX] (S_ISDIR): Likewise.
16881         [POSIX] (S_ISFIFO): Likewise.
16882         [POSIX] (S_ISREG): Likewise.
16883         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16884         optional-macro.
16885         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16886         type.
16887         [POSIX] (time_t): Likewise.
16888         [POSIX] (timer_t): Likewise.
16890 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16892         [BZ #17048]
16893         * posix/spawn_int.h (struct __spawn_action): Make the path string
16894         non-const to support deallocation.
16895         * posix/spawn_faction_addopen.c
16896         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16897         * posix/spawn_faction_destroy.c
16898         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16899         path in all spawn_do_open actions.
16900         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16901         posix_spawn_file_actions_addopen.
16903 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16905         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16906         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16907         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16908         conditional code always true.
16909         (__libc_vfork): New alias.
16911 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16913         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16914         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16916         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16918         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16919         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16921         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16922         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16924         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16925         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16927 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16929         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16930         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16931         multiarch strcmp for PPC64.
16932         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16933         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16935         multiarch optimizations.
16936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16937         (__libc_ifunc_impl_list): Likewise.
16939 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16941         * benchtests/scripts/validate_benchout.py: New script.
16942         * benchtests/Makefile (bench-func): Call it.
16943         * benchtests/scripts/benchout.schema.json: New file.
16945 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16947         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16948         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16949         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16950         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16951         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16952         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16953         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16954         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16955         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16956         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16957         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16958         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16959         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16960         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16961         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16962         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16964         Moved ...
16965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16966         ... here.
16967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16968         Moved ...
16969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16971         Moved ...
16972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16973         ... here.
16974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16975         Moved ...
16976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16977         ... here.
16978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16979         Moved ...
16980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16982         Moved ...
16983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16984         ... here.
16985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16986         Moved ...
16987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16988         ... here.
16989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16990         Moved ...
16991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16993         Moved ...
16994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16995         ... here.
16996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16997         Moved ...
16998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16999         ... here.
17000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17001         Moved ...
17002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17003         ... here.
17004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17005         Moved ...
17006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17008         Moved ...
17009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17010         ... here.
17011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17012         Moved ...
17013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17014         ... here.
17015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17016         Moved ...
17017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17018         ... here.
17019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17020         Moved ...
17021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17023         Moved ...
17024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17025         ... here.
17026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17027         Moved ...
17028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17029         ... here.
17030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17031         Moved ...
17032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17034         Moved ...
17035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17036         ... here.
17037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17038         Moved ...
17039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17041         Moved ...
17042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17044         Moved ...
17045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17046         ... here.
17047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17048         Moved ...
17049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17050         ... here.
17051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17054         ... here.
17055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17056         Moved ...
17057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17059         Moved ...
17060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17061         ... here.
17062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17063         Moved ...
17064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17065         ... here.
17066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17067         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17069         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17071         Moved ...
17072         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17073         ... here.
17074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17075         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17077         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17079         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17081         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17083         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17085         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17086         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17087         Moved ...
17088         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17090         Moved ...
17091         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17093         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17095         Moved ...
17096         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17100         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17101         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17102         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17104 2014-06-10  Wilco  <wdijkstr@arm.com>
17106         * math/test-fenv-return.c: New file.
17107         * math/Makefile: Add new test test-fenv-return.
17109 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17111         [BZ #17042]
17112         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17113         when x - 1 is zero.
17114         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17115         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17116         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17117         0.0L for an argument of 1.0L.
17118         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17119         Likewise.
17120         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17121         value when x - 1 is zero.
17122         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17123         * sysdeps/i386/fpu/libm-test-ulps: Update.
17124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17126 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17128         [BZ #15119]
17129         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17131 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17133         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17134         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17136 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17138         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17139         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17141         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17142         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17144         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17145         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17147         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17148         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17150         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17151         if not already defined.
17152         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17153         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17154         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17155         (TLS_INIT_TP): Use it.
17156         (TLS_DEFINE_INIT_TP): New macro.
17157         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17159 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17161         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17162         constant.
17163         [POSIX] (IXANY): Likewise.
17164         [POSIX] (OLCUC): Likewise.
17165         [POSIX || POSIX2008] (CBAUD): Do not allow.
17166         [POSIX || POSIX2008] (DEFECHO): Likewise.
17167         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17168         [POSIX || POSIX2008] (ECHOKE): Likewise.
17169         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17170         [POSIX || POSIX2008] (EXTA): Likewise.
17171         [POSIX || POSIX2008] (EXTB): Likewise.
17172         [POSIX || POSIX2008] (FLUSHO): Likewise.
17173         [POSIX || POSIX2008] (LOBLK): Likewise.
17174         [POSIX || POSIX2008] (PENDIN): Likewise.
17175         [POSIX || POSIX2008] (SWTCH): Likewise.
17176         [POSIX || POSIX2008] (VDISCARD): Likewise.
17177         [POSIX || POSIX2008] (VDSUSP): Likewise.
17178         [POSIX || POSIX2008] (VLNEXT): Likewise.
17179         [POSIX || POSIX2008] (VREPRINT): Likewise.
17180         [POSIX || POSIX2008] (VSTATUS): Likewise.
17181         [POSIX || POSIX2008] (VWERASE): Likewise.
17182         (B*): Change to B[0123456789]*.
17183         * conform/data/time.h-data [POSIX || UNIX98]
17184         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17185         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17186         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17187         [POSIX] (tm_*): Do not allow.
17189 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17191         * Makefile (install): Don't set LANGUAGE.
17192         * Makefile.in (install): Likewise.
17193         * assert/Makefile (test-assert-ENV): Remove variable.
17194         (test-assert-perr-ENV): Likewise.
17195         * elf/Makefile (neededtest4-ENV): Likewise.
17196         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17197         [$(cross-compiling) = no]: Don't set LANGUAGE.
17198         * io/ftwtest-sh (LANG): Remove variable.
17199         * libio/Makefile (tst-widetext-ENV): Likewise.
17200         * manual/install.texi (Running make install): Don't refer to
17201         environment settings for make install.
17202         * INSTALL: Regenerated.
17203         * nptl/tst-tls6.sh: Don't set LANG.
17204         * posix/globtest.sh (LANG): Remove variable.
17205         * string/Makefile (tester-ENV): Likewise.
17206         (inl-tester-ENV): Likewise.
17207         (noinl-tester-ENV): Likewise.
17208         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17209         [$(cross-compiling) = no]: Don't set LANGUAGE.
17210         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17211         without explicit environment settings.
17213 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17215         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17216         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17218         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17220 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17222         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17223         other files in the crypt directory.
17224         * crypt/crypt.c: Remove duplicate includes.
17225         * crypt/crypt-entry.c: Likewise.
17226         * crypt/crypt_util.c: Likewise.
17228 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17230         * Makeconfig (run-program-env): New variable.
17231         (run-program-prefix-before-env): Likewise.
17232         (run-program-prefix-after-env): Likewise.
17233         (run-program-prefix): Define in terms of new variables.
17234         (built-program-cmd-before-env): New variable.
17235         (built-program-cmd-after-env): Likewise.
17236         (built-program-cmd): Define in terms of new variables.
17237         (test-program-prefix-before-env): New variable.
17238         (test-program-prefix-after-env): Likewise.
17239         (test-program-prefix): Define in terms of new variables.
17240         (test-program-cmd-before-env): New variable.
17241         (test-program-cmd-after-env): Likewise.
17242         (test-program-cmd): Define in terms of new variables.
17243         * Rules (make-test-out): Use $(run-program-env).
17244         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17245         (help): Do not mention environment variables.  Mention
17246         --timeoutfactor option.
17247         (timeoutfactor): New variable.
17248         (blacklist_exports): Remove function.
17249         (exports): Remove variable.
17250         (command): Do not include ${exports}.
17251         * manual/install.texi (Configuring and compiling): Do not mention
17252         test wrappers preserving environment variables.  Mention that last
17253         assignment to a variable must take precedence.
17254         * INSTALL: Regenerated.
17255         * benchtests/Makefile (run-bench): Use $(run-program-env).
17256         * catgets/Makefile ($(objpfx)test1.cat): Use
17257         $(built-program-cmd-before-env), $(run-program-env) and
17258         $(built-program-cmd-after-env).
17259         ($(objpfx)test2.cat): Do not specify environment variables
17260         explicitly.
17261         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17262         $(run-program-env) and $(built-program-cmd-after-env).
17263         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17264         $(run-program-env) and $(test-program-cmd-after-env).
17265         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17266         explicitly.
17267         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17268         run_program_env and test_program_cmd_after_env arguments.
17269         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17270         * elf/tst-pathopt.sh: Use run_program_env argument.
17271         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17272         $(test-wrapper-env) and $(run-program-env).
17273         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17274         run_program_env arguments.
17275         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17276         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17277         $(test-program-prefix-before-env), $(run-program-env) and
17278         $(test-program-prefix-after-env).
17279         ($(objpfx)tst-gettext2.out): Likewise.
17280         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17281         run_program_env and test_program_prefix_after_env arguments.
17282         * intl/tst-gettext2.sh: Likewise.
17283         * intl/tst-gettext4.sh: Do not set environment variables
17284         explicitly.
17285         * intl/tst-gettext6.sh: Likewise.
17286         * intl/tst-translit.sh: Likewise.
17287         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17288         $(test-program-prefix-before-env), $(run-program-env) and
17289         $(test-program-prefix-after-env).
17290         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17291         run_program_env and test_program_prefix_after_env arguments.
17292         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17293         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17294         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17295         explicitly with each use of ${test_wrapper_env}.
17296         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17297         $(test-program-prefix-before-env), $(run-program-env) and
17298         $(test-program-prefix-after-env).
17299         * posix/tst-getconf.sh: Do not set environment variables
17300         explicitly.
17301         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17302         run_program_env and test_program_prefix_after_env arguments.
17303         * stdio-common/tst-printf.sh: Do not set environment variables
17304         explicitly.
17305         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17306         $(test-program-prefix-before-env), $(run-program-env) and
17307         $(test-program-prefix-after-env).
17308         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17309         run_program_env and test_program_prefix_after_env arguments.
17310         Split $test calls into $test_pre and $test.
17311         * timezone/Makefile (build-testdata): Use
17312         $(built-program-cmd-before-env), $(run-program-env) and
17313         $(built-program-cmd-after-env).
17315 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17317         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17318         strlen for non SHARED builds.
17320 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17322         * nptl/allocatestack.c (check_list): Inlined function...
17323         (__reclaim_stacks): ... here.
17325 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17327         [BZ #15698]
17328         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17329         memory overrun.
17331 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17333         * Rules (make-test-out): Include
17334         LOCPATH=$(common-objpfx)localedata in default environment.
17335         * debug/Makefile (tst-chk1-ENV): Remove variable.
17336         (tst-chk2-ENV): Likewise.
17337         (tst-chk3-ENV): Likewise.
17338         (tst-chk4-ENV): Likewise.
17339         (tst-chk5-ENV): Likewise.
17340         (tst-chk6-ENV): Likewise.
17341         (tst-lfschk1-ENV): Likewise.
17342         (tst-lfschk2-ENV): Likewise.
17343         (tst-lfschk3-ENV): Likewise.
17344         (tst-lfschk4-ENV): Likewise.
17345         (tst-lfschk5-ENV): Likewise.
17346         (tst-lfschk6-ENV): Likewise.
17347         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17348         (tst-iconv7-ENV): Likewise.
17349         * intl/Makefile (LOCPATH-ENV): Likewise.
17350         (tst-codeset-ENV): Likewise.
17351         (tst-gettext3-ENV): Likewise.
17352         (tst-gettext5-ENV): Likewise.
17353         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17354         (tst-fopenloc-ENV): Likewise.
17355         (tst-fgetws-ENV): Remove variable.
17356         (tst-ungetwc1-ENV): Likewise.
17357         (tst-ungetwc2-ENV): Likewise.
17358         (bug-ungetwc2-ENV): Likewise.
17359         (tst-swscanf-ENV): Likewise.
17360         (bug-ftell-ENV): Likewise.
17361         (tst-fgetwc-ENV): Likewise.
17362         (tst-fseek-ENV): Likewise.
17363         (tst-ftell-partial-wide-ENV): Likewise.
17364         (tst-ftell-active-handler-ENV): Likewise.
17365         (tst-ftell-append-ENV): Likewise.
17366         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17367         (tst-regexloc-ENV): Likewise.
17368         (bug-regex1-ENV): Likewise.
17369         (tst-regex-ENV): Likewise.
17370         (tst-regex2-ENV): Likewise.
17371         (bug-regex5-ENV): Likewise.
17372         (bug-regex6-ENV): Likewise.
17373         (bug-regex17-ENV): Likewise.
17374         (bug-regex18-ENV): Likewise.
17375         (bug-regex19-ENV): Likewise.
17376         (bug-regex20-ENV): Likewise.
17377         (bug-regex22-ENV): Likewise.
17378         (bug-regex23-ENV): Likewise.
17379         (bug-regex25-ENV): Likewise.
17380         (bug-regex26-ENV): Likewise.
17381         (bug-regex30-ENV): Likewise.
17382         (bug-regex32-ENV): Likewise.
17383         (bug-regex33-ENV): Likewise.
17384         (bug-regex34-ENV): Likewise.
17385         (bug-regex35-ENV): Likewise.
17386         (tst-rxspencer-ENV): Likewise.
17387         (tst-rxspencer-no-utf8-ENV): Likewise.
17388         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17389         (tst-sscanf-ENV): Likewise.
17390         (tst-swprintf-ENV): Likewise.
17391         (tst-swscanf-ENV): Likewise.
17392         (test-vfprintf-ENV): Likewise.
17393         (scanf13-ENV): Likewise.
17394         (bug14-ENV): Likewise.
17395         (tst-grouping-ENV): Likewise.
17396         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17397         (tst-strtod3-ENV): Likewise.
17398         (tst-strtod4-ENV): Likewise.
17399         (tst-strtod5-ENV): Likewise.
17400         (testmb2-ENV): Likewise./
17401         * string/Makefile (tst-strxfrm-ENV): Likewise.
17402         (tst-strxfrm2-ENV): Likewise.
17403         (bug-strcoll1-ENV): Likewise.
17404         (test-strcasecmp-ENV): Likewise.
17405         (test-strncasecmp-ENV): Likewise.
17406         * time/Makefile (tst-strptime-ENV): Likewise.
17407         (tst-ftime_l-ENV): Likewise.
17408         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17409         (tst-mbrtowc-ENV): Likewise.
17410         (tst-wcrtomb-ENV): Likewise.
17411         (tst-mbrtowc2-ENV): Likewise.
17412         (tst-c16c32-1-ENV): Likewise.
17413         (tst-mbsnrtowcs-ENV): Likewise.
17415 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17417         * manual/resource.texi (How to get information about the memory
17418         subsystem?): Fix typo.
17419         Reported by Peon de la Parra Ivan <peon@keba.com>
17421 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17423         [BZ #16882]
17424         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17425         (pthread_spin_lock): Branch out of spin loop to proper location.
17426         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17427         (pthread_spin_lock): Likewise.
17429         * nptl/tst-spin4.c: New test.
17430         * nptl/Makefile (tests): Add tst-spin4.
17432 2014-06-03  Andreas Schwab  <schwab@suse.de>
17434         [BZ #15946]
17435         * resolv/res_send.c (send_dg): Reload file descriptor after
17436         calling reopen.
17438 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17440         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17442 2014-06-03  Richard Henderson  <rth@redhat.com>
17444         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17445         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17446         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17447         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17448         in the SAVE_PID block.
17449         (__libc_vfork): New alias.
17450         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17452         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17453         child in registers, not on the stack.  Remove RESET_PID conditionals.
17454         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17456 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17458         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17460 2014-06-03  Wilco  <wdijkstr@arm.com>
17462         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17463         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17464         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17465         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17466         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17467         Likewise.
17469 2014-06-03  Wilco  <wdijkstr@arm.com>
17471         * sysdeps/aarch64/fpu/math_private.h
17472         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17473         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17474         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17475         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17476         Fix declarations.
17478 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17480         * crypt/crypt-private.h: Include ufc-crypt.h.
17481         (__b64_from_24bit): Declare extern.
17482         * crypt/crypt_util.c(__b64_from_24bit): New function.
17483         (b64t): New static const variable.
17484         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17485         (b64t): Remove variable.
17486         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17487         * crypt/sha256-crypt.c: Include crypt-private.h.
17488         (b64t): Remove variable.
17489         (__sha256_crypt_r): Remove b64_from_24bit and replace
17490         with __b64_from_24bit.
17491         * crypt/sha512-crypt.c: Likewise.
17493 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17495         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17496         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17497         Label the code __libc_vfork rather than __vfork.
17498         [!NOT_IN_libc] (vfork): Define as weak alias.
17499         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17500         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17501         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17503 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17505         * malloc/malloc.c (malloc_info): Fix format specifier for
17506         n_mmaps.
17508 2014-06-02  Wilco  <wdijkstr@arm.com>
17510         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17511         FPCR write.
17513 2014-06-02  Wilco  <wdijkstr@arm.com>
17515         [BZ #17009]
17516         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17517         Rewrite to reduce FPCR/FPSR accesses.
17519 2014-06-01  David S. Miller  <davem@davemloft.net>
17521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17523 2014-05-31  David S. Miller  <davem@davemloft.net>
17525         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17526         to occur in round to nearest mode when |x| >= 2.0
17528 2014-05-30  Richard Henderson  <rth@twiddle.net>
17530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17531         (PSEUDO_RET_NOERRNO): Remove.
17532         (ret): Don't redefine.
17533         (ret_NOERRNO): Define in terms of ret.
17534         (ret_ERRVAL): Likewise.
17536         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17537         use of PSEUDO_RET; perform the error check directly.
17539 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17541         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17542         with __int128_t.
17544 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17546         * malloc/malloc (malloc_info): Fix formatting.
17548 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17549             Roland McGrath  <roland@hack.frob.com>
17551         * malloc/malloc (malloc_info): Also print mmapped statistics.
17553 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17555         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17556         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17558 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17560         * malloc/malloc.c (malloc_info): Inline mi_arena.
17562 2014-05-29  Richard Henderson  <rth@twiddle.net>
17564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17565         Remove comma before expanding ASM_ARGS_##nr.
17566         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17567         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17568         of ASM_ARGS_##nr.
17569         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17570         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17571         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17572         (ASM_ARGS_1): Add leading comma.
17574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17575         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17576         to __errno_location.
17577         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17578         Remove the expected plt for __errno_location.
17580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17581         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17582         call to __read_tp.
17584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17585         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17586         it and break it down.
17587         (DOCARGS_0, DOCARGS_1): Do nothing.
17588         (DOCARGS_2): Update to store into the new stack frame.
17589         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17590         (UNDOCARGS_1): Update to restore from the new stack frame.
17591         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17592         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17595         (SINGLE_THREAD_P): New parameter for result regno.
17596         (PSEUDO): Update to match; use cbz instead of beq.
17598         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17599         Use ENTRY to define the _nocancel entry point.  Share the syscall
17600         and syscall error check paths with the cancel path.
17601         (PSEUDO_END): New.
17603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17604         whitespace; tabs before and after asm mnemonics.
17606 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17608         [BZ #15132]
17609         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17610         Call fstat64 or stat64 internally, depending on arguments passed.
17611         Replace stat buffer argument with file descriptor argument.
17612         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17613         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17614         Pass fd to __internal_statvfs instead of calling fstat64.
17615         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17616         Pass fd to __internal_statvfs64 instead of calling fstat64.
17617         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17618         Pass -1 to __internal_statvfs instead of calling stat64.
17619         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17620         Pass -1 to __internal_statvfs64 instead of calling stat64.
17622 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17624         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17625         that was previously under [RESET_PID].
17626         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17628         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17629         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17631 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17633         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17635         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17636         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17638 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17640         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17642 2014-05-27  Andreas Schwab  <schwab@suse.de>
17644         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17645         TLS_INIT_TP macro.
17646         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17647         * elf/rtld.c (init_tls, dl_main): Likewise.
17648         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17649         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17650         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17651         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17652         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17653         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17654         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17655         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17656         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17657         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17658         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17659         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17660         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17661         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17662         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17663         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17664         * sysdeps/generic/tls.h: Update description.
17666 2014-05-27  Will Newton  <will.newton@linaro.org>
17668         [BZ #16990]
17669         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17670         and restore r2 rather than just restoring.
17672 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17674         [BZ #16724]
17675         * libio/tst-ftell-append.c: New test case.
17676         * libio/Makefile (tests): Add test case.
17677         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17678         append mode.
17679         * libio/wfileops.c (do_ftell_wide): Likewise.
17681 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17685         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17686         ...
17687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17689         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17690         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17691         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17692         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17693         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17696         Moved ...
17697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17699         Moved ...
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17701         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17702         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17703         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17704         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17705         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17706         ...
17707         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17709         Moved ...
17710         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17711         here.
17712         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17713         ...
17714         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17715         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17716         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17719         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17721         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17724         merge into ...
17725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17727         ...
17728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17730         ...
17731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17733         Moved ...
17734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17735         here.
17736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17737         Moved ...
17738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17740         Moved ...
17741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17744         conditional [RESET_PID].
17745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17747         removed.
17748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17749         removed.
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17752         <tcb-offsets.h>.
17753         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17754         (__libc_vfork): New strong alias.
17755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17756         removed.
17757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17758         Removed.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17761         <tcb-offsets.h>.
17762         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17763         (__libc_vfork): New strong alias.
17764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17765         removed.
17766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17767         removed.
17769 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17771         * malloc/malloc.c (mi_arena): New function.
17772         (malloc_info): Remove nested function mi_arena. Call non-nosted
17773         function mi_arena.
17775 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17777         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17778         by insrwi.
17779         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17780         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17781         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17782         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17783         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17784         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17785         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17787 2014-05-26  Andreas Schwab  <schwab@suse.de>
17789         [BZ #16984]
17790         * locale/programs/repertoire.c (repertoire_read): Add slash
17791         between I18NPATH element and file name.
17792         * locale/programs/locfile.c (locfile_read): Likewise.
17794 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17796         * nptl/pthread_mutexattr_settype.c
17797         (__pthread_mutexattr_settype):
17798         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17800 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17802         * nptl/tst-mutex5 (do_test):
17803         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17805 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17807         * benchtests/README: Document 'init' directive.
17808         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17809         BENCH_INIT.
17810         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17811         (parse_file): Recognize 'init' directive.
17813 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17815         [BZ #16796]
17816         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17817         alignment of struct pthread.
17819 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17821         [BZ #16878]
17822         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17823         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17824         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17825         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17827 2014-05-25  Richard Henderson  <rth@twiddle.net>
17829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17830         (SINGLE_THREAD_P_PIC): Remove.
17831         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17832         (SINGLE_THREAD_P_PIC): Remove.
17834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17835         branch to syscall error ...
17836         (PSEUDO): ... here.
17837         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17838         from __local_syscall_error to .Lsyscall_error.
17839         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17840         (SYSCALL_ERROR): Update label name.
17842         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17843         Do not use DOARGS/UNDOARGS.
17844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17845         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17846         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17847         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17848         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17851         block comment.
17853         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17854         define if !NOT_IN_libc.
17855         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17856         define with non-default symbol versions.
17858 2014-05-23  Richard Henderson  <rth@twiddle.net>
17860         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17861         (vfork, __vfork): Define via compat_symbol.
17863         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17864         [!HAVE_IFUNC] (vfork_compat): Remove.
17865         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17867 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17869         [BZ #16978]
17870         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17871         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17872         variable.
17874 2014-05-23  Richard Henderson  <rth@twiddle.net>
17876         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17877         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17878         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17879         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17881         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17882         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17883         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17884         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17885         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17886         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17887         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17888         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17889         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17890         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17891         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17892         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17893         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17894         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17895         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17896         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17897         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17898         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17899         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17900         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17901         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17902         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17903         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17904         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17905         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17906         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17907         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17908         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17909         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17910         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17911         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17912         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17913         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17914         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17915         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17916         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17917         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17918         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17919         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17920         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17921         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17922         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17923         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17924         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17925         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17926         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17927         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17928         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17930         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17932         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17934         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17936         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17938         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17939         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17940         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17941         before exiting on error.
17942         (__libc_vfork): New strong alias.
17943         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17944         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17946         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17947         that was previously under [RESET_PID].
17948         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17950         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17952 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17954         [BZ #16977]
17955         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17956         value when x - 1 is zero.
17957         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17958         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17959         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17960         0.0L for an argument of 1.0L.
17961         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17962         Likewise.
17963         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17964         value when x - 1 is zero.
17965         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17966         * sysdeps/i386/fpu/libm-test-ulps: Update.
17967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17969 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17971         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17972         alphasort and versionsort.
17974 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17976         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17977         macro.
17978         [copysignf]: Likewise.
17980 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17982         * crypt/md5-crypt.c: Fix formatting.
17984 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17986         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17987         (b64_from_24bit): New function.
17989 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17992         libc_hidden_builtin_def to ifunc.
17993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17994         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17996 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17998         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17999         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18001 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18003         * nscd/Depend (linuxthreads): Remove.
18004         (nptl): Add.
18005         * resolv/Depend (linuxthreads): Remove.
18006         * rt/Depend (linuxthreads): Remove.
18008         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18009         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18010         $(common-objpfx)elf/.
18011         (link-libc-before-gnulib): Likewise.
18012         (elfobjdir): Remove variable.
18013         * Makefile (install): Use $(elf-objpfx) instead of
18014         $(common-objpfx)elf/.
18015         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18016         $(elfobjdir)/.
18017         (link-libc-deps): Likewise.
18018         ($(common-objpfx)libc.so): Likewise.
18019         ($(common-objpfx)linkobj/libc.so): Likewise.
18020         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18021         instead of $(common-objpfx)elf/.
18022         (symbolic-link-list): Likewise.
18023         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18024         [$(cross-compiling) = no]: Likewise.
18025         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18026         $(elfobjdir)/.
18027         (static-gnulib-arch): Likewise.
18028         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18029         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18030         $(common-objpfx)elf/.
18032 2014-05-21  Richard Henderson  <rth@redhat.com>
18034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18035         (SINGLE_THREAD_P): Use the correct width load.  Fold
18036         into the ldr offset.
18038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18039         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18041 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18043         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18044         (libgcc_s_resume): Use __attribute_used__.
18045         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18046         Likewise.
18048 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18050         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18051         optimization when used with float constants.
18053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18055 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18057         [BZ #16915]
18058         * locale/nl_langinfo_l.c: Make direct reference to every
18059         _nl_current_CATEGORY symbol.
18060         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18061         (tests-static): Add tst-langinfo-static.
18062         (tests-special): Add tst-langinfo-static.out.
18063         ($(objpfx)tst-langinfo.out): Redirect output.
18064         ($(objpfx)tst-langinfo-static.out): New.
18065         * localedata/tst-langinfo.sh: Send output to stdout.
18066         * localedata/tst-langinfo-static.c: New file.
18068         [BZ #16965]
18069         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18070         when the shift amount is modulo the limb size.
18072 2014-05-20  Richard Henderson  <rth@redhat.com>
18074         [BZ #16967]
18075         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18076         Change type of sa_flags from unsigned int to int.
18078         [BZ #16966]
18079         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18081         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18083 2014-05-20  Will Newton  <will.newton@linaro.org>
18085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18086         Test the return value of the system call in the nocancel case.
18088 2014-05-20  Will Newton  <will.newton@linaro.org>
18089             Yvan Roux  <yvan.roux@linaro.org>
18091         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18092         #include of asm/ptrace.h.
18093         (PTRACE_GET_THREAD_AREA): Remove #undef.
18094         (PTRACE_GETHBPREGS): Likewise.
18095         (PTRACE_SETHBPREGS): Likewise.
18096         (struct user_regs_struct): New structure.
18097         (struct user_fpsimd_struct): New structure.
18098         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18099         #include of asm/ptrace.h and second #include of sys/user.h.
18100         (PTRACE_GET_THREAD_AREA): Remove #undef.
18101         (PTRACE_GETHBPREGS): Likewise.
18102         (PTRACE_SETHBPREGS): Likewise.
18103         (ELF_NGREG): Use new struct user_regs_struct.
18104         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18106 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18111 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18113         [BZ #16958]
18114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18115         membar to avoid block loads/stores to overlap previous stores.
18117 2014-05-17  Richard Henderson  <rth@redhat.com>
18119         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18120         Create the __##syscall_name##_nocancel entry point.
18121         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18122         Remove; let the sysdep-cancel.h code create it.
18124 2014-05-17  David S. Miller  <davem@davemloft.net>
18126         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18127         Protect with __USE_GNU.
18128         (TIOCSET_TEMPT): Likewise.
18129         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18130         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18131         these are already provided in bits/ioctl-types.h
18133 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18135         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18136         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18138         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18139         Use wait4 regardless of [__NR_waitpid].
18141 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18143         PR libgcc/60166
18144         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18145         (_FP_NANSIGN_Q): Set the quiet bit.
18147 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18149         * benchtests/Makefile
18150         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18151         not $(common-objpfx)math/libm.so.
18152         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18153         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18154         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18155         $(common-objpfx)dlfcn/libdl.so.
18156         ($(objpfx)tst-audit8): Depend on $(libm), not
18157         $(common-objpfx)math/libm.so.
18158         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18159         not $(common-objpfx)dlfcn/libdl.so.
18160         * math/Makefile
18161         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18162         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18163         [$(build-shared) = yes].
18164         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18165         $(common-objpfx)nptl/libpthread.so.
18166         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18167         $(common-objpfx)math/libm.so$(libm.so-version) or
18168         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18169         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18170         $(common-objpfx)dlfcn/libdl.so.
18171         * setjmp/Makefile (link-libm): Remove variable.
18172         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18173         * stdio-common/Makefile (link-libm): Remove variable.
18174         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18175         * stdlib/Makefile (link-libm): Remove variable.
18176         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18177         ($(objpfx)tst-strtod-round): Likewise.
18178         ($(objpfx)tst-tininess): Likewise.
18179         ($(objpfx)tst-strtod-underflow): Likewise.
18180         ($(objpfx)tst-strtod6): Likewise.
18181         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18182         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18183         $(common-objpfx)dlfcn/libdl.so.
18185 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18187         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18188         BSD terminal modes definitions.
18190 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18192         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18193         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18195         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18196         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18197         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18198         Don't do #include_next.
18199         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18200         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18201         Don't do #include_next.
18202         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18203         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18204         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18205         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18207 2014-05-16  Allan McRae  <allan@archlinux.org>
18209         * po/sv.po: Update Swedish translation from translation project.
18211         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18212         in sed expression.
18214 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18216         [BZ #16917]
18217         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18218         errno if the TIOCGPTN ioctl fails with an error different than
18219         EINVAL.
18220         * login/tst-ptsname.c: New file.
18221         * login/Makefile (tests): Add tst-ptsname.
18223         [BZ #16943]
18224         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18225         and prlimit64.
18227 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18229         [BZ #16849]
18230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18231         herrno to return EAI_AGAIN.
18233 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18235         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18236         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18237         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18238         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18239         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18240         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18241         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18242         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18243         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18244         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18245         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18246         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18248         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18260         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18264         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18266         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18270         Moved ...
18271         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18273         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18275         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18289         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18295         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18299         Moved ...
18300         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18302         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18304         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18306         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18308         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18312         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18314         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18316         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18318         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18320         Moved ...
18321         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18323         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18325         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18326         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18327         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18328         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18329         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18330         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18331         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18332         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18333         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18334         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18335         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18336         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18337         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18338         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18339         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18340         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18341         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18342         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18343         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18345         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18347         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18348         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18349         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18350         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18351         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18352         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18353         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18354         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18355         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18357         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18358         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18360         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18361         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18362         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18364         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18366         Moved ...
18367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18368         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18369         Moved ...
18370         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18372         Moved ...
18373         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18375         Moved ...
18376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18377         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18378         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18379         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18380         Moved ...
18381         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18382         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18383         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18385         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18386         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18387         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18388         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18389         Moved ...
18390         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18392         Moved ...
18393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18394         ... here.
18395         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18396         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18397         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18398         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18400         Moved ...
18401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18402         ... here.
18403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18404         Moved ...
18405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18406         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18407         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18408         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18409         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18411         Moved ...
18412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18413         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18414         Moved ...
18415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18416         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18417         Moved ...
18418         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18420         Moved ...
18421         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18422         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18423         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18424         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18425         Moved ...
18426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18427         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18428         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18430         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18431         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18432         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18433         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18434         Moved ...
18435         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18437         Moved ...
18438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18439         ... here.
18440         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18441         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18442         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18443         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18445         Moved ...
18446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18447         ... here.
18448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18449         Moved ...
18450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18451         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18452         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18453         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18454         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18455         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18458         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18460         Moved ...
18461         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18462         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18463         Moved ...
18464         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18466         Moved ...
18467         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18469         Moved ...
18470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18471         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18472         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18473         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18474         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18476         Moved ...
18477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18478         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18479         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18481         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18482         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18483         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18485         Moved ...
18486         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18488         Moved ...
18489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18490         ... here.
18491         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18492         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18494         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18496         Moved ...
18497         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18498         ... here.
18499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18500         Moved ...
18501         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18502         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18503         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18505         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18507         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18508         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18509         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18511         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18513         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18514         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18516         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18517         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18519         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18520         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18521         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18522         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18523         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18524         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18525         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18526         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18527         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18528         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18529         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18530         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18533         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18535         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18537         Moved ...
18538         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18540         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18542         Moved ...
18543         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18545         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18547         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18548         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18549         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18550         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18551         Moved ...
18552         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18554         Moved ...
18555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18561         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18562         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18563         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18564         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18565         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18566         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18567         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18568         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18571         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18573         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18574         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18575         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18576         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18577         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18579         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18580         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18581         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18582         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18583         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18584         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18585         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18586         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18587         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18588         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18593         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18594         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18595         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18596         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18597         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18598         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18599         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18600         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18601         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18602         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18603         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18604         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18605         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18606         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18608         Update #include.
18609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18610         Likewise.
18611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18612         Likewise.
18613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18614         Likewise.
18615         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18616         Likewise.
18617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18618         Likewise.
18619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18620         Likewise.
18621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18622         Likewise.
18623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18624         Likewise.
18625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18626         Likewise.
18627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18633         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18634         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18635         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18636         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18638         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18639         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18640         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18641         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18643         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18644         that was previously under [RESET_PID].
18645         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18646         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18647         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18649         * sysdeps/i386/nptl/Implies: New file.
18650         * sysdeps/x86_64/nptl/Implies: New file.
18651         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18652         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18653         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18654         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18656         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18657         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18658         (__libc_vfork): New strong alias.
18659         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18660         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18662         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18663         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18664         (__libc_vfork): New strong alias.
18665         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18666         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18668         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18669         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18670         (__libc_vfork): New strong alias.
18671         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18672         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18673         * nptl/pt-vfork.c: New file.
18674         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18675         (libpthread: GLIBC_2.20): New version set (empty).
18677 2014-05-14  Will Newton  <will.newton@linaro.org>
18679         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18680         rather than #if.
18682 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18684         [BZ #16564]
18685         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18686         arguments with exponent 65 or above.
18687         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18688         arguments 0x1p113L or above.
18689         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18690         to arguments 0x1p107L or above.
18691         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18692         positive arguments with exponent 65 or above.
18693         * math/auto-libm-test-in: Add more tests of log1p.
18694         * math/auto-libm-test-out: Regenerated.
18696         [BZ #16928]
18697         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18698         non-finite arguments is +0.
18699         * math/s_cacosf.c (__cacosf): Likewise.
18700         * math/s_cacosl.c (__cacosl): Likewise.
18701         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18702         * sysdeps/i386/fpu/libm-test-ulps: Update.
18703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705         [BZ #16927]
18706         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18707         value.
18708         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18709         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18710         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18711         for explicit high bit of mantissa when testing for argument equal
18712         to 1.
18713         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18714         * sysdeps/i386/fpu/libm-test-ulps: Update.
18715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18717         [BZ #16516]
18718         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18719         (__erf): Scale by 16 instead of 8 in potentially underflowing
18720         case.  Ensure exception if result actually underflows.
18721         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18722         (__erff): Scale by 16 instead of 8 in potentially underflowing
18723         case.  Ensure exception if result actually underflows.
18724         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18725         (efx8): Remove variable.
18726         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18727         case.  Ensure exception if result actually underflows.
18728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18729         (efx8): Remove variable.
18730         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18731         case.  Ensure exception if result actually underflows.
18732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18733         (efx8): Remove variable.
18734         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18735         case.  Ensure exception if result actually underflows.
18736         * math/auto-libm-test-in: Add more tests of erf.
18737         * math/auto-libm-test-out: Regenerated.
18739 2014-05-14  Andreas Schwab  <schwab@suse.de>
18741         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18742         Remove code conditionalized on USE___THREAD.
18744         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18745         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18746         not definedness.
18748 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18750         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18751         Define unconditionally.
18752         (__ASSUME_O_CLOEXEC): Likewise.
18753         (__ASSUME_SOCK_CLOEXEC): Likewise.
18754         (__ASSUME_IN_NONBLOCK): Likewise.
18755         (__ASSUME_PIPE2): Likewise.
18756         (__ASSUME_EVENTFD2): Likewise.
18757         (__ASSUME_SIGNALFD4): Likewise.
18758         (__ASSUME_DUP3): Likewise.
18759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18760         (__ASSUME_DUP3): Do not define.
18761         (__ASSUME_EVENTFD2): Likewise.
18762         (__ASSUME_IN_NONBLOCK): Likewise.
18763         (__ASSUME_O_CLOEXEC): Likewise.
18764         (__ASSUME_PIPE2): Likewise.
18765         (__ASSUME_SIGNALFD4): Likewise.
18766         (__ASSUME_SOCK_CLOEXEC): Likewise.
18767         (__ASSUME_UTIMES): Undefine.
18768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18769         (__ASSUME_UTIMES): Do not define.
18770         (__ASSUME_O_CLOEXEC): Likewise.
18771         (__ASSUME_SOCK_CLOEXEC): Likewise.
18772         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18773         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18774         0x020621].
18775         (__ASSUME_PIPE2): Likewise.
18776         (__ASSUME_EVENTFD2): Likewise.
18777         (__ASSUME_SIGNALFD4): Likewise.
18778         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18779         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18780         Do not define.
18781         (__ASSUME_EVENTFD2): Likewise.
18782         (__ASSUME_SIGNALFD4): Likewise.
18783         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18784         (__ASSUME_32BITUIDS): Likewise.
18785         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18786         (__ASSUME_IPC64): Likewise.
18787         (__ASSUME_ST_INO_64_BIT): Likewise.
18788         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18789         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18790         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18791         (__ASSUME_UTIMES): Do not define.
18792         (__ASSUME_PSELECT): Likewise.
18793         (__ASSUME_PPOLL): Likewise.
18794         (__ASSUME_O_CLOEXEC): Likewise.
18795         (__ASSUME_SOCK_CLOEXEC): Likewise.
18796         (__ASSUME_IN_NONBLOCK): Likewise.
18797         (__ASSUME_PIPE2): Likewise.
18798         (__ASSUME_EVENTFD2): Likewise.
18799         (__ASSUME_SIGNALFD4): Likewise.
18800         (__ASSUME_DUP3): Likewise.
18801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18802         (__ASSUME_UTIMES): Likewise.
18803         (__ASSUME_O_CLOEXEC): Likewise.
18804         (__ASSUME_SOCK_CLOEXEC): Likewise.
18805         (__ASSUME_IN_NONBLOCK): Likewise.
18806         (__ASSUME_PIPE2): Likewise.
18807         (__ASSUME_EVENTFD2): Likewise.
18808         (__ASSUME_SIGNALFD4): Likewise.
18809         (__ASSUME_DUP3): Likewise.
18810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18811         (__ASSUME_UTIMES): Likewise.
18812         (__ASSUME_O_CLOEXEC): Likewise.
18813         (__ASSUME_SOCK_CLOEXEC): Likewise.
18814         (__ASSUME_IN_NONBLOCK): Likewise.
18815         (__ASSUME_PIPE2): Likewise.
18816         (__ASSUME_EVENTFD2): Likewise.
18817         (__ASSUME_SIGNALFD4): Likewise.
18818         (__ASSUME_DUP3): Likewise.
18819         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18820         Likewise.
18821         (__ASSUME_UTIMES): Likewise.
18822         (__ASSUME_EVENTFD2): Likewise.
18823         (__ASSUME_SIGNALFD4): Likewise.
18824         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18825         (__ASSUME_O_CLOEXEC): Likewise.
18826         (__ASSUME_SOCK_CLOEXEC): Likewise.
18827         (__ASSUME_IN_NONBLOCK): Likewise.
18828         (__ASSUME_PIPE2): Likewise.
18829         (__ASSUME_EVENTFD2): Likewise.
18830         (__ASSUME_SIGNALFD4): Likewise.
18831         (__ASSUME_DUP3): Likewise.
18832         (__ASSUME_UTIMES): Undefine.
18834         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18835         feclearexcept.  Remove symbol versioning code.
18836         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18837         symbol versioning code.
18838         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18839         symbol versioning code.
18840         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18841         feupdateenv.  Remove symbol versioning code.
18842         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18843         fegetexceptflag.  Remove symbol versioning code.
18844         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18845         fesetexceptflag.  Remove symbol versioning code.
18846         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18847         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18848         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18849         (__posix_fadvise64_l32): Remove prototype.
18850         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18851         code.
18853 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18855         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18856         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18857         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18858         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18860 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18862         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18863         current working directory
18865 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18867         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18868         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18869         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18870         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18871         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18872         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18873         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18874         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18875         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18876         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18877         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18878         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18879         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18880         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18881         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18882         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18884         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18885         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18886         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18887         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18888         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18889         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18890         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18891         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18892         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18893         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18894         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18895         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18896         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18897         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18898         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18899         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18900         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18901         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18902         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18903         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18904         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18905         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18906         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18907         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18908         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18910         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18911         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18913         * sysdeps/unix/sysv/linux/arm/Makefile
18914         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18915         Add rt-aeabi_unwind_cpp_pr1.
18916         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18917         Add nptl-aeabi_unwind_cpp_pr1.
18918         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18919         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18920         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18921         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18922         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18923         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18925         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18926         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18927         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18928         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18930         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18931         Deconditionalize the code that was previously under [RESET_PID].
18932         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18934         * sysdeps/generic/exit-thread.h: New file.
18935         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18936         * include/unistd.h (__exit_thread): Remove declaration.
18937         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18938         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18939         * csu/libc-start.c: Include <exit-thread.h>.
18940         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18941         * nptl/pthread_create.c: Include <exit-thread.h>.
18942         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18943         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18944         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18945         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18946         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18947         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18948         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18949         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18950         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18951         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18952         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18953         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18954         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18955         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18956         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18957         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18958         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18960 2014-05-13  Andreas Schwab  <schwab@suse.de>
18962         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18964 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18966         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18967         (__ASSUME_UTIMES): Do not condition on kernel version.
18968         (__ASSUME_PSELECT): Define unconditionally.
18969         (__ASSUME_PPOLL): Likewise.
18970         (__ASSUME_ATFCTS): Likewise.
18971         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18972         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18973         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18974         (__ASSUME_UTIMENSAT): Define unconditionally.
18975         (__ASSUME_PRIVATE_FUTEX): Likewise.
18976         (__ASSUME_FALLOCATE): Likewise.
18977         (__ASSUME_O_CLOEXEC): Likewise.
18978         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18979         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18980         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18981         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18982         (__ASSUME_IN_NONBLOCK): Likewise.
18983         (__ASSUME_PIPE2): Likewise.
18984         (__ASSUME_EVENTFD2): Likewise.
18985         (__ASSUME_SIGNALFD4): Likewise.
18986         (__ASSUME_DUP3): Likewise.
18987         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18988         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18989         (__ASSUME_AT_RANDOM): Likewise.
18990         (__ASSUME_PREADV): Likewise.
18991         (__ASSUME_PWRITEV): Likewise.
18992         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18993         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18994         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18995         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18996         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18998         (__ASSUME_O_CLOEXEC): Define unconditionally.
18999         (__ASSUME_PSELECT): Do not undefine conditionally.
19000         (__ASSUME_PPOLL): Likewise.
19001         (__ASSUME_ATFCTS): Likewise.
19002         (__ASSUME_SET_ROBUST_LIST): Likewise.
19003         (__ASSUME_UTIMENSAT): Likewise.
19004         (__ASSUME_FDATASYNC): Define unconditionally.
19005         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19006         (__ASSUME_SIGFRAME_V2): Likewise.
19007         )__ASSUME_EVENTFD2): Likewise.
19008         (__ASSUME_SIGNALFD4): Likewise.
19009         (__ASSUME_PSELECT): Do not undefine conditionally.
19010         (__ASSUME_PPOLL): Likewise.
19011         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19012         (__ASSUME_PSELECT): Define unconditionally.
19013         (__ASSUME_PPOLL): Likewise.
19014         (__ASSUME_O_CLOEXEC): Likewise.
19015         (__ASSUME_SOCK_CLOEXEC): Likewise.
19016         (__ASSUME_IN_NONBLOCK): Likewise.
19017         (__ASSUME_PIPE2): Likewise.
19018         (__ASSUME_EVENTFD2): Likewise.
19019         (__ASSUME_SIGNALFD4): Likewise.
19020         (__ASSUME_DUP3): Likewise.
19021         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19022         (__ASSUME_O_CLOEXEC): Likewise.
19023         (__ASSUME_SOCK_CLOEXEC): Likewise.
19024         (__ASSUME_IN_NONBLOCK): Likewise.
19025         (__ASSUME_PIPE2): Likewise.
19026         (__ASSUME_EVENTFD2): Likewise.
19027         (__ASSUME_SIGNALFD4): Likewise.
19028         (__ASSUME_DUP3): Likewise.
19029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19030         (__ASSUME_EVENTFD2): Likewise.
19031         (__ASSUME_SIGNALFD4): Likewise.
19032         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19034 2014-05-12  Andreas Schwab  <schwab@suse.de>
19036         [BZ #16932]
19037         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19038         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19039         than maximum RPC packet size.
19040         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19041         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19042         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19043         (_nss_nis_getservbyport_r): Likewise.
19045 2014-05-12  Will Newton  <will.newton@linaro.org>
19047         * malloc/Makefile (tests): Add tst-mallopt.
19048         * malloc/tst-mallopt.c: New file.
19050 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19052         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19053         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19055 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19057         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19058         (tst-tlsmod6.so): Likewise.
19060 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19062         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19064 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19066         [BZ #16064]
19067         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19068         and <dl-procinfo.h>.
19069         (__fegetenv): Save SSE state in envp->__eip if supported.
19070         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19071         envp->__eip if supported.
19072         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19073         and <dl-procinfo.h>.
19074         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19075         __data_offset and __data_selector in environment to 0.  Set SSE
19076         state if supported.
19077         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19078         test-fenv-sse.
19079         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19080         -mfpmath=sse.
19081         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19083 2014-05-09  Will Newton  <will.newton@linaro.org>
19085         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19086         and libc_relro_required for ARM.
19087         * sysdeps/arm/preconfigure: Regenerate.
19089 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19090             Stefan Liebler  <stli@linux.vnet.ibm.com>
19092         * config.make.in (enable-lock-elision): New Makefile variable.
19093         * configure.ac: Likewise.
19094         * configure: Regenerate.
19095         * sysdeps/s390/configure.ac:
19096         Add check for gcc transactions support.
19097         * sysdeps/s390/configure: Regenerate.
19098         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19099         Build elision files if enabled.
19100         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19101         Add lock elision support for s390.
19102         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19103         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19104         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19105         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19106         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19107         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19108         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19109         Likewise.
19110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19111         Likewise.
19112         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19113         Likewise.
19114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19115         Likewise.
19116         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19117         (__lll_timedlock_elision, __lll_lock_elision)
19118         (__lll_unlock_elision, __lll_trylock_elision)
19119         (lll_timedlock_elision, lll_lock_elision)
19120         (lll_unlock_elision, lll_trylock_elision): Add.
19121         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19122         (pthread_mutex_t): Add lock elision support for s390.
19124 2014-05-14  Wilco  <wdijkstr@arm.com>
19126         * sysdeps/arm/fclrexcpt.c: Cleanup.
19127         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19128         * sysdeps/arm/feenablxcpt.c: Cleanup.
19129         * sysdeps/arm/fegetenv.c: Cleanup.
19130         * sysdeps/arm/fegetexcept.c: Cleanup.
19131         * sysdeps/arm/fegetround.c: Cleanup.
19132         * sysdeps/arm/feholdexcpt.c: Cleanup.
19133         * sysdeps/arm/fesetenv.c: Cleanup.
19134         * sysdeps/arm/fesetround.c: Cleanup.
19135         * sysdeps/arm/feupdateenv.c: Cleanup.
19136         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19137         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19138         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19139         * sysdeps/arm/ftestexcept.c: Cleanup.
19140         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19141         * sysdeps/arm/setfpucw.c: Cleanup.
19143 2014-05-09  Will Newton  <will.newton@linaro.org>
19145         * sysdeps/arm/armv7/strcmp.S: New file.
19146         * NEWS: Mention addition of ARMv7 optimized strcmp.
19148 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19150         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19151         look for %.ac rather than %.in.
19153         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19154         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19155         * sysdeps/mach/hurd/configure: Regenerated.
19156         * sysdeps/unix/sysv/linux/configure: Regenerated.
19158         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19160 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19162         [BZ# 16922]
19163         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19164         (LONG_SUB): Ditto.
19165         (PTR_SUB): Ditto.
19167 2014-05-07  Andreas Schwab  <schwab@suse.de>
19169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19170         when skipping over non-matching result from nscd.
19172 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19174         [BZ #16876]
19175         * nptl/sockperf.c (client): Check socket return value.
19177         [BZ #16877]
19178         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19179         nscd security class.
19181 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19183         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19184         * sysdeps/arm/unwind.h: ... here.
19186 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19188         [BZ# 16916]
19189         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19190         Define.
19192 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19194         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19195         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19196         multiarch strncpy for PPC64.
19197         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19198         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19200         multiarch optimizations.
19201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19202         (__libc_ifunc_impl_list): Likewise.
19203         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19204         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19205         multiarch stpncpy for PPC64.
19206         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19207         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19209 2014-05-06  Andreas Schwab  <schwab@suse.de>
19211         [BZ #16912]
19212         * gmon/mcount.c (_MCOUNT_DECL): Use
19213         atomic_compare_and_exchange_bool_acq instead of
19214         catomic_compare_and_exchange_bool_acq.
19216 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19218         * elf/Makefile (others, install-bin): Remove pldd.
19219         (pldd-modules): Variable removed.
19220         ($(objpfx)pldd): Target removed.
19221         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19222         (others, install-bin): Append pldd here.
19223         ($(objpfx)pldd): New target.
19225         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19226         to 0, so the first #if test emitted later doesn't see it undefined.
19227         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19228         * sysdeps/gnu/errlist.c: Regenerated.
19230 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19232         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19233         [libc_hidden_builtin_def]: Define to empty value.
19234         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19235         [libc_hidden_builtin_def]: Likewise.
19236         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19237         [libc_hidden_builtin_def]: Likewise.
19238         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19239         [libc_hidden_builtin_def]: Likewise.
19240         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19241         __redirect_memcpy and define ifunc as default hidden symbol.
19242         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19243         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19245 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19247         * locale/iso-4217.def: Reintroduce XDR currency.
19249 2014-05-04  Allan McRae  <allan@archlinux.org>
19251         * po/eo.po: Update Esperanto translation from translation project.
19253 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19255         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19256         and FEATURE_INDEX_MAX to 1.
19257         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19259 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19261         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19262         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19263         * iconvdata/big5.c (ONE_DIRECTION): Define.
19264         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19265         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19266         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19267         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19268         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19269         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19270         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19271         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19272         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19273         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19274         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19275         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19276         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19277         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19278         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19279         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19280         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19281         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19282         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19283         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19284         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19285         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19286         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19287         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19288         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19289         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19290         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19291         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19292         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19293         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19294         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19295         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19296         * iconvdata/johab.c (ONE_DIRECTION): Define.
19297         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19298         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19299         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19300         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19301         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19302         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19303         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19304         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19305         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19306         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19308 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19310         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19311         (_IO_JUMPS_OFFSET): Define to 0.
19313         * nptl/sysdeps/pthread/bits/libc-lock.h
19314         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19315         (__libc_lock_define_initialized_recursive): Always define using
19316         initializer.  Modern compilers treat uninitialized (implicit zero) and
19317         explicit zero initializers the same (i.e. put the datum in bss).
19319 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19321         * nscd/nscd-client.h: Include <string.h>.
19323 2014-05-01  David S. Miller  <davem@davemloft.net>
19325         [BZ #16885]
19326         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19327         multiple zero bytes exist at the end of a string.
19328         Reported by Aurelien Jarno <aurelien@aurel32.net>
19330         * string/test-strcmp.c (check): Add explicit test for situations where
19331         there are multiple zero bytes after the first.
19333 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19335         [BZ #16890]
19336         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19337         when compiling wprintf.
19338         * stdio-common/tstdiomisc.c (t3): New function.
19339         (main): Call it.
19341 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19343         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19344         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19345         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19346         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19348 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19350         * stdlib/longlong.h: Updated from GCC.
19352 2014-05-01  Will Newton  <will.newton@linaro.org>
19353             Bernard Ogden  <bernie.ogden@linaro.org>
19355         * NEWS: Update fixed bug list.
19357         [BZ #15119]
19358         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19360 2014-04-30  David S. Miller  <davem@davemloft.net>
19362         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19363         (libc_feholdexcept_setround_sparc_ctx): New function.
19364         (libc_fesetenv_sparc_ctx): Likewise.
19365         (libc_feupdateenv_sparc_ctx): Likewise.
19366         (libc_feholdsetround_sparc_ctx): Likewise.
19367         (libc_feholdexcept_setround_ctx): Define.
19368         (libc_feholdexcept_setroundf_ctx): Likewise.
19369         (libc_feholdexcept_setroundl_ctx): Likewise.
19370         (libc_fesetenv_ctx): Likewise.
19371         (libc_fesetenvf_ctx): Likewise.
19372         (libc_fesetenvl_ctx): Likewise.
19373         (libc_feupdateenv_ctx): Likewise.
19374         (libc_feupdateenvf_ctx): Likewise.
19375         (libc_feupdateenvl_ctx): Likewise.
19376         (libc_feresetround_ctx): Likewise.
19377         (libc_feresetroundf_ctx): Likewise.
19378         (libc_feresetroundl_ctx): Likewise.
19379         (libc_feholdsetround_ctx): Likewise.
19380         (libc_feholdsetroundf_ctx): Likewise.
19381         (libc_feholdsetroundl_ctx): Likewise.
19383         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19384         with __USE_GNU instead of XOPEN cpp guards.
19386         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19387         0.
19389         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19390         with XOPEN cpp guards.
19392 2014-04-30  Julian Brown  <julian@codesourcery.com>
19394         [BZ #16888]
19395         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19396         handling.
19398 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19400         [BZ #9894]
19401         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19402         Change to 2.6.32.
19403         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19404         * sysdeps/unix/sysv/linux/configure: Regenerated.
19405         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19406         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19407         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19408         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19409         * README: Update reference to required Linux kernel version.
19410         * manual/install.texi (Linux): Update reference to required Linux
19411         kernel headers version.
19412         * INSTALL: Regenerated.
19414         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19415         header inclusion.
19416         [POSIX] (limits.h): Likewise.
19417         [POSIX] (math.h): Likewise.
19418         [POSIX] (sys/wait.h): Likewise.
19419         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19420         function.
19421         [POSIX] (stddef.h): Do not allow header inclusion.
19423 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19425         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19427 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19429         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19430         Return immediately after lll_futex_wake.
19432 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19434         [BZ #16791]
19435         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19436         structure.
19437         (datahead_init_pos): Call datahead_init_common early.
19438         (datahead_init_neg): Likewise.
19440         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19441         datahead_init_neg): New functions.
19442         * nscd/aicache.c (addhstaiX): Use them.
19443         * nscd/grpcache.c (cache_addgr): Likewise.
19444         * nscd/hstcache.c (cache_addhst): Likewise.
19445         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19446         * nscd/netgroupcache.c (do_notfound): Likewise.
19447         (addgetnetgrentX): Likewise.
19448         (addinnetgrX): Likewise.
19449         * nscd/pwdcache.c (cache_addpw): Likewise.
19450         * nscd/servicescache.c (cache_addserv): Likewise.
19452 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19453             Atsushi Onoe  <atsushi@onoe.org>
19455         [BZ #14308]
19456         [BZ #12994]
19457         [BZ #13651]
19458         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19459         one response is valid.
19460         * resolv/res_send.c (send_dg): Check for validity of other
19461         response if the current response is a referral.
19463 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19465         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19467 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19469         [BZ #16823]
19470         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19471         Always divide by positive zero when computing -Inf result.
19472         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19473         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19475 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19477         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19478         FPSCR if value do not change.
19479         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19480         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19481         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19482         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19483         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19484         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19485         function.
19487 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19489         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19490         * sysdeps/unix/sysv/linux/hppa: Move directory from
19491         ports/systeps/unix/sysv/linux/hppa.
19492         * README: Update listing for hppa-*-linux-gnu.
19494 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19496         [BZ #16754]
19497         * manual/stdio.texi (Hook functions): Fix types of stream hook
19498         functions.
19499         [BZ #16854]
19500         * socket/sys/socket.h: Fix typo in comment.
19502 2014-04-28  Wilco  <wdijkstr@arm.com>
19504         * sysdeps/arm/fenv_private.h: New file.
19505         * sysdeps/arm/math_private.h: New file.
19506         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19508 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19510         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19511         with __int128_t.
19512         (La_x86_64_retval): Likewise.
19514 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19516         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19517         fpsr if value didn't change.
19518         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19519         to fpcr if value didn't change.
19520         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19521         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19522         fpsr or fpcr if value didn't change.
19523         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19524         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19525         fpcr if value didn't change.
19526         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19527         to fpsr if value didn't change.
19529 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19531         * nptl/tst-sem3.c: Use test-skeleton.c
19532         (main): Rename to do_test.  Use return instead of
19533         exit.
19534         * nptl/tst-sem4.c: Use test-skeleton.c
19535         (main): Rename to do_test.
19537 2014-04-22  David S. Miller  <davem@davemloft.net>
19539         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19540         (struct sigaction): New struct member __glibc_reserved0, change
19541         type of sa_flags to int.
19543 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19545         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19546         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19548 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19551         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19553 2014-04-22  Will Newton  <will.newton@linaro.org>
19554             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19556         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19557         (__longjmp): Add longjmp and longjmp_target SystemTap
19558         probes.
19559         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19560         (__sigsetjmp): Add setjmp SystemTap probe.
19562 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19564         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19565         match manual order.
19567 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19569         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19571         * sysdeps/powerpc/fpu/fenv_private.h
19572         (libc_feholdexcept_setroundl_ctx): Define to
19573         libc_feholdexcept_setround_ppc_ctx.
19574         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19575         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19576         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19577         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19579 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19581         * sysdeps/aarch64/math-tests.h: New file.
19583 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19585         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19586         New.
19587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19588         Check and set bit_AVX2_Usable.
19589         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19590         macro.
19591         (bit_AVX2): Likewise.
19592         (index_AVX2_Usable): Likewise.
19593         (CPUID_AVX2): Likewise.
19594         (HAS_AVX2): Likewise.
19596 2014-04-17  Will Newton  <will.newton@linaro.org>
19598         * manual/setjmp.texi (System V contexts): Add note that
19599         calling setcontext on a context created by a call to a
19600         signal handler is undefined.  Update text to note that
19601         setcontext from a signal handler is possible but not
19602         recommended.
19604         [BZ #16629]
19605         * stdlib/tst-setcontext.c: Include signal.h.
19606         (main): Check that the signal stack before and
19607         after swapcontext is the same.
19609         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19610         Re-implement to restore registers in user code and avoid
19611         rt_sigreturn system call.
19613 2014-04-17  Wilco  <wdijkstr@arm.com>
19615         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19616         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19617         * math/test-fenv.c: Skip exception trap tests on targets which only
19618         support non-stop mode.
19620 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19621             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19623         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19624         (libc_feholdsetround_aarch64_ctx)
19625         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19626         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19627         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19628         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19629         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19630         (libc_feresetround_noexl_ctx): Define.
19632 2014-04-16  Richard Henderson  <rth@redhat.com>
19634         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19636         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19637         unwind tables.
19639         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19640         const from the non-libc, non-ldso copy.
19642         * sysdeps/alpha/libm-test-ulps: Regenerate.
19644 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19645             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19647         * sysdeps/aarch64/fpu/math_private.h: New file.
19649 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19651         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19653 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19655         [BZ #16275]
19656         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19657         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19658         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19659         Intel MPX bound registers before _dl_profile_fixup.
19660         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19661         registers after _dl_profile_fixup.  Save and restore bound
19662         registers bnd0/bnd1 when calling _dl_call_pltexit.
19663         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19664         (LR_BND_OFFSET): Likewise.
19665         (LRV_BND0_OFFSET): Likewise.
19666         (LRV_BND1_OFFSET): Likewise.
19668 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19670         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19671         to...
19672         * sysdeps/mach/hurd/i386/tls.h: ... here.
19673         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19674         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19675         fields.
19677 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19679         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19681 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19685 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19687         [BZ #14770]
19688         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19689         * sysdeps/s390/configure: Regenerate.
19691         [BZ #16824]
19692         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19693         Set round-to-nearest internally to reduce error accumulation.
19695 2014-04-16  Alan Modra  <amodra@gmail.com>
19697         [BZ #16740]
19698         [BZ #16619]
19699         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19700         * math/libm-test.inc (frexp_test_data): Add tests.
19701         * NEWS: Update fixed bug list.
19703 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19705         * benchtests/Makefile: Depend on libraries in build directory.
19706         (bench-math): Separate out math tests.
19707         (bench-pthread): Separate out pthread tests.
19708         (bench): Include math and pthread tests.
19710 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19712         [BZ #16831]
19713         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19714         _dl_debug_initialize.
19716         * configure.ac: Remove SELinux header check.
19717         * configure: Regenerate.
19718         * nscd/selinux.c (perms): Array of const char* to permission names.
19719         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19720         default policy. Call string_to_security_class and string_to_av_perm to
19721         translate strings. Enforce default policy and call avs_has_perm with
19722         results of translated strings.
19724 2014-04-13  David S. Miller  <davem@davemloft.net>
19726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19728 2014-04-12  Allan McRae  <allan@archlinux.org>
19730         [BZ #16838]
19731         * manual/string.texi (Collation Functions): Fix qsort argument
19732         order in example.
19733         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19735 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19737         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19738         Make the test a no-op if there are no exceptions defined.
19740 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19742         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19743         enable-hardcoded-path-in-tests
19745 2014-04-11  Will Newton  <will.newton@linaro.org>
19747         * benchtests/Makefile (extra-objs): Add json-lib.o.
19748         (bench-func): Tidy up JSON output.
19749         * benchtests/bench-skeleton.c: Include json-lib.h.
19750         (main): Use JSON library functions to do output of
19751         benchmark results.
19752         * benchtests/bench-timing-type.c (main): Output the
19753         timing type simply, leaving formatting to the user.
19754         * benchtests/json-lib.c: New file.
19755         * benchtests/json-lib.h: Likewise.
19757 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19759         [BZ #15215]
19760         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19761         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19762         memory barriers.  Add comments.
19763         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19764         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19765         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19766         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19767         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19768         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19770 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19772         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19773         * sysdeps/s390/s390-64/configure.ac: ... this ...
19774         * sysdeps/s390/configure.ac: ... to here.
19775         * sysdeps/s390/s390-32/configure: Delete file.
19776         * sysdeps/s390/s390-64/configure: Delete file.
19777         * sysdeps/s390/configure: Regenerate.
19779 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19781         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19783 2014-04-11  Will Newton  <will.newton@linaro.org>
19785         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19786         to zero if it is not defined elsewhere.  (mtrim): Test
19787         the value of MALLOC_DEBUG with #if rather than #ifdef.
19789 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19791         * benchtests/pthread_once-inputs: New file.
19792         * benchtests/pthread_once-source.c: New file.
19793         * benchtests/README: Update documentation.
19795 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19796             H.J. Lu  <hongjiu.lu@intel.com>
19798         [BZ #16275]
19799         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19800         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19801         * sysdeps/x86_64/configure: Regenerated.
19802         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19803         macro.
19804         (REGISTER_SAVE_RAX): Likewise.
19805         (REGISTER_SAVE_RCX): Likewise.
19806         (REGISTER_SAVE_RDX): Likewise.
19807         (REGISTER_SAVE_RSI): Likewise.
19808         (REGISTER_SAVE_RDI): Likewise.
19809         (REGISTER_SAVE_R8): Likewise.
19810         (REGISTER_SAVE_R9): Likewise.
19811         (REGISTER_SAVE_BND0): Likewise.
19812         (REGISTER_SAVE_BND1): Likewise.
19813         (REGISTER_SAVE_BND2): Likewise.
19814         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19815         bound registers when calling _dl_fixup.
19817 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19819         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19820         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19821         of its definition.
19822         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19823         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19824         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19825         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19826         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19827         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19828         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19830 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19832         [BZ #15514]
19833         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19834         pathconf(_PC_NAME_MAX).
19836 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19839         Remove macro usage.
19840         (__PTHREAD_SPINS): Move definition to ...
19841         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19842         (__PTHREAD_SPINS): ... here.
19843         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19844         (__PTHREAD_SPIN): Likewise.
19845         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19846         (__PTHREAD_SPIN): Likewise.
19847         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19848         (__PTHREAD_SPIN): Likewise.
19849         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19850         (__PTHREAD_SPIN): Likewise.
19851         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19852         (__PTHREAD_SPIN): Likewise.
19853         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19854         (__PTHREAD_SPIN): Likewise.
19855         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19856         (__PTHREAD_SPIN): Likewise.
19857         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19858         (__PTHREAD_SPIN): Likewise.
19859         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19860         (__PTHREAD_SPIN): Likewise.
19861         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19862         (__PTHREAD_SPIN): Likewise.
19863         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19864         (__PTHREAD_SPIN): Likewise.
19865         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19866         (__PTHREAD_SPIN): Likewise.
19868         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19869         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19870         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19871         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19872         imply folder.
19873         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19874         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19875         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19876         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19877         correct imply path.
19878         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19879         strlen symbol for non multi-arch builds.
19880         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19881         missing hidden_def and weak_alias.
19883 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19885         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19887 2014-04-07  Will Newton  <will.newton@linaro.org>
19889         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19890         and contents.  [!_LIBC] Remove #ifndef and contents.
19891         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19892         * string/memccpy.c (__memccpy): Use ANSI prototype.
19893         * string/memfrob.c (memfrob): Likewise.
19894         * string/strcoll.c (STRCOLL): Likewise.
19895         * string/strlen.c (strlen): Likewise.
19896         * string/strtok.c (STRTOK): Likewise.
19897         * string/strcat.c: Remove unused #include of memcopy.h.
19898         (strcat): Use ANSI prototype.
19899         * string/strchr.c: Remove unused #include of memcopy.h.
19900         (strchr): Use ANSI prototype.
19901         * string/strcmp.c: Remove unused #include of memcopy.h.
19902         (strcmp): Use ANSI prototype.
19903         * string/strcpy.c: Remove unused #include of memcopy.h.
19904         (strcpy): Use ANSI prototype.
19906 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19908         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19909         * config.make.in (config-extra-cppflags): Set it from
19910         libc_extra_cppflags.
19911         * configure.ac (libc_extra_cflags): Make it accumulate over
19912         configure fragments.
19913         (libc_extra_cppflags): New flag.
19914         * configure. Regenerate.
19915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19916         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19917         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19920         [BZ #16815]
19921         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19922         result for FE_DOWNWARD rounding mode.
19923         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19924         Likewise.
19925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19927 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19929         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19930         in function argument name.
19932 2014-04-03  David Svoboda  <svoboda@cert.org>
19934         [BZ #5666]
19935         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19936         explicitly.
19938 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19940         * elf/dl-unmap-segments.h: New file.
19941         * sysdeps/generic/ldsodefs.h
19942         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19943         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19944         * elf/dl-fptr.c: Likewise.
19945         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19946         * sysdeps/aarch64/tlsdesc.c: Likewise.
19947         * sysdeps/arm/tlsdesc.c: Likewise.
19948         * sysdeps/i386/tlsdesc.c: Likewise.
19949         * sysdeps/tile/dl-runtime.c: Likewise.
19950         * sysdeps/x86_64/tlsdesc.c: Likewise.
19951         * elf/dl-load.h: New file.
19952         * elf/dl-load.c: Include it.
19953         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19954         Macros moved to dl-load.h.
19955         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19956         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19957         Use _dl_unmap_segments in place of __munmap.
19958         Break out segment-mapping loop into ...
19959         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19961 2014-04-03  Will Newton  <will.newton@linaro.org>
19963         * elf/dl-lookup.c (do_lookup_x): Remove comment
19964         referring to nested function and move variable
19965         declarations down to before first use.
19967 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19969         [BZ #16799]
19970         [BZ #16800]
19971         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19972         with 0 numerator.
19973         * math/s_catanf.c (__catanf): Likewise.
19974         * math/s_catanh.c (__catanh): Likewise.
19975         * math/s_catanhf.c (__catanhf): Likewise.
19976         * math/s_catanhl.c (__catanhl): Likewise.
19977         * math/s_catanl.c (__catanl): Likewise.
19978         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19979         by positive zero when computing -Inf result.
19980         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19981         (catanh_test): Likewise.
19982         * sysdeps/i386/fpu/libm-test-ulps: Update.
19983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19985         [BZ #16789]
19986         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19987         instead of using underflowing value in computing result.
19988         * math/s_clog10.c (__clog10): Likewise.
19989         * math/s_clog10f.c (__clog10f): Likewise.
19990         * math/s_clog10l.c (__clog10l): Likewise.
19991         * math/s_clogf.c (__clogf): Likewise.
19992         * math/s_clogl.c (__clogl): Likewise.
19993         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19994         (clog10_test): Likewise.
19995         * sysdeps/i386/fpu/libm-test-ulps: Update.
19996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19998 2014-04-02  Alan Modra  <amodra@gmail.com>
20000         [BZ #16739]
20001         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20002         output when value is near a power of two.  Use int64_t for lx and
20003         remove casts.  Use decimal rather than hex exponent constants.
20004         Don't use long double multiplication when double will suffice.
20005         * math/libm-test.inc (nextafter_test_data): Add tests.
20006         * NEWS: Add 16739 and 16786 to bug list.
20008         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20010         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20012 2014-04-01  Will Newton  <will.newton@linaro.org>
20014         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20015         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20017 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20019         [BZ #13347]
20020         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20021         * nptl/tst-setuid2.c: New file.
20022         * nptl/Makefile (xtests): Add tst-setuid2.
20024 2014-04-01  Alan Modra  <amodra@gmail.com>
20026         [BZ #16786]
20027         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20029 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20031         [BZ #6803]
20032         [BZ #6804]
20033         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20034         set errno as appropriate.
20035         * math/w_scalbf.c (__scalbf): Likewise.
20036         * math/w_scalbl.c (__scalbl): Likewise.
20037         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20038         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20039         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20040         Add more NaN tests.
20042         [BZ #16349]
20043         * math/w_atan2.c: Include <errno.h>.
20044         (__atan2): Set errno for result underflowing to zero.
20045         * math/w_atan2f.c: Include <errno.h>.
20046         (__atan2f): Set errno for result underflowing to zero.
20047         * math/w_atan2l.c: Include <errno.h>.
20048         (__atan2l): Set errno for result underflowing to zero.
20049         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20050         tests.
20051         * math/auto-libm-test-out: Regenerated.
20053 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20055         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20056         Encode instruction correctly in little endian.
20057         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20058         Likewise.
20059         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20060         Likewise.
20061         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20062         Likewise.
20063         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20064         Likewise.
20066 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20068         [BZ #9894]
20069         * sysdeps/unix/sysv/linux/kernel-features.h
20070         [__sparc__ && !__arch64__ && !__sparc_v9__]
20071         (__ASSUME_SET_ROBUST_LIST): Do not define.
20072         [__sparc__ && !__arch64__ && !__sparc_v9__]
20073         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20074         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20075         Likewise.
20076         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20077         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20078         (__ASSUME_REQUEUE_PI): Likewise.
20079         (__ASSUME_SET_ROBUST_LIST): Likewise.
20080         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20081         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20082         Undefine.
20083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20084         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20085         Likewise.
20086         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20087         Likewise.
20088         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20089         Likewise.
20090         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20091         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20092         Undefine.
20093         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20094         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20095         Likewise.
20097         [BZ #16648]
20098         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20099         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20100         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20102 2014-03-31  Will Newton  <will.newton@linaro.org>
20104         * benchtests/Makefile (bench): Add ffs and ffsll to list
20105         of tests.
20106         * benchtests/ffs-inputs: New file.
20107         * benchtests/ffsll-inputs: Likewise.
20109 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20111         [BZ #16770]
20112         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20113         too large before casting to int.
20114         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20115         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20116         * math/libm-test.inc (scalb_test_data): Add more tests.
20118 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20120         * benchtests/Makefile (DETAILED_OPT): New make option.
20121         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20122         set.
20123         * benchtests/bench-skeleton.c: Include stdbool.h.
20124         (main): Store and print timings per input.
20125         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20126         member to each argument value.
20127         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20128         (_print_arg_data): Initialize per-input timing to 0.
20130         * benchtests/Makefile (timing-type): New binary.
20131         (bench-clean): Also remove bench-timing-type.
20132         (bench): New target for timing-type.
20133         (bench-func): Print output in JSON format.
20134         * benchtests/bench-skeleton.c (main): Print output in JSON
20135         format.
20136         * benchtests/bench-timing-type.c: New file.
20137         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20138         (TIMING_PRINT_STATS): Remove.
20139         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20140         name separately.
20142         * benchtests/bench-modf.c: Remove.
20143         * benchtests/modf-inputs: New inputs file.
20145 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20147         [BZ #16362]
20148         * math/s_clog10.c (M_PI_LOG10E): New macro.
20149         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20150         imaginary parts are 0.
20151         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20152         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20153         imaginary parts are 0.
20154         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20155         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20156         imaginary parts are 0.
20157         * math/libm-test.inc (clog10_test_data): Update expected results
20158         for when real and imaginary parts are 0.
20160 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20162         * elf/dl-load.c: Finish conversion of __builtin_expect into
20163         __glibc_{un}likely.
20165 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20167         [BZ #16348]
20168         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20169         1+x for argument with exponent below -67.
20170         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20171         Likewise.
20172         * math/auto-libm-test-in: Add more tests of exp.
20173         * math/auto-libm-test-out: Regenerated.
20175 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20177         [BZ #16759]
20178         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20179         (nscd_getnetgrent): Use it.
20181         [BZ #16760]
20182         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20183         of stpcpy.
20185 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20187         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20188         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20189         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20190         (lll_robust_unlock): Remove out of line section. Use cfi
20191         intrinsics.
20192         (LLL_STUB_UNWIND_INFO*): Remove.
20193         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20194         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20195         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20196         (lll_robust_unlock): Remove out of line section. Use cfi
20197         intrinsics.
20198         (LLL_STUB_UNWIND_INFO*): Remove.
20200 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20202         [BZ #16758]
20203         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20204         blank values.
20206 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20208         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20210 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20212         [BZ #16198]
20213         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20214         fnstenv.
20215         * math/test-fenv-preserve.c: New file.
20216         * math/Makefile (tests): Add test-fenv-preserve.
20218 2014-03-26  Will Newton <will.newton@linaro.org>
20220         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20222 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20224         * scripts/versionlist.awk: Partition the version sets and emit all
20225         GLIBC_* (sorted) before all others (sorted).
20227 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20229         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20230         GLIBC_2.2.5 version.
20232 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20234         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20235         calls.
20237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20238         previous change.
20240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20242 2014-03-25  Andreas Schwab  <schwab@suse.de>
20244         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20245         label to be used after in6ailist is initialized.
20247 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20249         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20250         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20252 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20254         [BZ #16357]
20255         [BZ #16599]
20256         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20257         min_plus_half.
20258         (fp_formats): Update initializers.
20259         (init_fp_formats): Initialize new field.
20260         (output_for_one_input_case): Allow underflow for results up to
20261         min_plus_half.
20262         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20263         * math/auto-libm-test-in: Don't mark some underflows from asin and
20264         atanh as spurious.
20265         * math/auto-libm-test-out: Regenerated.
20266         * sysdeps/i386/fpu/libm-test-ulps: Update.
20267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20269 2014-03-25  Andreas Schwab  <schwab@suse.de>
20271         * libio/Makefile (tst-ftell-partial-wide-ENV)
20272         (tst-ftell-active-handler-ENV): Define.
20274 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20276         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20278 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20280         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20282 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20284         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20285         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20286         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20288 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20290         [BZ #16634]
20291         * elf/dl-load.c (open_verify): Add mode parameter.
20292         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20293         (open_path): Change from boolean 'secure' to complete flag 'mode'
20294         (_dl_map_object): Adjust.
20295         * elf/Makefile (tests): Add tst-dlopen-aout.
20296         * elf/tst-dlopen-aout.c: New test.
20298 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20300         [BZ #16714]
20301         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20302         (struct stat): Rename member pad0 to __glibc_reserved0.
20304         [BZ #16712]
20305         * sysdeps/s390/s390-32/bits/wordsize.h
20306         (__WORDSIZE32_SIZE_ULONG): New define.
20307         * sysdeps/s390/s390-64/bits/wordsize.h
20308         (__WORDSIZE32_SIZE_ULONG): Likewise.
20309         * sysdeps/generic/stdint.h (SIZE_MAX):
20310         Define as UL if __WORDSIZE32_SIZE_ULONG.
20312         [BZ #16713]
20313         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20314         (__glibc_reserved0): New variable.
20315         (sa_flags): Change type to int.
20317         * posix/Makefile (before-compile): Use += before-compile instead
20318         of a :=.
20320         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20321         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20323 2014-03-20  Andreas Schwab  <schwab@suse.de>
20325         [BZ #16743]
20326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20327         non-matching result from nscd.
20329 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20331         * scripts/bench.py: Moved to ...
20332         * benchtests/scripts/bench.py: ... here.
20333         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20335 2014-03-24  Andreas Schwab  <schwab@suse.de>
20337         [BZ #16002]
20338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20339         alloca_account and account alloca use for struct in6ailist.
20341 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20343         [BZ #16284]
20344         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20345         rounding mode to recompute results that overflow to infinity or
20346         underflow to zero.
20347         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20348         bug 16284.
20349         * math/auto-libm-test-out: Regenerated.
20350         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20351         (ccosh_test): Likewise.
20352         (csin_test_data): Use plus_oflow.
20353         (csin_test): Use ALL_RM_TEST.
20354         (csinh_test_data): Use plus_oflow.
20355         (csinh_test): Use ALL_RM_TEST.
20356         * sysdeps/i386/fpu/libm-test-ulps: Update.
20357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20359 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20361         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20362         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20363         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20365         [BZ #16731]
20366         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20367         when x - 1 is zero.
20368         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20369         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20370         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20371         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20372         argument is 1.
20373         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20374         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20375         zero.
20376         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20377         * sysdeps/i386/fpu/libm-test-ulps: Update.
20378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20382         * scripts/bench.pl: Remove file.
20383         * scripts/bench.py: New benchmark script.
20384         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20385         * benchtests/README: Mention python dependency.
20386         * scripts/pylintrc: New file.
20387         * scripts/pylint: New file.
20389         * bits/mathdef.h: Use #ifdef instead of #if.
20390         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20391         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20392         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20393         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20394         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20395         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20397 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20398             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20400         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20402         and strpbrk-ppc64 objects.
20403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20404         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20405         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20406         multiarch strpbrk for POWER7.
20407         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20408         multiarch strpbrk for PPC64.
20409         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20410         ifunc selector.
20411         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20412         strpbrk for POWER7.
20414 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20416         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20417         (atan_test): Likewise.
20418         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20419         (atanh_test): Use ALL_RM_TEST.
20420         (atan2_test_data): Likewise.
20421         (cabs_test): Likewise.
20422         (cacosh_test): Likewise.
20423         (carg_test): Likewise.
20424         (casin_test): Likewise.
20425         (casinh_test): Likewise.
20426         (cbrt_test): Likewise.
20427         (csqrt_test): Likewise.
20428         (erf_test): Likewise.
20429         (erfc_test): Likewise.
20430         (pow10_test): Likewise.
20431         (exp2_test): Likewise.
20432         (hypot_test): Likewise.
20433         (j0_test): Likewise.
20434         (j1_test): Likewise.
20435         (lgamma_test): Likewise.
20436         (gamma_test): Likewise.
20437         (sincos_test): Likewise.
20438         (tanh_test): Likewise.
20439         (y0_test): Likewise.
20440         (y1_test): Likewise.
20441         * sysdeps/i386/fpu/libm-test-ulps: Update.
20442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20444 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20446         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20448         and strcspn-ppc64 objects.
20449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20450         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20451         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20452         multiarch strcspn for POWER7.
20453         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20454         multiarch strcspn for PPC64.
20455         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20456         ifunc selector.
20457         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20458         strcspn for POWER7.
20460 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20462         * math/gen-libm-test.pl (generate_testfile): Expect only function
20463         name as argument to AUTO_TESTS_* and pass results for all rounding
20464         modes to parse_args.
20465         (parse_auto_input): Separate inputs of automatic tests from
20466         outputs before storing in %auto_tests.
20467         * math/libm-test.inc (acos_test_data): Update call to
20468         AUTO_TESTS_f_f.
20469         (acos_test): Use ALL_RM_TEST.
20470         (acos_tonearest_test_data): Remove.
20471         (acos_test_tonearest): Likewise.
20472         (acos_towardzero_test_data): Likewise.
20473         (acos_test_towardzero): Likewise.
20474         (acos_downward_test_data): Likewise.
20475         (acos_test_downward): Likewise.
20476         (acos_upward_test_data): Likewise.
20477         (acos_test_upward): Likewise.
20478         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20479         (asin_test_data): Likewise.
20480         (asin_test): Use ALL_RM_TEST.
20481         (asin_tonearest_test_data): Remove.
20482         (asin_test_tonearest): Likewise.
20483         (asin_towardzero_test_data): Likewise.
20484         (asin_test_towardzero): Likewise.
20485         (asin_downward_test_data): Likewise.
20486         (asin_test_downward): Likewise.
20487         (asin_upward_test_data): Likewise.
20488         (asin_test_upward): Likewise.
20489         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20490         (atan_test_data): Likewise.
20491         (atanh_test_data): Likewise.
20492         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20493         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20494         (carg_test_data): Likewise.
20495         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20496         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20497         (ccosh_test_data): Likewise.
20498         (cexp_test_data): Likewise.
20499         (clog_test_data): Likewise.
20500         (clog10_test_data): Likewise.
20501         (cos_test_data): Update call to AUTO_TESTS_f_f.
20502         (cos_test): Use ALL_RM_TEST.
20503         (cos_tonearest_test_data): Remove.
20504         (cos_test_tonearest): Likewise.
20505         (cos_towardzero_test_data): Likewise.
20506         (cos_test_towardzero): Likewise.
20507         (cos_downward_test_data): Likewise.
20508         (cos_test_downward): Likewise.
20509         (cos_upward_test_data): Likewise.
20510         (cos_test_upward): Likewise.
20511         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20512         (cosh_test): Use ALL_RM_TEST.
20513         (cosh_tonearest_test_data): Remove.
20514         (cosh_test_tonearest): Likewise.
20515         (cosh_towardzero_test_data): Likewise.
20516         (cosh_test_towardzero): Likewise.
20517         (cosh_downward_test_data): Likewise.
20518         (cosh_test_downward): Likewise.
20519         (cosh_upward_test_data): Likewise.
20520         (cosh_test_upward): Likewise.
20521         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20522         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20523         (ctan_test_data): Likewise.
20524         (ctan_test): Use ALL_RM_TEST.
20525         (ctan_tonearest_test_data): Remove.
20526         (ctan_test_tonearest): Likewise.
20527         (ctan_towardzero_test_data): Likewise.
20528         (ctan_test_towardzero): Likewise.
20529         (ctan_downward_test_data): Likewise.
20530         (ctan_test_downward): Likewise.
20531         (ctan_upward_test_data): Likewise.
20532         (ctan_test_upward): Likewise.
20533         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20534         (ctanh_test): Use ALL_RM_TEST.
20535         (ctanh_tonearest_test_data): Remove.
20536         (ctanh_test_tonearest): Likewise.
20537         (ctanh_towardzero_test_data): Likewise.
20538         (ctanh_test_towardzero): Likewise.
20539         (ctanh_downward_test_data): Likewise.
20540         (ctanh_test_downward): Likewise.
20541         (ctanh_upward_test_data): Likewise.
20542         (ctanh_test_upward): Likewise.
20543         (erf_test_data): Update call to AUTO_TESTS_f_f.
20544         (erfc_test_data): Likewise.
20545         (exp_test_data): Likewise.
20546         (exp_test): Use ALL_RM_TEST.
20547         (exp_tonearest_test_data): Remove.
20548         (exp_test_tonearest): Likewise.
20549         (exp_towardzero_test_data): Likewise.
20550         (exp_test_towardzero): Likewise.
20551         (exp_downward_test_data): Likewise.
20552         (exp_test_downward): Likewise.
20553         (exp_upward_test_data): Likewise.
20554         (exp_test_upward): Likewise.
20555         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20556         (exp10_test): Use ALL_RM_TEST.
20557         (exp10_tonearest_test_data): Remove.
20558         (exp10_test_tonearest): Likewise.
20559         (exp10_towardzero_test_data): Likewise.
20560         (exp10_test_towardzero): Likewise.
20561         (exp10_downward_test_data): Likewise.
20562         (exp10_test_downward): Likewise.
20563         (exp10_upward_test_data): Likewise.
20564         (exp10_test_upward): Likewise.
20565         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20566         (expm1_test_data): Likewise.
20567         (expm1_test): Use ALL_RM_TEST.
20568         (expm1_tonearest_test_data): Remove.
20569         (expm1_test_tonearest): Likewise.
20570         (expm1_towardzero_test_data): Likewise.
20571         (expm1_test_towardzero): Likewise.
20572         (expm1_downward_test_data): Likewise.
20573         (expm1_test_downward): Likewise.
20574         (expm1_upward_test_data): Likewise.
20575         (expm1_test_upward): Likewise.
20576         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20577         (fma_test): Use ALL_RM_TEST.
20578         (fma_towardzero_test_data): Remove.
20579         (fma_test_towardzero): Likewise.
20580         (fma_downward_test_data): Likewise.
20581         (fma_test_downward): Likewise.
20582         (fma_upward_test_data): Likewise.
20583         (fma_test_upward): Likewise.
20584         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20585         (j0_test_data): Update call to AUTO_TESTS_f_f.
20586         (j1_test_data): Likewise.
20587         (jn_test_data): Update call to AUTO_TESTS_if_f.
20588         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20589         (log_test_data): Update call to AUTO_TESTS_f_f.
20590         (log10_test_data): Likewise.
20591         (log1p_test_data): Likewise.
20592         (log2_test_data): Likewise.
20593         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20594         (pow_tonearest_test_data): Likewise.
20595         (sin_test_data): Update call to AUTO_TESTS_f_f.
20596         (sin_test): Use ALL_RM_TEST.
20597         (sin_tonearest_test_data): Remove.
20598         (sin_test_tonearest): Likewise.
20599         (sin_towardzero_test_data): Likewise.
20600         (sin_test_towardzero): Likewise.
20601         (sin_downward_test_data): Likewise.
20602         (sin_test_downward): Likewise.
20603         (sin_upward_test_data): Likewise.
20604         (sin_test_upward): Likewise.
20605         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20606         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20607         (sinh_test): Use ALL_RM_TEST.
20608         (sinh_tonearest_test_data): Remove.
20609         (sinh_test_tonearest): Likewise.
20610         (sinh_towardzero_test_data): Likewise.
20611         (sinh_test_towardzero): Likewise.
20612         (sinh_downward_test_data): Likewise.
20613         (sinh_test_downward): Likewise.
20614         (sinh_upward_test_data): Likewise.
20615         (sinh_test_upward): Likewise.
20616         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20617         (sqrt_test): Use ALL_RM_TEST.
20618         (sqrt_tonearest_test_data): Remove.
20619         (sqrt_test_tonearest): Likewise.
20620         (sqrt_towardzero_test_data): Likewise.
20621         (sqrt_test_towardzero): Likewise.
20622         (sqrt_downward_test_data): Likewise.
20623         (sqrt_test_downward): Likewise.
20624         (sqrt_upward_test_data): Likewise.
20625         (sqrt_test_upward): Likewise.
20626         (tan_test_data): Update call to AUTO_TESTS_f_f.
20627         (tan_test): Use ALL_RM_TEST.
20628         (tan_tonearest_test_data): Remove.
20629         (tan_test_tonearest): Likewise.
20630         (tan_towardzero_test_data): Likewise.
20631         (tan_test_towardzero): Likewise.
20632         (tan_downward_test_data): Likewise.
20633         (tan_test_downward): Likewise.
20634         (tan_upward_test_data): Likewise.
20635         (tan_test_upward): Likewise.
20636         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20637         (tgamma_test_data): Likewise.
20638         (y0_test_data): Likewise.
20639         (y1_test_data): Likewise.
20640         (yn_test_data): Update call to AUTO_TESTS_if_f.
20641         (main): Do not call removed functions.
20643 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20645         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20646         (ldexp_test_data): Remove.
20647         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20648         scalbn_test_data.
20649         (scalb_test): Use ALL_RM_TEST.
20651 2014-03-19  Andreas Schwab  <schwab@suse.de>
20653         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20655 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20657         [BZ #16649]
20658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20659         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20660         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20662         (__ASSUME_PREADV): Undefine.
20663         (__ASSUME_PWRITEV): Likewise.
20665 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20667         * bits/mman-linux.h: Add comment about non-Linux use.
20668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20669         bits/mman-linux.h resting place.
20671         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20672         * bits/mman-linux.h: ... here.
20674 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20676         * conform/conformtest.pl: Add standard definition when calling C
20677         preprocessor on data files.
20678         (checknamespace): Remove unused variable.
20680 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20682         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20683         minus_oflow, plus_uflow and minus_uflow in expected results.
20684         * math/libm-test.inc (scalbn_test_data): Add more tests of
20685         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20686         minus_uflow.
20687         (scalbn_test): Use ALL_RM_TEST.
20688         (scalbln_test_data): Add more tests of negative arguments.  Use
20689         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20690         (scalbln_test): Use ALL_RM_TEST.
20692 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20694         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20696 2014-03-18  Will Newton  <will.newton@linaro.org>
20698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20699         inaccurate comment.
20701 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20703         * Makerules [!subdir] (check-abi): Exit with error status if a
20704         test failed.
20706 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20708         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20709         for rint.  Include results for all rounding modes.
20710         (nearbyint_test): Use ALL_RM_TEST.
20711         (rint_test_data): Include all tests used for nearbyint.
20713 2014-03-17  Will Newton  <will.newton@linaro.org>
20715         * nptl/sysdeps/pthread/pthread.h: Revert previous
20716         change.
20718         * sysdeps/generic/ldsodefs.h: Revert previous
20719         change.
20721         * libio/genops.c: Revert previous change.
20722         * libio/libioP.h: Likewise.
20723         * stdio-common/vfprintf.c: Likewise.
20725         * sysdeps/generic/math_private.h: Revert previous
20726         change.
20728         * sysdeps/generic/math_private.h: Check whether
20729         HAVE_RM_CTX is defined with #ifdef rather
20730         than #if.
20732         * argp/argp-fmtstream.h: Check whether
20733         __STRICT_ANSI__ is defined with #ifdef rather
20734         than #if.
20735         * argp/argp.h: Likewise.
20737         * libio/genops.c: Check whether
20738         _IO_JUMPS_OFFSET is defined with #ifdef rather
20739         than #if.
20740         * libio/libioP.h: Likewise.
20741         * stdio-common/vfprintf.c: Likewise.
20743         * sysdeps/generic/ldsodefs.h: Check whether
20744         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20745         than #if.
20747         * nptl/sysdeps/pthread/pthread.h: Check
20748         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20749         its value.
20751 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20753         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20754         setting O_APPEND.
20755         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20756         test case.
20758         [BZ #16680]
20759         * libio/fileops.c (_IO_file_open): Seek to end of file but
20760         don't cache the offset.
20761         (get_file_offset): Remove function.
20762         (do_ftell): Use cached offset when available.
20763         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20764         don't cache the offset.
20765         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20766         case.
20767         (do_one_test): Call it.
20768         (do_ftell_test): Fix up expected old offset for a+ mode.
20769         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20770         available.
20772         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20773         up test status with function return status.
20774         (do_write_test): Likewise.
20775         (do_append_test): Likewise.
20777         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20778         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20779         Remove.
20781 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20783         * math/gen-libm-test.pl (parse_args): Handle results specified for
20784         each rounding mode separately.
20785         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20786         tests and results from lrint_tonearest_test_data,
20787         lrint_towardzero_test_data, lrint_downward_test_data and
20788         lrint_upward_test_data.
20789         (lrint_test): Use ALL_RM_TEST.
20790         (lrint_tonearest_test_data): Remove.
20791         (lrint_test_tonearest): Likewise.
20792         (lrint_towardzero_test_data): Likewise.
20793         (lrint_test_towardzero): Likewise.
20794         (lrint_downward_test_data): Likewise.
20795         (lrint_test_downward): Likewise.
20796         (lrint_upward_test_data): Likewise.
20797         (lrint_test_upward): Likewise.
20798         (llrint_test_data): Merge in per-rounding-mode tests and results
20799         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20800         llrint_downward_test_data and llrint_upward_test_data.
20801         (llrint_test): Use ALL_RM_TEST.
20802         (llrint_tonearest_test_data): Remove.
20803         (llrint_test_tonearest): Likewise.
20804         (llrint_towardzero_test_data): Likewise.
20805         (llrint_test_towardzero): Likewise.
20806         (llrint_downward_test_data): Likewise.
20807         (llrint_test_downward): Likewise.
20808         (llrint_upward_test_data): Likewise.
20809         (llrint_test_upward): Likewise.
20810         (rint_test_data): Merge in per-rounding-mode tests and results
20811         from rint_tonearest_test_data, rint_towardzero_test_data,
20812         rint_downward_test_data and rint_upward_test_data.  Add
20813         per-rounding-mode results for tests not in those arrays.
20814         (rint_test): Use ALL_RM_TEST.
20815         (rint_tonearest_test_data): Remove.
20816         (rint_test_tonearest): Likewise.
20817         (rint_towardzero_test_data): Likewise.
20818         (rint_test_towardzero): Likewise.
20819         (rint_downward_test_data): Likewise.
20820         (rint_test_downward): Likewise.
20821         (rint_upward_test_data): Likewise.
20822         (rint_test_upward): Likewise.
20823         (main): Don't call removed functions.
20825 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20827         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20828         "Compiled on ..." crapola.  It is anti-useful.
20830 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20832         * scripts/evaluate-test.sh: Handle fourth argument to determine
20833         whether test run should stop on failure.
20834         * Makeconfig (stop-on-test-failure): New variable.
20835         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20836         $(stop-on-test-failure).
20837         * Makefile (tests): Give a summary of results from testing and
20838         exit with failure status if they include an ERROR or FAIL.
20839         (xtests): Likewise.
20840         * manual/install.texi (Configuring and compiling): Mention
20841         stop-on-test-failure=y.
20842         * INSTALL: Regenerated.
20844 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20846         * scripts/versionlist.awk: New file.
20847         * Makerules [$(build-shared) = yes]
20848         (postclean-generated): Add Versions.def, not Versions.def.v and
20849         Versions.def.v.i.
20850         ($(common-objpfx)Versions.def.v.i): Target removed.
20851         ($(common-objpfx)Versions.def): New target.
20852         ($(common-objpfx)Versions.all): Depend on that rather that
20853         $(common-objpfx)Versions.def.v.
20854         * Versions.def: File removed.
20856         * Makeconfig (+gccwarn): Add -Wundef.
20857         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20858         a dl-sysdep.h breaking its contract.
20859         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20860         * include/stackinfo.h: New file.
20861         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20862         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20863         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20864         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20865         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20866         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20867         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20868         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20869         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20870         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20871         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20872         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20873         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20874         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20875         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20877 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20879         [BZ #16707]
20880         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20881         implementation.
20882         * math/libm-test.inc (round_test_data): Add more tests.
20884         [BZ #16706]
20885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20886         implementation.
20887         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20889         [BZ #16701]
20890         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20891         implementation.
20892         * math/libm-test.inc (ceil_test_data): Add more tests.
20894         * math/libm-test.inc (trunc_test_data): Add more tests related to
20895         BZ#16414.
20897 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20899         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20900         with #if rather than #ifdef.
20901         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20903 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20905         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20906         first.  Disable AVX-512 GCC support if assembler doesn't support
20907         it.
20908         * sysdeps/x86_64/configure: Regenerated.
20910 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20912         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20913         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20914         (__old_pthread_attr_setstack): Likewise.
20915         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20916         [!_STACK_GROWS_DOWN]: Likewise.
20918 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20920         * config.make.in (have-bash2): Delete.
20921         * configure.ac (libc_cv_have_bash2): Delete.
20922         * configure: Regenerate.
20923         * elf/Makefile (common-ldd-rewrite): Rename to ...
20924         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20925         (sh-ldd-rewrite): Delete.
20926         (bash-ldd-rewrite): Delete.
20927         (have-bash2): Delete checks.
20928         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20929         ldd-rewrite.
20931         * config.make.in (have-ksh): Delete.
20932         (KSH): Delete.
20933         * configure.ac (libc_cv_have_ksh): Delete.
20934         * configure: Regenerate.
20936         * elf/Makefile: Delete $(have-ksh) check.
20937         ($(objpfx)sotruss): Change KSH to BASH.
20938         * elf/sotruss.ksh: Rename to ...
20939         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20940         function style to match POSIX.  Drop ksh vim mode setting.
20942         * manual/time.texi (Specifying the Time Zone with TZ): Change
20943         Tuesday to Thursday.
20945         * debug/tst-longjmp_chk2.c: Update header comment.
20946         (stackoverflow_handler): Add comment.  Call assert on pass value.
20948 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20950         [BZ #16194]
20951         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20952         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20953         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20954         (La_x86_64_vector): Add zmm.
20955         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20956         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20957         ($(objpfx)tst-audit10): New target.
20958         ($(objpfx)tst-audit10.out): Likewise.
20959         (tst-audit10-ENV): New.
20960         (AVX512-CFLAGS): Likewise.
20961         (CFLAGS-tst-audit10.c): Likewise.
20962         (CFLAGS-tst-auditmod10a.c): Likewise.
20963         (CFLAGS-tst-auditmod10b.c): Likewise.
20964         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20965         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20966         * sysdeps/x86_64/configure: Regenerated.
20967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20968         AVX-512 zmm register support.
20969         (_dl_x86_64_save_sse): Likewise.
20970         (_dl_x86_64_restore_sse): Likewise.
20971         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20972         size vector registers.
20973         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20974         (ZMM_SIZE): Likewise.
20975         * sysdeps/x86_64/tst-audit10.c: New file.
20976         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20977         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20979 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20981         * configure.ac (HAVE_EHDR_START): New check.
20982         * configure: Regenerated.
20983         * config.h.in (HAVE_EHDR_START): New #undef.
20984         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20985         assuming the lowest-addressed segment maps the start of the file.
20987 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20989         * INSTALL: Regenerated.
20991 2014-03-13  Will Newton  <will.newton@linaro.org>
20993         * manual/setjmp.texi (System V contexts): Improve
20994         clarity and grammar of documentation.
20996 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20998         [BZ #16381]
20999         * elf/Makefile (tests): Add tst-pie2.
21000         (tests-pie): Add tst-pie2.
21001         * elf/tst-pie2.c: New file.
21002         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21003         for ET_EXEC.
21004         * elf/rtld.c (map_doit): Load executable as lt_executable.
21005         (dl_main): Likewise.
21007 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21009         [BZ #16642]
21010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21011         (__ASSUME_PSELECT): Undefine.
21013 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21015         [BZ #16689]
21016         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21017         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21018         static build.
21019         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21020         selector for static builds.
21022 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21024         [BZ #16695]
21025         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21026         key in the buffer.
21028 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21030         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21031         IFUNC selector for static builds.
21033 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21035         * sysdeps/mips/math_private.h [__mips_hard_float]
21036         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21037         libc_feresetround_mips_ctx.
21038         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21039         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21040         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21042         [BZ #16677]
21043         * math/s_nextafter.c (__nextafter): Do not return value from
21044         overflowing computation.
21045         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21046         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21047         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21048         Likewise.
21049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21050         Likewise.
21051         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21052         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21054 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21056         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21057         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21058         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21059         the new mov targetting sp.
21061 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21063         [BZ #16683]
21064         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21065         Define it for static builds as well.
21066         (NO_BZERO_IMPL): Likewise.
21068 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21070         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21071         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21072         multiarch strspn for PPC64.
21073         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21074         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21076         (__libc_ifunc_impl_list): Likewise.
21077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21078         multiarch optimizations
21079         * string/strspn.c (strspn): Using macro to redefine symbol name.
21081 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21082             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21084         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21085         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21086         multiarch strncat for PPC64.
21087         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21088         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21090         (__libc_ifunc_impl_list): Likewise.
21091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21092         multiarch optimizations
21094 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21096         [BZ #16639]
21097         * nscd/nscd.service: Make service type forking.
21099 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21101         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21102         sign in non default rounding modes.
21103         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21105 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21107         * math/libm-test.inc (ALL_RM_TEST): New macro.
21108         (ceil_test): Use ALL_RM_TEST.
21109         (cimag_test): Likewise.
21110         (conj_test): Likewise.
21111         (copysign_test): Likewise.
21112         (cproj_test): Likewise.
21113         (creal_test): Likewise.
21114         (fabs_test): Likewise.
21115         (floor_test): Likewise.
21116         (fmax_test): Likewise.
21117         (fmin_test): Likewise.
21118         (fmod_test): Likewise.
21119         (fpclassify_test): Likewise.
21120         (frexp_test): Likewise.
21121         (ilogb_test): Likewise.
21122         (isfinite_test): Likewise.
21123         (finite_test): Likewise.
21124         (isgreater_test): Likewise.
21125         (isgreaterequal_test): Likewise.
21126         (isinf_test): Likewise.
21127         (isless_test): Likewise.
21128         (islessequal_test): Likewise.
21129         (islessgreater_test): Likewise.
21130         (isnan_test): Likewise.
21131         (isnormal_test): Likewise.
21132         (issignaling_test): Likewise.
21133         (isunordered_test): Likewise.
21134         (logb_test): Likewise.
21135         (logb_downward_test_data): Remove.
21136         (logb_test_downward): Likewise.
21137         (lround_test): Use ALL_RM_TEST.
21138         (llround_test): Likewise.
21139         (modf_test): Likewise.
21140         (nexttoward_test): Likewise.
21141         (remainder_test): Likewise.
21142         (drem_test): Likewise.
21143         (remainder_tonearest_test_data): Likewise.
21144         (remainder_test_tonearest): Likewise.
21145         (drem_test_tonearest): Likewise.
21146         (remainder_towardzero_test_data): Likewise.
21147         (remainder_test_towardzero): Likewise.
21148         (drem_test_towardzero): Likewise.
21149         (remainder_downward_test_data): Likewise.
21150         (remainder_test_downward): Likewise.
21151         (drem_test_downward): Likewise.
21152         (remainder_upward_test_data): Likewise.
21153         (remainder_test_upward): Likewise.
21154         (drem_test_upward): Likewise.
21155         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21156         (round_test): Use ALL_RM_TEST.
21157         (signbit_test): Likewise.
21158         (trunc_test): Likewise.
21159         (significand_test): Likewise.
21160         (main): Don't call removed functions.
21162 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21164         [BZ #16674]
21165         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21166         || __USE_XOPEN2K8].
21167         (ILL_ILLOPN): Likewise.
21168         (ILL_ILLADR): Likewise.
21169         (ILL_ILLTRP): Likewise.
21170         (ILL_PRVOPC): Likewise.
21171         (ILL_PRVREG): Likewise.
21172         (ILL_COPROC): Likewise.
21173         (ILL_BADSTK): Likewise.
21174         (FPE_INTDIV): Likewise.
21175         (FPE_INTOVF): Likewise.
21176         (FPE_FLTDIV): Likewise.
21177         (FPE_FLTOVF): Likewise.
21178         (FPE_FLTUND): Likewise.
21179         (FPE_FLTRES): Likewise.
21180         (FPE_FLTINV): Likewise.
21181         (FPE_FLTSUB): Likewise.
21182         (SEGV_MAPERR): Likewise.
21183         (SEGV_ACCERR): Likewise.
21184         (BUS_ADRALN): Likewise.
21185         (BUS_ADRERR): Likewise.
21186         (BUS_OBJERR): Likewise.
21187         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21188         (TRAP_TRACE): Likewise.
21189         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21190         __USE_XOPEN2K8].
21191         (CLD_KILLED): Likewise.
21192         (CLD_DUMPED): Likewise.
21193         (CLD_TRAPPED): Likewise.
21194         (CLD_STOPPED): Likewise.
21195         (CLD_CONTINUED): Likewise.
21196         (POLL_IN): Likewise.
21197         (POLL_OUT): Likewise.
21198         (POLL_MSG): Likewise.
21199         (POLL_ERR): Likewise.
21200         (POLL_PRI): Likewise.
21201         (POLL_HUP): Likewise.
21202         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21203         Likewise.
21204         (ILL_ILLOPN): Likewise.
21205         (ILL_ILLADR): Likewise.
21206         (ILL_ILLTRP): Likewise.
21207         (ILL_PRVOPC): Likewise.
21208         (ILL_PRVREG): Likewise.
21209         (ILL_COPROC): Likewise.
21210         (ILL_BADSTK): Likewise.
21211         (FPE_INTDIV): Likewise.
21212         (FPE_INTOVF): Likewise.
21213         (FPE_FLTDIV): Likewise.
21214         (FPE_FLTOVF): Likewise.
21215         (FPE_FLTUND): Likewise.
21216         (FPE_FLTRES): Likewise.
21217         (FPE_FLTINV): Likewise.
21218         (FPE_FLTSUB): Likewise.
21219         (SEGV_MAPERR): Likewise.
21220         (SEGV_ACCERR): Likewise.
21221         (BUS_ADRALN): Likewise.
21222         (BUS_ADRERR): Likewise.
21223         (BUS_OBJERR): Likewise.
21224         (BUS_MCEERR_AR): Likewise.
21225         (BUS_MCEERR_AO): Likewise.
21226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21227         (TRAP_TRACE): Likewise.
21228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21229         __USE_XOPEN2K8].
21230         (CLD_KILLED): Likewise.
21231         (CLD_DUMPED): Likewise.
21232         (CLD_TRAPPED): Likewise.
21233         (CLD_STOPPED): Likewise.
21234         (CLD_CONTINUED): Likewise.
21235         (POLL_IN): Likewise.
21236         (POLL_OUT): Likewise.
21237         (POLL_MSG): Likewise.
21238         (POLL_ERR): Likewise.
21239         (POLL_PRI): Likewise.
21240         (POLL_HUP): Likewise.
21241         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21242         (ILL_ILLOPN): Likewise.
21243         (ILL_ILLADR): Likewise.
21244         (ILL_ILLTRP): Likewise.
21245         (ILL_PRVOPC): Likewise.
21246         (ILL_PRVREG): Likewise.
21247         (ILL_COPROC): Likewise.
21248         (ILL_BADSTK): Likewise.
21249         (FPE_INTDIV): Likewise.
21250         (FPE_INTOVF): Likewise.
21251         (FPE_FLTDIV): Likewise.
21252         (FPE_FLTOVF): Likewise.
21253         (FPE_FLTUND): Likewise.
21254         (FPE_FLTRES): Likewise.
21255         (FPE_FLTINV): Likewise.
21256         (FPE_FLTSUB): Likewise.
21257         (SEGV_MAPERR): Likewise.
21258         (SEGV_ACCERR): Likewise.
21259         (BUS_ADRALN): Likewise.
21260         (BUS_ADRERR): Likewise.
21261         (BUS_OBJERR): Likewise.
21262         (BUS_MCEERR_AR): Likewise.
21263         (BUS_MCEERR_AO): Likewise.
21264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21265         (TRAP_TRACE): Likewise.
21266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21267         __USE_XOPEN2K8].
21268         (CLD_KILLED): Likewise.
21269         (CLD_DUMPED): Likewise.
21270         (CLD_TRAPPED): Likewise.
21271         (CLD_STOPPED): Likewise.
21272         (CLD_CONTINUED): Likewise.
21273         (POLL_IN): Likewise.
21274         (POLL_OUT): Likewise.
21275         (POLL_MSG): Likewise.
21276         (POLL_ERR): Likewise.
21277         (POLL_PRI): Likewise.
21278         (POLL_HUP): Likewise.
21279         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21280         Likewise.
21281         (ILL_ILLOPN): Likewise.
21282         (ILL_ILLADR): Likewise.
21283         (ILL_ILLTRP): Likewise.
21284         (ILL_PRVOPC): Likewise.
21285         (ILL_PRVREG): Likewise.
21286         (ILL_COPROC): Likewise.
21287         (ILL_BADSTK): Likewise.
21288         (ILL_BADIADDR): Likewise.
21289         (ILL_BREAK): Likewise.
21290         (FPE_INTDIV): Likewise.
21291         (FPE_INTOVF): Likewise.
21292         (FPE_FLTDIV): Likewise.
21293         (FPE_FLTOVF): Likewise.
21294         (FPE_FLTUND): Likewise.
21295         (FPE_FLTRES): Likewise.
21296         (FPE_FLTINV): Likewise.
21297         (FPE_FLTSUB): Likewise.
21298         (FPE_DECOVF): Likewise.
21299         (FPE_DECDIV): Likewise.
21300         (FPE_DECERR): Likewise.
21301         (FPE_INVASC): Likewise.
21302         (FPE_INVDEC): Likewise.
21303         (SEGV_MAPERR): Likewise.
21304         (SEGV_ACCERR): Likewise.
21305         (SEGV_PSTKOVF): Likewise.
21306         (BUS_ADRALN): Likewise.
21307         (BUS_ADRERR): Likewise.
21308         (BUS_OBJERR): Likewise.
21309         (BUS_MCEERR_AR): Likewise.
21310         (BUS_MCEERR_AO): Likewise.
21311         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21312         (TRAP_TRACE): Likewise.
21313         (TRAP_BRANCH): Likewise.
21314         (TRAP_HWBKPT): Likewise.
21315         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21316         __USE_XOPEN2K8].
21317         (CLD_KILLED): Likewise.
21318         (CLD_DUMPED): Likewise.
21319         (CLD_TRAPPED): Likewise.
21320         (CLD_STOPPED): Likewise.
21321         (CLD_CONTINUED): Likewise.
21322         (POLL_IN): Likewise.
21323         (POLL_OUT): Likewise.
21324         (POLL_MSG): Likewise.
21325         (POLL_ERR): Likewise.
21326         (POLL_PRI): Likewise.
21327         (POLL_HUP): Likewise.
21328         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21329         (ILL_ILLOPN): Likewise.
21330         (ILL_ILLADR): Likewise.
21331         (ILL_ILLTRP): Likewise.
21332         (ILL_PRVOPC): Likewise.
21333         (ILL_PRVREG): Likewise.
21334         (ILL_COPROC): Likewise.
21335         (ILL_BADSTK): Likewise.
21336         (FPE_INTDIV): Likewise.
21337         (FPE_INTOVF): Likewise.
21338         (FPE_FLTDIV): Likewise.
21339         (FPE_FLTOVF): Likewise.
21340         (FPE_FLTUND): Likewise.
21341         (FPE_FLTRES): Likewise.
21342         (FPE_FLTINV): Likewise.
21343         (FPE_FLTSUB): Likewise.
21344         (SEGV_MAPERR): Likewise.
21345         (SEGV_ACCERR): Likewise.
21346         (BUS_ADRALN): Likewise.
21347         (BUS_ADRERR): Likewise.
21348         (BUS_OBJERR): Likewise.
21349         (BUS_MCEERR_AR): Likewise.
21350         (BUS_MCEERR_AO): Likewise.
21351         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21352         (TRAP_TRACE): Likewise.
21353         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21354         __USE_XOPEN2K8].
21355         (CLD_KILLED): Likewise.
21356         (CLD_DUMPED): Likewise.
21357         (CLD_TRAPPED): Likewise.
21358         (CLD_STOPPED): Likewise.
21359         (CLD_CONTINUED): Likewise.
21360         (POLL_IN): Likewise.
21361         (POLL_OUT): Likewise.
21362         (POLL_MSG): Likewise.
21363         (POLL_ERR): Likewise.
21364         (POLL_PRI): Likewise.
21365         (POLL_HUP): Likewise.
21366         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21367         (ILL_ILLOPN): Likewise.
21368         (ILL_ILLADR): Likewise.
21369         (ILL_ILLTRP): Likewise.
21370         (ILL_PRVOPC): Likewise.
21371         (ILL_PRVREG): Likewise.
21372         (ILL_COPROC): Likewise.
21373         (ILL_BADSTK): Likewise.
21374         (FPE_INTDIV): Likewise.
21375         (FPE_INTOVF): Likewise.
21376         (FPE_FLTDIV): Likewise.
21377         (FPE_FLTOVF): Likewise.
21378         (FPE_FLTUND): Likewise.
21379         (FPE_FLTRES): Likewise.
21380         (FPE_FLTINV): Likewise.
21381         (FPE_FLTSUB): Likewise.
21382         (SEGV_MAPERR): Likewise.
21383         (SEGV_ACCERR): Likewise.
21384         (BUS_ADRALN): Likewise.
21385         (BUS_ADRERR): Likewise.
21386         (BUS_OBJERR): Likewise.
21387         (BUS_MCEERR_AR): Likewise.
21388         (BUS_MCEERR_AO): Likewise.
21389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21390         (TRAP_TRACE): Likewise.
21391         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21392         __USE_XOPEN2K8].
21393         (CLD_KILLED): Likewise.
21394         (CLD_DUMPED): Likewise.
21395         (CLD_TRAPPED): Likewise.
21396         (CLD_STOPPED): Likewise.
21397         (CLD_CONTINUED): Likewise.
21398         (POLL_IN): Likewise.
21399         (POLL_OUT): Likewise.
21400         (POLL_MSG): Likewise.
21401         (POLL_ERR): Likewise.
21402         (POLL_PRI): Likewise.
21403         (POLL_HUP): Likewise.
21404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21405         (ILL_ILLOPN): Likewise.
21406         (ILL_ILLADR): Likewise.
21407         (ILL_ILLTRP): Likewise.
21408         (ILL_PRVOPC): Likewise.
21409         (ILL_PRVREG): Likewise.
21410         (ILL_COPROC): Likewise.
21411         (ILL_BADSTK): Likewise.
21412         (FPE_INTDIV): Likewise.
21413         (FPE_INTOVF): Likewise.
21414         (FPE_FLTDIV): Likewise.
21415         (FPE_FLTOVF): Likewise.
21416         (FPE_FLTUND): Likewise.
21417         (FPE_FLTRES): Likewise.
21418         (FPE_FLTINV): Likewise.
21419         (FPE_FLTSUB): Likewise.
21420         (SEGV_MAPERR): Likewise.
21421         (SEGV_ACCERR): Likewise.
21422         (BUS_ADRALN): Likewise.
21423         (BUS_ADRERR): Likewise.
21424         (BUS_OBJERR): Likewise.
21425         (BUS_MCEERR_AR): Likewise.
21426         (BUS_MCEERR_AO): Likewise.
21427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21428         (TRAP_TRACE): Likewise.
21429         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21430         __USE_XOPEN2K8].
21431         (CLD_KILLED): Likewise.
21432         (CLD_DUMPED): Likewise.
21433         (CLD_TRAPPED): Likewise.
21434         (CLD_STOPPED): Likewise.
21435         (CLD_CONTINUED): Likewise.
21436         (POLL_IN): Likewise.
21437         (POLL_OUT): Likewise.
21438         (POLL_MSG): Likewise.
21439         (POLL_ERR): Likewise.
21440         (POLL_PRI): Likewise.
21441         (POLL_HUP): Likewise.
21442         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21443         (ILL_ILLOPN): Likewise.
21444         (ILL_ILLADR): Likewise.
21445         (ILL_ILLTRP): Likewise.
21446         (ILL_PRVOPC): Likewise.
21447         (ILL_PRVREG): Likewise.
21448         (ILL_COPROC): Likewise.
21449         (ILL_BADSTK): Likewise.
21450         (ILL_DBLFLT): Likewise.
21451         (ILL_HARDWALL): Likewise.
21452         (FPE_INTDIV): Likewise.
21453         (FPE_INTOVF): Likewise.
21454         (FPE_FLTDIV): Likewise.
21455         (FPE_FLTOVF): Likewise.
21456         (FPE_FLTUND): Likewise.
21457         (FPE_FLTRES): Likewise.
21458         (FPE_FLTINV): Likewise.
21459         (FPE_FLTSUB): Likewise.
21460         (SEGV_MAPERR): Likewise.
21461         (SEGV_ACCERR): Likewise.
21462         (BUS_ADRALN): Likewise.
21463         (BUS_ADRERR): Likewise.
21464         (BUS_OBJERR): Likewise.
21465         (BUS_MCEERR_AR): Likewise.
21466         (BUS_MCEERR_AO): Likewise.
21467         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21468         (TRAP_TRACE): Likewise.
21469         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21470         __USE_XOPEN2K8].
21471         (CLD_KILLED): Likewise.
21472         (CLD_DUMPED): Likewise.
21473         (CLD_TRAPPED): Likewise.
21474         (CLD_STOPPED): Likewise.
21475         (CLD_CONTINUED): Likewise.
21476         (POLL_IN): Likewise.
21477         (POLL_OUT): Likewise.
21478         (POLL_MSG): Likewise.
21479         (POLL_ERR): Likewise.
21480         (POLL_PRI): Likewise.
21481         (POLL_HUP): Likewise.
21482         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21483         (ILL_ILLOPN): Likewise.
21484         (ILL_ILLADR): Likewise.
21485         (ILL_ILLTRP): Likewise.
21486         (ILL_PRVOPC): Likewise.
21487         (ILL_PRVREG): Likewise.
21488         (ILL_COPROC): Likewise.
21489         (ILL_BADSTK): Likewise.
21490         (FPE_INTDIV): Likewise.
21491         (FPE_INTOVF): Likewise.
21492         (FPE_FLTDIV): Likewise.
21493         (FPE_FLTOVF): Likewise.
21494         (FPE_FLTUND): Likewise.
21495         (FPE_FLTRES): Likewise.
21496         (FPE_FLTINV): Likewise.
21497         (FPE_FLTSUB): Likewise.
21498         (SEGV_MAPERR): Likewise.
21499         (SEGV_ACCERR): Likewise.
21500         (BUS_ADRALN): Likewise.
21501         (BUS_ADRERR): Likewise.
21502         (BUS_OBJERR): Likewise.
21503         (BUS_MCEERR_AR): Likewise.
21504         (BUS_MCEERR_AO): Likewise.
21505         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21506         (TRAP_TRACE): Likewise.
21507         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21508         __USE_XOPEN2K8].
21509         (CLD_KILLED): Likewise.
21510         (CLD_DUMPED): Likewise.
21511         (CLD_TRAPPED): Likewise.
21512         (CLD_STOPPED): Likewise.
21513         (CLD_CONTINUED): Likewise.
21514         (POLL_IN): Likewise.
21515         (POLL_OUT): Likewise.
21516         (POLL_MSG): Likewise.
21517         (POLL_ERR): Likewise.
21518         (POLL_PRI): Likewise.
21519         (POLL_HUP): Likewise.
21520         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21521         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21523         [BZ #16670]
21524         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21525         before #include of <time.h>.
21526         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21527         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21528         (test-xfail-UNIX98/sched.h/conform): Likewise.
21530 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21532         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21533         error absence of trapping exception support.
21534         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21536 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21538         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21539         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21540         * timezone/Makefile (testdata): Move definition above include of
21541         Rules.
21542         (test-zones): New variable.
21543         (tests-special): Add zone files.
21544         (build-testdata): Use $(evaluate-test).
21546         * elf/Makefile (tests-special): Rename tests to end with .out.
21547         ($(objpfx)noload-mem): Likewise.
21548         ($(objpfx)tst-leaks1-mem): Likewise.
21549         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21550         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21551         $(objpfx)test-iconvconfig.out.
21552         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21553         set -e inside subshell and redirect output to file.
21554         * iconvdata/Makefile (generated): Rename tests to end with .out.
21555         Correct type.
21556         (tests-special): Rename tests to end with .out.
21557         ($(objpfx)mtrace-tst-loading): Likewise.
21558         * intl/Makefile (generated): Likewise.
21559         (tests-special): Likewise.
21560         ($(objpfx)mtrace-tst-gettext): Likewise.
21561         * misc/Makefile (generated): Likewise.
21562         (tests-special): Likewise.
21563         ($(objpfx)tst-error1-mem): Likewise.
21564         * nptl/Makefile (tests-special): Likewise.
21565         ($(objpfx)tst-stack3-mem): Likewise.
21566         (generated): Likewise.
21567         * posix/Makefile (generated): Likewise.
21568         (tests-special): Likewise.
21569         (xtests-special): Likewise.
21570         ($(objpfx)tst-fnmatch-mem): Likewise.
21571         ($(objpfx)bug-regex2-mem): Likewise.
21572         ($(objpfx)bug-regex14-mem): Likewise.
21573         ($(objpfx)bug-regex21-mem): Likewise.
21574         ($(objpfx)bug-regex31-mem): Likewise.
21575         ($(objpfx)tst-vfork3-mem): Likewise.
21576         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21577         ($(objpfx)tst-pcre-mem): Likewise.
21578         ($(objpfx)tst-boost-mem): Likewise.
21579         ($(objpfx)bug-ga2-mem): Likewise.
21580         ($(objpfx)bug-glob2-mem): Likewise.
21581         * resolv/Makefile (generate): Likewise.
21582         (tests-special): Likewise.
21583         (xtests-special): Likewise.
21584         (generated): Likewise.
21585         ($(objpfx)mtrace-tst-leaks): Likewise.
21586         ($(objpfx)mtrace-tst-leaks2): Likewise.
21588         * scripts/merge-test-results.sh: New file.
21589         * Makefile (tests-special-notdir): New variable.
21590         (tests): Run merge-test-results.sh.
21591         (xtests): Likewise.
21592         * Rules (tests-special-notdir): New variable.
21593         (xtests-special-notdir): Likewise.
21594         (tests): Run merge-test-results.sh
21595         (xtests): Likewise.
21597         * Makeconfig (test-xfail-name): New variable.
21598         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21599         compute variable name for expected failures.
21600         * conform/Makefile (conformtest-headers-data): New variable.
21601         (conformtest-standards): Likewise.
21602         (conformtest-headers-ISO): Likewise.
21603         (conformtest-headers-ISO99): Likewise.
21604         (conformtest-headers-ISO11): Likewise.
21605         (conformtest-headers-POSIX): Likewise.
21606         (conformtest-headers-XPG3): Likewise.
21607         (conformtest-headers-XPG4): Likewise.
21608         (conformtest-headers-UNIX98): Likewise.
21609         (conformtest-headers-XOPEN2K): Likewise.
21610         (conformtest-headers-POSIX2008): Likewise.
21611         (conformtest-headers-XOPEN2K8): Likewise.
21612         (conformtest-header-list-base): Likewise.
21613         (conformtest-header-list-tests): Likewise.
21614         (conformtest-header-base): Likewise.
21615         (conformtest-header-tests): Likewise.
21616         (tests-special): Add $(conformtest-header-list-tests).  If
21617         [$(fast-check) && !$(cross-compiling)], add
21618         $(conformtest-header-tests) instead of
21619         $(objpfx)run-conformtest.out.
21620         (generated): Add $(conformtest-header-list-base).  If
21621         [$(fast-check) && !$(cross-compiling)], add
21622         $(conformtest-header-base).  Remove previous setting.
21623         ($(conformtest-header-list-tests)): New target.
21624         (test-xfail-run-conformtest): Remove variable.
21625         ($(objpfx)run-conformtest.out): Remove target.
21626         (test-xfail-ISO11/complex.h/conform): New variable.
21627         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21628         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21629         (test-xfail-XPG3/varargs.h/conform): Likewise.
21630         (test-xfail-XPG4/varargs.h/conform): Likewise.
21631         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21632         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21633         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21634         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21635         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21636         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21637         (test-xfail-XPG3/ftw.h/conform): Likewise.
21638         (test-xfail-XPG3/grp.h/conform): Likewise.
21639         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21640         (test-xfail-XPG3/limits.h/conform): Likewise.
21641         (test-xfail-XPG3/pwd.h/conform): Likewise.
21642         (test-xfail-XPG3/search.h/conform): Likewise.
21643         (test-xfail-XPG3/signal.h/conform): Likewise.
21644         (test-xfail-XPG3/stdio.h/conform): Likewise.
21645         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21646         (test-xfail-XPG3/string.h/conform): Likewise.
21647         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21648         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21649         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21650         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21651         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21652         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21653         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21654         (test-xfail-XPG3/termios.h/conform): Likewise.
21655         (test-xfail-XPG3/time.h/conform): Likewise.
21656         (test-xfail-XPG3/unistd.h/conform): Likewise.
21657         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21658         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21659         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21660         (test-xfail-XPG4/netdb.h/conform): Likewise.
21661         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21662         (test-xfail-XPG4/signal.h/conform): Likewise.
21663         (test-xfail-XPG4/stdio.h/conform): Likewise.
21664         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21665         (test-xfail-XPG4/stropts.h/conform): Likewise.
21666         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21667         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21668         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21669         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21670         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21671         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21672         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21673         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21674         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21675         (test-xfail-XPG4/termios.h/conform): Likewise.
21676         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21677         (test-xfail-XPG4/unistd.h/conform): Likewise.
21678         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21679         (test-xfail-POSIX/sched.h/conform): Likewise.
21680         (test-xfail-POSIX/signal.h/conform): Likewise.
21681         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21682         (test-xfail-POSIX/tar.h/conform): Likewise.
21683         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21684         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21685         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21686         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21687         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21688         (test-xfail-UNIX98/sched.h/conform): Likewise.
21689         (test-xfail-UNIX98/signal.h/conform): Likewise.
21690         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21691         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21692         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21693         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21694         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21695         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21696         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21697         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21698         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21699         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21700         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21701         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21702         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21703         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21704         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21705         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21706         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21707         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21708         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21709         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21710         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21711         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21712         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21713         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21714         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21715         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21716         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21717         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21718         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21719         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21720         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21721         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21722         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21723         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21724         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21725         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21726         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21727         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21728         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21729         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21730         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21731         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21732         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21733         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21734         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21735         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21736         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21737         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21738         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21739         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21740         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21741         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21742         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21743         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21744         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21745         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21746         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21747         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21748         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21749         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21750         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21751         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21752         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21753         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21754         (conformtest-cc-flags): Likewise.
21755         ($(conformtest-header-tests): New target.
21756         * conform/check-header-lists.sh: New file.
21757         * conform/run-conformtest.sh: Remove.
21759         * conform/conformtest.pl: Allow ' and \ in values given for
21760         constants.
21761         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21762         inclusion.
21763         [POSIX] (sys/types.h): Likewise.
21764         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21765         inclusion.
21766         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21767         inclusion.
21768         * conform/data/signal.h-data (SIGIO): Remove expectation.
21769         [XPG3] (SIGBUS): Do not expect.
21770         [POSIX || XPG3] (SIGPOLL): Likewise.
21771         [POSIX || XPG3] (SIGPROF): Likewise.
21772         [POSIX || XPG3] (SIGSYS): Likewise.
21773         [XPG3] (SIGTRAP): Likewise.
21774         [POSIX || XPG3] (SIGURG): Likewise.
21775         [POSIX || XPG3] (SIGVTALRM): Likewise.
21776         [POSIX || XPG3] (SIGXCPU): Likewise.
21777         [POSIX || XPG3] (SIGXFSZ): Likewise.
21778         [POSIX] (SA_SIGINFO): Expect.
21779         [XPG3] (siginfo_t): Do not expect type or contents.
21780         [POSIX] (si_pid): Do not expect element.
21781         [POSIX] (si_uid): Likewise.
21782         [POSIX] (si_addr): Likewise.
21783         [POSIX] (si_status): Likewise.
21784         [POSIX] (si_band): Likewise.
21785         [XPG4] (si_value): Likewise.
21786         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21787         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21788         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21789         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21790         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21791         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21792         [POSIX || XPG3] (ILL_COPROC): Likewise.
21793         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21794         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21795         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21796         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21797         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21798         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21799         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21800         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21801         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21802         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21803         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21804         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21805         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21806         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21807         [POSIX || XPG3] (CLD_EXITED): Likewise.
21808         [POSIX || XPG3] (CLD_KILLED): Likewise.
21809         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21810         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21811         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21812         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21813         [POSIX || XPG3] (POLL_IN): Likewise.
21814         [POSIX || XPG3] (POLL_OUT): Likewise.
21815         [POSIX || XPG3] (POLL_MSG): Likewise.
21816         [POSIX || XPG3] (POLL_ERR): Likewise.
21817         [POSIX || XPG3] (POLL_PRI): Likewise.
21818         [POSIX || XPG3] (POLL_HUP): Likewise.
21819         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21820         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21821         (SIG*): Do not allow.
21822         [XPG3] (si_*): Likewise.
21823         [XPG3] (SI_*): Likewise.
21824         [XPG3 || XPG4] (sigev_*): Likewise.
21825         [XPG3 || XPG4] (SIGEV_*): Likewise.
21826         [XPG3 || XPG4] (sival_*): Likewise.
21827         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21828         [POSIX || XPG3] (BUS_*): Likewise.
21829         [POSIX || XPG3] (CLD_*): Likewise.
21830         [POSIX || XPG3] (FPE_*): Likewise.
21831         [POSIX || XPG3] (ILL_*): Likewise.
21832         [POSIX || XPG3] (POLL_*): Likewise.
21833         [POSIX || XPG3] (SEGV_*): Likewise.
21834         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21835         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21836         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21837         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21838         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21839         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21840         Specify type and value.
21841         (TVERSLEN): Likewise.
21842         (REGTYPE): Likewise.
21843         (AREGTYPE): Likewise.
21844         (LNKTYPE): Likewise.
21845         (SYMTYPE): Likewise.
21846         (CHRTYPE): Likewise.
21847         (BLKTYPE): Likewise.
21848         (DIRTYPE): Likewise.
21849         (FIFOTYPE): Likewise.
21850         (CONTTYPE): Likewise.
21851         (TSUID): Likewise.
21852         (TSGID): Likewise.
21853         (TSVTX): Likewise.
21854         (TUREAD): Likewise.
21855         (TUWRITE): Likewise.
21856         (TUEXEC): Likewise.
21857         (TGREAD): Likewise.
21858         (TGWRITE): Likewise.
21859         (TGEXEC): Likewise.
21860         (TOREAD): Likewise.
21861         (TOWRITE): Likewise.
21862         (TOEXEC): Likewise.
21863         [POSIX] (TSVTX): Expect constant.
21865 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21867         * Makefile (tests): Change dependencies to ....
21868         (tests-special): ... additions to this variable.
21869         (tests): Depend on $(tests-special).
21870         * Makerules (check-abi-list): New variable.
21871         (check-abi): Depend on $(check-abi-list).
21872         [$(subdir) = elf] (tests-special): Add
21873         $(objpfx)check-abi-libc.out.
21874         [$(build-shared) = yes && subdir] (tests-special): Add
21875         $(check-abi-list).
21876         [$(build-shared) = yes && subdir] (tests): Do not depend on
21877         check-abi.
21878         * Rules (tests): Depend on $(tests-special).
21879         (xtests): Depend on $(xtests-special).
21880         * catgets/Makefile (tests): Change dependencies to ....
21881         (tests-special): ... additions to this variable.
21882         * conform/Makefile (tests): Change dependencies to ....
21883         (tests-special): ... additions to this variable.
21884         * elf/Makefile (tests): Change dependencies to ....
21885         (tests-special): ... additions to this variable.
21886         * grp/Makefile (tests): Change dependencies to ....
21887         (tests-special): ... additions to this variable.
21888         * iconv/Makefile (xtests): Change dependencies to ....
21889         (xtests-special): ... additions to this variable.
21890         * iconvdata/Makefile (tests): Change dependencies to ....
21891         (tests-special): ... additions to this variable.
21892         * intl/Makefile (tests): Change dependencies to ....
21893         (tests-special): ... additions to this variable.  Also add
21894         $(objpfx)tst-gettext.out.
21895         * io/Makefile (tests): Change dependencies to ....
21896         (tests-special): ... additions to this variable.
21897         * libio/Makefile (tests): Change dependencies to ....
21898         (tests-special): ... additions to this variable.
21899         * malloc/Makefile (tests): Change dependencies to ....
21900         (tests-special): ... additions to this variable.
21901         * misc/Makefile (tests): Change dependencies to ....
21902         (tests-special): ... additions to this variable.
21903         * nptl/Makefile (tests): Change dependencies to ....
21904         (tests-special): ... additions to this variable.
21905         * nptl_db/Makefile (tests): Change dependencies to ....
21906         (tests-special): ... additions to this variable.
21907         * posix/Makefile (tests): Change dependencies to ....
21908         (tests-special): ... additions to this variable.
21909         (xtests): Change dependencies to ....
21910         (xtests-special): ... additions to this variable.
21911         * resolv/Makefile (tests): Change dependencies to ....
21912         (tests-special): ... additions to this variable.
21913         (xtests): Change dependencies to ....
21914         (xtests-special): ... additions to this variable.
21915         * stdio-common/Makefile (tests): Change dependencies to ....
21916         (tests-special): ... additions to this variable.
21917         (do-tst-unbputc): Remove target.
21918         (do-tst-printf): Likewise.
21919         * stdlib/Makefile (tests): Change dependencies to ....
21920         (tests-special): ... additions to this variable.
21921         * string/Makefile (tests): Change dependencies to ....
21922         (tests-special): ... additions to this variable.
21923         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21924         (tests-special): ... additions to this variable.
21926         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21927         whole file.
21928         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21929         whole file.
21930         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21931         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21933         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21934         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21935         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21936         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21937         * conform/data/libgen.h-data [XPG3]: Likewise.
21938         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21939         * conform/data/ndbm.h-data [XPG3]: Likewise.
21940         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21941         * conform/data/netdb.h-data [XPG3]: Likewise.
21942         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21943         * conform/data/poll.h-data [XPG3]: Likewise.
21944         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21945         * conform/data/strings.h-data [XPG3]: Likewise.
21946         * conform/data/stropts.h-data [XPG3]: Likewise.
21947         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21948         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21949         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21950         Likewise.
21951         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21952         * conform/data/sys/time.h-data [XPG3]: Likewise.
21953         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21954         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21955         * conform/data/sys/un.h-data [XPG3]: Likewise.
21956         * conform/data/syslog.h-data [XPG3]: Likewise.
21957         * conform/data/ucontext.h-data [XPG3]: Likewise.
21958         * conform/data/utmpx.h-data [XPG3]: Likewise.
21959         * conform/data/varargs.h-data [UNIX98]: Enable file.
21961         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21963         * math/libm-test.inc (struct test_f_f_data): Move expected results
21964         into structure for each rounding mode.
21965         (struct test_ff_f_data): Likewise.
21966         (struct test_ff_f_data_nexttoward): Likewise.
21967         (struct test_fi_f_data): Likewise.
21968         (struct test_fl_f_data): Likewise.
21969         (struct test_if_f_data): Likewise.
21970         (struct test_fff_f_data): Likewise.
21971         (struct test_c_f_data): Likewise.
21972         (struct test_f_f1_data): Likewise.
21973         (struct test_fF_f1_data): Likewise.
21974         (struct test_ffI_f1_data): Likewise.
21975         (struct test_c_c_data): Likewise.
21976         (struct test_cc_c_data): Likewise.
21977         (struct test_f_i_data): Likewise.
21978         (struct test_ff_i_data): Likewise.
21979         (struct test_f_l_data): Likewise.
21980         (struct test_f_L_data): Likewise.
21981         (struct test_fFF_11_data): Likewise.
21982         (RM_): New macro.
21983         (RM_FE_DOWNWARD): Likewise.
21984         (RM_FE_TONEAREST): Likewise.
21985         (RM_FE_TOWARDZERO): Likewise.
21986         (RM_FE_UPWARD): Likewise.
21987         (RUN_TEST_LOOP_f_f): Update references to expected results.
21988         (RUN_TEST_LOOP_2_f): Likewise.
21989         (RUN_TEST_LOOP_fff_f): Likewise.
21990         (RUN_TEST_LOOP_c_f): Likewise.
21991         (RUN_TEST_LOOP_f_f1): Likewise.
21992         (RUN_TEST_LOOP_fF_f1): Likewise.
21993         (RUN_TEST_LOOP_fI_f1): Likewise.
21994         (RUN_TEST_LOOP_ffI_f1): Likewise.
21995         (RUN_TEST_LOOP_c_c): Likewise.
21996         (RUN_TEST_LOOP_cc_c): Likewise.
21997         (RUN_TEST_LOOP_f_i): Likewise.
21998         (RUN_TEST_LOOP_f_i_tg): Likewise.
21999         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22000         (RUN_TEST_LOOP_f_b): Likewise.
22001         (RUN_TEST_LOOP_f_b_tg): Likewise.
22002         (RUN_TEST_LOOP_f_l): Likewise.
22003         (RUN_TEST_LOOP_f_L): Likewise.
22004         (RUN_TEST_LOOP_fFF_11): Likewise.
22005         * math/gen-libm-test.pl (parse_args): Output four copies of
22006         expected results for each test.
22008         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22009         (__ASSUME_UTIMES): Remove.
22010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22011         (__ASSUME_UTIMES): Likewise.
22013         * math/gen-auto-libm-tests.c: Update comment on output format.
22014         (output_for_one_input_case): Generate before-rounding and
22015         after-rounding information as conditions on output flags not
22016         floating-point format.
22017         * math/auto-libm-test-out: Regenerated.
22018         * math/gen-libm-test.pl (cond_value): New function.
22019         (or_cond_value): Use cond_value.
22020         (generate_testfile): Handle conditional exceptions.
22022 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22024         * math/libm-test.inc (max_valid_error): New variable.
22025         (init_max_error): Take new argument specifying whether function
22026         results are exactly determined.  Set max_valid_error and bound
22027         other variables for errors based on this argument.
22028         (set_max_error): Do not record results above max_valid_error.
22029         (check_float_internal): Only accept errors of up to 0.5ulps if
22030         also at most max_valid_error.
22031         (START): Take new argument EXACT and pass it to init_max_error.
22032         (acos_test): Update call to START.
22033         (acos_test_tonearest): Likewise.
22034         (acos_test_towardzero): Likewise.
22035         (acos_test_downward): Likewise.
22036         (acos_test_upward): Likewise.
22037         (acosh_test): Likewise.
22038         (asin_test): Likewise.
22039         (asin_test_tonearest): Likewise.
22040         (asin_test_towardzero): Likewise.
22041         (asin_test_downward): Likewise.
22042         (asin_test_upward): Likewise.
22043         (asinh_test): Likewise.
22044         (atan_test): Likewise.
22045         (atanh_test): Likewise.
22046         (atan2_test): Likewise.
22047         (cabs_test): Likewise.
22048         (cacos_test): Likewise.
22049         (cacosh_test): Likewise.
22050         (carg_test): Likewise.
22051         (casin_test): Likewise.
22052         (casinh_test): Likewise.
22053         (catan_test): Likewise.
22054         (catanh_test): Likewise.
22055         (cbrt_test): Likewise.
22056         (ccos_test): Likewise.
22057         (ccosh_test): Likewise.
22058         (ceil_test): Likewise.
22059         (cexp_test): Likewise.
22060         (cimag_test): Likewise.
22061         (clog_test): Likewise.
22062         (clog10_test): Likewise.
22063         (conj_test): Likewise.
22064         (copysign_test): Likewise.
22065         (cos_test): Likewise.
22066         (cos_test_tonearest): Likewise.
22067         (cos_test_towardzero): Likewise.
22068         (cos_test_downward): Likewise.
22069         (cos_test_upward): Likewise.
22070         (cosh_test): Likewise.
22071         (cosh_test_tonearest): Likewise.
22072         (cosh_test_towardzero): Likewise.
22073         (cosh_test_downward): Likewise.
22074         (cosh_test_upward): Likewise.
22075         (cpow_test): Likewise.
22076         (cproj_test): Likewise.
22077         (creal_test): Likewise.
22078         (csin_test): Likewise.
22079         (csinh_test): Likewise.
22080         (csqrt_test): Likewise.
22081         (ctan_test): Likewise.
22082         (ctan_test_tonearest): Likewise.
22083         (ctan_test_towardzero): Likewise.
22084         (ctan_test_downward): Likewise.
22085         (ctan_test_upward): Likewise.
22086         (ctanh_test): Likewise.
22087         (ctanh_test_tonearest): Likewise.
22088         (ctanh_test_towardzero): Likewise.
22089         (ctanh_test_downward): Likewise.
22090         (ctanh_test_upward): Likewise.
22091         (erf_test): Likewise.
22092         (erfc_test): Likewise.
22093         (exp_test): Likewise.
22094         (exp_test_tonearest): Likewise.
22095         (exp_test_towardzero): Likewise.
22096         (exp_test_downward): Likewise.
22097         (exp_test_upward): Likewise.
22098         (exp10_test): Likewise.
22099         (exp10_test_tonearest): Likewise.
22100         (exp10_test_towardzero): Likewise.
22101         (exp10_test_downward): Likewise.
22102         (exp10_test_upward): Likewise.
22103         (pow10_test): Likewise.
22104         (exp2_test): Likewise.
22105         (expm1_test): Likewise.
22106         (expm1_test_tonearest): Likewise.
22107         (expm1_test_towardzero): Likewise.
22108         (expm1_test_downward): Likewise.
22109         (expm1_test_upward): Likewise.
22110         (fabs_test): Likewise.
22111         (fdim_test): Likewise.
22112         (floor_test): Likewise.
22113         (fma_test): Likewise.
22114         (fma_test_towardzero): Likewise.
22115         (fma_test_downward): Likewise.
22116         (fma_test_upward): Likewise.
22117         (fmax_test): Likewise.
22118         (fmin_test): Likewise.
22119         (fmod_test): Likewise.
22120         (fpclassify_test): Likewise.
22121         (frexp_test): Likewise.
22122         (hypot_test): Likewise.
22123         (ilogb_test): Likewise.
22124         (isfinite_test): Likewise.
22125         (finite_test): Likewise.
22126         (isgreater_test): Likewise.
22127         (isgreaterequal_test): Likewise.
22128         (isinf_test): Likewise.
22129         (isless_test): Likewise.
22130         (islessequal_test): Likewise.
22131         (islessgreater_test): Likewise.
22132         (isnan_test): Likewise.
22133         (isnormal_test): Likewise.
22134         (issignaling_test): Likewise.
22135         (isunordered_test): Likewise.
22136         (j0_test): Likewise.
22137         (j1_test): Likewise.
22138         (jn_test): Likewise.
22139         (ldexp_test): Likewise.
22140         (lgamma_test): Likewise.
22141         (gamma_test): Likewise.
22142         (lrint_test): Likewise.
22143         (lrint_test_tonearest): Likewise.
22144         (lrint_test_towardzero): Likewise.
22145         (lrint_test_downward): Likewise.
22146         (lrint_test_upward): Likewise.
22147         (llrint_test): Likewise.
22148         (llrint_test_tonearest): Likewise.
22149         (llrint_test_towardzero): Likewise.
22150         (llrint_test_downward): Likewise.
22151         (llrint_test_upward): Likewise.
22152         (log_test): Likewise.
22153         (log10_test): Likewise.
22154         (log1p_test): Likewise.
22155         (log2_test): Likewise.
22156         (logb_test): Likewise.
22157         (logb_test_downward): Likewise.
22158         (lround_test): Likewise.
22159         (llround_test): Likewise.
22160         (modf_test): Likewise.
22161         (nearbyint_test): Likewise.
22162         (nextafter_test): Likewise.
22163         (nexttoward_test): Likewise.
22164         (pow_test): Likewise.
22165         (pow_test_tonearest): Likewise.
22166         (pow_test_towardzero): Likewise.
22167         (pow_test_downward): Likewise.
22168         (pow_test_upward): Likewise.
22169         (remainder_test): Likewise.
22170         (drem_test): Likewise.
22171         (remainder_test_tonearest): Likewise.
22172         (drem_test_tonearest): Likewise.
22173         (remainder_test_towardzero): Likewise.
22174         (drem_test_towardzero): Likewise.
22175         (remainder_test_downward): Likewise.
22176         (drem_test_downward): Likewise.
22177         (remainder_test_upward): Likewise.
22178         (drem_test_upward): Likewise.
22179         (remquo_test): Likewise.
22180         (rint_test): Likewise.
22181         (rint_test_tonearest): Likewise.
22182         (rint_test_towardzero): Likewise.
22183         (rint_test_downward): Likewise.
22184         (rint_test_upward): Likewise.
22185         (round_test): Likewise.
22186         (scalb_test): Likewise.
22187         (scalbn_test): Likewise.
22188         (scalbln_test): Likewise.
22189         (signbit_test): Likewise.
22190         (sin_test): Likewise.
22191         (sin_test_tonearest): Likewise.
22192         (sin_test_towardzero): Likewise.
22193         (sin_test_downward): Likewise.
22194         (sin_test_upward): Likewise.
22195         (sincos_test): Likewise.
22196         (sinh_test): Likewise.
22197         (sinh_test_tonearest): Likewise.
22198         (sinh_test_towardzero): Likewise.
22199         (sinh_test_downward): Likewise.
22200         (sinh_test_upward): Likewise.
22201         (sqrt_test): Likewise.
22202         (sqrt_test_tonearest): Likewise.
22203         (sqrt_test_towardzero): Likewise.
22204         (sqrt_test_downward): Likewise.
22205         (sqrt_test_upward): Likewise.
22206         (tan_test): Likewise.
22207         (tan_test_tonearest): Likewise.
22208         (tan_test_towardzero): Likewise.
22209         (tan_test_downward): Likewise.
22210         (tan_test_upward): Likewise.
22211         (tanh_test): Likewise.
22212         (tgamma_test): Likewise.
22213         (trunc_test): Likewise.
22214         (y0_test): Likewise.
22215         (y1_test): Likewise.
22216         (yn_test): Likewise.
22217         (significand_test): Likewise.
22219         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22220         individual tests in comment.
22221         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22222         (prev_max_error): New variable.
22223         (prev_real_max_error): Likewise.
22224         (prev_imag_max_error): Likewise.
22225         (compare_ulp_data): Don't refer to test names in comment.
22226         (find_test_ulps): Remove function.
22227         (find_function_ulps): Likewise.
22228         (find_complex_function_ulps): Likewise.
22229         (init_max_error): Take function name as argument.  Look up ulps
22230         for that function.
22231         (print_ulps): Remove function.
22232         (print_max_error): Use prev_max_error instead of calling
22233         find_function_ulps.
22234         (print_complex_max_error): Use prev_real_max_error and
22235         prev_imag_max_error instead of calling find_complex_function_ulps.
22236         (check_float_internal): Take max_ulp parameter instead of calling
22237         find_test_ulps.  Don't call print_ulps.
22238         (check_float): Update call to check_float_internal.
22239         (check_complex): Update calls to check_float_internal.
22240         (START): Pass argument to init_max_error.
22241         * math/gen-libm-test.pl (%results): Don't include "kind"
22242         information.
22243         (parse_ulps): Don't handle ulps of individual tests.
22244         (print_ulps_file): Likewise.
22245         (output_ulps): Likewise.
22246         * math/README.libm-test: Update.
22247         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22248         individual tests.
22249         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22250         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22251         * sysdeps/arm/libm-test-ulps: Likewise.
22252         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22253         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22254         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22255         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22256         * sysdeps/microblaze/libm-test-ulps: Likewise.
22257         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22258         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22260         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22261         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22262         * sysdeps/sh/libm-test-ulps: Likewise.
22263         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22264         * sysdeps/tile/libm-test-ulps: Likewise.
22265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22267 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22269         * math/libm-test.inc (print_complex_max_error): Check separately
22270         whether real and imaginary errors are within allowed range and
22271         pass 0 to print_complex_function_ulps instead of value within
22272         allowed range.
22274 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22276         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22277         formatting.
22278         (get_handles_fopen): Likewise.
22279         (do_write_test): Likewise.
22281         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22283         * libio/fileops.c (do_ftell): Use cached offset when
22284         available.
22285         * libio/iofwide.c (do_ftell_wide): Likewise.
22286         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22287         _IO_file_attach.
22288         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22290         [BZ #16532]
22291         * libio/libioP.h (get_file_offset): New function.
22292         * libio/fileops.c (get_file_offset): Likewise.
22293         (do_ftell): Likewise.
22294         (_IO_new_file_seekoff): Split out ftell logic.
22295         * libio/wfileops.c (do_ftell_wide): Likewise.
22296         (_IO_wfile_seekoff): Split out ftell logic.
22297         * libio/tst-ftell-active-handler.c: New test case.
22298         * libio/Makefile (tests): Add it.
22300 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22302         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22303         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22305 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22307         [BZ #16639]
22308         * nscd/connections.c (nscd_init): Call do_exit.
22309         (start_threads): Call do_exit and notify_parent.
22310         (begin_drop_privileges): Call do_exit.
22311         (finish_drop_privileges): Likewise.
22312         * nscd/selinux.c (preserve_capabilities): Likewise.
22313         (install_real_capabilities): Likewise.
22314         (nscd_selinux_enabled): Likewise.
22315         (avc_create_thread): Likewise.
22316         (avc_alloc_lock): Likewise.
22317         (nscd_avc_init): Likewise.
22318         * nscd/nscd.c (parent_fd): New static variable.
22319         (main): Create a pipe between parent and child processes.
22320         Skip closing parent_fd.
22321         (monitor_child): New function.
22322         (do_exit): Likewise.
22323         (notify_parent): Likewise.
22324         * nscd/nscd.h (notify_parent): Likewise.
22325         (do_exit): Likewise.
22327 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22329         * malloc/malloc.c (__libc_calloc): Revert last change.
22331 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22335 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22337         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22339         implementation.
22340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22341         (__libc_ifunc_impl_list): Likewise.
22342         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22343         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22344         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22345         * string/strrchr.c: Define STRRCHR.
22347 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22349         * benchtest/bench-strtok.c (simple_strtok): Delete.
22350         (strtok_string): Use as benchmark.
22351         * string/strtok (STRTOK): New macro.
22353 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22355         * manual/threads.texi: Add header and standard comments to all
22356         functions.
22358         * elf/dl-lookup.c (check_match): New function.
22359         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22360         (do_lookup_x): Remove nested function check_match. Use non-nested
22361         function check_match.
22363 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22365         * csu/Makefile (generated, before-compile): Use += rather than =.
22366         * catgets/Makefile (generated, generated-dirs): Likewise.
22367         * debug/Makefile (generated): Likewise.
22368         * dlfcn/Makefile (generated): Likewise.
22369         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22370         * iconvdata/Makefile (before-compile, generated): Likewise.
22371         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22372         * libio/Makefile (generated): Likewise.
22373         * malloc/Makefile (generated): Likewise.
22374         * manual/Makefile (generated, generated-dirs): Likewise.
22375         * misc/Makefile (generated): Likewise.
22376         * posix/Makefile (generated): Likewise.
22377         * resolv/Makefile (generated): Likewise.
22378         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22379         * timezone/Makefile (generated, generated-dirs): Likewise.
22381         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22383 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22386         power8 implementation.
22387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22388         file: POWER8 llround ifunc implementation.
22389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22390         (__lllround): Add POWER8 implementation.
22391         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22392         POWER8 llround implementation.
22394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22395         power8 implementation.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22397         file: POWER8 llrint ifunc implementation.
22398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22399         Add POWER8 implementation.
22400         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22401         POWER8 llrint implementation.
22403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22404         power8 implementation.
22405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22406         file: POWER8 finite ifunc implementation.
22407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22408         Add POWER8 implementation.
22409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22410         Likewise.
22411         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22412         POWER8 finite implementation.
22413         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22416         power8 implementation.
22417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22418         file: POWER8 isinf ifunc implementation.
22419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22420         POWER8 implementation.
22421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22422         Likewise.
22423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22424         isinf implementation.
22425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22427         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22428         (INIT_ARCH): Add hwcap2 initialization.
22429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22430         power8 implementation.
22431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22432         file: POWER8 isnan ifunc implementation.
22433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22434         POWER8 implementation.
22435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22436         Likewise.
22437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22438         isnan implementation.
22439         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22441 2014-02-27  Joey Ye  <joey.ye@arm.com>
22443         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22444         (_FP_NANFRAC_Q): Set to zero.
22446 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448         [BZ #16623]
22449         * math/auto-libm-test-in: New test inputs.
22450         * math/auto-libm-test-out: Regenerate.
22451         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22452         and DA.
22453         (__cos): Likewise.
22454         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22456 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22458         * scripts/evaluate-test.sh: Take new argument indicating whether
22459         failure is expected.
22460         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22461         indicating whether failure is expected.
22462         * conform/Makefile (test-xfail-run-conformtest): New variable.
22463         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22464         level.
22465         * posix/Makefile (test-xfail-annexc): New variable.
22466         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22468 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22470         * argp/Makefile: Include Makeconfig immediately after defining
22471         subdir.
22472         * assert/Makefile: Likewise.
22473         * benchtests/Makefile: Likewise.
22474         * catgets/Makefile: Likewise.
22475         * conform/Makefile: Likewise.
22476         * crypt/Makefile: Likewise.
22477         * csu/Makefile: Likewise.
22478         (all): Remove target.
22479         * ctype/Makefile: Include Makeconfig immediately after defining
22480         subdir.
22481         * debug/Makefile: Likewise.
22482         * dirent/Makefile: Likewise.
22483         * dlfcn/Makefile: Likewise.
22484         * gmon/Makefile: Likewise.
22485         * gnulib/Makefile: Likewise.
22486         * grp/Makefile: Likewise.
22487         * gshadow/Makefile: Likewise.
22488         * hesiod/Makefile: Likewise.
22489         * hurd/Makefile: Likewise.
22490         (all): Remove target.
22491         * iconvdata/Makefile: Include Makeconfig immediately after
22492         defining subdir.
22493         * inet/Makefile: Likewise.
22494         * intl/Makefile: Likewise.
22495         * io/Makefile: Likewise.
22496         * libio/Makefile: Likewise.
22497         (all): Remove target.
22498         * locale/Makefile: Include Makeconfig immediately after defining
22499         subdir.
22500         * login/Makefile: Likewise.
22501         * mach/Makefile: Likewise.
22502         (all): Remove target.
22503         * malloc/Makefile: Include Makeconfig immediately after defining
22504         subdir.
22505         (all): Remove target.
22506         * manual/Makefile: Include Makeconfig immediately after defining
22507         subdir.
22508         * math/Makefile: Likewise.
22509         * misc/Makefile: Likewise.
22510         * nis/Makefile: Likewise.
22511         * nss/Makefile: Likewise.
22512         * po/Makefile: Likewise.
22513         (all): Remove target.
22514         * posix/Makefile: Include Makeconfig immediately after defining
22515         subdir.
22516         * pwd/Makefile: Likewise.
22517         * resolv/Makefile: Likewise.
22518         * resource/Makefile: Likewise.
22519         * rt/Makefile: Likewise.
22520         * setjmp/Makefile: Likewise.
22521         * shadow/Makefile: Likewise.
22522         * signal/Makefile: Likewise.
22523         * socket/Makefile: Likewise.
22524         * soft-fp/Makefile: Likewise.
22525         * stdio-common/Makefile: Likewise.
22526         * stdlib/Makefile: Likewise.
22527         * streams/Makefile: Likewise.
22528         * string/Makefile: Likewise.
22529         * sunrpc/Makefile: Likewise.
22530         (all): Remove target.
22531         * sysvipc/Makefile: Include Makeconfig immediately after defining
22532         subdir.
22533         * termios/Makefile: Likewise.
22534         * time/Makefile: Likewise.
22535         * timezone/Makefile: Likewise.
22536         (all): Remove target.
22537         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22538         subdir.
22539         * wctype/Makefile: Likewise.
22541 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22543         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22544         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22545         (libc_feholdexcept_setround_mips): Ditto.
22546         (libc_feholdsetround): New.
22547         (libc_feholdsetroundf): New.
22548         (libc_feholdsetroundl): New.
22549         (libc_feupdateenv_test_mips): New.
22550         (libc_feupdateenv_test): New.
22551         (libc_feupdateenv_testf): New.
22552         (libc_feupdateenv_testl): New.
22553         (libc_feresetround): New.
22554         (libc_feresetroundf): New.
22555         (libc_feresetroundl): New.
22556         (libc_fetestexcept_mips): New.
22557         (libc_fetestexcept): New.
22558         (libc_fetestexceptf): New.
22559         (libc_fetestexceptl): New.
22560         (HAVE_RM_CTX): New.
22561         (libc_feholdexcept_setround_mips_ctx): New.
22562         (libc_feholdexcept_setround_ctx): New.
22563         (libc_feholdexcept_setroundf_ctx): New.
22564         (libc_feholdexcept_setroundl_ctx): New.
22565         (libc_fesetenv_mips_ctx): New.
22566         (libc_fesetenv_ctx): New.
22567         (libc_fesetenv_ctxf): New.
22568         (libc_fesetenv_ctxl): New.
22569         (libc_feupdateenv_mips_ctx): New.
22570         (libc_feupdateenv_ctx): New.
22571         (libc_feupdateenvf_ctx): New.
22572         (libc_feupdateenvl_ctx): New.
22573         (libc_feholdsetround_mips_ctx): New.
22574         (libc_feholdsetround_ctx): New.
22575         (libc_feholdsetroundf_ctx): New.
22576         (libc_feholdsetroundl_ctx): New.
22577         (libc_feresetround_mips_ctx): New.
22578         (libc_feresetround_ctx): New.
22579         (libc_feresetroundf_ctx): New.
22580         (libc_feresetroundl_ctx): New.
22582 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22584         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22586         * manual/ipc.texi: New file.
22587         * manual/Makefile (chapters): Add ipc.
22588         * manual/job.texi: Add "Inter-Process Communication" to next.
22589         * manual/process.texi: Add "Inter-Process Communication" to prev.
22591 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22595 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22597         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22599         * manual/arith.texi: Fix spaces after sentences.
22600         * manual/charset.texi: Likewise.
22601         * manual/errno.texi: Likewise.
22602         * manual/install.texi: Likewise.
22603         * manual/llio.texi: Likewise.
22604         * manual/locale.texi: Likewise.
22605         * manual/maint.texi: Likewise.
22606         * manual/math.texi: Likewise.
22607         * manual/memory.texi: Likewise.
22608         * manual/message.texi: Likewise.
22609         * manual/probes.texi: Likewise.
22610         * manual/resource.texi: Likewise.
22611         * manual/signal.texi: Likewise.
22612         * manual/socket.texi: Likewise.
22613         * manual/stdio.texi: Likewise.
22614         * manual/string.texi: Likewise.
22615         * manual/time.texi: Likewise.
22616         * manual/users.texi: Likewise.
22618 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22620         [BZ #16632]
22621         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22622         _DEFAULT_SOURCE is defined.
22624 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22625             Carlos O'Donell  <carlos@redhat.com>
22627         [BZ #16613]
22628         * elf/dl-tls.c (_dl_count_modids): New function.
22629         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22630         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22631         audit library and increment generation counter.
22632         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22633         * elf/tst-audit9.c: New file.
22634         * elf/tst-auditmod9a.c: New file.
22635         * elf/tst-auditmod9b.c: New file.
22636         * elf/Makefile: Add rules to build and run tst-audit9.
22638 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22640         [BZ #15347]
22641         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22643 2014-02-25  Will Newton  <will.newton@linaro.org>
22645         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22646         (__longjmp): Restore sp and lr before restoring callee
22647         saved registers.  Add longjmp and longjmp_target
22648         SystemTap probe point.
22649         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22650         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22651         Define to zero to match jmpbuf layout.
22652         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22653         (__sigsetjmp): Save sp and lr before saving callee
22654         saved registers.  Add setjmp SystemTap probe point.
22656 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22658         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22660 2014-02-24  Andreas Schwab  <schwab@suse.de>
22662         [BZ #15804]
22663         * elf/pldd.c (wait_for_ptrace_stop): New function.
22664         (main): Call it after attaching.
22666 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22668         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22669         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22670         Versions files is now verboten.
22671         * hurd/Versions (libc: GLIBC_2.0):
22672         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22673         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22674         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22675         * mach/Versions: Likewise.
22677         * csu/Versions: Remove unused %include.
22678         * resolv/Versions: Likewise.
22680 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22682         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22683         ($(objpfx)check-local-headers.out): Likewise.
22684         ($(objpfx)begin-end-check.out): Likewise.
22685         * Makerules (check-abi-%.out): Likewise.
22686         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22687         ($(objpfx)test2.cat): Likewise.
22688         ($(objpfx)de/libc.cat): Likewise.
22689         ($(objpfx)test-gencat.out): Likewise.
22690         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22691         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22692         ($(objpfx)noload-mem): Likewise.
22693         ($(objpfx)tst-pathopt.out): Likewise.
22694         ($(objpfx)tst-rtld-load-self.out): Likewise.
22695         ($(objpfx)tst-array1-cmp.out): Likewise.
22696         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22697         ($(objpfx)tst-array2-cmp.out): Likewise.
22698         ($(objpfx)tst-array3-cmp.out): Likewise.
22699         ($(objpfx)tst-array4-cmp.out): Likewise.
22700         ($(objpfx)tst-array5-cmp.out): Likewise.
22701         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22702         ($(objpfx)check-textrel.out): Likewise.
22703         ($(objpfx)check-execstack.out): Likewise.
22704         ($(objpfx)check-localplt.out): Likewise.
22705         ($(objpfx)order2-cmp.out): Likewise.
22706         ($(objpfx)tst-leaks1-mem): Likewise.
22707         ($(objpfx)tst-leaks1-static-mem): Likewise.
22708         ($(objpfx)tst-initorder-cmp.out): Likewise.
22709         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22710         ($(objpfx)tst-unused-dep.out): Likewise.
22711         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22712         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22713         * iconv/Makefile (test-iconvconfig): Likewise.
22714         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22715         ($(objpfx)iconv-test.out): Likewise.
22716         ($(objpfx)tst-tables.out): Likewise.
22717         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22718         ($(objpfx)tst-gettext.out): Likewise.
22719         ($(objpfx)tst-translit.out): Likewise.
22720         ($(objpfx)tst-gettext2.out): Likewise.
22721         ($(objpfx)tst-gettext4.out): Likewise.
22722         ($(objpfx)tst-gettext6.out): Likewise.
22723         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22724         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22725         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22726         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22727         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22728         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22729         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22730         ($(objpfx)wordexp-tst.out): Likewise.
22731         ($(objpfx)annexc.out): Likewise.
22732         ($(objpfx)tst-fnmatch-mem): Likewise.
22733         ($(objpfx)bug-regex2-mem): Likewise.
22734         ($(objpfx)bug-regex14-mem): Likewise.
22735         ($(objpfx)bug-regex21-mem): Likewise.
22736         ($(objpfx)bug-regex31-mem): Likewise.
22737         ($(objpfx)tst-vfork3-mem): Likewise.
22738         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22739         ($(objpfx)tst-pcre-mem): Likewise.
22740         ($(objpfx)tst-boost-mem): Likewise.
22741         ($(objpfx)tst-getconf.out): Likewise.
22742         ($(objpfx)bug-ga2-mem): Likewise.
22743         ($(objpfx)bug-glob2-mem): Likewise.
22744         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22745         ($(objpfx)mtrace-tst-leaks2): Likewise.
22746         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22747         ($(objpfx)tst-printf.out): Likewise.
22748         ($(objpfx)tst-setvbuf1.out): Likewise.
22749         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22750         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22751         ($(objpfx)tst-fmtmsg.out): Likewise.
22752         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22753         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22755         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22756         * bits/sigaction.h [__USE_MISC]: Likewise.
22757         * bits/waitstatus.h: Update #endif comments.
22758         * ctype/ctype.h: Likewise.
22759         * dirent/dirent.h: Likewise.
22760         [__USE_MISC]: Remove redundant conditionals.
22761         * grp/grp.h: Update #endif comments.
22762         [__USE_GNU]: Remove redundant conditionals.
22763         [__USE_MISC]: Likewise.
22764         * inet/netinet/in.h [__USE_GNU]: Likewise.
22765         * io/sys/stat.h [__USE_MISC]: Likewise.
22766         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22767         * libio/bits/stdio.h: Update #endif comments.
22768         [__USE_MISC]: Remove redundant conditionals.
22769         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22770         * libio/stdio.h: Update #endif comments.
22771         [__USE_MISC]: Remove redundant conditionals.
22772         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22773         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22774         * math/math.h: Update #else and #endif comments.
22775         [__USE_MISC]: Remove redundant conditionals.
22776         * misc/sys/uio.h: Update #endif comments.
22777         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22778         * posix/glob.h [__USE_MISC]: Likewise.
22779         * posix/sys/types.h: Update #endif comments.
22780         [__USE_MISC]: Remove redundant conditionals.
22781         * posix/sys/wait.h: Update #endif comments.
22782         [__USE_MISC]: Remove redundant conditionals.
22783         * posix/unistd.h: Update #endif comments.
22784         [__USE_MISC]: Remove redundant conditionals.
22785         * pwd/pwd.h [__USE_GNU]: Likewise.
22786         [__USE_MISC]: Likewise.
22787         * resolv/netdb.h [__USE_GNU]: Likewise.
22788         * signal/signal.h: Update #endif comments.
22789         [__USE_MISC]: Remove redundant conditionals.
22790         * stdlib/stdlib.h: Update #else and #endif comments.
22791         [__USE_MISC]: Remove redundant conditionals.
22792         [__USE_GNU]: Likewise.
22793         * string/bits/string2.h [__USE_MISC]: Likewise.
22794         * string/string.h: Update #endif comments.
22795         [__USE_MISC]: Remove redundant conditionals.
22796         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22797         Likewise.
22798         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22799         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22800         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22801         Likewise.
22802         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22803         Likewise.
22804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22805         comments.
22806         [__USE_MISC]: Remove redundant conditionals.
22807         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22808         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22809         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22810         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22811         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22812         Likewise.
22813         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22814         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22815         Likewise.
22816         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22817         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22818         Likewise.
22819         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22822         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22823         Likewise.
22824         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22825         Likewise.
22826         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22827         * sysdeps/x86/bits/string.h: Update #endif comments.
22828         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22829         conditionals.
22830         * time/sys/time.h: Update #endif comments.
22831         * time/time.h: Likewise.
22832         [__USE_MISC]: Remove redundant conditionals.
22834 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22836         [BZ #16600]
22837         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22839 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22841         * Versions.def (librt): Add GLIBC_2.17.
22843 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22845         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22846         synonym for _SYS_AUXV_H to allow direct inclusion.
22847         * sysdeps/sparc/bits/hwcap.h: Likewise.
22848         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22849         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22850         * sysdeps/sparc/sysdep.h: Likewise.
22852 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22854         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22856 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22858         * benchtests/bench-strrchr.c: Print length instead of position.
22860 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22862         [BZ #16611]
22863         * sysdeps/unix/sysv/linux/kernel-features.h
22864         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22865         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22866         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22867         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22868         Likewise.
22869         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22870         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22871         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22872         (__ASSUME_SENDMMSG): Define instead of using previous
22873         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22874         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22875         (__ASSUME_SENDMMSG_SYSCALL): Define.
22876         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22877         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22878         Likewise.
22879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22880         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22881         Likewise.
22882         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22883         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22884         Likewise.
22885         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22886         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22887         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22888         [__ASSUME_SENDMMSG]: Change conditionals to
22889         [__ASSUME_SENDMMSG_SOCKETCALL].
22890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22891         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22892         Define.
22893         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22894         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22895         Likewise.
22896         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22897         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22898         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22899         [!__ASSUME_SENDMMSG]: Change conditional to
22900         [!__ASSUME_SENDMMSG_SOCKETCALL].
22901         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22902         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22903         Define.
22905         [BZ #16610]
22906         * sysdeps/unix/sysv/linux/kernel-features.h
22907         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22908         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22909         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22910         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22911         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22912         [__i386__ || __sparc__]
22913         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22914         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22915         (__ASSUME_RECVMMSG): Define instead of using previous
22916         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22917         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22918         (__ASSUME_RECVMMSG_SYSCALL): Define.
22919         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22920         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22921         Likewise.
22922         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22923         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22924         Likewise.
22925         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22926         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22927         Likewise.
22928         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22929         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22930         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22931         [__ASSUME_RECVMMSG]: Change condition to
22932         [__ASSUME_RECVMMSG_SOCKETCALL].
22933         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22934         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22935         Define.
22936         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22937         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22939         Likewise.
22940         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22941         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22942         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22943         [!__ASSUME_RECVMMSG]: Change condition to
22944         [!__ASSUME_RECVMMSG_SOCKETCALL].
22945         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22946         (__ASSUME_RECVMMSG_SYSCALL): Define.
22948         [BZ #16609]
22949         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22950         __powerpc__ || __s390__ || __sh__ || __sparc__]
22951         (__ASSUME_SOCKETCALL): Define.
22952         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22953         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22954         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22955         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22956         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22957         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22958         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22959         (__ASSUME_ACCEPT4): Define instead of using previous
22960         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22961         __powerpc__ || __sparc__ || __s390__)] condition.
22962         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22963         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22964         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22965         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22966         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22967         [!__ASSUME_ACCEPT4]: Change condition to
22968         [!__ASSUME_ACCEPT4_SOCKETCALL].
22969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22970         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22971         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22972         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22973         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22974         __ASSUME_ACCEPT4_SYSCALL.
22975         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22976         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22977         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22978         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22979         __ASSUME_ACCEPT4_SYSCALL.
22980         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22981         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22982         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22983         [__ASSUME_ACCEPT4]: Change condition to
22984         [__ASSUME_ACCEPT4_SOCKETCALL].
22985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22986         (__ASSUME_SOCKETCALL): Define.
22987         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22988         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22989         (__ASSUME_SOCKETCALL): Define.
22990         (__ASSUME_ACCEPT4): Remove.
22991         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22992         Define.
22993         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22994         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22995         Likewise.
22996         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22997         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22999         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23000         macro.
23001         (HWCAP_ARM_LPAE): Likewise.
23002         (HWCAP_ARM_EVTSTRM): Likewise.
23003         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23004         Add vpfd32, lpae and evtstrm.
23005         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23006         Increase to 22.
23008 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23010         * math/auto-libm-test-in: Add tests of clog10.
23011         * math/auto-libm-test-out: Regenerated.
23012         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23013         * sysdeps/i386/fpu/libm-test-ulps: Update.
23014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23016 2014-02-18  Andreas Schwab  <schwab@suse.de>
23018         [BZ #16574]
23019         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23020         Store non-zero if the second buffer was newly allocated.
23021         (send_dg): Likewise.
23022         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23023         to send_vc and send_dg.
23024         (res_nsend): Pass NULL for ansp2_malloced.
23025         * resolv/res_query.c (__libc_res_nquery): Add parameter
23026         answerp2_malloced and pass it down to __libc_res_nsend.
23027         (res_nquery): Pass additional NULL to __libc_res_nquery.
23028         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23029         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23030         second answer buffer if answerp2_malloced was set.
23031         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23032         (__libc_res_nquerydomain): Add parameter
23033         answerp2_malloced and pass it down to __libc_res_nquery.
23034         (res_nquerydomain): Pass additional NULL to
23035         __libc_res_nquerydomain.
23036         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23037         additional NULL to __libc_res_nsend and __libc_res_nquery.
23038         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23039         additional NULL to __libc_res_nsearch.
23040         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23041         parameter of __libc_res_nsearch to check for separately allocated
23042         second buffer.
23043         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23044         __libc_res_nquery.
23045         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23046         additional NULL to __libc_res_nquery.
23047         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23048         __libc_res_nsearch.
23049         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23050         * include/resolv.h: Update prototypes of __libc_res_nquery,
23051         __libc_res_nsearch, __libc_res_nsend.
23053 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23055         * math/auto-libm-test-in: Add tests of fma.
23056         * math/auto-libm-test-out: Regenerated.
23057         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23058         (fma_towardzero_test_data): Likewise.
23059         (fma_downward_test_data): Likewise.
23060         (fma_upward_test_data): Likewise.
23061         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23062         mpc_mode.
23063         (rounding_modes): Add values for new field.
23064         (func_calc_method): Add value mpfr_fff_f.
23065         (func_calc_desc): Add mpfr_fff_f union field.
23066         (test_function): Add field exact_args.
23067         (FUNC): Add macro argument EXACT_ARGS.
23068         (FUNC_mpfr_f_f): Update call to FUNC.
23069         (FUNC_mpfr_f_f): Likewise.
23070         (FUNC_mpfr_ff_f): Likewise.
23071         (FUNC_mpfr_if_f): Likewise.
23072         (FUNC_mpc_c_f): Likewise.
23073         (FUNC_mpc_c_c): Likewise.
23074         (test_functions): Add fma.  Update calls to FUNC.
23075         (handle_input_arg): Add argument exact_args.
23076         (add_test): Update call to handle_input_arg.
23077         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23078         (output_for_one_input_case): Update call to calc_generic_results.
23079         Recalculate exact zero results in each rounding mode.
23081         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23082         non-negative before setting low bit.
23083         * math/auto-libm-test-in: Mark one asin test possibly having
23084         spurious underflow.
23085         * math/auto-libm-test-out: Regenerated.
23086         * sysdeps/i386/fpu/libm-test-ulps: Update.
23087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23089 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23091         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23092         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23093         ports/sysdeps/unix/sysv/linux/microblaze.
23094         * README: Add missing listing for microblaze*-*-linux-gnu.
23096 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23098         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23099         duplicate code
23101 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23103         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23104         * sysdeps/unix/sysv/linux/ia64: Move directory from
23105         ports/sysdeps/unix/sysv/linux/ia64.
23106         * README: Update listing for ia64-*-linux-gnu.
23108 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23109             Joseph Myers  <joseph@codesourcery.com>
23111         * Makeconfig (test-name): New variable.
23112         (evaluate-test): Likewise.
23113         * Makerules (do-test-clean): Remove .test-result files.
23114         (common-mostlyclean): Likewise.
23115         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23116         * scripts/evaluate-test.sh: New file.
23118 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23120         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23121         separate $(objpfx)tst-fopenloc-cmp.out and
23122         $(objpfx)tst-fopenloc-mem.out targets.
23123         (tests): Update dependencies.
23124         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23125         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23126         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23127         (tst-rxspencer-no-utf8-ARGS): New variable.
23128         (tst-rxspencer-no-utf8-ENV): Likewise.
23129         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23130         instead of $(objpfx)tst-rxspencer-mem.
23131         ($(objpfx)tst-rxspencer-mem): Change target to
23132         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23133         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23134         * posix/tst-rxspencer-no-utf8.c: New file.
23136         * elf/Makefile ($(objpfx)order.out): Remove rule.
23137         [$(run-built-tests) = yes] (tests): Depend on
23138         $(objpfx)order-cmp.out.
23139         ($(objpfx)order-cmp.out): New rule.
23140         [$(run-built-tests) = yes] (tests): Depend on
23141         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23142         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23143         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23144         $(objpfx)tst-array5-static-cmp.out.
23145         ($(objpfx)tst-array1.out): Remove rule.
23146         ($(objpfx)tst-array1-cmp.out): New rule.
23147         ($(objpfx)tst-array1-static.out): Remove rule.
23148         ($(objpfx)tst-array1-static-cmp.out): New rule.
23149         ($(objpfx)tst-array2.out): Remove rule.
23150         ($(objpfx)tst-array2-cmp.out): New rule.
23151         ($(objpfx)tst-array3.out): Remove rule.
23152         ($(objpfx)tst-array3-cmp.out): New rule.
23153         ($(objpfx)tst-array4.out): Remove rule.
23154         ($(objpfx)tst-array4-cmp.out): New rule.
23155         ($(objpfx)tst-array5.out): Remove rule.
23156         ($(objpfx)tst-array5-cmp.out): New rule.
23157         ($(objpfx)tst-array5-static.out): Remove rule.
23158         ($(objpfx)tst-array5-static-cmp.out): New rule.
23159         [$(run-built-tests) = yes] (tests): Depend on
23160         $(objpfx)order2-cmp.out.
23161         ($(objpfx)order2.out): Remove rule.
23162         ($(objpfx)order2-cmp.out): New rule.
23163         ($(objpfx)tst-initorder.out): Remove rule.
23164         [$(run-built-tests) = yes] (tests): Depend on
23165         $(objpfx)tst-initorder-cmp.out.
23166         ($(objpfx)tst-initorder-cmp.out): New rule.
23167         ($(objpfx)tst-initorder2.out): Remove rule.
23168         [$(run-built-tests) = yes] (tests): Depend on
23169         $(objpfx)tst-initorder2-cmp.out.
23170         ($(objpfx)tst-initorder2-cmp.out): New rule.
23171         [$(run-built-tests) = yes] (tests): Depend on
23172         $(objpfx)tst-unused-dep-cmp.out.
23173         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23174         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23175         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23176         on $(objpfx)tst-setvbuf1-cmp.out.
23177         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23178         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23179         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23180         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23181         ($(objpfx)tst-svc.out): Remove rule.
23182         ($(objpfx)tst-svc-cmp.out): New rule.
23184 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23186         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23187         * ctype/ctype.h [__USE_MISC]: Likewise.
23188         * dirent/dirent.h [__USE_MISC]: Likewise.
23189         * grp/grp.h [__USE_MISC]: Likewise.
23190         * io/fcntl.h [__USE_MISC]: Likewise.
23191         * io/sys/stat.h [__USE_MISC]: Likewise.
23192         * libio/stdio.h [__USE_MISC]: Likewise.
23193         * posix/unistd.h [__USE_MISC]: Likewise.
23194         * pwd/pwd.h [__USE_MISC]: Likewise.
23195         * stdlib.h [__USE_MISC]: Likewise.
23196         * string/bits/string2.h [__USE_MISC]: Likewise.
23197         * string/string.h [__USE_MISC]: Likewise.
23198         * time/time.h [__USE_MISC]: Likewise.
23200 2014-02-13  Andreas Schwab  <schwab@suse.de>
23202         [BZ #16574]
23203         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23204         second answer buffer if it was separately allocated.
23206 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23208         * sysdeps/mips/math-tests.h: Include <features.h>.
23209         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23210         (ROUNDING_TESTS_long_double): Do not define.
23211         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23212         (EXCEPTION_TESTS_long_double): Likewise.
23213         * sysdeps/mips/mips64/libm-test-ulps: Update.
23215         * include/features.h (__USE_BSD): Remove macro definitions.
23216         (__USE_SVID): Likewise.
23217         (_BSD_SOURCE): Likewise.
23218         (_SVID_SOURCE): Likewise.
23219         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23220         from definition of _DEFAULT_SOURCE.
23221         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23222         [_DEFAULT_SOURCE].
23223         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23224         * bits/mman.h [__USE_BSD]: Likewise.
23225         * bits/termios.h [__USE_BSD]: Likewise.
23226         * bits/waitstatus.h [__USE_BSD]: Likewise.
23227         * ctype/ctype.h [__USE_SVID]: Likewise.
23228         * dirent/dirent.h [__USE_BSD]: Likewise.
23229         * grp/grp.h [__USE_SVID]: Likewise.
23230         [__USE_BSD]: Likewise.
23231         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23232         * io/fcntl.h [__USE_BSD]: Likewise.
23233         * io/ftw.h [__USE_BSD]: Likewise.
23234         * io/sys/stat.h [__USE_BSD]: Likewise.
23235         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23236         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23237         * libio/stdio.h [__USE_SVID]: Likewise.
23238         [__USE_BSD]: Likewise.
23239         * math/math.h [__USE_SVID]: Likewise.
23240         [__USE_BSD]: Likewise.
23241         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23242         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23243         * misc/search.h [__USE_SVID]: Likewise.
23244         * misc/sys/mman.h [__USE_BSD]: Likewise.
23245         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23246         * misc/sys/uio.h [__USE_BSD]: Likewise.
23247         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23248         * posix/glob.h [__USE_BSD]: Likewise.
23249         * posix/regex.h [__USE_BSD]: Likewise.
23250         * posix/sys/types.h [__USE_BSD]: Likewise.
23251         [__USE_SVID]: Likewise.
23252         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23253         * posix/sys/wait.h [__USE_BSD]: Likewise.
23254         [__USE_SVID]: Likewise.
23255         * posix/unistd.h [__USE_BSD]: Likewise.
23256         [__USE_SVID]: Likewise.
23257         * pwd/pwd.h [__USE_SVID]: Likewise.
23258         * resolv/netdb.h [__USE_BSD]: Likewise.
23259         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23260         * signal/signal.h [__USE_BSD]: Likewise.
23261         [__USE_SVID]: Likewise.
23262         * socket/sys/socket.h [__USE_BSD]: Likewise.
23263         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23264         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23265         [__USE_SVID]: Likewise.
23266         * string/bits/string2.h [__USE_BSD]: Likewise.
23267         [__USE_SVID]: Likewise.
23268         * string/bits/string3.h [__USE_BSD]: Likewise.
23269         * string/endian.h [__USE_BSD]: Likewise.
23270         * string/string.h [__USE_SVID]: Likewise.
23271         [__USE_BSD]: Likewise.
23272         * string/strings.h [__USE_BSD]: Likewise.
23273         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23274         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23275         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23276         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23277         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23278         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23279         Likewise.
23280         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23281         Likewise.
23282         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23283         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23284         Likewise.
23285         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23286         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23287         Likewise.
23288         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23289         Likewise.
23290         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23291         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23292         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23295         Likewise.
23296         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23297         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23298         * termios/termios.h [__USE_BSD]: Likewise.
23299         * time/sys/time.h [__USE_BSD]: Likewise.
23300         * time/time.h [__USE_BSD]: Likewise.
23301         [__USE_SVID]: Likewise.
23303         * Makefile (subdir_targets): Remove subdir_lint.out.
23305         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23306         (do-tst-printf): Likewise.
23307         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23308         $(objpfx)tst-printf.out.
23310         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23312         * Makerules (check-abi-%): Change target to
23313         $(objpfx)check-abi-%.out.
23314         (check-abi target): Update dependencies.
23315         (check-abi-pattern variable): Redirect output of diff to $@.
23316         (check-abi variable): Likewise.
23317         * elf/Makefile (check-abi): Update dependencies.
23319         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23320         unused.
23321         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23322         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23323         subnormal range.
23324         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23325         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23326         value has largest subnormal exponent.
23327         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23328         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23329         * sysdeps/aarch64/soft-fp/sfp-machine.h
23330         (_FP_TININESS_AFTER_ROUNDING): New macro.
23331         * sysdeps/alpha/soft-fp/sfp-machine.h
23332         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23333         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23334         Likewise.
23335         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23336         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23337         * sysdeps/mips/soft-fp/sfp-machine.h
23338         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23339         * sysdeps/powerpc/soft-fp/sfp-machine.h
23340         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23341         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23342         Likewise.
23343         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23344         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23345         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23346         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23347         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23348         Likewise.
23350 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23352         [BZ #16545]
23353         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23354         model 1.
23356 2014-02-12  Richard Henderson  <rth@redhat.com>
23358         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23359         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23360         * sysdeps/unix/sysv/linux/alpha: Move directory from
23361         ports/sysdeps/unix/sysv/linux/alpha.
23362         * README: Update listing for alpha-*-linux-gnu.
23364 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23366         * include/features.h: Update comment documenting feature test
23367         macros.
23368         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23369         _DEFAULT_SOURCE.
23370         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23371         (_SVID_SOURCE): Likewise.
23372         (_DEFAULT_SOURCE): Update description of default features.
23373         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23374         with _GNU_SOURCE.
23375         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23376         (S_ISVTX): Likewise.
23377         * manual/math.texi (Mathematical Constants): Likewise.
23378         * manual/signal.texi (Interrupted Primitives): Likewise.
23379         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23380         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23381         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23382         Don't refer to _SVID_SOURCE in warning text.
23384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23386         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23387         already defined.
23388         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23389         * sysdeps/mips/dl-lookup.c: Remove.
23390         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23392 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23394         [BZ #16447]
23395         * math/auto-libm-test-in: Add testcase for expl.
23396         * math/auto-libm-test-out: Regenerate.
23397         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23398         calculation of unsafe.
23399         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23401 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23403         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23404         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23405         ports/sysdeps/unix/sysv/linux/aarch64.
23406         * README: Update listing for aarch64*-*-linux-gnu.
23408 2014-02-11  Will Newton  <will.newton@linaro.org>
23410         * manual/probes.texi (Mathematical Function Probes): Use
23411         "triggered" instead of "hit".
23413         * manual/probes.texi (Internal Probes): Add documentation
23414         of setjmp, longjmp and longjmp_target probes.
23416         * include/stap-probe.h: Add comment about probe argument
23417         format.
23419         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23420         definition.  (tr_where, tr_freehook, tr_mallochook,
23421         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23423 2014-02-11  David S. Miller  <davem@davemloft.net>
23425         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23426         processing int_tests.
23428 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23430         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23431         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23432         * sysdeps/unix/sysv/linux/mips: Move directory from
23433         ports/sysdeps/unix/sysv/linux/mips.
23434         * README: Update listing for mips-*-linux-gnu and
23435         mips64-*-linux-gnu.
23437 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23439         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23440         * sysdeps/unix/sysv/linux/m68k: Move directory from
23441         ports/sysdeps/unix/sysv/linux/m68k.
23442         * README: Update listing for m68k-*-linux-gnu.
23444 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23446         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23447         * sysdeps/unix/sysv/linux/generic: Move directory from
23448         ports/sysdeps/unix/sysv/linux/generic.
23449         * sysdeps/unix/sysv/linux/tile: Move directory from
23450         ports/sysdeps/unix/sysv/linux/tile.
23451         * README: Update listing for tile*-*-linux-gnu.
23453 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23455         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23456         __builtin_expect.
23457         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23458         * catgets/open_catalog.c (__open_catalog): Likewise.
23459         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23460         * debug/confstr_chk.c: Likewise.
23461         * debug/fread_chk.c (__fread_chk): Likewise.
23462         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23463         * debug/getgroups_chk.c: Likewise.
23464         * debug/mbsnrtowcs_chk.c: Likewise.
23465         * debug/mbsrtowcs_chk.c: Likewise.
23466         * debug/mbstowcs_chk.c: Likewise.
23467         * debug/memcpy_chk.c: Likewise.
23468         * debug/memmove_chk.c: Likewise.
23469         * debug/mempcpy_chk.c: Likewise.
23470         * debug/memset_chk.c: Likewise.
23471         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23472         * debug/strcat_chk.c (__strcat_chk): Likewise.
23473         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23474         * debug/strncat_chk.c (__strncat_chk): Likewise.
23475         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23476         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23477         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23478         * debug/wcpncpy_chk.c: Likewise.
23479         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23480         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23481         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23482         * debug/wcsncpy_chk.c: Likewise.
23483         * debug/wcsnrtombs_chk.c: Likewise.
23484         * debug/wcsrtombs_chk.c: Likewise.
23485         * debug/wcstombs_chk.c: Likewise.
23486         * debug/wmemcpy_chk.c: Likewise.
23487         * debug/wmemmove_chk.c: Likewise.
23488         * debug/wmempcpy_chk.c: Likewise.
23489         * debug/wmemset_chk.c: Likewise.
23490         * dirent/scandirat.c (SCANDIRAT): Likewise.
23491         * dlfcn/dladdr1.c (dladdr1): Likewise.
23492         * dlfcn/dladdr.c (dladdr): Likewise.
23493         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23494         * dlfcn/dlerror.c (__dlerror): Likewise.
23495         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23496         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23497         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23498         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23499         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23500         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23501         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23502         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23503         Likewise.
23504         * elf/dl-conflict.c: Likewise.
23505         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23506         * elf/dl-dst.h: Likewise.
23507         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23508         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23509         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23510         * elf/dl-init.c (call_init, _dl_init): Likewise.
23511         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23512         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23513         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23514         Likewise.
23515         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23516         Likewise.
23517         * elf/dl-minimal.c (__libc_memalign): Likewise.
23518         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23519         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23520         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23521         * elf/dl-sym.c (do_sym): Likewise.
23522         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23523         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23524         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23525         * elf/dl-writev.h (_dl_writev): Likewise.
23526         * elf/ldconfig.c (search_dir): Likewise.
23527         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23528         (dl_main): Likewise.
23529         * elf/setup-vdso.h (setup_vdso): Likewise.
23530         * grp/compat-initgroups.c (compat_call): Likewise.
23531         * grp/fgetgrent.c (fgetgrent): Likewise.
23532         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23533         * grp/putgrent.c (putgrent): Likewise.
23534         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23535         Likewise.
23536         * hurd/hurdinit.c: Likewise.
23537         * iconvdata/8bit-gap.c (struct): Likewise.
23538         * iconvdata/ansi_x3.110.c : Likewise.
23539         * iconvdata/big5.c : Likewise.
23540         * iconvdata/big5hkscs.c : Likewise.
23541         * iconvdata/cp1255.c: Likewise.
23542         * iconvdata/cp1258.c : Likewise.
23543         * iconvdata/cp932.c : Likewise.
23544         * iconvdata/euc-cn.c: Likewise.
23545         * iconvdata/euc-jisx0213.c : Likewise.
23546         * iconvdata/euc-jp.c: Likewise.
23547         * iconvdata/euc-jp-ms.c : Likewise.
23548         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23549         * iconvdata/gb18030.c : Likewise.
23550         * iconvdata/gbbig5.c (const): Likewise.
23551         * iconvdata/gbgbk.c: Likewise.
23552         * iconvdata/gbk.c : Likewise.
23553         * iconvdata/ibm1364.c : Likewise.
23554         * iconvdata/ibm930.c : Likewise.
23555         * iconvdata/ibm932.c: Likewise.
23556         * iconvdata/ibm933.c : Likewise.
23557         * iconvdata/ibm935.c : Likewise.
23558         * iconvdata/ibm937.c : Likewise.
23559         * iconvdata/ibm939.c : Likewise.
23560         * iconvdata/ibm943.c: Likewise.
23561         * iconvdata/iso_11548-1.c: Likewise.
23562         * iconvdata/iso-2022-cn.c : Likewise.
23563         * iconvdata/iso-2022-cn-ext.c : Likewise.
23564         * iconvdata/iso-2022-jp-3.c: Likewise.
23565         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23566         * iconvdata/iso-2022-kr.c : Likewise.
23567         * iconvdata/iso646.c (gconv_end): Likewise.
23568         * iconvdata/iso_6937-2.c : Likewise.
23569         * iconvdata/iso_6937.c : Likewise.
23570         * iconvdata/iso8859-1.c: Likewise.
23571         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23572         * iconvdata/shift_jisx0213.c : Likewise.
23573         * iconvdata/sjis.c : Likewise.
23574         * iconvdata/t.61.c : Likewise.
23575         * iconvdata/tcvn5712-1.c : Likewise.
23576         * iconvdata/tscii.c: Likewise.
23577         * iconvdata/uhc.c : Likewise.
23578         * iconvdata/unicode.c (gconv_end): Likewise.
23579         * iconvdata/utf-16.c (gconv_end): Likewise.
23580         * iconvdata/utf-32.c (gconv_end): Likewise.
23581         * iconvdata/utf-7.c (base64): Likewise.
23582         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23583         * iconv/gconv_close.c (__gconv_close): Likewise.
23584         * iconv/gconv_open.c (__gconv_open): Likewise.
23585         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23586         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23587         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23588         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23589         (ucs4le_internal_loop_single): Likewise.
23590         * iconv/iconv.c (iconv): Likewise.
23591         * iconv/iconv_close.c: Likewise.
23592         * iconv/loop.c (SINGLE): Likewise.
23593         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23594         * include/atomic.h: Likewise.
23595         * inet/inet6_option.c (option_alloc): Likewise.
23596         * intl/bindtextdom.c (set_binding_values): Likewise.
23597         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23598         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23599         * intl/localealias.c (read_alias_file): Likewise.
23600         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23601         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23602         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23603         * libio/fmemopen.c (fmemopen): Likewise.
23604         * libio/iofgets.c (_IO_fgets): Likewise.
23605         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23606         * libio/iofgetws.c (fgetws): Likewise.
23607         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23608         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23609         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23610         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23611         * locale/findlocale.c (_nl_find_locale): Likewise.
23612         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23613         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23614         Likewise.
23615         * locale/setlocale.c (setlocale): Likewise.
23616         * login/programs/pt_chown.c (main): Likewise.
23617         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23618         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23619         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23620         (mmap, mmap64, mremap, munmap): Likewise.
23621         * math/e_exp2l.c: Likewise.
23622         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23623         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23624         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23625         * math/s_catan.c (__catan): Likewise.
23626         * math/s_catanf.c (__catanf): Likewise.
23627         * math/s_catanh.c (__catanh): Likewise.
23628         * math/s_catanhf.c (__catanhf): Likewise.
23629         * math/s_catanhl.c (__catanhl): Likewise.
23630         * math/s_catanl.c (__catanl): Likewise.
23631         * math/s_ccosh.c (__ccosh): Likewise.
23632         * math/s_ccoshf.c (__ccoshf): Likewise.
23633         * math/s_ccoshl.c (__ccoshl): Likewise.
23634         * math/s_cexp.c (__cexp): Likewise.
23635         * math/s_cexpf.c (__cexpf): Likewise.
23636         * math/s_cexpl.c (__cexpl): Likewise.
23637         * math/s_clog10.c (__clog10): Likewise.
23638         * math/s_clog10f.c (__clog10f): Likewise.
23639         * math/s_clog10l.c (__clog10l): Likewise.
23640         * math/s_clog.c (__clog): Likewise.
23641         * math/s_clogf.c (__clogf): Likewise.
23642         * math/s_clogl.c (__clogl): Likewise.
23643         * math/s_csin.c (__csin): Likewise.
23644         * math/s_csinf.c (__csinf): Likewise.
23645         * math/s_csinh.c (__csinh): Likewise.
23646         * math/s_csinhf.c (__csinhf): Likewise.
23647         * math/s_csinhl.c (__csinhl): Likewise.
23648         * math/s_csinl.c (__csinl): Likewise.
23649         * math/s_csqrt.c (__csqrt): Likewise.
23650         * math/s_csqrtf.c (__csqrtf): Likewise.
23651         * math/s_csqrtl.c (__csqrtl): Likewise.
23652         * math/s_ctan.c (__ctan): Likewise.
23653         * math/s_ctanf.c (__ctanf): Likewise.
23654         * math/s_ctanh.c (__ctanh): Likewise.
23655         * math/s_ctanhf.c (__ctanhf): Likewise.
23656         * math/s_ctanhl.c (__ctanhl): Likewise.
23657         * math/s_ctanl.c (__ctanl): Likewise.
23658         * math/w_pow.c: Likewise.
23659         * math/w_powf.c: Likewise.
23660         * math/w_powl.c: Likewise.
23661         * math/w_scalb.c (sysv_scalb): Likewise.
23662         * math/w_scalbf.c (sysv_scalbf): Likewise.
23663         * math/w_scalbl.c (sysv_scalbl): Likewise.
23664         * misc/error.c (error_tail): Likewise.
23665         * misc/pselect.c (__pselect): Likewise.
23666         * nis/nis_callback.c (__nis_create_callback): Likewise.
23667         * nis/nis_call.c (__nisfind_server): Likewise.
23668         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23669         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23670         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23671         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23672         * nis/nis_lookup.c (nis_lookup): Likewise.
23673         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23674         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23675         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23676         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23677         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23678         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23679         * nis/nss_compat/compat-initgroups.c (add_group)
23680         (internal_getgrent_r): Likewise.
23681         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23682         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23683         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23684         (internal_getspnam_r): Likewise.
23685         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23686         (_nss_nis_getaliasbyname_r): Likewise.
23687         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23688         (_nss_nis_getntohost_r): Likewise.
23689         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23690         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23691         (_nss_nis_getgrgid_r): Likewise.
23692         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23693         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23694         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23695         (_nss_nis_gethostbyname4_r): Likewise.
23696         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23697         (initgroups_netid): Likewise.
23698         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23699         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23700         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23701         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23702         (_nss_nis_getprotobynumber_r): Likewise.
23703         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23704         (_nss_nis_getsecretkey): Likewise.
23705         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23706         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23707         (_nss_nis_getpwuid_r): Likewise.
23708         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23709         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23710         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23711         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23712         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23713         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23714         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23715         Likewise.
23716         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23717         (_nss_nisplus_getntohost_r): Likewise.
23718         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23719         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23720         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23721         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23722         Likewise.
23723         * nis/nss_nisplus/nisplus-initgroups.c
23724         (_nss_nisplus_initgroups_dyn): Likewise.
23725         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23726         (_nss_nisplus_getnetbyaddr_r): Likewise.
23727         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23728         (_nss_nisplus_getprotobynumber_r): Likewise.
23729         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23730         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23731         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23732         Likewise.
23733         * nis/nss_nisplus/nisplus-service.c
23734         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23735         (_nss_nisplus_getservbyport_r): Likewise.
23736         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23737         (_nss_nisplus_getspnam_r): Likewise.
23738         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23739         Likewise.
23740         * nscd/aicache.c (addhstaiX): Likewise.
23741         * nscd/cache.c (cache_search, prune_cache): Likewise.
23742         * nscd/connections.c (register_traced_file, send_ro_fd)
23743         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23744         (main_loop_epoll): Likewise.
23745         * nscd/grpcache.c (addgrbyX): Likewise.
23746         * nscd/hstcache.c (addhstbyX): Likewise.
23747         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23748         * nscd/mem.c (gc, mempool_alloc): Likewise.
23749         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23750         (addinnetgrX): Likewise.
23751         * nscd/nscd-client.h (__nscd_acquire_maplock)
23752         (__nscd_drop_map_ref): Likewise.
23753         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23754         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23755         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23756         Likewise.
23757         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23759         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23760         (__nscd_get_map_ref): Likewise.
23761         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23762         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23763         Likewise.
23764         * nscd/pwdcache.c (addpwbyX): Likewise.
23765         * nscd/selinux.c (preserve_capabilities): Likewise.
23766         * nscd/servicescache.c (addservbyX): Likewise.
23767         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23768         * posix/fnmatch.c (fnmatch): Likewise.
23769         * posix/getopt.c (_getopt_internal_r): Likewise.
23770         * posix/glob.c (glob, glob_in_dir): Likewise.
23771         * posix/wordexp.c (exec_comm_child): Likewise.
23772         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23773         (getanswer_r, gaih_getanswer_slice): Likewise.
23774         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23775         * resolv/res_init.c: Likewise.
23776         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23777         * resolv/res_query.c (__libc_res_nquery): Likewise.
23778         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23779         Likewise.
23780         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23781         * stdio-common/perror.c (perror): Likewise.
23782         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23783         * stdio-common/tmpnam.c (tmpnam): Likewise.
23784         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23785         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23786         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23787         Likewise.
23788         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23789         * stdlib/putenv.c (putenv): Likewise.
23790         * stdlib/setenv.c (__add_to_environ): Likewise.
23791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23792         * stdlib/strtol_l.c (INTERNAL): Likewise.
23793         * string/memmem.c (memmem): Likewise.
23794         * string/strerror.c (strerror): Likewise.
23795         * string/strnlen.c (__strnlen): Likewise.
23796         * string/test-memmem.c (simple_memmem): Likewise.
23797         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23798         * sunrpc/pm_getport.c (__get_socket): Likewise.
23799         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23800         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23801         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23802         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23803         Likewise.
23804         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23805         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23806         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23807         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23808         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23809         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23810         Likewise.
23811         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23812         Likewise.
23813         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23814         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23816         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23817         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23819         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23820         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23821         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23822         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23823         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23824         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23825         Likewise.
23826         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23827         Likewise.
23828         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23829         Likewise.
23830         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23831         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23833         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23834         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23835         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23836         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23839         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23840         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23842         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23843         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23846         Likewise.
23847         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23848         Likewise.
23849         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23850         Likewise.
23851         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23852         Likewise.
23853         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23855         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23856         Likewise.
23857         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23858         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23859         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23860         * sysdeps/posix/sleep.c: Likewise.
23861         * sysdeps/posix/tempname.c: Likewise.
23862         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23863         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23864         Likewise.
23865         * sysdeps/powerpc/powerpc32/dl-machine.h
23866         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23867         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23869         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23870         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23871         Likewise.
23872         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23874         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23876         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23877         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23878         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23879         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23880         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23881         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23883         (elf_machine_lazy_rel): Likewise.
23884         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23886         (elf_machine_lazy_rel): Likewise.
23887         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23888         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23889         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23890         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23891         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23892         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23893         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23895         Likewise.
23896         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23897         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23898         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23899         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23900         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23901         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23902         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23903         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23904         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23905         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23906         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23907         Likewise.
23908         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23909         (__posix_fallocate64_l64): Likewise.
23910         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23911         (posix_fallocate): Likewise.
23912         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23913         Likewise.
23914         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23915         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23916         (getifaddrs_internal): Likewise.
23917         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23918         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23919         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23920         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23921         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23922         (__posix_fallocate64_l64): Likewise.
23923         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23927         (__get_clockfreq): Likewise.
23928         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23929         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23930         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23931         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23933         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23934         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23935         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23936         Likewise.
23937         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23938         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23939         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23940         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23941         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23942         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23943         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23944         Likewise.
23945         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23946         (posix_fallocate): Likewise.
23947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23948         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23949         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23950         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23951         (elf_machine_rela, elf_machine_rela_relative)
23952         (elf_machine_lazy_rel): Likewise.
23953         * time/asctime.c (asctime_internal): Likewise.
23954         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23955         * time/tzset.c (__tzset_parse_tz): Likewise.
23956         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23957         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23958         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23959         * wcsmbs/wcsmbsload.h: Likewise.
23961         [BZ #15894]
23962         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23964         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23965         (arena_get2): Remove THREAD_STATS conditionals.
23966         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23967         (__malloc_stats, int): Likewise.
23969 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23971         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23972         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23974         * manual/setjmp.texi: Fix typos/grammar errors.
23976         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23977         Only return early when n is <= 0.  Delete unused return statement.
23979         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23980         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23981         * debug/tst-longjmp_chk3.c: New file.
23983         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23984         (test_main): Replace code with set_fortify_handler call.
23985         * debug/test-strcpy_chk.c: Likewise.
23986         * debug/tst-chk1.c: Likewise.
23987         * debug/tst-longjmp_chk.c: Likewise.
23988         * test-skeleton.c: Include fcntl.h & paths.h
23989         (set_fortify_handler): Define.
23991         * debug/tst-longjmp_chk.c: Add header comment and include
23992         ../test-skeleton.c.
23993         (do_test): Mark static.
23994         (TEST_FUNCTION): Define.
23996         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23997         (IP_PMTUDISC_INTERFACE): Likewise.
23998         (IP_MULTICAST_IF): Likewise.
23999         (IP_MULTICAST_TTL): Likewise.
24000         (IP_MULTICAST_LOOP): Likewise.
24001         (IP_ADD_MEMBERSHIP): Likewise.
24002         (IP_DROP_MEMBERSHIP): Likewise.
24003         (IP_UNBLOCK_SOURCE): Likewise.
24004         (IP_BLOCK_SOURCE): Likewise.
24005         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24006         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24007         (IP_MSFILTER): Likewise.
24008         (MCAST_JOIN_GROUP): Likewise.
24009         (MCAST_BLOCK_SOURCE): Likewise.
24010         (MCAST_UNBLOCK_SOURCE): Likewise.
24011         (MCAST_LEAVE_GROUP): Likewise.
24012         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24013         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24014         (MCAST_MSFILTER): Likewise.
24015         (IP_MULTICAST_ALL): Likewise.
24016         (IP_UNICAST_IF): Likewise.
24018         * timezone/Makefile: Delete $(have-ksh) check.
24019         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24020         * timezone/tzselect.ksh: Add +x mode bits.
24022         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24023         (ANON_INODE_FS_MAGIC): Likewise.
24024         (BDEVFS_MAGIC): Likewise.
24025         (BINFMTFS_MAGIC): Likewise.
24026         (BTRFS_TEST_MAGIC): Likewise.
24027         (CRAMFS_MAGIC_WEND): Likewise.
24028         (DEBUGFS_MAGIC): Likewise.
24029         (ECRYPTFS_SUPER_MAGIC): Likewise.
24030         (EXT3_SUPER_MAGIC): Likewise.
24031         (EXT4_SUPER_MAGIC): Likewise.
24032         (FUTEXFS_SUPER_MAGIC): Likewise.
24033         (HOSTFS_SUPER_MAGIC): Likewise.
24034         (HUGETLBFS_MAGIC): Likewise.
24035         (MINIX3_SUPER_MAGIC): Likewise.
24036         (MTD_INODE_FS_MAGIC): Likewise.
24037         (NILFS_SUPER_MAGIC): Likewise.
24038         (OPENPROM_SUPER_MAGIC): Likewise.
24039         (PIPEFS_MAGIC): Likewise.
24040         (PSTOREFS_MAGIC): Likewise.
24041         (QNX6_SUPER_MAGIC): Likewise.
24042         (RAMFS_MAGIC): Likewise.
24043         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24044         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24045         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24046         (SECURITYFS_MAGIC): Likewise.
24047         (SELINUX_MAGIC): Likewise.
24048         (SMACK_MAGIC): Likewise.
24049         (SOCKFS_MAGIC): Likewise.
24050         (SQUASHFS_MAGIC): Likewise.
24051         (STACK_END_MAGIC): Likewise.
24052         (TMPFS_MAGIC): Likewise.
24053         (USBDEVICE_SUPER_MAGIC): Likewise.
24054         (V9FS_MAGIC): Likewise.
24055         (XENFS_SUPER_MAGIC): Likewise.
24056         (CRAMFS_MAGIC): Fix typo in comment.
24057         (EXT2_SUPER_MAGIC): Update comment.
24058         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24060 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24062         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24063         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24064         * sysdeps/unix/sysv/linux/arm: Move directory from
24065         ports/sysdeps/unix/sysv/linux/arm.
24066         * README: Update listing for arm-*-linux-gnueabi.
24068         * README: Remove mention of am33.
24070 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24072         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24073         than the comma operator, to avoid "rhs of comma has no effect"
24074         compiler warnings.
24075         (__sigfillset, __sigandset, __sigorset): Likewise.
24076         * include/signal.h (__sigemptyset): Likewise.
24077         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24079 2014-02-07  Allan McRae  <allan@archlinux.org>
24081         * version.h (RELEASE): Set to "development".
24082         (VERSION): Set to "2.19.90"
24083         * NEWS: Add 2.20 section.
24085 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24087         [BZ #16529]
24088         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24090 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24092         * manual/contrib.texi: Update entry for Carlos O'Donell,
24093         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24095 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24097         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24099         * sysdeps/unix/sysv/linux/kernel-features.h
24100         [__LINUX_KERNEL_VERSION >= 0x020621]
24101         (__ASSUME_PROC_PID_TASK_COMM): Define.
24103 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24105         [BZ #16398]
24106         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24107         conversion when destination buffer does not have enough space.
24108         * libio/tst-ftell-partial-wide.c: New test case.
24109         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24111         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24112         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24113         Leonard and Allan McRae.
24115 2014-02-04  David S. Miller  <davem@davemloft.net>
24117         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24118         32-bit.
24120 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24123         New file
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24125         New file
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24127         New file.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24129         New file.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24131         New file.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24133         New file.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24135         New file.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24137         New file.
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24139         New file.
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24141         New file.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24143         New file.
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24145         New file.
24146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24147         New file.
24149 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24151         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24152         * shlib-versions: Likewise.
24154 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24158         (abilist-pattern): New variable, set to %-le.abilist.
24160         * Makerules (abilist-pattern): New variable.
24161         (vpath): Use $(abilist-pattern) in place of %.abilist.
24162         (check-abi-% pattern rule): Likewise.
24163         (check-abi, update-abi): Likewise.
24165 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24167         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24169 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24171         * manual/startup.texi: Add next, previous, and top entries for
24172         the `Program Arguments' and `Environment Variables' nodes.
24174 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24176         * manual/macros.texi: Add comments before MTASC-safety macros.
24178         * manual/users.texi: Document MTASC-safety properties.
24180         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24181         (pthread_getspecific, pthread_setspecific): Format with
24182         @deftypefun, and add @safety note.
24183         * manual/signal.texi: Move comments that analyze the above
24184         functions to their home place.
24186 2014-02-03  Allan McRae  <allan@archlinux.org>
24188         * po/sl.po: Update Slovenian translation from translation project.
24190 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24192         * manual/time.texi (timegm): Add missing blank after @c.
24193         Reported by Joseph Myers <joseph@codesourcery.com>.
24195 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24197         * manual/check-safety.sh: New.
24198         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24200         * manual/terminal.texi: Document MTASC-safety properties.
24202         * manual/filesys.texi: Document MTASC-safety properties.
24204         * manual/errno.texi: Document MTASC-safety properties.
24206         * manual/intro.texi: Document safety identifiers and
24207         conditionals.
24209         * manual/string.texi (wcstok): Fix prototype.
24210         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24212         * manual/time.texi: Document MTASC-safety properties.
24214         * manual/string.texi: Document MTASC-safety properties.
24216         * manual/threads.texi: Document MTASC-safety properties.
24218         * manual/stdio.texi: Document MTASC-safety properties.
24220         * manual/syslog.texi: Document MTASC-safety properties.
24222         * manual/sysinfo.texi: Document MTASC-safety properties.
24224         * manual/startup.texi: Document MTASC-safety properties.
24226         * manual/socket.texi: Document MTASC-safety properties.
24228         * manual/signal.texi: Document MTASC-safety properties.
24230 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24232         * manual/setjmp.texi: Document MTASC-safety properties.
24234         * manual/search.texi: Document MTASC-safety properties.
24236         * manual/resource.texi: Document MTASC-safety properties.
24238         * manual/process.texi: Document MTASC-safety properties.
24240         * manual/platform.texi: Document MTASC-safety properties.
24242         * manual/pipe.texi: Document MTASC-safety properties.
24244         * manual/pattern.texi: Document MTASC-safety properties.
24246         * manual/message.texi: Document MTASC-safety properties.
24248         [BZ #12751]
24249         * manual/memory.texi: Document MTASC-safety properties.
24251         * manual/math.texi: Document MTASC-safety properties.
24253         * manual/locale.texi: Document MTASC-safety properties.
24255         * manual/llio.texi: Document MTASC-safety properties.
24257         * manual/libdl.texi: New.
24259         * manual/lang.texi: Document MTASC-safety properties.
24261         * manual/job.texi: Document MTASC-safety properties.
24263         * manual/getopt.texi: Document MTASC-safety properties.
24265         * manual/ctype.texi: Document MTASC-safety properties.
24267 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24269         [BZ #16046]
24270         * csu/libc-tls.c (static_map): Remove variable.
24271         (__libc_setup_tls): Use main executable's link map for TLS data.
24272         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24273         casing for LM_ID_BASE and GL(dl_nns).
24274         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24275         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24276         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24277         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24278         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24279         member.
24280         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24281         l_phnum members.
24283 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24285         * manual/debug.texi: Document MTASC-safety properties.
24287 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24289         [BZ #16510]
24290         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24291         of __x86_64__ when disabling x87 inline functions.
24293 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24295         * manual/charset.texi: Document MTASC-safety properties.
24297         * manual/crypt.texi: Document MTASC-safety properties.
24299         * manual/conf.texi: Document MTASC-safety properties.
24301         * manual/arith.texi: Document MTASC-safety properties.
24303         * manual/argp.texi: Document MTASC-safety properties.
24305         * manual/macros.texi: Introduce macros to document multi
24306         thread, asynchronous signal and asynchronous cancellation
24307         safety properties.
24308         * manual/intro.texi: Introduce the properties themselves.
24310 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24312         * sysdeps/sh/sh4/Makefile: New file.
24314 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24316         * math/gen-libm-test.pl ($srcdir): New variable.
24317         ($auto_input): Use it.
24319 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24321         [BZ #16506]
24322         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24323         access beyond array bounds when parsing netgroups file.
24325         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24326         the old buffer before realloc.
24328 2014-01-27  Allan McRae  <allan@archlinux.org>
24330         * po/fr.po: Update French translation from translation project.
24332 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24334         * sysdeps/sh/libm-test-ulps: Regenerate.
24336 2014-01-24  David S. Miller  <davem@davemloft.net>
24338         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24340 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24342         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24343         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24345 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24347         [BZ #16474]
24348         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24349         string pointers after reallocation.
24351 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24353         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24354         __SH4A__ instead of __SH_FPU_ANY__.
24356 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24358         * sysdeps/sh/fpu_control.h: New file.
24359         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24360         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24361         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24362         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24363         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24364         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24365         * sysdeps/sh/sys/ucontext.h: Remove.
24366         * sysdeps/sh/sys: Remove directory.
24368 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24370         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24371         s390/sys/ucontext.h.
24372         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24373         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24375 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24377         [BZ #15605]
24378         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24380 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24382         [BZ#16431]
24383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24384         Adjust the vDSO correctly for internal calls.
24385         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24387 2014-01-20  Allan McRae  <allan@archlinux.org>
24389         * po/ca.po: Update Catalan translation from translation project.
24391 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24393         * sysdeps/s390/sotruss-lib.c: New file.
24395 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24397         [BZ#16430]
24398         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24399         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24400         local calls issues by not having a PLT stub required for IFUNC calls.
24401         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24403 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24405         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24406         * math/test-fpucw-static.c: Likewise.
24408 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24410         [BZ #16453]
24411         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24413 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24415         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24416         implementation for powerpc.
24418 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24420         [BZ #14782]
24421         * sysdeps/posix/system.c (__libc_system): Do not enable
24422         asynchronous cancellation.
24424 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24426         [BZ #16427]
24427         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24428         handling only for numbers special also in the IEEE case.
24430 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24432         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24434 2014-01-11  Allan McRae  <allan@archlinux.org>
24436         * po/bg.po: Update Bulgarian translation from translation project.
24438         * po/de.po: Update German translation from translation project.
24440 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24442         * sysdeps/generic/gcc-compat.h: New file.
24444 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24446         * benchtests/asin-inputs: Correct slow inputs.
24447         * benchtests/acos-inputs: Likewise.
24449 2014-01-10  Allan McRae  <allan@archlinux.org>
24451         * po:sv.po: Update Swedish translation from translation project.
24453         * po/vi.po: Update Vietnamese translation from translation project.
24455         * po/eo.po: Update Esperanto translation from translation project.
24457         * po/cs.po: Update Czech translation from translation project.
24459         * po/nl.po: Update Dutch translation from translation project.
24461         * po/pl.po: Update Polish translation from translation project.
24463         * po/ru.po: Update Russian translation from translation project.
24465         * po/uk.po: Update Ukrainian translation from translation project.
24467 2014-01-08  Brooks Moses  <bmoses@google.com>
24469         * elf/dl-load.c: Fix comment typo.
24471 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24473         * po/header.pot: Rename to...
24474         * po/pot.header: ... this.
24475         * po/Makefile: Use pot.header.
24477 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24478             Maxim Kuvyrkov  <maxim@kugelworks.com>
24480         [BZ #16394]
24481         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24482         SRC and DEST against LEN.
24484 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24486         [BZ #16414]
24487         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24488         implementation.
24489         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24491 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24495 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24497         [BZ #16408]
24498         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24499         for large positive arguments.
24501 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24503         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24505         * math/auto-libm-test-in: Mark various tests with
24506         xfail-rounding:ldbl-128ibm.
24507         * math/auto-libm-test-out: Regenerated.
24509         [BZ #16407]
24510         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24511         Increase overflow threshold.
24513 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24515         [BZ #14286]
24516         * stdio-common/vfprintf.c: Check for integer overflow.
24518 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24520         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24521         the first argument and return value of __tls_get_addr_internal.
24523 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24525         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24526         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24528 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24530         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24531         * sysdeps/s390/rtld-global-offsets.sym: New file.
24532         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24533         GLIBC_2.19 symbol.
24534         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24537         ... this.
24538         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24539         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24540         ... this.
24541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24542         Regenerate.
24543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24544         Regenerate.
24545         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24546         halfs of GPRs for high_gprs contexts.
24547         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24548         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24549         field.
24550         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24551         uc_flags field.
24552         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24553         64 bit versions:
24554         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24555         for high GPRs (uc_high_gprs) and for future extensions
24556         (__reserved).
24557         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24558         for future extensions (__reserved).
24559         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24560         64 bit versions:
24561         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24562         SC_HIGHGPRS offset definition.
24563         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24564         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24566         * Versions.def: Add GLIBC_2.19 for libpthread.
24567         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24568         siglongjmp for libpthread with GLIBC_2.19 symver.
24569         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24570         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24571         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24572         * sysdeps/s390/__longjmp.c: New file.
24573         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24574         * sysdeps/s390/longjmp.c: New file.
24575         * sysdeps/s390/setjmp.S: New file.
24576         * sysdeps/s390/sigjmp.S: New file.
24577         * sysdeps/s390/v1-longjmp.c: New file.
24578         * sysdeps/s390/v1-setjmp.h: New file.
24579         * sysdeps/s390/v1-sigjmp.c: New file.
24580         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24581         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24582         GLIBC_2.19 version.
24583         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24584         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24585         versioned symbols for ____longjmp_chk.
24586         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24587         Likewise.
24588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24589         Regenerate.
24590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24591         Regenerate.
24592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24593         Regenerate.
24594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24595         Regenerate.
24596         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24597         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24598         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24599         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24600         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24601         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24602         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24603         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24604         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24605         * sysdeps/s390/rtld-__longjmp.c: New file.
24606         * sysdeps/s390/rtld-setjmp.S: New file.
24608 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24610         [BZ #16400]
24611         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24612         Return -__logl (x) for small positive arguments without evaluating
24613         a polynomial.
24615 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24617         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24618         Rename to ...
24619         (__ptrace_peeksiginfo_args): ... this.
24620         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24621         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24622         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24624 2014-01-06  Allan McRae  <allan@archlinux.org>
24626         * inet/netinet/in.h: Fix typo in comment.
24628 2014-01-05  Andreas Jaeger  <aj@suse.de>
24630         * sysdeps/i386/fpu/libm-test-ulps: Update.
24632 2014-01-05  Allan McRae  <allan@archlinux.org>
24634         * po/libc.pot: Regenerated.
24636         * malloc/memusagestat.c: Fix gettext call formatting.
24638 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24640         * nscd/nscd.c: Improve usage() output.
24642 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24644         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24645         * sysdeps/unix/sysv/linux/configure: Regenerated.
24646         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24647         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24649 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24651         [BZ #16390]
24652         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24653         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24655 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24657         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24658         extra tokens at end of #undef directive.
24659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24660         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24661         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24663 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24665         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24667         * math/auto-libm-test-in: Mark various tests with
24668         xfail-rounding:ldbl-128ibm.
24669         * math/auto-libm-test-out: Regenerated.
24671 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24673         [BZ #16386]
24674         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24675         numbers with subnormal high part when calculating exponent.
24677         [BZ #16385]
24678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24679         fabs.
24681         [BZ #16384]
24682         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24683         M_LN2l.
24684         (__ieee754_acoshl): Use __log1pl not __log1p.
24686 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24688         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24689         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24690         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24691         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24692         (reused_arena, arena_get2): Convert to GNU style.
24693         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24694         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24695         (memalign_check, __malloc_set_state): Likewise.
24696         * malloc/mallocbug.c (main): Likewise.
24697         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24698         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24699         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24700         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24701         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24702         (__posix_memalign, malloc_info): Likewise.
24703         * malloc/malloc.h: Likewise.
24704         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24705         (mallochook, memalignhook, reallochook, mabort): Likewise.
24706         * malloc/mcheck.h: Likewise.
24707         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24708         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24709         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24710         * malloc/morecore.c (__default_morecore): Likewise.
24711         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24712         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24713         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24714         (print_and_abort): Likewise.
24715         * malloc/obstack.h: Likewise.
24716         * malloc/set-freeres.c (__libc_freeres): Likewise.
24717         * malloc/tst-mallocstate.c (main): Likewise.
24718         * malloc/tst-mtrace.c (main): Likewise.
24719         * malloc/tst-realloc.c (do_test): Likewise.
24721 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24723         [BZ #16366]
24724         * nscd/netgroupcache.c (do_notfound): New function.
24725         (addgetnetgrentX): Use it.
24727         [BZ # 16365]
24728         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24729         NSS_STATUS_NOTFOUND.
24731 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24733         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24736 2014-01-01  Allan McRae  <allan@archlinux.org>
24738         * scripts/update-copyrights: Update configure input file suffix.
24740         * NEWS: Update copyright year.
24741         * catgets/gencat.c: Likewise.
24742         * csu/version.c: Likewise.
24743         * debug/catchsegv.sh: Likewise.
24744         * debug/pcprofiledump.c: Likewise.
24745         * debug/xtrace.sh: Likewise.
24746         * elf/ldconfig.c: Likewise.
24747         * elf/ldd.bash.in: Likewise.
24748         * elf/pldd.c: Likewise.
24749         * elf/sotruss.ksh: Likewise.
24750         * elf/sprof.c: Likewise.
24751         * iconv/iconv_prog.c: Likewise.
24752         * iconv/iconvconfig.c: Likewise.
24753         * locale/programs/locale.c: Likewise.
24754         * locale/programs/localedef.c: Likewise.
24755         * login/programs/pt_chown.c: Likewise.
24756         * malloc/memusage.sh: Likewise.
24757         * malloc/memusagestat.c: Likewise.
24758         * malloc/mtrace.pl: Likewise.
24759         * manual/libc.texinfo: Likewise.
24760         * nscd/nscd.c: Likewise.
24761         * nss/getent.c: Likewise.
24762         * nss/makedb.c: Likewise.
24763         * posix/getconf.c: Likewise.
24764         * scripts/test-installation.pl: Likewise.
24766         * All files with FSF copyright notices: Update copyright dates
24767         using scripts/update-copyrights.
24768         * intl/plural.c: Regenerated.
24769         * locale/programs/charmap-kw.h: Likewise.
24770         * locale/programs/locfile-kw.h: Likewise.
24772 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24774         * sysdeps/unix/sysv/linux/configure: Regenerated.
24775         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24776         the linux/fanotify.h header.
24777         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24778         HAVE_LINUX_FANOTIFY_H is defined.
24780 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24782         * benchtests/cos-inputs: New inputs.
24783         * benchtests/sin-inputs: Likewise.
24785         * benchtests/atan-inputs: New inputs. Fix name of multiple
24786         precision fallback inputs.
24788         * benchtests/atanh-inputs: New inputs.
24789         * benchtests/tanh-inputs: Likewise.
24791         * benchtests/acosh-inputs: New inputs.
24792         * benchtests/asinh-inputs: Likewise.
24794         * benchtests/cosh-inputs: New inputs.
24795         * benchtests/sinh-inputs: Likewise.
24797         * benchtests/acos-inputs: Add more inputs.
24798         * benchtests/asin-inputs: Likewise.
24800 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24802         [BZ #16375]
24803         * manual/arith.texi: Fix spelling.
24804         * manual/charset.texi: Likewise.
24805         * manual/errno.texi: Likewise.
24806         * manual/filesys.texi: Likewise.
24807         * manual/lang.texi: Likewise.
24808         * manual/llio.texi: Likewise.
24809         * manual/locale.texi: Likewise.
24810         * manual/message.texi: Likewise.
24811         * manual/resource.texi: Likewise.
24812         * manual/search.texi: Likewise.
24813         * manual/setjmp.texi: Likewise.
24814         * manual/stdio.texi: Likewise.
24815         * manual/string.texi: Likewise.
24816         * manual/sysinfo.texi: Likewise.
24817         * manual/time.texi: Likewise.
24819 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24821         * po/sl.po: New file.
24823 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24825         * .gitignore: Add core/.gdbinit/.gdb_history.
24827 2013-12-27  Allan McRae  <allan@archlinux.org>
24829         [BZ #16369]
24830         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24831         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24833 2013-12-24  Brooks Moses  <bmoses@google.com>
24835         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24836         all compilers that claim C++98 compliance, not just GCC.
24837         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24838         Likewise.
24840 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24842         * NEWS: Restore accidentally deleted bug-fix entries.
24844 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24845             Ondřej Bílka  <neleai@seznam.cz>
24847         [BZ #15073]
24848         * malloc/malloc.c (_int_free): Perform sanity check only if we
24849         have_lock.
24851 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24853         [BZ #12986]
24854         * manual/stdio.texi (String Input Conversions): Clarify that character
24855         classes are not supported.
24857 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24861 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24863         [BZ #16337]
24864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24865         Calculate results for small negative arguments directly rather
24866         than using reflection formula with special underflow handling.
24868         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24869         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24870         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24871         (fchflags): Likewise.
24872         (revoke): Likewise.
24873         (setlogin): Likewise.
24874         (sigaltstack): Likewise.
24875         (wait4): Likewise.
24876         (sigblock): Remove.
24877         (sigsetmask): Likewise.
24878         (wait3): Likewise.
24879         (waitpid): Likewise.
24880         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24881         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24882         file.
24883         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24884         * sysdeps/unix/bsd/Makefile: ... here.
24885         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24886         * sysdeps/unix/bsd/Versions: ... here.
24887         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24888         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24889         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24890         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24891         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24892         * sysdeps/unix/bsd/sigblock.c: ... here.
24893         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24894         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24895         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24896         * sysdeps/unix/bsd/sigvec.c: ... here.
24897         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24898         * sysdeps/unix/bsd/tcdrain.c: ... here.
24899         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24900         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24901         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24902         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24903         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24904         * sysdeps/unix/bsd/wait.c: ... here.
24905         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24906         * sysdeps/unix/bsd/wait3.c: ... here.
24907         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24908         * sysdeps/unix/bsd/waitpid.c: ... here.
24910 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #16356]
24913         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24914         round-to-nearest for [!USE_AS_EXPM1L].
24915         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24916         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24917         more tests of exp and exp10.  Expect some exp10 tests to miss
24918         exceptions or fail in directed rounding modes.
24919         * math/auto-libm-test-out: Regenerated.
24920         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24921         (exp10_test_tonearest): New function.
24922         (exp10_towardzero_test_data): New array.
24923         (exp10_test_towardzero): New function.
24924         (exp10_downward_test_data): New array.
24925         (exp10_test_downward): New function.
24926         (exp10_upward_test_data): New array.
24927         (exp10_test_upward): New function.
24928         (main): Call the new functions.
24929         * sysdeps/i386/fpu/libm-test-ulps: Update.
24930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24934         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24935         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24936         * math/auto-libm-test-out: Regenerated.
24937         * math/libm-test.inc (acosh_test_data): Add more tests.
24938         (atanh_test_data): Likewise.
24939         (ceil_test_data): Likewise.
24940         (copysign_test_data): Likewise.
24941         * sysdeps/i386/fpu/libm-test-ulps: Update.
24942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944         * timezone/checktab.awk: Update from tzcode 2013i.
24945         * timezone/private.h: Likewise.
24946         * timezone/scheck.c: Likewise.
24947         * timezone/tzfile.h: Likewise.
24948         * timezone/tzselect.ksh: Likewise.
24949         * timezone/zdump.c: Likewise.
24950         * timezone/zic.c: Likewise.
24952         * math/auto-libm-test-in: Add tests of cpow.
24953         * math/auto-libm-test-out: Regenerated.
24954         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24955         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24956         mpc_cc_c.
24957         (func_calc_desc): Add mpc_cc_c union field.
24958         (test_functions): Add cpow.
24959         (special_fill_2pi): New function.
24960         (special_real_inputs): Add 2pi.
24961         (calc_generic_results): Handle mpc_cc_c.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update.
24963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24965         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24966         csqrt, ctan and ctanh.
24967         * math/auto-libm-test-out: Regenerated.
24968         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24969         (TEST_COND_x86): Likewise.
24970         (ccos_test_data): Use AUTO_TESTS_c_c.
24971         (ccosh_test_data): Likewise.
24972         (cexp_test_data): Likewise.
24973         (clog_test_data): Likewise.
24974         (csqrt_test_data): Likewise.
24975         (ctan_test_data): Likewise.
24976         (ctan_tonearest_test_data): Likewise.
24977         (ctan_towardzero_test_data): Likewise.
24978         (ctan_downward_test_data): Likewise.
24979         (ctan_upward_test_data): Likewise.
24980         (ctanh_test_data): Likewise.
24981         (ctanh_tonearest_test_data): Likewise.
24982         (ctanh_towardzero_test_data): Likewise.
24983         (ctanh_downward_test_data): Likewise.
24984         (ctanh_upward_test_data): Likewise.
24985         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24986         mpc_c_c.
24987         (func_calc_desc): Add mpc_c_c union field.
24988         (FUNC_mpc_c_c): New macro.
24989         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24990         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24991         ctanh.
24992         (special_fill_min_subnorm_p120): New function.
24993         (special_real_inputs): Add min_subnorm_p120.
24994         (calc_generic_results): Handle mpc_c_c.
24995         * sysdeps/i386/fpu/libm-test-ulps: Update.
24996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24998 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25000         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25001         (do_sin_slow): New functions.
25002         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25003         (cslow2, csloww1, csloww2): Use the new functions.
25005         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25006         Use M to change sign of result instead of X.  Assume X is
25007         positive.
25008         (csloww1): Likewise.
25009         (__sin): Adjust.
25010         (__cos): Adjust.
25012         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25013         arguments A and DA.
25014         (__sin): Adjust.
25015         (__cos): Likewise.
25017         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25018         (__cos): Likewise.
25019         (sloww1): Don't adjust sign of DX.
25020         (csloww1): Likewise.
25021         (sloww2): Use X directly and don't adjust sign of DX.
25022         (csloww2): Likewise.
25024 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25026         * math/auto-libm-test-in: Add tests of cabs and carg.
25027         * math/auto-libm-test-out: Regenerated.
25028         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25029         (carg_test_data): Likewise.
25030         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25031         mpc_c_f.
25032         (func_calc_desc): Add mpc_c_f union field.
25033         (test_functions): Add cabs and carg.
25034         (calc_generic_results): Handle mpc_c_f.
25036         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25037         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25038         as a macro and a compat symbol.
25039         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25040         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25041         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25042         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25043         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25044         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25045         not use .hidden.
25046         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25047         Likewise.
25048         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25049         Likewise.
25050         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25051         Likewise.
25052         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25053         Likewise.
25054         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25055         Likewise.
25056         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25057         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25058         from GLIBC_2.3.2.
25060 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25066         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25067         trailing whitespace removed.
25068         * scripts/config.guess: Update to version 2013-11-29.
25069         * scripts/config.sub: Update to version 2013-10-01.
25071         * math/auto-libm-test-in: Add tests of sincos.
25072         * math/auto-libm-test-out: Regenerated.
25073         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25074         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25075         mpfr_f_11.
25076         (func_calc_desc): Add mpfr_f_11 union field.
25077         (test_functions): Add sincos.
25078         (calc_generic_results): Handle mpfr_f_11.
25079         * sysdeps/i386/fpu/libm-test-ulps: Update.
25080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25082 2013-12-19  Andreas Schwab  <schwab@suse.de>
25084         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25085         CALL_MCOUNT.
25086         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25087         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25088         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25090 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25092         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25093         * sysdeps/i386/fpu/libm-test-ulps: Update.
25094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25096         [BZ #16293]
25097         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25098         round-to-nearest mode when using frndint.
25099         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25100         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25102         Likewise.
25103         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25104         sinh test to fail.
25105         * math/auto-libm-test-out: Regenerated.
25106         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25107         (TEST_COND_x86): Likewise.
25108         (expm1_tonearest_test_data): New array.
25109         (expm1_test_tonearest): New function.
25110         (expm1_towardzero_test_data): New array.
25111         (expm1_test_towardzero): New function.
25112         (expm1_downward_test_data): New array.
25113         (expm1_test_downward): New function.
25114         (expm1_upward_test_data): New array.
25115         (expm1_test_upward): New function.
25116         (main): Run the new test functions.
25117         * sysdeps/i386/fpu/libm-test-ulps: Update.
25118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25120         * include/features.h: Update comment documenting feature test
25121         macros.  Mention _DEFAULT_SOURCE in comment.
25122         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25123         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25124         _BSD_SOURCE and _SVID_SOURCE.
25125         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25126         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25127         !_SVID_SOURCE]: Likewise.
25128         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25129         (__USE_POSIX_IMPLICITLY): Define.
25130         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25131         (_POSIX_SOURCE): Undefine and redefine.
25132         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25133         (_POSIX_C_SOURCE): Likewise.
25134         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25135         (Feature Test Macros): Update documentation of default features.
25137 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25139         * benchtests/Makefile: Add bench-strtok.
25140         * benchtests/bench-strtok.c: New file: strtok benchtest.
25142 2013-12-19  Allan McRae  <allan@archlinux.org>
25144         * manual/install.texi: Suppress menu for plain text output.
25145         * INSTALL: Regenerated.
25147 2013-12-18  Brooks Moses  <bmoses@google.com>
25149         [BZ #15846]
25150         * misc/getauxval.c: Include errno.h.
25151         (__getauxval): Set errno to ENOENT if the requested type is not
25152         found.
25153         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25154         don't declare with __attribute_const__.
25155         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25156         * manual/startup.texi: Document that getauxval sets errno.
25158 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25160         * math/auto-libm-test-in: Add tests of jn and yn.
25161         * math/auto-libm-test-out: Regenerated.
25162         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25163         (yn_test_data): Likewise.
25164         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25165         mpfr_if_f.
25166         (func_calc_desc): Add mpfr_if_f union field.
25167         (FUNC_mpfr_if_f): New macro.
25168         (test_functions): Add jn and yn.
25169         (calc_generic_results): Assert type of second input for
25170         mpfr_ff_f.  Handle mpfr_if_f.
25171         (output_for_one_input_case): Disable all checking for arguments
25172         fitting floating-point types in case of an integer argument.
25173         * sysdeps/i386/fpu/libm-test-ulps: Update.
25174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25177         Don't expect fegetround reference in libm.so.
25179 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25181         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25182         $(config-cflags-nofma).
25184 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25186         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25187         * math/auto-libm-test-out: Regenerated.
25189         [BZ #16338]
25190         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25191         to determine exponent and adjust argument to have exponent of -1.
25192         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25193         log2.
25194         * math/auto-libm-test-out: Regenerated.
25195         * sysdeps/i386/fpu/libm-test-ulps: Update.
25196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25198 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25200         * manual/probes.texi: Remove cases when per-thread arenas are
25201         disabled.
25203 2013-12-18  Andreas Schwab  <schwab@suse.de>
25205         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25206         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25207         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25208         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25209         * sysdeps/i386/i686/multiarch/Makefile: Update.
25210         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25212 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25214         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25215         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25217 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25219         [BZ #15968]
25220         Support TZ transition times < 00:00:00.
25221         This is needed for version-3 tz-format files; it supports time
25222         stamps past 2037 for America/Godthab (the only entry in the tz
25223         database for which this change is relevant).
25224         * manual/time.texi (TZ Variable): Document transition times
25225         from -167:59:59 through -00:00:01.
25226         * time/tzset.c (tz_rule): Time of day is now signed.
25227         (__tzset_parse_tz): Parse negative time of day.
25229         Document TZ transition times >= 25:00:00.
25230         * manual/time.texi (TZ Variable): Document transition times from
25231         25:00:00 through 167:59:59.  These are already supported, and this
25232         support will help with version-3 tz-format files.
25234         * manual/time.texi (TZ Variable): Modernize North America example
25235         to reflect current (i.e., 2007-and-later) daylight saving rules.
25237         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25239 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25241         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25242         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25243         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25245         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25246         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25247         * sysdeps/unix/bsd/clock.c: Likewise.
25248         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25249         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25250         * sysdeps/unix/bsd/init-posix.c: Likewise.
25251         * sysdeps/unix/bsd/poll.c: Likewise.
25252         * sysdeps/unix/bsd/ptsname.c: Likewise.
25253         * sysdeps/unix/bsd/seekdir.c: Likewise.
25254         * sysdeps/unix/bsd/setegid.c: Likewise.
25255         * sysdeps/unix/bsd/seteuid.c: Likewise.
25256         * sysdeps/unix/bsd/setgid.c: Likewise.
25257         * sysdeps/unix/bsd/setrgid.c: Likewise.
25258         * sysdeps/unix/bsd/setruid.c: Likewise.
25259         * sysdeps/unix/bsd/setsid.c: Likewise.
25260         * sysdeps/unix/bsd/setuid.c: Likewise.
25261         * sysdeps/unix/bsd/sigaction.c: Likewise.
25262         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25263         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25264         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25265         * sysdeps/unix/bsd/telldir.c: Likewise.
25266         * sysdeps/unix/bsd/times.c: Likewise.
25267         * sysdeps/unix/bsd/usleep.c: Likewise.
25269         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25270         ($(objpfx)libbsd-compat.a): Remove rule.
25272         * include/features.h (__FAVOR_BSD): Do not define.
25273         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25274         features conflicting with POSIX.
25275         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25276         (_BSD_SOURCE): Remove description of not being a subset of other
25277         feature test macros.
25278         * manual/job.texi (getpgrp): Do not document BSD version.
25279         (getpgid): Do not document by reference to BSD getpgrp.
25280         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25281         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25282         * signal/signal.h [__FAVOR_BSD]: Likewise.
25283         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25284         instead of making contents conditional on [__FAVOR_BSD].
25285         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25287 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25291 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25293         [BZ #16314]
25294         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25295         values below 2**-450, not 2**-500.
25296         * math/auto-libm-test-in: Don't allow spurious underflow from
25297         hypot.
25298         * math/auto-libm-test-out: Regenerated.
25300         [BZ #16316]
25301         [BZ #16330]
25302         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25303         values of ha and hb and sort them after adjusting subnormal
25304         arguments.
25305         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25306         Likewise.
25307         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25308         values of ea and eb and sort them after adjusting subnormal
25309         arguments.
25310         * math/auto-libm-test-in: Do not expect some hypot tests of
25311         subnormals to fail.  Add more hypot tests.
25312         * math/auto-libm-test-out: Regenerated.
25314 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25316         [BZ #13304]
25317         * sysdeps/sh/s_fma.c: New file.
25318         * sysdeps/sh/s_fmaf.c: New file.
25319         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25320         version.
25321         * sysdeps/sh/Implies: Add sh/soft-fp.
25323 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25325         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25326         level of indirection to members `objname', `errstring', `malloced'.
25327         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25328         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25329         it as the __longjmp argument (just pass 1 instead).
25330         (_dl_catch_error): Initialize C with argument pointers and address of
25331         volatile local ERRCODE rather than copying values out of C at return.
25333 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25335         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25336         * math/auto-libm-test-out: Regenerated.
25337         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25338         (hypot_test_data): Likewise.
25339         (pow_test_data): Likewise.
25340         (pow_tonearest_test_data): Likewise.
25341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25342         mpfr_ff_f.
25343         (func_calc_desc): Add mpfr_ff_f union field.
25344         (FUNC_mpfr_ff_f): New macro.
25345         (test_functions): Add atan2, hypot and pow.
25346         (special_fill_min): New function.
25347         (special_fill_minus_min): Likewise.
25348         (special_fill_min_subnorm): Likewise.
25349         (special_fill_minus_min_subnorm): Likewise.
25350         (special_real_inputs): Add min, -min, min_subnorm and
25351         -min_subnorm.
25352         (calc_generic_results): Handle mpfr_ff_f.
25353         * sysdeps/i386/fpu/libm-test-ulps: Update.
25354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25356 2013-12-16  Will Newton  <will.newton@linaro.org>
25358         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25359         (Aligned Memory Blocks): Add documentation for aligned_alloc
25360         and suggest it as an alternative to posix_memalign.
25361         (Hooks for Malloc): Document __memalign_hook is also called
25362         for aligned_alloc.  (Summary of Malloc): Add summary for
25363         aligned alloc.  Document __memalign_hook is also called
25364         for aligned_alloc.
25366 2013-12-16  Will Newton  <will.newton@linaro.org>
25368         * manual/memory.texi (Malloc Examples): Clarify default
25369         alignment documentation.  Suggest posix_memalign rather
25370         than memalign or valloc.
25371         (Aligned Memory Blocks): Remove suggestion to use memalign
25372         or valloc.  Remove obsolete comment about BSD.
25373         Document memalign errno values and mark the function obsolete.
25374         Document posix_memalign returned error codes.  Mark valloc
25375         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25376         called for posix_memalign and valloc.
25377         (Summary of Malloc): Add posix_memalign to function summary.
25378         __memalign_hook is also called for posix_memalign and valloc.
25380 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25382         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25383         TAYLOR_SIN.
25384         (__sin): Adjust.
25385         (__cos): Likewise.
25386         (sloww): Use mynumber union.  Expand ternary operator into
25387         if-else statements.
25388         (cslow): use mynumber union.
25390 2013-12-16  Allan McRae  <allan@archlinux.org>
25392         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25393         * configure: Regenerated.
25395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25397         [BZ #14120]
25398         * configure.ac: Added --enable-maintainer-mode. Check for
25399         autoconf when enabled.
25400         * configure: Regenerated.
25402         * nscd/nscd.service: New file.
25403         * nscd/nscd.tmpfiles: New file.
25405 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25407         [BZ #12100]
25408         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25409         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25410         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25411         (strstr): Add __strstr_sse2_unaligned ifunc.
25412         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25413         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25414         (strcasestr): Remove __strcasestr_sse42 ifunc.
25415         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25419 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25421         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25422         * sysdeps/sh/bits/fenv.h: ... here.
25423         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25425 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25427         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25430         hypotf multiarch implementations.
25431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25434         multiarch hypot for PPC64.
25435         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25436         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25437         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25438         multiarch hypotf for PPC64.
25440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25441         modff multiarch implementations.
25442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25445         multiarch modf for PPC64.
25446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25449         multiarch modff for PPC64.
25451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25452         and logl multiarch implementations.
25453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25456         multiarch logb for PPC64.
25457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25460         multiarch logb for PPC64.
25461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25464         multiarch logb for PPC64.
25466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25467         isinff multiarch implementation.
25468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25469         file.
25470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25472         multiarch isinf for PPC64.
25473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25474         file.
25475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25476         multiarch isinff for PPC64.
25478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25479         finitef multiarch implementation.
25480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25481         file.
25482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25484         multiarch finite for PPC64.
25485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25486         file.
25487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25488         multiarch finitef for PPC64.
25490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25491         lrint multiarch implementation.
25492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25493         file.
25494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25496         multiarch llrint for PPC64.
25497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25498         multiarch lrint for PPC64.
25500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25501         copysignf multiarch implementation.
25502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25503         file.
25504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25505         file.
25506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25507         multiarch copysign for PPC64.
25508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25509         multiarch copysignf for PPC64.
25511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25512         multiarch implementation.
25513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25514         file.
25515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25516         file.
25517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25518         file.
25519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25520         file.
25521         multiarch llround for PPC64.
25522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25523         multiarch trunc for PPC64.
25524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25525         multiarch truncf for PPC64.
25527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25528         multiarch implementation.
25529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25530         file.
25531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25532         file.
25533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25534         file.
25535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25536         file.
25537         multiarch llround for PPC64.
25538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25539         multiarch round for PPC64.
25540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25541         multiarch roundf for PPC64.
25543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25544         multiarch implementation.
25545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25546         file.
25547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25548         file.
25549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25550         file.
25551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25552         file.
25553         multiarch llround for PPC64.
25554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25555         multiarch floor for PPC64.
25556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25557         multiarch floorf for PPC64.
25559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25560         multiarch implementation.
25561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25562         file.
25563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25564         file.
25565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25566         file.
25567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25568         file.
25569         multiarch llround for PPC64.
25570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25571         multiarch ceil for PPC64.
25572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25573         multiarch ceilf for PPC64.
25575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25576         multiarch implementation.
25577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25578         file.
25579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25580         file.
25581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25582         file.
25583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25584         multiarch llround for PPC64.
25585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25586         multiarch lround for PPC64.
25588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25589         multiarch implementation.
25590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25593         file.
25594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25597         multiarch isnan for PPC64.
25598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25599         multiarch isnanf for PPC64.
25601         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25602         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25603         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25604         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25605         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25608         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25609         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25614         multiarch implementations.
25615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25616         (__libc_ifunc_impl_list): Likewise.
25617         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25620         multiarch stpcpy for PPC64.
25622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25623         multiarch implementations.
25624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25625         (__libc_ifunc_impl_list): Likewise.
25626         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25627         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25628         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25629         multiarch strcpy for PPC64.
25631         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25632         redefine function name.
25633         (_wordcopy_fwd_dest_aligned): Likewise.
25634         (_wordcopy_bwd_aligned): Likewise.
25635         (_wordcopy_bwd_dest_aligned): Likewise.
25636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25637         multiarch implementations.
25638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25639         (__libc_ifunc_impl_list): Likewise.
25640         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25641         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25643         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25644         multiarch wcscpy for PPC64.
25646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25647         multiarch implementations.
25648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25649         (__libc_ifunc_impl_list): Likewise.
25650         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25651         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25652         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25653         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25654         multiarch wcscpy for PPC64.
25656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25657         multiarch implementations.
25658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25659         (__libc_ifunc_impl_list): Likewise.
25660         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25661         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25662         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25663         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25664         multiarch wcsrchr for PPC64.
25666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25667         multiarch implementations.
25668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25669         (__libc_ifunc_impl_list): Likewise.
25670         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25671         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25672         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25673         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25674         multiarch wcschr for PPC64.
25676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25677         multiarch implementations.
25678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25679         (__libc_ifunc_impl_list): Likewise.
25680         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25681         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25682         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25683         multiarch strchrnul for PPC64.
25685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25686         implementations.
25687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25688         (__libc_ifunc_impl_list): Likewise.
25689         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25690         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25691         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25692         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25693         strchr for PPC64.
25695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25696         implementations.
25697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25698         (__libc_ifunc_impl_list): Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25700         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25701         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25702         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25703         strncmp for PPC64.
25705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25706         multiarch implementations.
25707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25708         (__libc_ifunc_impl_list): Likewise.
25709         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25710         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25711         strncasecmp for PPC64.
25712         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25713         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25714         multiarch strncasecmp_l for PPC64.
25716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25717         multiarch implementations.
25718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25719         (__libc_ifunc_impl_list): Likewise.
25720         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25722         multiarch strcasecmp for PPC64.
25723         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25724         file.
25725         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25726         multiarch strcasecmp_l for PPC64.
25728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25729         implementations.
25730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25731         (__libc_ifunc_impl_list): Likewise.
25732         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25733         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25734         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25735         strnlen for PPC64.
25737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25738         implementations.
25739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25740         (__libc_ifunc_impl_list): Likewise.
25741         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25742         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25743         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25744         strlen for PPC64.
25746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25747         implementations.
25748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25749         (__libc_ifunc_impl_list): Likewise.
25750         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25751         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25752         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25753         rawmemrchr for PPC64.
25755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25756         implementation.
25757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25758         (__libc_ifunc_impl_list): Likewise.
25759         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25760         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25761         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25762         memrchr for PPC64.
25764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25765         implementation.
25766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25767         (__libc_ifunc_impl_list): Likewise.
25768         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25769         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25770         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25771         memchr for PPC64.
25773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25774         implementation.
25775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25776         (__libc_ifunc_impl_list): Likewise.
25777         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25778         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25779         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25780         mempcpy for PPC64.
25782         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25783         avoid cretion of __bzero symbol.
25784         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25785         Likewise.
25786         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25787         Likewise.
25788         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25789         Likewise.
25790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25791         multiarch implementations.
25792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25793         (__libc_ifunc_impl_list): Likewise.
25794         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25795         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25796         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25797         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25798         bzero for PPC32.
25799         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25800         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25801         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25802         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25803         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25804         memset for PPC64.
25805         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25807         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25809         implementations.
25810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25811         (__libc_ifunc_impl_list): Likewise.
25812         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25813         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25814         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25815         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25816         memcmp for PPC64.
25818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25819         multiarch for POWER/PPC64.
25820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25821         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25822         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25823         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25824         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25825         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25826         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25827         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25828         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25829         memcpy for PPC64.
25831         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25832         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25833         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25834         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25835         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25836         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25837         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25838         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25839         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25840         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25841         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25842         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25843         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25844         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25845         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25854 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25856         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25858 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25860         * benchtests/Makefile (bench): Add exp2 and log2.
25861         (LDLIBS-bench-exp2): Add -lm.
25862         (LDLIBS-bench-log2): Likewise.
25863         * benchtests/exp2-inputs: New inputs file.
25864         * benchtests/log2-inputs: New inputs file.
25865         * benchtests/log-inputs: Add new inputs.
25866         * benchtests/tan-inputs: Likewise.
25868 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25870         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25871         definition...
25872         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25873         (csloww2): ... from here.
25875         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25876         instead of structures.
25877         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25878         (POLYNOMIAL): Likewise.
25879         (TAYLOR_SLOW): Likewise.
25880         (__sin): Likewise.
25881         (__cos): Likewise.
25882         (slow1): Likewise.
25883         (slow2): Likewise.
25884         (sloww): Likewise.
25885         (sloww1); Likewise.
25886         (sloww2): Likewise.
25887         (bsloww1): Likewise.
25888         (bsloww2): Likewise.
25889         (cslow2): Likewise.
25890         (csloww): Likewise.
25891         (csloww1): Likewise.
25892         (csloww2): Likewise.
25894 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25896         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25897         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25898         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25899         * malloc/hooks.c (realloc_check): Likewise.
25901         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25902         * malloc/arena.c: Remove PER_THREAD conditional.
25903         [!PER_THREAD]: Remove code.
25904         (ptmalloc_unlock_all2): Likewise.
25905         (ptmalloc_init): Likewise.
25906         (_int_new_arena): Likewise.
25907         (arena_get2): Likewise.
25908         * malloc/hooks.c (__malloc_get_state): Likewise.
25909         (__malloc_set_state): Likewise.
25910         * malloc/malloc.c: Likewise.
25911         (struct malloc_state): Likewise.
25912         (struct malloc_par): Likewise.
25913         (__libc_realloc): Likewise.
25914         (__libc_mallopt): Likewise.
25916 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25918         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25920 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25922         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25923         macro to a function.  Check for zero perturb_byte.
25924         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25926         * malloc/malloc.c: (force_reg): Remove.
25927         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25928         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25929         force_reg by atomic_forced_read.
25930         * malloc/arena.c (ptmalloc_init): Likewise.
25931         * malloc/hooks.c (top_check): Likewise.
25933 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25937 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25941 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25943         * math/auto-libm-test-in: Add tests of lgamma.
25944         * math/auto-libm-test-out: Regenerated.
25945         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25946         (M_LOG_2_SQRT_PIl): Likewise.
25947         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25948         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25949         mpfr_f_f1.
25950         (func_calc_desc): Add mpfr_f_f1 union field.
25951         (ARGS1): New macro.
25952         (ARGS2): Likewise.
25953         (ARGS3): Likewise.
25954         (ARGS4): Likewise.
25955         (RET1): Likewise.
25956         (RET2): Likewise.
25957         (CALC): Likewise.
25958         (FUNC): Likewise.
25959         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25960         (test_functions): Add lgamma.
25961         (calc_generic_results): Handle mpfr_f_f1.
25962         * sysdeps/i386/fpu/libm-test-ulps: Update.
25963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25965 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25967         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25968         __mpn_add_n for PowerPC64/POWER7.
25969         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25970         __mpn_sub_n for PowerPC64/POWER7.
25972         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25973         __mpn_addmul_1 for PowerPC64.
25974         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25975         __mpn_submul_1 for PowerPC64.
25976         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25977         for PowerPC64.
25978         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25979         for PowerPC64.
25981 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25983         [BZ #15089]
25984         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25988         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25990         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25991         add multiarch folders.
25992         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25993         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25994         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25995         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25996         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25997         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25998         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25999         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26000         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26001         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26002         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26011         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26013         New file.
26014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26015         New file.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26017         multiarch __ieee754_hypot for PowerPC32.
26018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26019         New file.
26020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26021         New file.
26022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26023         multiarch __ieee754_hypotf for PowerPC32.
26025         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26026         long_double_symbol only if __logbl is defined.
26027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26028         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26030         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26032         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26034         path for implementation.
26035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26038         logb, and logbl multiarch implementations for PowerPC32.
26039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26040         file.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26042         file.
26043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26044         multiarch logb for PowerPC32.
26045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26046         file.
26047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26048         file.
26049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26050         multiarch logbf for PowerPC32.
26051         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26053         file.
26054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26055         multiarch logbl implementation for PowerPC32.
26057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26058         and modff multiarch implementations.
26059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26060         New file.
26061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26062         New file.
26063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26064         multiarch modf for PowerPC32.
26065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26066         New file.
26067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26068         New file.
26069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26070         multiarch modff for PowerPC32.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26073         and lrintf multiarch implementations.
26074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26075         New file.
26076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26077         New file.
26078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26079         multiarch lrint for PowerPC32.
26080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26081         file: multiarch lrintf for PowerPC32.
26083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26084         and lroundf multiarch implementations.
26085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26086         New file.
26087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26088         New file.
26089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26090         New file.
26091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26092         multiarch lround for PowerPC32.
26093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26094         file: multiarch lroundf for PowerPC32.
26096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26097         copysign and copysignf multiarch implementations.
26098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26099         New file.
26100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26101         New file.
26102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26103         file: multiarch copysign for PowerPC32.
26104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26105         file: multiarch copysignf for PowerPC32.
26107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26108         and truncf multiarch implementations.
26109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26110         New file.
26111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26112         file.
26113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26114         multiarch trunc for PowerPC32.
26115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26116         New file.
26117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26118         New file.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26120         multiarch truncf for PowerPC32.
26122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26123         and roundf multiarch implementations.
26124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26125         New file.
26126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26127         file.
26128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26129         multiarch round for PowerPC32.
26130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26131         New file.
26132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26133         New file.
26134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26135         multiarch roundf for PowerPC32.
26137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26138         and floorf multiarch implementations.
26139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26140         New file.
26141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26142         file.
26143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26144         multiarch floor for PowerPC32.
26145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26146         New file.
26147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26148         New file.
26149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26150         multiarch floorf for PowerPC32.
26152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26153         and ceilf multiarch implementations.
26154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26155         New file.
26156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26157         file.
26158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26159         multiarch ceil for PowerPC32.
26160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26161         New file.
26162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26163         file.
26164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26165         multiarch ceilf for PowerPC32.
26167         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26168         is defined.
26169         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26170         FINITEF is defined.
26171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26172         and finitef multiarch implementations.
26173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26174         New file.
26175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26176         file.
26177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26178         multiarch finite for PowerPC32.
26179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26180         New file.
26181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26182         file: multiarch finitef for PowerPC32.
26184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26185         and isinff multiarch implementations.
26186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26187         file.
26188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26189         file.
26190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26191         multiarch isinf for PowerPC32.
26192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26193         New file.
26194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26195         multiarch isinff for PowerPC32.
26197         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26198         alias when __isnan is defined.
26199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26200         and isnanf multiarch implementations.
26201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26202         file.
26203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26204         file.
26205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26206         file.
26207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26208         file.
26209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26210         multiarch isnan for PowerPC32.
26211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26212         New file.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26214         New file.
26215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26216         multiarch isnanf for PowerPC32.
26218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26219         and sqrtf multiarch implementations.
26220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26221         file.
26222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26223         file.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26225         multiarch sqrt for PowerPC32.
26226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26227         file.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26229         file.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26231         multiarch sqrtf for PowerPC32.
26233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26234         and llroundf multiarch implementations.
26235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26236         New file.
26237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26238         New file.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26240         New file.
26241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26242         file: multiarch llround for PowerPC32.
26243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26244         file: multiarch llroundf for PowerPC32.
26246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26247         multiarch PowerPC32 fpu implementations.
26248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26249         New file.
26250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26251         New file.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26253         multiarch llrint for PowerPC32.
26254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26255         New file.
26256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26257         New file.
26258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26259         file.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26263         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26264         file.
26265         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26266         file.
26267         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26268         file.
26269         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26270         multiarch wordcopy for PPC32.
26271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26272         wordcopy objects.
26273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26274         (__libc_ifunc_impl_list): Likewise.
26275         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26276         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26277         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26278         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26279         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26280         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26282         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26284         file.
26285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26286         file.
26287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26288         file.
26289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26290         multiarch wcscpy for PPC32.
26291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26292         multiarch objects.
26293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26294         (__libc_ifunc_impl_list): Likewise.
26295         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26296         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26297         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26298         sysdeps/powerpc/power6/wcscpy.c.
26300         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26302         file.
26303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26304         file.
26305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26306         file.
26307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26308         multiarch wcsrchr for PPC32.
26309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26310         multiarch objects.
26311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26312         (__libc_ifunc_impl_list): Likewise.
26313         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26314         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26315         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26316         sysdeps/powerpc/power6/wcsrchr.c.
26318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26319         file.
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26321         file.
26322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26324         multiarch wcschr for PPc32.
26325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26326         multiarch objects.
26327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26328         (__libc_ifunc_impl_list): Likewise.
26329         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26330         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26331         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26332         sysdeps/powerpc/power6/wcschr.c.
26334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26335         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26336         file.
26337         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26338         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26339         file: multiarch strchr for PPC32.
26340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26341         multiarch objects.
26342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26343         (__libc_ifunc_impl_list): Likewise.
26345         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26346         name.
26347         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26348         file.
26349         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26350         file.
26351         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26352         multiarch strchrnul for PPC32.
26353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26354         multiarch objects.
26355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26356         (__libc_ifunc_impl_list): Likewise.
26358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26359         file.
26360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26361         multiarch strncasecmp for PPC32.
26362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26363         file.
26364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26365         multiarch strncasecmp_l for PPC32.
26366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26367         strncasecmp multiarch objects.
26368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26369         (__libc_ifunc_impl_list): Likewise.
26371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26372         file.
26373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26374         multiarch strncasecmp for PPC32.
26375         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26376         New file.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26378         multiarch strcasecmp_l for PPC32.
26379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26380         multiarch objects.
26381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26382         (__libc_ifunc_impl_list): Likewise.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26385         file.
26386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26387         file.
26388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26389         multiarch strncmp for PPC32.
26390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26391         multiarch objects.
26392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26393         (__libc_ifunc_impl_list): Likewise.
26395         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26396         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26397         file.
26398         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26399         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26401         multiarch objects.
26402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26403         (__libc_ifunc_impl_list): Likewise.
26405         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26406         file.
26407         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26408         file.
26409         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26411         multiarch objects.
26412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26413         (__libc_ifunc_impl_list): Likewise.
26415         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26416         file.
26417         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26418         file.
26419         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26420         multiarch rawmemchr for PPC32.
26421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26422         multiarch objects.
26423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26424         (__libc_ifunc_impl_list): Likewise.
26426         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26427         file.
26428         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26429         file.
26430         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26431         file: memrchr multiarch for PPC32.
26432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26433         multiarch objects.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26435         (__libc_ifunc_impl_list): Likewise.
26437         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26439         file.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26441         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26442         multiarch memchr for PPC32.
26443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26444         multiarch objects.
26445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26446         (__libc_ifunc_impl_list): Likewise.
26448         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26449         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26450         file.
26451         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26452         file.
26453         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26454         file: multiarch mempcpy for PPC32.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26456         multiarch objects.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26458         (__libc_ifunc_impl_list): Likewise.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26463         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26464         multiarch bzero for PPC32.
26465         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26466         file.
26467         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26468         file.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26470         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26471         file: multiarch memset for PPC32.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26474         memset multiarch objects.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26476         (__libc_ifunc_impl_list): Likewise.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26479         file.
26480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26482         memcmp for PPC32.
26483         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26485         multiarch objects.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26487         (__libc_ifunc_impl_list): Likewise.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26492         file.
26493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26494         file.
26495         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26496         file.
26497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26498         multiarch memcpy for PPC32.
26499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26500         multiarch objects.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26502         (__libc_ifunc_impl_list): Likewise.
26504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26505         support multiarch for POWER/PPC32.
26506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26507         Likewise.
26508         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26510         Implies file to make multiarch folder appers before the fpu and
26511         default folder for power4 configuration.
26513 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26515         * scripts/bench.pl: Append volatile keyword to type.
26517 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26519         * sysdeps/sh/sotruss-lib.c: New file.
26520         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26522 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26526 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26528         [BZ #6810]
26529         * math/w_tgamma.c: Include <errno.h>.
26530         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26531         * math/w_tgammaf.c: Include <errno.h>.
26532         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26533         * math/w_tgammal.c: Include <errno.h>.
26534         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26535         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26536         underflow.  Add more tgamma tests.
26537         * math/auto-libm-test-out: Regenerated.
26538         * sysdeps/i386/fpu/libm-test-ulps: Update.
26539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26541         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26542         sin, sinh, tan, tanh, tgamma, y0 and y1.
26543         * math/auto-libm-test-out: Regenerated.
26544         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26545         (TEST_COND_x86): Likewise.
26546         (M_E2l): Remove macro.
26547         (M_E3l): Likewise.
26548         (M_2_SQRT_PIl): Likewise.
26549         (M_SQRT_PIl): Likewise.
26550         (M_1_DIV_El): Likewise.
26551         (log_test_data): Use AUTO_TESTS_f_f.
26552         (log10_test_data): Likewise.
26553         (log1p_test_data): Likewise.
26554         (log2_test_data): Likewise.
26555         (sin_test_data): Likewise.
26556         (sin_tonearest_test_data): Likewise.
26557         (sin_towardzero_test_data): Likewise.
26558         (sin_downward_test_data): Likewise.
26559         (sin_upward_test_data): Likewise.
26560         (sinh_test_data): Likewise.
26561         (sinh_tonearest_test_data): Likewise.
26562         (sinh_towardzero_test_data): Likewise.
26563         (sinh_downward_test_data): Likewise.
26564         (sinh_upward_test_data): Likewise.
26565         (tan_test_data): Likewise.
26566         (tan_tonearest_test_data): Likewise.
26567         (tan_towardzero_test_data): Likewise.
26568         (tan_downward_test_data): Likewise.
26569         (tan_upward_test_data): Likewise.
26570         (tanh_test_data): Likewise.
26571         (tgamma_test_data): Likewise.
26572         (y0_test_data): Likewise.
26573         (y1_test_data): Likewise.
26574         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26575         (special_real_inputs): Add pi/4.
26576         * sysdeps/i386/fpu/libm-test-ulps: Update.
26577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26581         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26582         "longjmp_target" static probes.
26583         (__longjmp): Rename to __longjmp_symbol.
26584         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26585         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26586         on which longjmp to generate.
26587         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26588         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26589         probe.
26590         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26591         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26592         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26593         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26594         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26595         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26597         __longjmp_symbol based on which __longjmp to generate.
26598         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26599         probe.
26600         (setjmp): Rename to setjmp_symbol.
26601         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26602         (_setjmp): Rename to _setjmp_symbol.
26603         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26604         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26605         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26606         which setjmp to generate.
26607         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26608         "longjmp_target" static probes.
26610 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26612         * benchtests/README: Add note about output arguments.
26613         * benchtests/bench-sincos.c: Remove file.
26614         * benchtests/sincos-inputs: New file.
26615         * scripts/bench.pl: Identify output arguments and define
26616         static variables for them.
26618         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26620         [BZ #15941]
26621         * Makefile (INSTALL): Add install-plain.texi as the primary
26622         dependency.
26623         * manual/install-plain.texi: New file.
26624         * manual/install.texi: Include node directive only for
26625         non-plaintext output.
26627 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26629         * stdlib/longlong.h: Update from GCC.
26631         [BZ #6807]
26632         [BZ #15901]
26633         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26634         * math/w_j0f.c (y0f): Likewise.
26635         * math/w_j0l.c (__y0l): Likewise.
26636         * math/w_j1.c (y1): Likewise.
26637         * math/w_j1f.c (y1f): Likewise.
26638         * math/w_j1l.c (__y1l): Likewise
26639         * math/w_jn.c (yn): Likewise.
26640         * math/w_jnf.c (ynf): Likewise.
26641         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26642         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26643         value for Bessel function domain errors outside _SVID_ mode.
26644         Adjust sign of return value for yn (negative integer, 0).
26645         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26646         by zero in return for negative x and set sign appropriately for
26647         negative n.
26648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26649         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26650         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26651         expectations in error cases.
26652         (y1_test_data): Likewise.
26653         (yn_test_data): Likewise.
26654         * sysdeps/i386/fpu/libm-test-ulps: Update.
26655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26659         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26660         "64" to "64-v1".  Add "64-v2".
26661         (abi-64-options): Rename to ...
26662         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26663         (abi-64-condition): Rename to ...
26664         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26665         (abi-64-ld-soname): Rename to ...
26666         (abi-64-v1-ld-soname): ... this.
26667         (abi-64-v2-options): Define.
26668         (abi-64-v2-condition): Likewise.
26669         (abi-64-v2-ld-soname): Likewise.
26670         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26671         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26676 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26677             Alan Modra  <amodra@gmail.com>
26679         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26680         New versions for use with the ELFv2 ABI.
26681         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26682         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26683         declaration.
26684         (struct La_ppc64v2_retval): Likewise.
26685         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26686         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26687         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26688         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26689         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26691         Do not save or restore CR.
26692         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26693         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26694         return values for ELFv2 ABI.  Fix location of FPR return registers.
26695         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26696         updated values for _CALL_ELF == 2.
26697         (La_regs, La_retval, int_retval): Likewise.
26699 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26701         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26702         (FRAME_MIN_SIZE_PARM): Likewise.
26703         (FRAME_BACKCHAIN): Likewise.
26704         (FRAME_CR_SAVE): Likewise.
26705         (FRAME_LR_SAVE): Likewise.
26706         (FRAME_TOC_SAVE): Likewise.
26707         (FRAME_PARM_SAVE): Likewise.
26708         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26709         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26710         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26711         (call_mcount_parm_offset): New macro.
26712         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26713         (PROF): Use symbolic stack frame offsets.
26714         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26715         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26716         Redefine in terms of FRAME_MIN_SIZE.
26717         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26718         (_dl_profile_resolve): Likewise.  Update comment.
26719         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26720         symbols stack frame offsets.
26721         (__sigsetjmp): Likewise.
26722         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26723         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26724         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26725         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26728         (FRAME_BACKCHAIN): Remove.
26729         (FRAME_CR_SAVE): Likewise.
26730         (FRAME_LR_SAVE): Likewise.
26731         (FRAME_COMPILER_DW): Likewise.
26732         (FRAME_LINKER_DW): Likewise.
26733         (FRAME_TOC_SAVE): Likewise.
26734         (FRAME_PARM_SAVE): Likewise.
26735         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26736         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26737         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26739         (CHECK_SP): Use symbolic stack frame offsets.
26740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26741         zone" instead of caller's parameter save area for temp storage.
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26743         Likewise.  Also, use symbolic stack frame offsets.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26745         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26746         our own stack frame instead of the caller's.
26747         (__socket): Use symbolic stack frame offsets.
26749 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26750             Alan Modra  <amodra@gmail.com>
26752         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26753         Define.
26754         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26755         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26756         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26757         New function.
26758         (elf_machine_fixup_plt): Call it.
26759         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26760         reloc arguments.
26761         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26762         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26763         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26764         r2 before calling target.
26766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26767             Alan Modra  <amodra@gmail.com>
26769         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26770         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26771         versions of macros to support ELFv2 ABI.
26772         (LOCALENTRY): New macro.
26773         (ENTRY, EALIGN): Use it.
26774         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26775         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26776         fall through into ENTRY entry point.
26777         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26778         Only define if _CALL_ELF != 2.
26780         (elf_machine_matches_host): Verify ABI version matches.
26781         (RTLD_START): Use LOCALENTRY.
26782         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26783         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26784         (PLT_ENTRY_WORDS): New macro.
26785         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26786         (elf_machine_runtime_setup): Support ELFv2 ABI.
26787         (elf_machine_fixup_plt): Likewise.
26788         (elf_machine_plt_conflict): Likewise.
26789         (resolve_ifunc): Likewise.
26790         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26791         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26792         Likewise.
26793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26794         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26796         (makecontext): Support ELFv2 ABI.
26797         * elf/elf.h (EF_PPC64_ABI): Define.
26799 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26801         * sysdeps/powerpc/powerpc64/sysdep.h
26802         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26803         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26804         (ENTRY) [ASSEMBLER]: ... but instead here ...
26805         (EALIGN) [ASSEMBLER]: ... and here.
26806         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26807         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26808         (ENTRY_2) [!ASSEMBLER]: Use it.
26809         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26810         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26811         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26812         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26813         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26815         Use PPC64_LOAD_FUNCPTR.
26817         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26819 2013-12-04  Alan Modra  <amodra@gmail.com>
26821         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26822         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26823         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26824         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26827         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26828         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26829         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26830         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26831         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26833 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26836         (__makecontext): Fix incorrect CFI when backtracing out of
26837         context created via makecontext.
26838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26839         (__setcontext): Fix incorrect CFI during switch to new context.
26840         (__novec_setcontext): Likewise.
26842 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26844         [BZ #4772]
26845         * time/strptime_l.c (__strptime_internal): Allow modifiers
26846         in strptime.
26847         * time/tst-strptime.c (day_tests): Add testcase.
26849 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26851         * scripts/bench.pl: Skip over blank lines.
26853 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26855         [BZ #926]
26856         * manual/time.texi (Calendar Time): Clarify what timezone functions
26857         use.
26859 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26863 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26865         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26866         implementation.
26867         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26868         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26869         * debug/memset_chk.c (__memset_chk): Likewise.
26870         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26871         * debug/strncpy_chk.c: Likewise.
26873 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26875         [BZ #15268]
26876         [BZ #15425]
26877         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26878         (__ieee754_exp): For possibly underflowing results, check size of
26879         result and force underflow exception if required.
26880         * math/auto-libm-test-in: Add more tests of exp.
26881         * math/auto-libm-test-out: Regenerated.
26882         * sysdeps/i386/fpu/libm-test-ulps: Update.
26883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26885         [BZ #16283]
26886         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26887         * math/w_exp2f.c (__exp2f): Likewise.
26888         * math/w_exp2l.c (__exp2l): Likewise.
26889         * math/auto-libm-test-in: Do not allow missing errno on exp2
26890         underflow.
26891         * math/auto-libm-test-out: Regenerated.
26893 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26895         [BZ #16274]
26896         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26897         handle filename validation.
26898         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26899         (do_open): Delete.
26901 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26903         [BZ #6786]
26904         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26905         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26906         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26907         <float.h>.
26908         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26909         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26910         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26912         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26913         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26914         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26915         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26916         Add more erfc tests.
26917         * math/auto-libm-test-out: Regenerated.
26918         * sysdeps/i386/fpu/libm-test-ulps: Update.
26919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26921         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26922         exp2, expm1, j0 and j1.
26923         * math/auto-libm-test-out: Regenerated.
26924         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26925         (erfc_test_data): Likewise.
26926         (exp_test_data): Likewise.
26927         (exp_tonearest_test_data): Likewise.
26928         (exp_towardzero_test_data): Likewise.
26929         (exp_downward_test_data): Likewise.
26930         (exp_upward_test_data): Likewise.
26931         (exp10_test_data): Likewise.
26932         (exp2_test_data): Likewise.
26933         (expm1_test_data): Likewise.
26934         (j0_test_data): Likewise.
26935         (j1_test_data): Likewise.
26936         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26937         (input_flag_type): Add flag_xfail_rounding.
26938         (input_flags): Add xfail-rounding.
26939         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26940         (output_for_one_input_case): Handle flag_xfail_rounding.
26941         * sysdeps/i386/fpu/libm-test-ulps: Update.
26942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26944 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26946         [BZ #16289]
26947         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26948         division by 0.
26950 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952         [BZ #16195]
26953         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26954         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26955         (STAP_PROBE0): New macro.
26956         (STAP_PROBE1): Likewise.
26957         (STAP_PROBE2): Likewise.
26958         (STAP_PROBE3): Likewise.
26959         (STAP_PROBE4): Likewise.
26961 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26963         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26965 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26967         * benchtests/Makefile (bench): Add sqrt.
26968         (LDLIBS-bench-sqrt): New.
26969         * benchtests/sqrt-input: New.
26971 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26973         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26974         (GAIH_EAI): Likewise.
26975         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26976         (gaih_inet): Likewise.
26977         (getaddrinfo): Don't use GAIH_EAI.
26979         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26980         (struct gaih): Remove definition.
26982 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26984         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26985         Use HERRNOP directly.
26987 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26991 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26993         * math/gen-auto-libm-tests.c (test_functions): Add more
26994         single-argument functions.
26995         (special_fill_pi_2): New function.
26996         (special_fill_minus_pi_2): Likewise.
26997         (special_fill_pi_6): Likewise.
26998         (special_fill_minus_pi_6): Likewise.
26999         (special_fill_pi_3): Likewise.
27000         (special_fill_2pi_3): Likewise.
27001         (special_fill_e): Likewise.
27002         (special_fill_1_e): Likewise.
27003         (special_fill_e_minus_1): Likewise.
27004         (special_real_inputs): Add more special inputs.
27005         (output_for_one_input_case): Do not require ERANGE on underflow to
27006         zero if round-to-nearest result does not underflow to zero, unless
27007         exact results required.
27008         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27009         atan, atanh, cbrt, cos and cosh.
27010         * math/auto-libm-test-out: Regenerated.
27011         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27012         (acos_tonearest_test_data): Likewise.
27013         (acos_towardzero_test_data): Likewise.
27014         (acos_downward_test_data): Likewise.
27015         (acos_upward_test_data): Likewise.
27016         (acosh_test_data): Likewise.
27017         (asin_test_data): Likewise.
27018         (asin_tonearest_test_data): Likewise.
27019         (asin_towardzero_test_data): Likewise.
27020         (asin_upward_test_data): Likewise.
27021         (asinh_test_data): Likewise.
27022         (atan_test_data): Likewise.
27023         (atanh_test_data): Likewise.
27024         (cbrt_test_data): Likewise.
27025         (cos_test_data): Likewise.
27026         (cos_tonearest_test_data): Likewise.
27027         (cos_towardzero_test_data): Likewise.
27028         (cos_downward_test_data): Likewise.
27029         (cos_upward_test_data): Likewise.
27030         (cosh_test_data): Likewise.
27031         (cosh_tonearest_test_data): Likewise.
27032         (cosh_towardzero_test_data): Likewise.
27033         (cosh_downward_test_data): Likewise.
27034         (cosh_upward_test_data): Likewise.
27035         * sysdeps/i386/fpu/libm-test-ulps: Update.
27036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27038 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27040         [BZ #6787]
27041         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27042         * math/w_exp10f.c (__exp10f): Likewise.
27043         * math/w_exp10l.c (__exp10l): Likewise.
27044         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27045         errno settings in existing tests.
27047         [BZ #14032]
27048         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27049         precision control set to double precision.
27050         * sysdeps/i386/fpu/w_sqrt.c: New file.
27051         * math/auto-libm-test-in: Add more tests.
27052         * math/auto-libm-test-out: Update.
27054         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27055         (sqrt_test_tonearest): New function.
27056         (sqrt_towardzero_test_data): New variable.
27057         (sqrt_test_towardzero): New function.
27058         (sqrt_downward_test_data): New variable.
27059         (sqrt_test_downward): New function.
27060         (sqrt_upward_test_data): New variable.
27061         (sqrt_test_upward): New function.
27062         (main): Call the new functions.
27064         * math/gen-auto-libm-tests.c: New file.
27065         * math/auto-libm-test-in: Likewise.
27066         * math/auto-libm-test-out: New generated file.
27067         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27068         variables.
27069         (%beautify): Add generated representations of zero.
27070         (top level): Set $auto_input and call parse_auto_input.
27071         (beautify): Remove trailing "f" from hex float constants.
27072         (parse_args): Handle XFAIL_TEST.
27073         (convert_condition): New function.
27074         (or_value): Likewise.
27075         (or_cond_value): Likewise.
27076         (generate_testfile): Handle AUTO_TESTS_* lines.
27077         (parse_auto_input): New function.
27078         * math/libm-test.inc (XFAIL_TEST): New macro.
27079         (ERRNO_UNCHANGED): Update value.
27080         (ERRNO_EDOM): Likewise.
27081         (ERRNO_ERANGE): Likewise.
27082         (IGNORE_RESULT): Likewise.
27083         (TEST_COND_flt_32): New macro.
27084         (TEST_COND_dbl_64): Likewise.
27085         (TEST_COND_ldbl_96_intel): Likewise.
27086         (TEST_COND_ldbl_96_m68k): Likewise.
27087         (TEST_COND_ldbl_128): Likewise.
27088         (TEST_COND_ldbl_128ibm): Likewise.
27089         (TEST_COND_long32): Likewise.
27090         (TEST_COND_long64): Likewise.
27091         (TEST_COND_before_rounding): Likewise.
27092         (TEST_COND_after_rounding): Likewise.
27093         (enable_test): Handle XFAIL_TEST flag.
27094         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27095         with finite results.
27096         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27097         auto-libm-test-out.
27099 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27100             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27102         [BZ #16214]
27103         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27104         __tls_get_addr_internal instead of __tls_get_offset in order to
27105         avoid GOT pointer dependency.  Make rtld export
27106         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27107         __tls_get_addr since we are a __tls_get_offset platform.
27108         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27109         GOT pointer being set up before.
27110         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27112 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27114         * manual/math.texi (Errors in Math Functions): Document accuracy
27115         goals.
27117         [BZ #15004]
27118         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27119         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27120         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27121         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27122         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27123         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27124         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27125         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27126         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27127         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27129         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27130         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27131         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27135         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27136         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27137         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27138         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27139         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27140         Likewise.
27141         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27142         Likewise.
27143         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27144         Likewise.
27145         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27146         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27147         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27148         atomic-feupdateenv and flt-rounds.
27149         * sysdeps/powerpc/nofpu/Versions (libc): Add
27150         __atomic_feholdexcept, __atomic_feclearexcept,
27151         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27152         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27153         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27154         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27155         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27156         here.
27157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27158         Update.
27160         * manual/arith.texi (FP Exceptions): Document that exceptions may
27161         not be raised when matherr is used.
27162         (Math Error Reporting): Document overflow in directed rounding
27163         modes.  Document that errno may not be set when finite values are
27164         returned on overflow.  Document intent to set errno on underflow
27165         only for underflow to zero.
27167         [BZ #16271]
27168         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27169         round-to-nearest then adjust result for other rounding modes.
27170         * include/fenv.h (fegetround): Use libm_hidden_proto.
27171         * math/fegetround.c (fegetround): Use libm_hidden_def.
27172         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27173         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27174         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27175         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27176         Likewise.
27177         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27178         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27179         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27180         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27182 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27184         [BZ #16077]
27185         * nss/Versions (libnss_files): Add
27186         _nss_files_gethostbyname3_r.
27187         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27188         New function.
27189         (HOST_DB_LOOKUP): Remove macro.
27190         (_nss_files_gethostbyname_r): Implement function without the
27191         HOST_DB_LOOKUP macro.
27192         (_nss_files_gethostbyname2_r): Likewise.
27194 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27196         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27198 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27200         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27201         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27202         warning.
27204 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27206         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27207         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27208         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27209         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27210         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27211         __fe_nomask_env_priv and attribute_hidden.
27212         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27213         (libc_feupdateenv_test_ppc): Likewise.
27214         (libc_feresetround_ppc): Likewise.
27215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27216         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27217         compat_symbol macro.
27218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27219         (__fe_nomask_env): Likewise.
27220         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27222 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27224         * string/Makefile: Remove ifunc tests.
27225         * string/test-string.h: Define TEST_IFUNC.
27226         * string/test-bcopy-ifunc.c: Remove.
27227         * string/test-bzero-ifunc.c: Likewise.
27228         * string/test-memccpy-ifunc.c: Likewise.
27229         * string/test-memchr-ifunc.c: Likewise.
27230         * string/test-memcmp-ifunc.c: Likewise.
27231         * string/test-memcpy-ifunc.c: Likewise.
27232         * string/test-memmem-ifunc.c: Likewise.
27233         * string/test-memmove-ifunc.c: Likewise.
27234         * string/test-mempcpy-ifunc.c: Likewise.
27235         * string/test-memrchr-ifunc.c: Likewise.
27236         * string/test-memset-ifunc.c: Likewise.
27237         * string/test-rawmemchr-ifunc.c: Likewise.
27238         * string/test-stpcpy-ifunc.c: Likewise.
27239         * string/test-stpncpy-ifunc.c: Likewise.
27240         * string/test-strcasecmp-ifunc.c: Likewise.
27241         * string/test-strcasestr-ifunc.c: Likewise.
27242         * string/test-strcat-ifunc.c: Likewise.
27243         * string/test-strchr-ifunc.c: Likewise.
27244         * string/test-strchrnul-ifunc.c: Likewise.
27245         * string/test-strcmp-ifunc.c: Likewise.
27246         * string/test-strcpy-ifunc.c: Likewise.
27247         * string/test-strcspn-ifunc.c: Likewise.
27248         * string/test-strlen-ifunc.c: Likewise.
27249         * string/test-strncasecmp-ifunc.c: Likewise.
27250         * string/test-strncat-ifunc.c: Likewise.
27251         * string/test-strncmp-ifunc.c: Likewise.
27252         * string/test-strncpy-ifunc.c: Likewise.
27253         * string/test-strnlen-ifunc.c: Likewise.
27254         * string/test-strpbrk-ifunc.c: Likewise.
27255         * string/test-strrchr-ifunc.c: Likewise.
27256         * string/test-strspn-ifunc.c: Likewise.
27257         * string/test-strstr-ifunc.c: Likewise.
27259 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27261         * benchtests/Makefile: Remove ifunc tests.
27262         * benchtests/bench-string.h: Define TEST_IFUNC.
27263         * benchtests/bench-bcopy-ifunc.c: Remove.
27264         * benchtests/bench-bzero-ifunc.c: Likewise.
27265         * benchtests/bench-memccpy-ifunc.c: Likewise.
27266         * benchtests/bench-memchr-ifunc.c: Likewise.
27267         * benchtests/bench-memcmp-ifunc.c: Likewise.
27268         * benchtests/bench-memcpy-ifunc.c: Likewise.
27269         * benchtests/bench-memmem-ifunc.c: Likewise.
27270         * benchtests/bench-memmove-ifunc.c: Likewise.
27271         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27272         * benchtests/bench-memrchr-ifunc.c: Likewise.
27273         * benchtests/bench-memset-ifunc.c: Likewise.
27274         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27275         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27276         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27277         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27278         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27279         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27280         * benchtests/bench-strcat-ifunc.c: Likewise.
27281         * benchtests/bench-strchr-ifunc.c: Likewise.
27282         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27283         * benchtests/bench-strcmp-ifunc.c: Likewise.
27284         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27285         * benchtests/bench-strcpy-ifunc.c: Likewise.
27286         * benchtests/bench-strcspn-ifunc.c: Likewise.
27287         * benchtests/bench-strlen-ifunc.c: Likewise.
27288         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27289         * benchtests/bench-strncat-ifunc.c: Likewise.
27290         * benchtests/bench-strncmp-ifunc.c: Likewise.
27291         * benchtests/bench-strncpy-ifunc.c: Likewise.
27292         * benchtests/bench-strnlen-ifunc.c: Likewise.
27293         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27294         * benchtests/bench-strrchr-ifunc.c: Likewise.
27295         * benchtests/bench-strsep-ifunc.c: Likewise.
27296         * benchtests/bench-strspn-ifunc.c: Likewise.
27297         * benchtests/bench-strstr-ifunc.c: Likewise.
27299 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27301         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27303 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27305         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27306         * rt/aio.h: Likewise.
27307         * sysdeps/gnu/bits/utmp.h: Likewise.
27308         * sysdeps/gnu/bits/utmpx.h: Likewise.
27309         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27310         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27311         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27312         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27313         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27314         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27315         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27316         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27317         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27318         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27319         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27320         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27321         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27323         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27324         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27325         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27326         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27327         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27328         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27329         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27330         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27331         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27332         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27333         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27335         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27336         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27337         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27338         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27339         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27340         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27341         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27342         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27343         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27344         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27345         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27346         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27347         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27348         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27349         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27350         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27352 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27354         [BZ #16245]
27355         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27356         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27358 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27360         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27361         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27362         Likewise.
27364 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27366         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27367         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27368         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27369         (__fesetround): Remove define.
27370         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27371         rounding and exceptions handling.
27372         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27373         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27374         (__fe_nomask_env): Likewise.
27375         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27376         __fegetround instead of fegetround.
27377         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27378         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27380 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27382         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27383         it's there.
27385         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27387 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27389         [BZ #11157]
27390         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27391         (encrypt_r): Likewise.
27392         * malloc/obstack.h (obstack_free): Likewise.
27393         * posix/unistd.h (encrypt): Likewise.
27395 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27397         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27398         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27399         DL_CALL_DT_FINI() that call the functions directly.
27400         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27401         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27402         * elf/dl-fini.c: Likewise.
27404 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27406         * malloc/hooks.c (memalign_check): Add alignment rounding.
27407         * malloc/malloc.c (_mid_memalign): New function.
27408         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27409         Implement by calling _mid_memalign.
27410         * manual/probes.texi (Memory Allocation Probes): Remove
27411         memory_valloc_retry and memory_pvalloc_retry.
27413 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27415         * locale/programs/locarchive.c (open_archive): Add const
27416         qualifier to ARCHIVEFNAME and copy default fname to
27417         DEFAULT_FNAME.
27419         [BZ #15601]
27420         * libio/tst-widetext.input: Rename Oriya to Odia.
27421         * locale/iso-639.def: Likewise.
27423         * manual/probes.texi (Mathematical Function Probes): Add
27424         documentation for sin, cos, asin and acos probes.
27425         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27426         (__sin32): Add slowasin probe.
27427         (__cos32): Add slowacos probe.
27428         (__mpsin): Add slowsin probe.
27429         (__mpcos): Add slowcos probe.
27431 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27433         [BZ #15483]
27434         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27435         thread-local __sim_exceptions_thread and global
27436         __sim_exceptions_global.
27437         (__sim_disabled_exceptions): Change to thread-local
27438         __sim_disabled_exceptions_thread and global
27439         __sim_disabled_exceptions_global.
27440         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27441         and global __sim_round_mode_global.
27442         (__simulate_exceptions): Use thread-local floating-point state and
27443         set global state from it as needed.
27444         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27445         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27446         __sim_round_mode_thread.
27447         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27448         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27449         and global __sim_exceptions_global.
27450         (__sim_disabled_exceptions): Change to thread-local
27451         __sim_disabled_exceptions_thread and global
27452         __sim_disabled_exceptions_global.
27453         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27454         and global __sim_round_mode_global.
27455         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27456         (SIM_SET_GLOBAL): Likewise.
27457         * sysdeps/powerpc/soft-fp/sfp-machine.h
27458         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27459         __sim_round_mode_thread.
27460         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27461         __sim_disabled_exceptions_thread.
27462         (__sim_exceptions): Change to __sim_exceptions_thread.
27463         (__sim_disabled_exceptions): Change to
27464         __sim_disabled_exceptions_thread.
27465         (__sim_round_mode): Change to __sim_round_mode_thread.
27466         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27467         thread-local floating-point state and set global state from it as
27468         needed.
27469         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27470         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27471         (__sim_disabled_exceptions): Remove extern declaration.
27472         (feenableexcept): Use thread-local floating-point state and set
27473         global state from it as needed.
27474         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27475         extern declaration.
27476         (__sim_disabled_exceptions): Likewise.
27477         (__sim_round_mode): Likewise.
27478         (__fegetenv): Use thread-local floating-point state.
27479         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27480         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27481         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27482         floating-point state and set global state from it as needed.
27483         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27484         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27485         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27486         Likewise.
27487         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27488         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27489         Likewise.
27490         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27491         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27492         Use __sim_round_mode_thread.
27493         * math/test-fenv-tls.c: New file.
27494         * math/Makefile (tests): Add test-fenv-tls.
27495         ($(objpfx)test-fenv-tls): Depend on
27496         $(common-objpfx)nptl/libpthread.so.
27498 2013-11-19  Andreas Schwab  <schwab@suse.de>
27500         * locale/programs/locale.c (show_info): Decode wordarray elements.
27501         * locale/categories.def (LC_MONETARY): Add element for
27502         _NL_MONETARY_CRNCYSTR.
27503         * locale/C-monetary.c (conversion_rate): New variable.
27504         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27505         element.
27507 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27509         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27510         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27512 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27514         * elf/Makefile (tst-auxv): New test.
27515         * elf/tst-auxv.c: New
27516         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27518 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27520         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27521         (hidden_proto): Caller changed.
27522         (hidden_tls_proto): New macro.
27523         (libc_hidden_tls_proto): Likewise.
27524         (rtld_hidden_tls_proto): Likewise.
27525         (libm_hidden_tls_proto): Likewise.
27526         (libresolv_hidden_tls_proto): Likewise.
27527         (librt_hidden_tls_proto): Likewise.
27528         (libdl_hidden_tls_proto): Likewise.
27529         (libnss_files_hidden_tls_proto): Likewise.
27530         (libnsl_hidden_tls_proto): Likewise.
27531         (libnss_nisplus_hidden_tls_proto): Likewise.
27532         (libutil_hidden_tls_proto): Likewise.
27534 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27536         [BZ #10253]
27537         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27538         (decompose_rpath): Defer expansion to fillin_rpath.
27539         (_dl_init_paths): Pass linkmap to fillin_rpath.
27541 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27543         * benchtests/Makefile: Add strsep.
27544         * benchtests/bench-strsep.c: New file: strsep benchtest.
27545         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27547 2013-11-18  Andreas Schwab  <schwab@suse.de>
27549         * locale/programs/locale.c (show_info) [case byte]: Check for
27550         '\377' instead of '\177'.
27551         * locale/C-monetary.c (not_available): Always use "\377".
27552         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27553         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27554         detect unavailable sign_posn locale elements.
27555         * locale/localeconv.c (__localeconv): For grouping and
27556         mon_grouping handle "\177" and "\377" like no grouping.
27557         (INT_ELEM): New macro.  Use it to set all numeric members.
27558         * locale/programs/ld-monetary.c (monetary_read)
27559         <tok_mon_grouping>: Normalize single -1 to the empty string.
27560         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27561         Likewise.
27563 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27565         [BZ #16055]
27566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27567         when we match (nil).
27568         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27570 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27572         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27573         (NO_TEST_INLINE): Update value.
27574         (ERRNO_UNCHANGED): Likewise.
27575         (ERRNO_EDOM): Likewise.
27576         (ERRNO_ERANGE): Likewise.
27577         (IGNORE_RESULT): Likewise.
27578         (check_float_internal): Check signs of NaN results if
27579         TEST_NAN_SIGN used.
27580         (check_complex): Pass TEST_NAN_SIGN flag through to second
27581         check_float_internal call.
27582         (copysign_test_data): Add tests with quiet NaNs as second
27583         argument.  Use TEST_NAN_SIGN.
27584         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27585         TEST_NAN_SIGN.
27586         (signbit_test_data): Add tests of quiet NaN argument.
27587         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27589         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27590         $ignore_result.
27591         (parse_args): Handle function results specified as IGNORE.
27592         * math/libm-test.inc (IGNORE_RESULT): New macro.
27593         (check_float_internal): Do not check numerical result if flag
27594         IGNORE_RESULT set.
27595         (check_complex): Pass through IGNORE_RESULT to second
27596         check_float_internal call.
27597         (check_int): Do not check numerical result if flag IGNORE_RESULT
27598         set.
27599         (check_long): Likewise.
27600         (check_bool): Likewise.
27601         (check_longlong): Likewise.
27602         (lrint_test_data): Add tests of infinite and NaN arguments.
27603         (lrint_tonearest_test_data): Likewise.
27604         (lrint_towardzero_test_data): Likewise.
27605         (lrint_downward_test_data): Likewise.
27606         (lrint_upward_test_data): Likewise.
27607         (llrint_test_data): Likewise.
27608         (llrint_tonearest_test_data): Likewise.
27609         (llrint_towardzero_test_data): Likewise.
27610         (llrint_downward_test_data): Likewise.
27611         (llrint_upward_test_data): Likewise.
27612         (lround_test_data): Likewise.
27613         (llround_test_data): Likewise.
27615         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27616         (ERRNO_UNCHANGED): Update value.
27617         (ERRNO_EDOM): Likewise.
27618         (ERRNO_ERANGE): Likewise.
27619         (NO_TEST_INLINE_FLOAT): New macro.
27620         (NO_TEST_INLINE_DOUBLE): Likewise.
27621         (enable_test): New function.
27622         (RUN_TEST_f_f): Check enable_test before running test.
27623         (RUN_TEST_2_f): Likewise.
27624         (RUN_TEST_fff_f): Likewise.
27625         (RUN_TEST_c_f): Likewise.
27626         (RUN_TEST_f_f1): Likewise.
27627         (RUN_TEST_fF_f1): Likewise.
27628         (RUN_TEST_fI_f1): Likewise.
27629         (RUN_TEST_ffI_f1): Likewise.
27630         (RUN_TEST_c_c): Likewise.
27631         (RUN_TEST_cc_c): Likewise.
27632         (RUN_TEST_f_i): Likewise.
27633         (RUN_TEST_f_i_tg): Likewise.
27634         (RUN_TEST_ff_i_tg): Likewise.
27635         (RUN_TEST_f_b): Likewise.
27636         (RUN_TEST_f_b_tg): Likewise.
27637         (RUN_TEST_f_l): Likewise.
27638         (RUN_TEST_f_L): Likewise.
27639         (RUN_TEST_fFF_11): Likewise.
27640         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27641         conditionals.
27642         (cosh_test_data): Likewise.
27643         (exp_test_data): Likewise.
27644         (expm1_test_data): Likewise.
27645         (hypot_test_data): Likewise.
27646         (pow_test_data): Likewise.
27647         (sinh_test_data): Likewise.
27648         (tanh_test_data): Likewise.
27649         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27650         flags argument.
27652         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27653         tests with quiet NaN input and output.
27654         (acosh_test_data): Likewise.
27655         (asin_test_data): Likewise.
27656         (asinh_test_data): Likewise.
27657         (atan_test_data): Likewise.
27658         (atanh_test_data): Likewise.
27659         (atan2_test_data): Likewise.
27660         (cbrt_test_data): Likewise.
27661         (cos_test_data): Likewise.
27662         (cosh_test_data): Likewise.
27663         (erf_test_data): Likewise.
27664         (erfc_test_data): Likewise.
27665         (exp_test_data): Likewise.
27666         (exp10_test_data): Likewise.
27667         (exp2_test_data): Likewise.
27668         (expm1_test_data): Likewise.
27669         (hypot_test_data): Likewise.
27670         (j0_test_data): Likewise.
27671         (j1_test_data): Likewise.
27672         (jn_test_data): Likewise.
27673         (lgamma_test_data): Likewise.
27674         (log_test_data): Likewise.
27675         (log10_test_data): Likewise.
27676         (log1p_test_data): Likewise.
27677         (log2_test_data): Likewise.
27678         (pow_test_data): Likewise.
27679         (scalb_test_data): Likewise.
27680         (sin_test_data): Likewise.
27681         (sincos_test_data): Likewise.
27682         (sinh_test_data): Likewise.
27683         (tan_test_data): Likewise.
27684         (tanh_test_data): Likewise.
27685         (tgamma_test_data): Likewise.
27686         (y0_test_data): Likewise.
27687         (y1_test_data): Likewise.
27688         (yn_test_data): Likewise.
27690         [BZ #16167]
27691         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27692         argument being NaN and avoid computations with second argument in
27693         that case.
27694         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27695         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27696         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27698 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27700         * locale/iso-639.def: Add Chitwani Tharu (the).
27702 2013-11-14  Andreas Schwab  <schwab@suse.de>
27704         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27705         word instead of empty string.
27707 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27710         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27712         (__fe_nomask_env): Likewise.
27714 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27716         * benchtests/bench-timing.h: Include time.h.
27718 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27720         [BZ #15997]
27721         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27722         to 3.4.0 for x32.
27723         * sysdeps/unix/sysv/linux/configure: Regenerated.
27725 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27727         [BZ #16151]
27728         * stdlib/strtod_l.c (round_and_return): Do not consider
27729         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27730         exponent one less than half the least subnormal exponent.
27731         * stdlib/test-strtod-round-data: Add more tests.
27732         * stdlib/tst-strtod-round.c (tests): Regenerated.
27734 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27736         [BZ #14143]
27737         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27738         (__fe_mask_env): Likewise.
27739         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27740         libm_hidden_proto and add function prototype.
27741         (__fe_mask_env): Add function prototype.
27742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27743         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27745         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27747         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27749 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27751         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27752         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27754 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27756         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27757         of htab_find_slot().
27759 2013-11-11  David S. Miller  <davem@davemloft.net>
27761         [BZ #16150]
27762         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27763         symbol in the non-vis3 case in static builds.
27764         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27765         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27766         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27767         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27769 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27771         [BZ #387]
27772         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27773         it is empty.
27775 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27777         * benchtests/Makefile: Add bench-strtod.
27778         * benchtests/bench-strtod.c: New file: strtod benchtest
27780 2013-11-11  Andreas Schwab  <schwab@suse.de>
27782         [BZ #16153]
27783         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27784         terminating NUL in key length.
27786 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27788         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27789         Add artificial ODP entry for vDSO symbol for PPC64.
27790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27791         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27793 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27795         [BZ #15374]
27796         * nss/getent.c (services_keys): Recognize services starting with digit.
27798 2013-11-06  David S. Miller  <davem@davemloft.net>
27800         [BZ #15985]
27801         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27802         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27804 2013-11-06  Will Newton  <will.newton@linaro.org>
27806         * manual/memory.texi (Malloc Examples): Remove register
27807         keyword from examples.
27809 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27811         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27813 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27815         [BZ #6981]
27816         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27817         depending on [__GCC_IEC_559 > 0].
27818         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27819         depending on [__GCC_IEC_559_COMPLEX > 0].
27821 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27823         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27824         to iso-639.def.
27826 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27828         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27830 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27832         [BZ #16112]
27833         * malloc/malloc (malloc_info): Do not handle first bin as
27834         special case.
27836 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27838         * locale/iso-639.def: Add Central Nahuatl (nhn).
27840 2013-11-01  Bruno Haible  <bruno@clisp.org>
27842         [BZ #7003]
27843         * manual/math.texi (BSD Random): Specify range upper bound as
27844         in POSIX.
27846 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27848         * locale/iso-639.def: Add Meadow Mari (mhr).
27850 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27852         [BZ #14752], [BZ #15763]
27853         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27854         Validate name.
27855         * rt/tst_shm.c: Add test for escaping directory.
27857 2013-10-31  Andreas Schwab  <schwab@suse.de>
27859         [BZ #15917]
27860         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27861         followed by 'x' as part of digit sequence.
27862         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27864 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27866         [BZ #16037]
27867         * configure.ac: allow GNU Make 4.0 and greater.
27868         * configure: Regenerated.
27870 2013-10-30  Will Newton  <will.newton@linaro.org>
27872         [BZ #16038]
27873         * malloc/hooks.c (memalign_check): Limit alignment to the
27874         maximum representable power of two.
27875         * malloc/malloc.c (__libc_memalign): Likewise.
27876         * malloc/tst-memalign.c (do_test): Add test for very
27877         large alignment values.
27878         * malloc/tst-posix_memalign.c (do_test): Likewise.
27880 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27882         [BZ #11087]
27883         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27884         (munmap_chunk): Likewise.
27885         (mremap_chunk): Likewise.
27887 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27889         [BZ #15799]
27890         * stdlib/div.c (div): Remove obsolete code.
27891         * stdlib/ldiv.c (ldiv): Likewise.
27892         * stdlib/lldiv.c (lldiv): Likewise.
27894 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27896         [BZ #16071]
27897         * nss/nss_files/files-XXX.c (get_contents_ret): New
27898         enumerator.
27899         (get_contents): New function.
27900         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27902 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27904         * configure.in: Moved to ...
27905         * configure.ac: ... here. Change reference to configure.in
27906         to configure.ac.
27907         * sysdeps/arm/preconfigure.ac: ... here.
27908         configure.in to configure.ac.
27909         * sysdeps/gnu/configure.in: Moved to ...
27910         * sysdeps/gnu/configure.ac: ... here.
27911         * sysdeps/i386/configure.in: Moved to ...
27912         * sysdeps/i386/configure.ac: ... here.
27913         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27914         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27915         * sysdeps/mach/configure.in: Moved to ...
27916         * sysdeps/mach/configure.ac: ... here.
27917         * sysdeps/mach/hurd/configure.in: Moved to ...
27918         * sysdeps/mach/hurd/configure.ac: ... here.
27919         * sysdeps/powerpc/configure.in: Moved to ...
27920         * sysdeps/powerpc/configure.ac: ... here.
27921         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27922         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27923         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27924         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27925         * sysdeps/s390/s390-32/configure.in: Moved to ...
27926         * sysdeps/s390/s390-32/configure.ac: ... here.
27927         * sysdeps/s390/s390-64/configure.in: Moved to ...
27928         * sysdeps/s390/s390-64/configure.ac: ... here.
27929         * sysdeps/sh/configure.in: Moved to ...
27930         * sysdeps/sh/configure.ac: ... here.
27931         * sysdeps/sparc/configure.in: Moved to ...
27932         * sysdeps/sparc/configure.ac: ... here.
27933         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27934         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27935         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27936         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27937         * sysdeps/x86_64/configure.in: Moved to ...
27938         * sysdeps/x86_64/configure.ac: ... here.
27939         * sysdeps/x86_64/preconfigure.in: Moved to ...
27940         * sysdeps/x86_64/preconfigure.ac: ... here.
27941         * aclocal.m4: Change reference to configure.in to configure.ac.
27942         * config.h.in: Likewise.
27943         * manual/install.texi: Likewise.
27944         * manual/maint.texi: Likewise.
27945         * Makefile: Likewise.
27946         * malloc/Makefile: Likewise.
27947         * nscd/Makefile: Likewise.
27948         * Makeconfig: Change reference to configure.in and
27949         preconfigure.in to configure.ac and preconfigure.ac
27950         respectively.
27951         * INSTALL: Regenerated.
27952         * configure: Likewise.
27953         * sysdeps/gnu/configure: Likewise.
27954         * sysdeps/i386/configure: Likewise.
27955         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27956         * sysdeps/mach/configure: Likewise.
27957         * sysdeps/mach/hurd/configure: Likewise.
27958         * sysdeps/powerpc/configure: Likewise.
27959         * sysdeps/powerpc/powerpc32/configure: Likewise.
27960         * sysdeps/powerpc/powerpc64/configure: Likewise.
27961         * sysdeps/s390/s390-32/configure: Likewise.
27962         * sysdeps/s390/s390-64/configure: Likewise.
27963         * sysdeps/sh/configure: Likewise.
27964         * sysdeps/sparc/configure: Likewise.
27965         * sysdeps/unix/sysv/linux/configure: Likewise.
27966         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27967         * sysdeps/x86_64/configure: Likewise.
27968         * sysdeps/x86_64/preconfigure: Likewise.
27970 2013-10-29  Andreas Schwab  <schwab@suse.de>
27972         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27974 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27976         * benchtests/pow-inputs: Add new inputs.
27978         * benchtests/exp-inputs: Add new inputs.
27980         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27981         conditional check for return value.
27982         (__cos32): Likewise.
27984 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27986         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27987         to provide a boost for large inputs with word alignment.
27988         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27989         implementation based on optimized PPC64 strcpy.
27990         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27991         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27992         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27993         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27995 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27997         [BZ #2801]
27998         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28000 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28002         [BZ #14876]
28003         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28004         * time/tst-strptime.c (day_tests): Add testcase.
28006 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28008         [BZ #14029]
28009         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28011 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28013         [BZ #16074]
28014         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28015         MAP_FAILED on error.
28017 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28019         [BZ #16072]
28020         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28021         heap for large requests.
28023 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28025         [BZ #9954]
28026         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28027         result if the result has no associated interface.
28028         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28029         interface for all 127.X.Y.Z addresses.
28031 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28033         * locale/iso-639.def: Add Ligurian (lij)
28035 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28037         [BZ #15825]
28038         * sunrpc/rpc_main.c: Document rpcgen -5.
28040 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28042         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28044 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28046         [BZ #10278]
28047         * posix/glob.c: Match only directories when trailing slash is present.
28048         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28049         (main): Add testcase.
28051 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28053         [BZ #15670]
28054         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28056 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28058         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28059         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28060         AUTH_DES and cindex for FIPS 140-2.
28061         (DES Encryption): Add cindex FIPS 46-3.
28063         * locale/locarchive.h (struct locarhandle): Add fname.
28064         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28065         if an optional argument was specified to --list-archive,
28066         otherwise NULL.
28067         * locale/programs/locarchive.c (show_archive_content): Take new
28068         argument fname and pass it via ah.fname to open_archive.
28069         * locale/programs/localedef.h: Update decl.
28070         (open_archive): If AH->fname is non-null, open that file
28071         rather than the default file name, and don't ignore ENOENT.
28072         (create_archive): Set AH.fname to NULL.
28073         (delete_locales_from_archive): Likewise.
28074         (add_locales_to_archive): Likewise.
28075         * locale/programs/locfile.c (write_all_categories): Likewise.
28077 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28078             Aldy Hernandez  <aldyh@redhat.com>
28080         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28081         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28082         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28083         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28084         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28085         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28086         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28087         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28088         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28089         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28090         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28091         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28092         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28093         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28094         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28095         Likewise.
28096         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28097         Likewise.
28098         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28099         Likewise.
28100         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28101         Likewise.
28102         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28103         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28104         Likewise.
28105         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28106         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28107         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28108         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28109         Likewise.
28110         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28111         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28112         * sysdeps/powerpc/preconfigure: Likewise.
28113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28114         Likewise.
28115         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28116         Replace contents of file by #include of <fenv_libc.h>.
28117         * sysdeps/powerpc/soft-fp/sfp-machine.h
28118         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28119         and <sys/prctl.h>.
28120         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28122         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28123         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28124         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28125         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28127         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28128         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28129         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28130         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28131         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28133         Allow copysignl PLT reference to be missing.
28135 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28136             Joseph Myers  <joseph@codesourcery.com
28138         [BZ #15948]
28139         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28140         single character.
28141         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28143 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28145         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28146         * elf/tst-tls1.c: Likewise.
28147         * elf/tst-tls10.h: Likewise.
28148         * elf/tst-tls14.c: Likewise.
28149         * elf/tst-tls2.c: Likewise.
28150         * elf/tst-tls3.c: Likewise.
28151         * elf/tst-tls4.c: Likewise.
28152         * elf/tst-tls5.c: Likewise.
28153         * elf/tst-tls6.c: Likewise.
28154         * elf/tst-tls7.c: Likewise.
28155         * elf/tst-tls8.c: Likewise.
28156         * elf/tst-tls9.c: Likewise.
28157         * elf/tst-tlsmod1.c: Likewise.
28158         * elf/tst-tlsmod13.c: Likewise.
28159         * elf/tst-tlsmod13a.c: Likewise.
28160         * elf/tst-tlsmod14a.c: Likewise.
28161         * elf/tst-tlsmod16a.c: Likewise.
28162         * elf/tst-tlsmod16b.c: Likewise.
28163         * elf/tst-tlsmod2.c: Likewise.
28164         * elf/tst-tlsmod3.c: Likewise.
28165         * elf/tst-tlsmod4.c: Likewise.
28166         * elf/tst-tlsmod5.c: Likewise.
28167         * elf/tst-tlsmod6.c: Likewise.
28169 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28171         [BZ #12486]
28172         * malloc/malloc.c: remove checks for statistics.
28174 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28176         [BZ #15277]
28177         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28178         * inet/tst-network.c: Add testcase.
28180 2013-10-17  Andreas Schwab  <schwab@suse.de>
28182         [BZ #15218]
28183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28184         to determine canonical name.
28186 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28188         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28189         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28190         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28191         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28192         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28193         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28194         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28195         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28196         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28197         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28198         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28199         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28200         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28201         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28202         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28203         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28205         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28206         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28212         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28213         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28215         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28218         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28219         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28223         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28224         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28228         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28229         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28230         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28231         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28232         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28233         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28234         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28235         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28236         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28237         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28238         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28239         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28240         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28241         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28242         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28243         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28247 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28249         [BZ #16041]
28250         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28251         make result into a quiet NaN.
28253 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28255         * soft-fp/adddf3.c: Fix horizontal whitespace.
28256         * soft-fp/addsf3.c: Likewise.
28257         * soft-fp/addtf3.c: Likewise.
28258         * soft-fp/divdf3.c: Likewise.
28259         * soft-fp/divsf3.c: Likewise.
28260         * soft-fp/divtf3.c: Likewise.
28261         * soft-fp/double.h: Likewise.
28262         * soft-fp/eqdf2.c: Likewise.
28263         * soft-fp/eqsf2.c: Likewise.
28264         * soft-fp/eqtf2.c: Likewise.
28265         * soft-fp/extenddftf2.c: Likewise.
28266         * soft-fp/extended.h: Likewise.
28267         * soft-fp/extendsfdf2.c: Likewise.
28268         * soft-fp/extendsftf2.c: Likewise.
28269         * soft-fp/extendxftf2.c: Likewise.
28270         * soft-fp/fixdfdi.c: Likewise.
28271         * soft-fp/fixdfsi.c: Likewise.
28272         * soft-fp/fixdfti.c: Likewise.
28273         * soft-fp/fixsfdi.c: Likewise.
28274         * soft-fp/fixsfsi.c: Likewise.
28275         * soft-fp/fixsfti.c: Likewise.
28276         * soft-fp/fixtfdi.c: Likewise.
28277         * soft-fp/fixtfsi.c: Likewise.
28278         * soft-fp/fixtfti.c: Likewise.
28279         * soft-fp/fixunsdfdi.c: Likewise.
28280         * soft-fp/fixunsdfsi.c: Likewise.
28281         * soft-fp/fixunsdfti.c: Likewise.
28282         * soft-fp/fixunssfdi.c: Likewise.
28283         * soft-fp/fixunssfsi.c: Likewise.
28284         * soft-fp/fixunssfti.c: Likewise.
28285         * soft-fp/fixunstfdi.c: Likewise.
28286         * soft-fp/fixunstfsi.c: Likewise.
28287         * soft-fp/fixunstfti.c: Likewise.
28288         * soft-fp/floatdidf.c: Likewise.
28289         * soft-fp/floatdisf.c: Likewise.
28290         * soft-fp/floatditf.c: Likewise.
28291         * soft-fp/floatsidf.c: Likewise.
28292         * soft-fp/floatsisf.c: Likewise.
28293         * soft-fp/floatsitf.c: Likewise.
28294         * soft-fp/floattidf.c: Likewise.
28295         * soft-fp/floattisf.c: Likewise.
28296         * soft-fp/floattitf.c: Likewise.
28297         * soft-fp/floatundidf.c: Likewise.
28298         * soft-fp/floatundisf.c: Likewise.
28299         * soft-fp/floatunditf.c: Likewise.
28300         * soft-fp/floatunsidf.c: Likewise.
28301         * soft-fp/floatunsisf.c: Likewise.
28302         * soft-fp/floatunsitf.c: Likewise.
28303         * soft-fp/floatuntidf.c: Likewise.
28304         * soft-fp/floatuntisf.c: Likewise.
28305         * soft-fp/floatuntitf.c: Likewise.
28306         * soft-fp/fmadf4.c: Likewise.
28307         * soft-fp/fmasf4.c: Likewise.
28308         * soft-fp/fmatf4.c: Likewise.
28309         * soft-fp/gedf2.c: Likewise.
28310         * soft-fp/gesf2.c: Likewise.
28311         * soft-fp/getf2.c: Likewise.
28312         * soft-fp/ledf2.c: Likewise.
28313         * soft-fp/lesf2.c: Likewise.
28314         * soft-fp/letf2.c: Likewise.
28315         * soft-fp/muldf3.c: Likewise.
28316         * soft-fp/mulsf3.c: Likewise.
28317         * soft-fp/multf3.c: Likewise.
28318         * soft-fp/negdf2.c: Likewise.
28319         * soft-fp/negsf2.c: Likewise.
28320         * soft-fp/negtf2.c: Likewise.
28321         * soft-fp/op-1.h: Likewise.
28322         * soft-fp/op-2.h: Likewise.
28323         * soft-fp/op-4.h: Likewise.
28324         * soft-fp/op-8.h: Likewise.
28325         * soft-fp/op-common.h: Likewise.
28326         * soft-fp/quad.h: Likewise.
28327         * soft-fp/single.h: Likewise.
28328         * soft-fp/soft-fp.h: Likewise.
28329         * soft-fp/sqrtdf2.c: Likewise.
28330         * soft-fp/sqrtsf2.c: Likewise.
28331         * soft-fp/sqrttf2.c: Likewise.
28332         * soft-fp/subdf3.c: Likewise.
28333         * soft-fp/subsf3.c: Likewise.
28334         * soft-fp/subtf3.c: Likewise.
28335         * soft-fp/truncdfsf2.c: Likewise.
28336         * soft-fp/trunctfdf2.c: Likewise.
28337         * soft-fp/trunctfsf2.c: Likewise.
28338         * soft-fp/trunctfxf2.c: Likewise.
28339         * soft-fp/unorddf2.c: Likewise.
28340         * soft-fp/unordsf2.c: Likewise.
28341         * soft-fp/unordtf2.c: Likewise.
28343 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28345         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28346         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28348 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28350         * elf/dl-libc.c: Clear initfini list after freeing.
28352 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28354         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28355         * soft-fp/addsf3.c: Likewise.
28356         * soft-fp/addtf3.c: Likewise.
28357         * soft-fp/divdf3.c: Likewise.
28358         * soft-fp/divsf3.c: Likewise.
28359         * soft-fp/divtf3.c: Likewise.
28360         * soft-fp/double.h: Likewise.
28361         * soft-fp/eqdf2.c: Likewise.
28362         * soft-fp/eqsf2.c: Likewise.
28363         * soft-fp/eqtf2.c: Likewise.
28364         * soft-fp/extenddftf2.c: Likewise.
28365         * soft-fp/extended.h: Likewise.
28366         * soft-fp/extendsfdf2.c: Likewise.
28367         * soft-fp/extendsftf2.c: Likewise.
28368         * soft-fp/extendxftf2.c: Likewise.
28369         * soft-fp/fixdfdi.c: Likewise.
28370         * soft-fp/fixdfsi.c: Likewise.
28371         * soft-fp/fixdfti.c: Likewise.
28372         * soft-fp/fixsfdi.c: Likewise.
28373         * soft-fp/fixsfsi.c: Likewise.
28374         * soft-fp/fixsfti.c: Likewise.
28375         * soft-fp/fixtfdi.c: Likewise.
28376         * soft-fp/fixtfsi.c: Likewise.
28377         * soft-fp/fixtfti.c: Likewise.
28378         * soft-fp/fixunsdfdi.c: Likewise.
28379         * soft-fp/fixunsdfsi.c: Likewise.
28380         * soft-fp/fixunsdfti.c: Likewise.
28381         * soft-fp/fixunssfdi.c: Likewise.
28382         * soft-fp/fixunssfsi.c: Likewise.
28383         * soft-fp/fixunssfti.c: Likewise.
28384         * soft-fp/fixunstfdi.c: Likewise.
28385         * soft-fp/fixunstfsi.c: Likewise.
28386         * soft-fp/fixunstfti.c: Likewise.
28387         * soft-fp/floatdidf.c: Likewise.
28388         * soft-fp/floatdisf.c: Likewise.
28389         * soft-fp/floatditf.c: Likewise.
28390         * soft-fp/floatsidf.c: Likewise.
28391         * soft-fp/floatsisf.c: Likewise.
28392         * soft-fp/floatsitf.c: Likewise.
28393         * soft-fp/floattidf.c: Likewise.
28394         * soft-fp/floattisf.c: Likewise.
28395         * soft-fp/floattitf.c: Likewise.
28396         * soft-fp/floatundidf.c: Likewise.
28397         * soft-fp/floatundisf.c: Likewise.
28398         * soft-fp/floatunsidf.c: Likewise.
28399         * soft-fp/floatunsisf.c: Likewise.
28400         * soft-fp/floatuntidf.c: Likewise.
28401         * soft-fp/floatuntisf.c: Likewise.
28402         * soft-fp/floatuntitf.c: Likewise.
28403         * soft-fp/fmadf4.c: Likewise.
28404         * soft-fp/fmasf4.c: Likewise.
28405         * soft-fp/fmatf4.c: Likewise.
28406         * soft-fp/gedf2.c: Likewise.
28407         * soft-fp/gesf2.c: Likewise.
28408         * soft-fp/getf2.c: Likewise.
28409         * soft-fp/ledf2.c: Likewise.
28410         * soft-fp/lesf2.c: Likewise.
28411         * soft-fp/letf2.c: Likewise.
28412         * soft-fp/muldf3.c: Likewise.
28413         * soft-fp/mulsf3.c: Likewise.
28414         * soft-fp/multf3.c: Likewise.
28415         * soft-fp/negdf2.c: Likewise.
28416         * soft-fp/negsf2.c: Likewise.
28417         * soft-fp/negtf2.c: Likewise.
28418         * soft-fp/op-1.h: Likewise.
28419         * soft-fp/op-2.h: Likewise.
28420         * soft-fp/op-4.h: Likewise.
28421         * soft-fp/op-8.h: Likewise.
28422         * soft-fp/op-common.h: Likewise.
28423         * soft-fp/quad.h: Likewise.
28424         * soft-fp/single.h: Likewise.
28425         * soft-fp/soft-fp.h: Likewise.
28426         * soft-fp/sqrtdf2.c: Likewise.
28427         * soft-fp/sqrtsf2.c: Likewise.
28428         * soft-fp/sqrttf2.c: Likewise.
28429         * soft-fp/subdf3.c: Likewise.
28430         * soft-fp/subsf3.c: Likewise.
28431         * soft-fp/subtf3.c: Likewise.
28432         * soft-fp/truncdfsf2.c: Likewise.
28433         * soft-fp/trunctfdf2.c: Likewise.
28434         * soft-fp/trunctfsf2.c: Likewise.
28435         * soft-fp/trunctfxf2.c: Likewise.
28436         * soft-fp/unorddf2.c: Likewise.
28437         * soft-fp/unordsf2.c: Likewise.
28438         * soft-fp/unordtf2.c: Likewise.
28440 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28442         [BZ #15672]
28443         * misc/error.c (error_tail): Fix possible buffer overflow.
28445 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28447         [BZ #13028]
28448         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28449         address.
28451 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28453         [BZ #832]
28454         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28455         testing pipefail option.
28457 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28459         * soft-fp/double.h: Indent preprocessor directives inside #if.
28460         * soft-fp/extended.h: Likewise.
28461         * soft-fp/op-2.h: Likewise.
28462         * soft-fp/op-4.h: Likewise.
28463         * soft-fp/op-common.h: Likewise.
28464         * soft-fp/quad.h: Likewise.
28465         * soft-fp/single.h: Likewise.
28466         * soft-fp/soft-fp.h: Likewise.
28468 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28470         * iconv/iconv_prog.c: Fix typos.
28471         * stdio-common/psiginfo-data.h: Likewise.
28473 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28475         [BZ #15764]
28476         * locale/setlocale.c: Fix typo.
28478 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28480         [BZ #16036]
28481         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28482         signaling NaN arguments.
28483         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28484         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28486         [BZ #14910]
28487         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28488         unordered operands.
28489         * soft-fp/gesf2.c (__gesf2): Likewise.
28490         * soft-fp/getf2.c (__getf2): Likewise.
28491         * soft-fp/ledf2.c (__ledf2): Likewise.
28492         * soft-fp/lesf2.c (__lesf2): Likewise.
28493         * soft-fp/letf2.c (__letf2): Likewise.
28495         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28496         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28497         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28498         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28499         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28500         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28501         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28502         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28503         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28504         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28505         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28506         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28507         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28508         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28509         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28510         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28511         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28512         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28513         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28514         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28515         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28516         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28517         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28518         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28519         * soft-fp/floattidf.c (__floattidf): Likewise.
28520         * soft-fp/floattisf.c (__floattisf): Likewise.
28521         * soft-fp/floattitf.c (__floattitf): Likewise.
28522         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28523         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28524         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28525         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28526         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28527         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28528         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28529         * soft-fp/gesf2.c (__gesf2): Likewise.
28530         * soft-fp/getf2.c (__getf2): Likewise.
28531         * soft-fp/ledf2.c (__ledf2): Likewise.
28532         * soft-fp/lesf2.c (__lesf2): Likewise.
28533         * soft-fp/letf2.c (__letf2): Likewise.
28535         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28536         Undefine and redefine.
28537         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28538         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28539         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28540         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28541         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28542         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28543         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28544         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28545         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28546         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28547         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28548         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28549         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28550         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28551         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28553         [BZ #16032]
28554         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28555         without decrementing exponent if mantissa >= that for the
28556         denominator, not >.
28557         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28558         denominator, not >.  Decrement exponent in < case instead of
28559         incrementing in >= case.
28560         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28561         without decrementing exponent if mantissa >= that for the
28562         denominator, not >.
28564         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28565         computing saturated result for unsigned overflow.
28567 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28568             Jeff Law  <law@redhat.com>
28570         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28571         (atan2Mp): Add systemtap probe marker.
28572         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28573         (__ieee754_log): Add systemtap probe marker.
28574         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28575         (atanMp): Add systemtap probe marker.
28576         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28577         (tanMp): Add systemtap probe marker.
28578         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28579         (__slowexp): Add systemtap probe marker.
28580         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28581         (__slowpow): Add systemtap probe marker.
28582         * manual/probes.texi: Document probes.
28584 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28586         [BZ #15362]
28587         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28588         written.
28589         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28590         written.
28591         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28592         written to buffer but not flushed.
28593         * libio/iofwrite_u.c:  Likewise.
28594         * libio/iopadn.c:  Return bytes returned even if EOF was
28595         encountered.
28596         * libio/iowpadn.c:  Likewise.
28597         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28598         if _IO_padn does not write the whole buffer.
28599         [!COMPILE_WPRINTF] (PAD): Likewise.
28601 2013-10-10  David S. Miller  <davem@davemloft.net>
28603         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28604         directory block.
28606 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28608         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28609         instead of FSF address.
28610         * soft-fp/fixdfti.c: Likewise.
28611         * soft-fp/fixsfti.c: Likewise.
28612         * soft-fp/fixtfti.c: Likewise.
28613         * soft-fp/fixunsdfti.c: Likewise.
28614         * soft-fp/fixunssfti.c: Likewise.
28615         * soft-fp/fixunstfti.c: Likewise.
28616         * soft-fp/floattidf.c: Likewise.
28617         * soft-fp/floattisf.c: Likewise.
28618         * soft-fp/floattitf.c: Likewise.
28619         * soft-fp/floatuntidf.c: Likewise.
28620         * soft-fp/floatuntisf.c: Likewise.
28621         * soft-fp/floatuntitf.c: Likewise.
28622         * soft-fp/trunctfxf2.c: Likewise.
28624         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28625         * soft-fp/fixdfti.c: Likewise.
28626         * soft-fp/fixsfti.c: Likewise.
28627         * soft-fp/fixtfti.c: Likewise.
28628         * soft-fp/fixunsdfti.c: Likewise.
28629         * soft-fp/fixunssfti.c: Likewise.
28630         * soft-fp/fixunstfti.c: Likewise.
28631         * soft-fp/floattidf.c: Likewise.
28632         * soft-fp/floattisf.c: Likewise.
28633         * soft-fp/floattitf.c: Likewise.
28634         * soft-fp/floatuntidf.c: Likewise.
28635         * soft-fp/floatuntisf.c: Likewise.
28636         * soft-fp/floatuntitf.c: Likewise.
28637         * soft-fp/trunctfxf2.c: Likewise.
28639 2013-10-10  David S. Miller  <davem@davemloft.net>
28641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28643 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28645         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28646         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28647         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28648         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28649         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28650         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28651         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28654         for NaNs before doing comparisons on argument.
28655         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28656         Likewise.
28658 2013-10-10  Will Newton  <will.newton@linaro.org>
28660         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28661         passed to _int_memalign does not overflow.
28663 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28665         * scripts/bench.pl: Add include-sources directive.
28666         * benchtests/README: Update documentation.
28668 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28670         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28671         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28672         instead of FP_INIT_ROUNDMODE.
28673         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28674         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28676         [BZ #16034]
28677         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28678         copy class of input value.
28679         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28680         not handle exceptions.
28681         * soft-fp/negsf2.c (__negsf2): Likewise.
28682         * soft-fp/negtf2.c (__negtf2): Likewise.
28683         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28685 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28687         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28688         semicolon.  From Linux kernel.
28690 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28692         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28694 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28696         [BZ #156]
28697         * manual/socket.texi: Added statement about buffer
28698         for gethostbyname2_r.
28700 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28702         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28703         Use .p2align directive instead, throughout.
28704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28705         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28706         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28708         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28709         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28710         * sysdeps/x86_64/strchr.S: Likewise.
28711         * sysdeps/x86_64/strrchr.S: Likewise.
28713 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28715         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28717         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28719         * sysdeps/generic/math_private.h (__mpsin1): Remove
28720         declaration.
28721         (__mpcos1): Likewise.
28722         (__mpsin): New argument __range_reduce.
28723         (__mpcos): Likewise.
28724         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28725         (slow): Use __mpsin and __mpcos.
28726         (slow1): Likewise.
28727         (slow2): Likewise.
28728         (sloww): Likewise.
28729         (sloww1): Likewise.
28730         (sloww2): Likewise.
28731         (bsloww): Likewise.
28732         (bsloww1): Likewise.
28733         (bsloww2): Likewise.
28734         (cslow2): Likewise.
28735         (csloww): Likewise.
28736         (csloww1): Likewise.
28737         (csloww2): Likewise.
28738         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28739         range_reduce.  Merge in __mpsin1.
28740         (__mpcos): Likewise.
28741         (__mpsin1): Remove.
28742         (__mpcos1): Likewise.
28744 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28746         * locale/loadlocale.c (_nl_intern_locale_data): Use
28747         LOCFILE_ALIGNED_P.
28748         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28749         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28750         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28751         obstack data is appropriately aligned.
28752         (obstack_int32_grow_fast): Likewise.
28753         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28754         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28755         (add_locale_uint32_array): Likewise.
28757 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28759         * benchtests/Makefile: Remove ARGLIST and RET variables.
28760         ($(objpfx)bench-%.c): Pass only function name to the script.
28761         * benchtests/README: Update documentation.
28762         * benchtests/acos-inputs: Add new directives.
28763         * benchtests/acosh-inputs: Likewise.
28764         * benchtests/asin-inputs: Likewise.
28765         * benchtests/asinh-inputs: Likewise.
28766         * benchtests/atan-inputs: Likewise.
28767         * benchtests/atanh-inputs: Likewise.
28768         * benchtests/cos-inputs: Likewise.
28769         * benchtests/cosh-inputs: Likewise.
28770         * benchtests/exp-inputs: Likewise.
28771         * benchtests/log-inputs: Likewise.
28772         * benchtests/pow-inputs: Likewise.
28773         * benchtests/rint-inputs: Likewise.
28774         * benchtests/sin-inputs: Likewise.
28775         * benchtests/sinh-inputs: Likewise.
28776         * benchtests/tan-inputs: Likewise.
28777         * benchtests/tanh-inputs: Likewise.
28778         * scripts/bench.pl: Add support for new directives.
28780 2013-10-07  Alan Modra  <amodra@gmail.com>
28782         * README: Fix careless merge.
28784 2013-10-05  Alan Modra  <amodra@gmail.com>
28786         * NEWS: Mention powerpc64le support and bugs fixed.
28787         * README: Both big-endian and little-endian powerpc64 supported.
28789 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28791         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28792         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28793         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28794         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28796 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28798         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28799         match prototype.
28801 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28803         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28804         Move -mhard-float appending from
28805         ports/sysdeps/powerpc/powerpc32/Makefile.
28806         [$(with-fp) = yes] (ASFLAGS): Likewise.
28807         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28808         * sysdeps/powerpc/nofpu: Move directory from
28809         ports/sysdeps/powerpc/nofpu.
28810         * sysdeps/powerpc/soft-fp: Move directory from
28811         ports/sysdeps/powerpc/soft-fp.
28812         * sysdeps/powerpc/powerpc32/405: Move directory from
28813         ports/sysdeps/powerpc/powerpc32/405.
28814         * sysdeps/powerpc/powerpc32/440: Move directory from
28815         ports/sysdeps/powerpc/powerpc32/440.
28816         * sysdeps/powerpc/powerpc32/464: Move directory from
28817         ports/sysdeps/powerpc/powerpc32/464.
28818         * sysdeps/powerpc/powerpc32/476: Move directory from
28819         ports/sysdeps/powerpc/powerpc32/476.
28820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28821         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28823         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28825         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28827         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28829         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28830         * README: Update for powerpc-*-linux-gnu software floating point
28831         support in libc.
28833         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28834         case to powerpc/powerpc32*.
28835         * sysdeps/unix/sysv/linux/configure: Regenerated.
28837         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28838         (_FPU_MASK_OM): Define as 0x04.
28839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28841         0x00c10080.
28842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28843         0x0000003c.
28844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28847         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28848         getcontext_e500.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28850         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28851         setcontext_e500.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28853         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28854         and setcontext_e500.
28856 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28858         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28860 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28862         * manual/threads.texi (Default Thread Attributes): Fix typo.
28864 2013-10-04  Will Newton  <will.newton@linaro.org>
28866         * malloc/Makefile: Add tst-memalign.
28867         * malloc/tst-memalign.c: New file.
28869         * malloc/tst-posix_memalign.c: Add comments.
28870         (do_test): Add comments and call free on all potentially
28871         allocated pointers. Add space after cast.
28873         * malloc/tst-pvalloc.c: Add comments.
28874         (do_test): Add comments and call free on all potentially
28875         allocated pointers. Remove duplicate check for NULL pointer.
28876         Add space after cast.
28878         * malloc/tst-valloc.c: Add comments.
28879         (do_test): Add comments and call free on all potentially
28880         allocated pointers. Remove duplicate check for NULL pointer.
28881         Add space after cast.
28883 2013-10-04  Alan Modra  <amodra@gmail.com>
28885         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28886         Use stdint types in rather than __attribute__((mode())).
28887         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28889 2013-10-04  Alan Modra  <amodra@gmail.com>
28891         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28892         Correct handling of unaligned relocs for little-endian.
28893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28895 2013-10-04  Alan Modra  <amodra@gmail.com>
28897         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28898         * configure: Regenerate.
28899         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28900         * shlib-versions: Likewise.
28902 2013-10-04  Alan Modra  <amodra@gmail.com>
28904         * string/tester.c (test_memrchr): Increment reported test cycle.
28906 2013-10-04  Alan Modra  <amodra@gmail.com>
28908         * string/test-memcpy.c (do_one_test): When reporting errors, print
28909         string address and don't overrun end of string.
28911 2013-10-04  Alan Modra  <amodra@gmail.com>
28913         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28914         insrdi.  Make better use of reg selection to speed exit slightly.
28915         Schedule entry path a little better.  Remove useless "are we done"
28916         checks on entry to main loop.  Handle wrapping around zero address.
28917         Correct main loop count.  Handle single left-over word from main
28918         loop inline rather than by using loop_small.  Remove extra word
28919         case in loop_small caused by wrong loop count.  Add little-endian
28920         support.
28921         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28922         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28923         cache hint.
28924         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28925         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28926         support.  Avoid rlwimi.
28927         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28929 2013-10-04  Alan Modra  <amodra@gmail.com>
28931         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28932         insrdi.  Formatting.
28933         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28934         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28935         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28936         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28937         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28938         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28940 2013-10-04  Alan Modra  <amodra@gmail.com>
28942         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28943         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28944         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28945         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28946         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28948         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28949         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28950         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28951         use of regs.  Use power7 mtocrf.  Tidy function tails.
28953 2013-10-04  Alan Modra  <amodra@gmail.com>
28955         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28956         Formatting.  Consistently use rXXX register defines or rN defines.
28957         Use early exit labels that avoid restoring unused non-volatile regs.
28958         Make cr field use more consistent with rWORDn compares.  Rename
28959         regs used as shift registers for unaligned loop, using rN defines
28960         for short lifetime/multiple use regs.
28961         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28962         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28963         addi 1,1,64 to pop stack frame.  Simplify return value code.
28964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28966 2013-10-04  Alan Modra  <amodra@gmail.com>
28968         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28969         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28970         rather than rlwimi.
28971         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28972         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28973         little-endian support.  Correct typos.
28974         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28975         rather than rlwimi.
28976         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28977         in loop and entry code to keep "and." results.
28978         (strchr): Add little-endian support.  Comment.  Move cntlzd
28979         earlier in tail.
28980         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28982 2013-10-04  Alan Modra  <amodra@gmail.com>
28984         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28985         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28986         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28987         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28989 2013-10-04  Alan Modra  <amodra@gmail.com>
28991         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28992         (rTMP): Define as r11.
28993         (strcmp): Add little-endian support.  Optimise tail.
28994         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28995         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28996         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28997         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28998         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28999         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29000         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29002 2013-10-04  Alan Modra  <amodra@gmail.com>
29004         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29005         little-endian support.  Remove unnecessary "are we done" tests.
29006         Handle "s" wrapping around zero and extremely large "size".
29007         Correct main loop count.  Handle single left-over word from main
29008         loop inline rather than by using small_loop.  Correct comments.
29009         Delete "zero" tail, use "end_max" instead.
29010         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29012 2013-10-04  Alan Modra  <amodra@gmail.com>
29014         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29015         support.  Don't branch over align.
29016         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29017         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29018         support.  Rearrange tmp reg use to suit.  Comment.
29019         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29021 2013-10-04  Alan Modra  <amodra@gmail.com>
29023         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29025 2013-10-04  Alan Modra  <amodra@gmail.com>
29027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29028         conditional form of branch and link when obtaining pc.
29029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29031 2013-10-04  Alan Modra  <amodra@gmail.com>
29033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29034         HIWORD/LOWORD.
29035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29038 2013-10-04  Alan Modra  <amodra@gmail.com>
29040         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29041         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29042         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29043         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29044         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29045         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29046         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29047         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29048         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29049         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29051 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29052             Alistair Popple <alistair@ozlabs.au.ibm.com>
29053             Alan Modra <amodra@gmail.com>
29055         [BZ #15723]
29056         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29057         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29058         _dl_hwcap access for little-endian.
29059         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29060         destroy vmx regs when saving unaligned.
29061         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29062         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29063         destroy vmx regs when saving unaligned.
29065 2013-10-04  Alan Modra  <amodra@gmail.com>
29067         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29068         Don't use a union to pack hi/low value.
29070 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29072         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29073         for little-endian.
29074         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29076         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29077         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29078         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29080 2013-10-04  Alan Modra  <amodra@gmail.com>
29082         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29083         constants to usual value for .cst8 section, and remove redundant
29084         high address load.
29085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29086         constant for 0x1p52.  Load little-endian words of double from
29087         correct stack offsets.
29089 2013-10-04  Alan Modra  <amodra@gmail.com>
29091         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29092         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29093         words of double from correct stack offsets.
29094         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29095         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29096         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29097         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29099         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29100         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29101         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29102         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29103         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29104         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29105         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29106         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29107         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29108         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29109         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29110         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29112 2013-10-04  Alan Modra  <amodra@gmail.com>
29114         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29115         64-bit int/double union.
29116         (_FPU_SETCW): Likewise.
29117         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29118         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29120 2013-10-04  Alan Modra  <amodra@gmail.com>
29122         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29123         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29125 2013-10-04  Alan Modra  <amodra@gmail.com>
29127         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29128         use vector int constants.
29129         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29131 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29133         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29134         array with long long.
29135         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29136         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29137         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29138         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29139         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29140         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29141         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29142         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29143         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29144         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29145         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29146         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29147         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29149 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29151         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29152         (__signbit): Likewise.  Correct for little-endian.
29153         (__signbitl): Call __signbit.
29154         (lrint): Correct for little-endian.
29155         (lrintf): Call lrint.
29157 2013-10-04  Alan Modra  <amodra@gmail.com>
29159         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29160         union 32-bit int array member with 64-bit int array.
29161         (t515, tm256): Double rather than long double.
29162         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29164 2013-10-04  Alan Modra  <amodra@gmail.com>
29166         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29167         Delete.
29168         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29170         version of math_ldbl.h.
29172 2013-10-04  Alan Modra  <amodra@gmail.com>
29174         [BZ #15734], [BZ #15735]
29175         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29176         all uses of ieee875 long double macros and unions.  Simplify test
29177         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29178         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29179         normalize after ldbl_extract_mantissa, and don't add hidden bit
29180         already handled.  Don't treat low word of ieee854 mantissa like
29181         low word of IBM long double and mask off bit when testing for
29182         zero.
29183         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29184         all uses of ieee875 long double macros and unions.  Simplify tests
29185         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29186         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29187         two1022, instead use their values.  Recognise that tests for large
29188         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29189         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29190         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29191         test for 0.0L and nan.  Correct negation.
29192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29193         ieee875 long double macros and unions.  Correct output for large
29194         magnitude x.  Correct absolute value calculation.
29195         (__erfcl): Likewise.
29196         * math/libm-test.inc: Add tests for errors discovered in IBM long
29197         double versions of fmodl, remainderl, erfl and erfcl.
29199 2013-10-04  Alan Modra  <amodra@gmail.com>
29201         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29202         all uses of ieee854 long double macros and unions.  Simplify tests
29203         for long doubles that are fully specified by the high double.
29204         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29205         Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29207         Remove dead code too.
29208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29209         (__ieee754_ynl): Likewise.
29210         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29212         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29213         Remove dead code too.
29214         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29215         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29217         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29218         Simplify.
29219         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29220         Simplify.
29221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29222         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29224         Comment on variable precision.
29225         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29226         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29227         Likewise.
29228         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29230         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29231         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29232         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29234 2013-10-04  Alan Modra  <amodra@gmail.com>
29236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29237         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29238         all uses of ieee854 long double macros and unions.
29239         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29240         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29243         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29244         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29245         Likewise.
29246         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29250         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29251         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29252         Simplify sign and nan test too.
29253         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29254         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29255         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29256         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29257         Likewise.
29258         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29260         Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29263         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29264         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29265         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29266         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29268 2013-10-04  Alan Modra  <amodra@gmail.com>
29270         * stdio-common/printf_size.c (__printf_size): Don't use
29271         union ieee854_long_double in fpnum union.
29272         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29273         signbit macro to retrieve sign from long double.
29274         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29275         retrieve sign from long double.
29276         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29277         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29278         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29279         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29280         * math/test-misc.c (main): Don't use union ieee854_long_double.
29282 2013-10-04  Alan Modra  <amodra@gmail.com>
29284         [BZ #15680]
29285         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29286         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29287         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29288         calculation.  Remove unnecessary test for denormal exponent.
29289         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29290         Correct handling of denormals.  Avoid undefined shift behaviour.
29291         Correct normalisation of low mantissa when low double is denormal.
29292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29293         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29294         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29295         Correct normalisation of low mantissa.  Test for overflow of high
29296         mantissa and normalise.
29297         (ldbl_nearbyint): Use more readable constant for two52.
29298         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29299         (__mpn_construct_long_double): Fix test for overflow of high
29300         mantissa and correct normalisation.  Avoid undefined shift.
29302 2013-10-04  Alan Modra  <amodra@gmail.com>
29304         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29305         (union ibm_extended_long_double): Define as an array of ieee754_double.
29306         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29307         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29308         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29309         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29313         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29318 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29320         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29321         page size instead of calling getpagesize.
29323         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29324         (LOCFILE_ALIGN_MASK): Likewise.
29325         (LOCFILE_ALIGN_UP): Likewise.
29326         (LOCFILE_ALIGNED_P): Likewise.
29327         * locale/programs/ld-collate.c (collate_output): Use the new
29328         macros instead of __alignof__ (int32_t).
29329         * locale/weight.h (findidx): Likewise.
29331 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29333         [BZ #431]
29334         * manual/string.texi: Fix strncat and wcsncat.
29336 2013-10-03  Brooks Moses  <bmoses@google.com>
29338         [BZ #15915]
29339         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29340         * Makerules: ...here, and adjust associated comments.
29342 2013-10-02  Will Newton  <will.newton@linaro.org>
29344         * malloc/Makefile: Add tst-pvalloc.
29345         * malloc/tst-pvalloc.c: New file.
29347 2013-10-02  Will Newton  <will.newton@linaro.org>
29349         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29350         improve test coverage.
29352 2013-10-02  Will Newton  <will.newton@linaro.org>
29354         * malloc/Makefile: Add tst-posix_memalign.
29355         * malloc/tst-posix_memalign.c: New file.
29357 2013-10-01  Eric Blake  <eblake@redhat.com>
29359         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29360         Use __THROWNL rather than __THROW on static functions.
29362 2013-09-30  Petr Machata  <pmachata@redhat.com>
29364         * elf/elf.h (R_AARCH64_ABS16): New macro.
29365         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29366         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29367         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29368         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29369         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29370         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29371         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29372         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29373         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29374         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29375         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29376         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29377         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29378         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29379         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29380         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29381         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29382         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29383         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29384         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29385         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29386         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29387         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29388         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29389         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29390         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29391         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29392         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29393         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29394         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29395         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29396         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29397         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29398         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29399         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29400         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29401         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29402         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29403         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29404         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29405         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29406         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29407         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29408         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29409         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29410         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29411         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29412         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29413         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29414         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29415         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29416         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29417         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29418         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29419         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29420         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29421         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29422         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29423         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29424         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29425         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29426         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29427         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29428         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29429         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29430         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29431         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29432         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29433         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29434         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29435         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29436         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29437         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29438         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29439         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29440         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29441         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29442         (R_AARCH64_TLSDESC_LDR): Likewise.
29443         (R_AARCH64_TLSDESC_ADD): Likewise.
29444         (R_AARCH64_TLSDESC_CALL): Likewise.
29446 2013-09-30  Andreas Schwab  <schwab@suse.de>
29448         [BZ #15048]
29449         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29450         the nss database lookup.
29451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29454 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29456         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29458 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29460         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29461         ${Bash-specific parameter/pattern/string} parameter expansion.
29462         * sysdeps/unix/make-syscalls.sh: Likewise.
29464 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29466         * sysdeps/sh/stackguard-macros.h: New file.
29468 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29472         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29473         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29474         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29475         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29477 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29479         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29480         Fix thread ID register.
29482 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29484         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29485         [POSIX || UNIX98]: Require rather than permitting all symbols from
29486         <time.h>.
29487         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29488         element of struct sched_param.
29489         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29490         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29491         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29492         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29493         constant.
29495 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29497         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29498         argument calculation.
29500 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29502         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29503         Expect macro.
29504         [POSIX] (pthread_attr_t): Do not require type.
29505         [POSIX] (pthread_cond_t): Likewise.
29506         [POSIX] (pthread_condattr_t): Likewise.
29507         [POSIX] (pthread_key_t): Likewise.
29508         [POSIX] (pthread_mutex_t): Likewise.
29509         [POSIX] (pthread_mutexattr_t): Likewise.
29510         [POSIX] (pthread_once_t): Likewise.
29511         [POSIX] (pthread_t): Likewise.
29512         [POSIX-based standards] (pthread_atfork): Expect function.
29514 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29515             Richard Sandiford  <richard@codesourcery.com>
29517         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29518         (swap_endianness_p): New extern variable.
29519         (set_big_endian): New inline function.
29520         (maybe_swap_uint32): Likewise.
29521         (maybe_swap_uint32_array): Likewise.
29522         (maybe_swap_uint32_obstack): Likewise.
29523         * locale/programs/locfile.c: Include <stdbool.h>.
29524         (swap_endianness_p): New variable.
29525         (add_locale_uint32): Call maybe_swap_uint32.
29526         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29527         (write_locale_data): Call maybe_swap_uint32_array.
29528         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29529         maybe_swap_uint32.
29530         (obstack_int32_grow_fast): Likewise.
29531         (output_weightwc): Call maybe_swap_uint32_obstack.
29532         (collate_output): Likewise.
29533         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29534         (OPT_LITTLE_ENDIAN): Likewise.
29535         (options): Add --little-endian and --big-endian options.
29536         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29537         * locale/programs/locarchive.c: Include "locfile.h".
29538         (GET): New macro.
29539         (SET): Likewise.
29540         (INC): Likewise.
29541         (create_archive): Use the new macros to access fields of
29542         structures directly mapped from or written to locale archives.
29543         (oldlocrecentcmp): Likewise.
29544         (enlarge_archive): Likewise.
29545         (insert_name): Likewise.
29546         (add_alias): Likewise.
29547         (add_locale): Likewise.
29548         (delete_locales_from_archive): Likewise.
29549         (show_archive_content): Likewise.
29550         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29551         locale data.
29553 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29555         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29556         http://www.gnu.org/doc/freemanuals.texi.
29557         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29559 2013-09-24  Will Newton  <will.newton@linaro.org>
29561         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29562         macro.
29564 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29566         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29567         unsigned char.
29569 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29571         * manual/threads.texi (POSIX Threads): Fix a typo.
29573 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29575         [BZ #14547]
29576         * string/tst-strcoll-overflow.c: New test case.
29577         * string/Makefile (xtests): Add tst-strcoll-overflow.
29578         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29579         cache if string sizes may cause integer overflow.
29581         [BZ #14547]
29582         * string/strcoll_l.c (coll_seq): New members rule, idx,
29583         save_idx and back_us.
29584         (get_next_seq_nocache): New function.
29585         (do_compare_nocache): New function.
29586         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29587         when malloc fails.
29589 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29591         [BZ #15754]
29592         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29593         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29594         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29596         [BZ #15754]
29597         * elf/Makefile (tests): Add tst-ptrguard1.
29598         (tests-static): Add tst-ptrguard1-static.
29599         (tst-ptrguard1-ARGS): Define.
29600         (tst-ptrguard1-static-ARGS): Define.
29601         * elf/tst-ptrguard1.c: New file.
29602         * elf/tst-ptrguard1-static.c: New file.
29603         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29604         * sysdeps/i386/stackguard-macros.h: Likewise.
29605         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29606         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29607         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29608         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29609         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29610         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29612 2013-09-23  Hector Marco  <hecmargi@upv.es>
29613             Ismael Ripoll  <iripoll@disca.upv.es>
29614             Carlos O'Donell  <carlos@redhat.com>
29616         [BZ #15754]
29617         * sysdeps/generic/stackguard-macros.h: Define
29618         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29619         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29620         Define __pointer_chk_guard_local.
29621         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29622         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29624 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29626         [BZ #15859]
29627         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29629 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29631         * include/string.h (__ffs): Declare as hidden.
29632         * string/ffs.c (__ffs): Define as hidden.
29633         * sysdeps/i386/ffs.c (__ffs): Likewise.
29634         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29635         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29636         * sysdeps/s390/ffs.c (__ffs): Likewise.
29637         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29639 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29641         * NEWS: Mention malloc probes.
29643         * malloc/arena.c (new_heap): New memory_heap_new probe.
29644         (grow_heap): New memory_heap_more probe.
29645         (shrink_heap): New memory_heap_less probe.
29646         (heap_trim): New memory_heap_free probe.
29647         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29648         (systrim): New memory_sbrk_less probe.
29649         * manual/probes.texi: Document them.
29651         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29652         * manual/probes.texi: Document it.
29654         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29655         (__libc_realloc): Add memory_realloc_retry probe.
29656         (__libc_memalign): Add memory_memalign_retry probe.
29657         (__libc_valloc): Add memory_valloc_retry probe.
29658         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29659         (__libc_calloc): Add memory_calloc_retry probe.
29660         * manual/probes.texi: Document them.
29662         * malloc/arena.c (get_free_list): Add probe
29663         memory_arena_reuse_free_list.
29664         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29665         and memory_arena_reuse.
29666         (arena_get2) [!PER_THREAD]: Likewise.
29667         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29668         memory_arena_reuse_realloc.
29669         * manual/probes.texi: Document them.
29671         * malloc/malloc.c (__libc_free): Add
29672         memory_mallopt_free_dyn_thresholds probe.
29673         (__libc_mallopt): Add multiple memory_mallopt probes.
29674         * manual/probes.texi: Document them.
29676         * malloc/malloc.c: Include stap-probe.h.
29677         (__libc_mallopt): Add memory_mallopt probe.
29678         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29679         * manual/probes.texi: New.
29680         * manual/Makefile (chapters): Add probes.
29681         * manual/threads.texi: Set next node.
29683 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29685         [BZ #15963, #13985]
29686         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29687         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29688         Add `Chinese' to `nan' entry name.
29690 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29692         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29693         (POLYNOMIAL): Likewise.
29694         (TAYLOR_SINCOS): Likewise.
29695         (TAYLOR_SLOW): Likewise.
29696         (__sin): Use TAYLOR_SINCOS.
29697         (__cos): Likewise.
29698         (slow): Use TAYLOR_SLOW.
29699         (sloww): Likewise.
29700         (bsloww): Likewise.
29701         (csloww): Likewise.
29703 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29705         * stdlib/strtod_l.c: Fix buffer overrun.
29707 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29709         * benchtests/Makefile (bench): Add sincos.
29710         * benchtests/bench-sincos.c: New file.
29712         * math/libm-test.inc (cos_test_data): New test inputs.
29713         (sin_test_data): Likewise.
29715         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29716         macro.
29717         (__sin): Use it.
29718         (__cos): Likewise.
29719         (slow1): Likewise.
29720         (slow2): Likewise.
29721         (sloww1): Likewise.
29722         (sloww2): Likewise.
29723         (bsloww1): Likewise.
29724         (bsloww2): Likewise.
29725         (cslow2): Likewise.
29726         (csloww1): Likewise.
29727         (csloww2): Likewise.
29729         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29730         function.
29731         (__sin): Use it.
29732         (__cos): Likewise.
29734         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29735         gotos.
29736         (__cos): Likewise.
29738 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29740         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29741         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29742         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29743         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29744         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29745         * elf/cache.c (print_entry): Handle the new cache flags.
29747 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29748             Aldy Hernandez  <aldyh@redhat.com>
29750         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29751         Change condition to [_SOFT_FLOAT].
29752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29763         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29764         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29767         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29768         declaration.
29770 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29772         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29773         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29774         (__longjmp): Use LOAD_GP to load saved GPRs.
29775         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29776         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29777         (__sigsetjmp): Use SAVE_GP to save GPRs.
29779         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29780         Do not append -msoft-float.
29781         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29783 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29785         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29787 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29789         [BZ #15966]
29790         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29791         (_FPU_GETCW): Use initial "__" on variable and field names but not
29792         on macro parameter name.
29793         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29794         parentheses around reference to macro parameter.
29796 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29798         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29799         prototype.
29800         (ctype_startup): Use uint32_t in cast and sizeof for
29801         ctype->charnames.
29803 2013-09-11  Jia Liu  <proljc@gmail.com>
29805         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29806         __daddr_t_defined.
29807         [__FreeBSD__]: Likewise.
29809 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29812         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29813         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29814         (strchr): Remove __strchr_sse42 ifunc selection.
29815         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29816         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29818 2013-09-11  Will Newton  <will.newton@linaro.org>
29820         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29821         parameter to RES. Remove hardcoded 1000 value.
29822         * benchtests/bench-skeleton.c (main): Pass RES parameter
29823         to TIMING_INIT and multiply result by 1000.
29825 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29829 2013-09-11  Andreas Schwab  <schwab@suse.de>
29831         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29832         if not defined.
29833         (O_TMPFILE) [__USE_GNU]: Define.
29834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29835         Define.
29837 2013-09-11  Will Newton  <will.newton@linaro.org>
29839         [BZ #15857]
29840         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29841         does not overflow.
29843 2013-09-11  Will Newton  <will.newton@linaro.org>
29845         [BZ #15856]
29846         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29847         does not overflow.
29849 2013-09-11  Will Newton  <will.newton@linaro.org>
29851         [BZ #15855]
29852         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29853         does not overflow.
29855 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29857         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29858         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29863 2013-09-10  Allan McRae  <allan@archlinux.org>
29865         [BZ #15748]
29866         * manual/arith.texi (Parsing of Floats): Clarify
29867         cross-reference.
29869         [BZ #15849]
29870         * manual/install.texi (Running make install): Mention
29871         --enable-pt-chown.
29872         * INSTALL: Regenerated.
29874 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29876         * csu/init-first.c (_init): Remove the !SHARED condition around
29877         FPU control word initialization.
29878         * elf/dl-support.c (_dl_fpu_control): New variable.
29879         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29880         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29881         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29882         * math/test-fpucw-static.c: New file.
29883         * math/test-fpucw-ieee.c: New file.
29884         * math/test-fpucw-ieee-static.c: New file.
29885         * math/Makefile (tests): Add `test-fpucw-ieee' and
29886         `$(tests-static)'.
29887         (tests-static): New variable.
29888         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29889         dependency to...
29890         [($(build-shared),yes)]
29891         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29892         ... this.
29893         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29894         New dependency.
29896 2013-09-09  Allan McRae  <allan@archlinux.org>
29898         [BZ #15939]
29899         * manual/string.texi (Collation Functions): Fix typo in
29900         strcoll example.
29901         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29903         [BZ #15893]
29904         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29906         [BZ #15892]
29907         * libio/memstream.c (open_memstream): Fix memory leak.
29908         * libio/wmemstream.c (open_wmemstream): Likewise.
29910         [BZ #15895]
29911         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29913 2013-09-09  Will Newton  <will.newton@linaro.org>
29915         * malloc/Makefile: Add tst-realloc to tests.
29916         * malloc/tst-realloc.c: New file.
29918 2013-09-09  Allan McRae  <allan@archlinux.org>
29920         [BZ #15844]
29921         * COPYING: Update from GNU website to fix FSF address.
29922         * COPYING.LIB: Likewise.
29924 2013-09-06  David S. Miller  <davem@davemloft.net>
29926         * po/zh_TW.po: Update Chinese (traditional) translation from
29927         translation project.
29929 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29930             Joseph Myers  <joseph@codesourcery.com>
29932         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29933         "localeinfo.h".
29934         (obstack_chunk_alloc): New macro.
29935         (obstack_chunk_free): Likewise.
29936         (record_offset): New function.
29937         (init_locale_data): Likewise.
29938         (align_locale_data): Likewise.
29939         (add_locale_empty): Likewise.
29940         (add_locale_raw_data): Likewise.
29941         (add_locale_raw_obstack): Likewise.
29942         (add_locale_string): Likewise.
29943         (add_locale_wstring): Likewise.
29944         (add_locale_uint32): Likewise.
29945         (add_locale_uint32_array): Likewise.
29946         (add_locale_char): Likewise.
29947         (start_locale_structure): Likewise.
29948         (end_locale_structure): Likewise.
29949         (start_locale_prelude): Likewise.
29950         (end_locale_prelude): Likewise.
29951         (write_locale_data): Take locale_file structure rather than an
29952         iovec.
29953         * locale/programs/locfile.h: Include "obstack.h".
29954         (struct locale_file): Change to store locale file contents instead
29955         of header.
29956         (init_locale_data): New prototype.
29957         (align_locale_data): Likewise.
29958         (add_locale_empty): Likewise.
29959         (add_locale_raw_data): Likewise.
29960         (add_locale_raw_obstack): Likewise.
29961         (add_locale_string): Likewise.
29962         (add_locale_wstring): Likewise.
29963         (add_locale_uint32): Likewise.
29964         (add_locale_uint32_array): Likewise.
29965         (add_locale_char): Likewise.
29966         (start_locale_structure): Likewise.
29967         (end_locale_structure): Likewise.
29968         (start_locale_prelude): Likewise.
29969         (end_locale_prelude): Likewise.
29970         (write_locale_data): Update prototype.
29971         * locale/programs/3level.h (struct TABLE): Remove result field.
29972         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29973         Use new locale_file interface.
29974         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29975         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29976         * locale/programs/ld-address.c (address_output): Use new
29977         locale_file interface.
29978         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29979         NO_ADD_LOCALE.
29980         (collate_finish): Don't call collseq_table_finalize.
29981         (collate_output): Use new locale_file interface.
29982         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29983         in file.
29984         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29985         (TABLE): Move defines earlier in file.
29986         (ELEMENT): Likewise.
29987         (DEFAULT): Likewise.
29988         (wctrans_table_add): Move macro and inline function earlier in
29989         file.
29990         (struct wctype_table): Move type earlier in file.
29991         (add_locale_wctype_table): New static prototype.
29992         (struct locale_ctype_t): Use logical types instead of struct iovec
29993         pointers for members.
29994         (ctype_output): Use new locale_file interface.
29995         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29996         new locale_file interface.
29997         (allocate_arrays): Update for use of new locale_file interface.
29998         * locale/programs/ld-identification.c (identification_output): Use
29999         new locale_file interface.
30000         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30001         * locale/programs/ld-messages.c (messages_output): Likewise.
30002         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30003         * locale/programs/ld-name.c (name_output): Likewise.
30004         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30005         * locale/programs/ld-paper.c (paper_output): Likewise.
30006         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30007         * locale/programs/ld-time.c (time_output): Likewise.
30009 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30011         * benchtests/Makefile: Add memrchr benchmark.
30012         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30013         benchmark as memrchr.
30014         * benchtests/bench-memrchr-ifunc.c: New file.
30015         * benchtests/bench-memrchr.c: New file.
30017 2013-09-06   Will Newton  <will.newton@linaro.org>
30019         * benchtests/Makefile (string-bench): Add memcpy.
30021 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30022             Cong Wang  <amwang@redhat.com>
30024         [BZ #15850]
30025         * sysdeps/unix/sysv/linux/bits/in.h
30026         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30027         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30028         before __USE_KERNEL_IPV6_DEFS uses.
30029         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30030         IPPROTO_BEETPH.
30031         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30032         sockaddr_in6, or ipv6_mreq.
30034 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30036         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30037         memory access for final bytes in some large inputs.
30038         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30040 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30042         * string/test-memrchr.c: New file.
30043         * string/test-memrchr-ifunc.c: New file.
30044         * string/Makefile: Add new memrchr testcase.
30046 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30048         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30049         fanotify_init returns EPERM.
30051 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30053         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30054         errors.
30055         (top level): Treat second token from macro or constant entries for
30056         allowed headers as allowed.
30057         * include/complex.h: Condition internal declarations on
30058         [!_ISOMAC].
30059         * include/fenv.h: Condition include of <stdbool.h> and internal
30060         declarations on [!_ISOMAC].
30062 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30064         [BZ #15923]
30065         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30067 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30069         * configure.in (--enable-versioning): Remove configure option.
30070         (libc_cv_asm_symver_directive): Remove configure test.
30071         (libc_cv_ld_version_script_option): Likewise.
30072         (VERSIONING): Remove variable and AC_SUBST.
30073         (DO_VERSIONING): Remove AC_DEFINE.
30074         * configure: Regenerated.
30075         * config.h.in (DO_VERSIONING): Remove macro.
30076         * Makerules [$(versioning) = yes]: Change conditionals to
30077         [$(build-shared) = yes].
30078         * config.make.in (versioning): Remove variable.
30079         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30080         [$(build-shared) = yes].
30081         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30082         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30083         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30084         [$(build-shared) = yes].
30085         * extra-lib.mk [$(versioning) = yes]: Likewise.
30086         * hurd/Makefile [$(versioning) = yes]: Likewise.
30087         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30088         [SHARED].
30089         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30090         [SHARED].
30091         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30092         [SHARED && !NO_HIDDEN].
30093         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30094         [SHARED].
30095         [SHARED && DO_VERSIONING]: Likewise..
30096         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30097         [$(build-shared) = yes].
30098         * manual/install.texi (--disable-versioning): Remove
30099         documentation.
30100         * INSTALL: Regenerated.
30101         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30102         to [SHARED].
30103         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30104         [$(build-shared) = yes].
30105         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30106         * sysdeps/i386/i686/multiarch/strstr-c.c
30107         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30108         [SHARED && !NO_HIDDEN].
30109         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30110         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30111         * sysdeps/powerpc/powerpc32/dl-machine.c
30112         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30113         * sysdeps/powerpc/powerpc32/sysdep.h
30114         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30115         to [SHARED && PIC && !NO_HIDDEN].
30116         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30117         conditional to [SHARED].
30119 2013-09-04   Will Newton  <will.newton@linaro.org>
30121         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30122         * benchtests/bench-string.h: Include bench-timing.h instead
30123         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30124         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30125         call to HP_TIMING_DIFF_INIT.
30126         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30127         instead of hp-timing.h macros.
30128         * benchtests/bench-memchr.c: Likewise.
30129         * benchtests/bench-memcmp.c: Likewise.
30130         * benchtests/bench-memcpy.c: Likewise.
30131         * benchtests/bench-memmem.c: Likewise.
30132         * benchtests/bench-memmove.c: Likewise.
30133         * benchtests/bench-memset.c: Likewise.
30134         * benchtests/bench-rawmemchr.c: Likewise.
30135         * benchtests/bench-strcasecmp.c: Likewise.
30136         * benchtests/bench-strcasestr.c: Likewise.
30137         * benchtests/bench-strcat.c: Likewise.
30138         * benchtests/bench-strchr.c: Likewise.
30139         * benchtests/bench-strcmp.c: Likewise.
30140         * benchtests/bench-strcpy.c: Likewise.
30141         * benchtests/bench-strcpy_chk.c: Likewise.
30142         * benchtests/bench-strlen.c: Likewise.
30143         * benchtests/bench-strncasecmp.c: Likewise.
30144         * benchtests/bench-strncat.c: Likewise.
30145         * benchtests/bench-strncmp.c: Likewise.
30146         * benchtests/bench-strncpy.c: Likewise.
30147         * benchtests/bench-strnlen.c: Likewise.
30148         * benchtests/bench-strpbrk.c: Likewise.
30149         * benchtests/bench-strrchr.c: Likewise.
30150         * benchtests/bench-strspn.c: Likewise.
30151         * benchtests/bench-strstr.c: Likewise.
30153 2013-09-04  Will Newton  <will.newton@linaro.org>
30155         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30157 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30159         [BZ #15427]
30160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30161         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30162         * math/libm-test.inc (lgamma_test_data): Add more tests.
30163         * sysdeps/i386/fpu/libm-test-ulps: Update.
30164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30166 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30168         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30170         Add ifunc.
30171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30172         Add strcmp-sse2-unaligned
30173         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30175 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30177         * Versions.def (libc): Add GLIBC_2.19.
30179 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30181         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30182         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30184 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30186         [BZ #14155]
30187         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30188         intermediate calculations in recurrence.
30189         (__ieee754_ynf): Likewise.
30190         * math/libm-test.inc (jn_test_data): Do not allow spurious
30191         underflow exception.  Add more tests.
30192         (yn_test_data): Add more tests.
30193         * sysdeps/i386/fpu/libm-test-ulps: Update.
30194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30200 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30202         * csu/init-first.c: Fix then/than typos.
30203         * locale/programs/ld-collate.c: Likewise.
30204         * locale/programs/linereader.h: Likewise.
30205         * manual/charset.texi: Likewise.
30206         * manual/filesys.texi: Likewise.
30207         * manual/stdio.texi: Likewise.
30208         * manual/string.texi: Likewise.
30209         * stdlib/fmtmsg.c: Likewise.
30210         * sysdeps/i386/stpncpy.S: Likewise.
30211         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30214         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30216 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30218         * elf/dl-open.c: Fix typos.
30219         * iconvdata/gbbig5.c: Likewise.
30220         * iconvdata/iso-2022-jp.c: Likewise.
30221         * iconv/gconv_int.h: Likewise.
30222         * iconv/loop.c: Likewise.
30223         * nis/rpcsvc/nis.h: Likewise.
30224         * resolv/ns_name.c: Likewise.
30225         * stdio-common/vfscanf.c: Likewise.
30226         * streams/stropts.h: Likewise.
30227         * sunrpc/rpc_thread.c: Likewise.
30228         * sysdeps/i386/strpbrk.S: Likewise.
30229         * sysdeps/ieee754/k_standard.c: Likewise.
30230         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30231         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30232         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30233         * sysdeps/mach/hurd/profil.c: Likewise.
30234         * sysdeps/s390/dl-procinfo.h: Likewise.
30235         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30237         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30238         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30239         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30241 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30243         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30246 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30248         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30249         aix specific files.
30250         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30251         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30252         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30253         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30254         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30255         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30256         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30257         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30259 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30260             Roland McGrath  <roland@hack.frob.com>
30262         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30263         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30265 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30267         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30268         __executable_start symbol instead of _start.
30270 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30272         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30273         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30274         Move macros to...
30275         * sysdeps/gnu/ldsodefs.h: ... this new file.
30277         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30278         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30279         instead of ELFOSABI_LINUX.
30281         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30282         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30283         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30284         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30285         Likewise.
30286         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30287         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30288         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30289         Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30291         (ibm_extended_long_double): Add ieee_nan member.
30292         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30293         (do_test): New function.
30295         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30296         TEST_TRUNC.
30297         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30298         functions, renamed from truncdfsf_test, trunctfsf_test,
30299         trunctfdf_test.
30300         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30301         functions.
30302         (do_test): Run all these.
30304 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30306         * argp/argp-help.c: Fix typos.
30307         * argp/argp-parse.c: Likewise.
30308         * debug/backtracesyms.c: Likewise.
30309         * elf/elf.h: Likewise.
30310         * malloc/malloc.c: Likewise.
30311         * nis/nis_print.c: Likewise.
30312         * resolv/res_comp.c: Likewise.
30313         * stdlib/stdlib.h: Likewise.
30314         * sunrpc/clnt_tcp.c: Likewise.
30315         * sunrpc/clnt_udp.c: Likewise.
30316         * sunrpc/clnt_unix.c: Likewise.
30317         * sysdeps/unix/bsd/ptsname.c: Likewise.
30318         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30319         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30321         Likewise.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30323         Likewise.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30325         Likewise.
30326         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30328 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30330         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30333 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30335         [BZ #15897]
30336         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30337         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30338         ($(objpfx)bug-dl-leaf): New rule.
30339         ($(objpfx)bug-dl-leaf.so): Likewise.
30340         ($(objpfx)bug-dl-leaf.out): Likewise.
30341         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30342         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30343         * dlfcn/bug-dl-leaf.c: New test.
30344         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30345         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30346         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30347         (dlclose): Likewise.
30348         (dlmopen): Likewise.
30350 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30352         * include/netdb.h [!_ISOMAC]:
30353         Don't include <tls.h>.
30354         (h_errno, __libc_h_errno): Move declaration and macros out of
30355         [_LIBC_REENTRANT].
30357         * include/resolv.h [_RESOLV_H_]:
30358         Don't include <tls.h>.
30359         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30360         * resolv/res_libc.c: Don't include <tls.h>.
30361         (_res): Use __attribute__ ((nocommon)) in place of
30362         __attribute__ ((section (".bss"))).
30364         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30365         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30367         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30369         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30370         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30372         * resolv/res_mkquery.c: Include <sys/time.h>.
30374         * inet/ifreq.c: Moved to ...
30375         * sysdeps/unix/ifreq.c: ... here.
30376         * inet/ifreq.c: New file, true stub version.
30378         * socket/sa_len.c: New file.
30379         * socket/Makefile (aux): Add it.
30380         * sysdeps/unix/sysv/linux/Makefile
30381         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30382         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30383         and #include <socket/sa_len.c>.
30384         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30385         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30387         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30388         * bits/socket.h: ... here.
30390         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30391         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30392         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30394 2013-08-27  Andreas Schwab  <schwab@suse.de>
30396         [BZ #15736]
30397         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30398         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30399         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30400         * string/test-strcasecmp.c (test_main): Run tests in several
30401         locales.
30402         * string/test-strncasecmp.c (test_main): Likewise.
30404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30405         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30406         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30408         (__strncasecmp_ssse3) [PIC]: Likewise.
30410 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30412         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30414         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30415         instead of explicitly declaring xdecrypt.
30416         * nis/nss_nis/nis-publickey.c: Likewise.
30418 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30420         [BZ #15890]
30421         * nscd/aicache.c: Include res_hconf.h.
30422         (addhstaiX): Initialize res_hconf.
30424 2013-08-26  Andreas Schwab  <schwab@suse.de>
30426         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30427         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30429 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30431         * nscd/aicache.c (addhstaiX): Fix indentation.
30433 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30435         * configure.ac: Quote $build_pt_chown test.
30436         * configure: Regenerated.
30438 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30440         [BZ #15532]
30441         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30442         * math/s_cexpf.c (__cexpf): Likewise.
30443         * math/s_cexpl.c (__cexpl): Likewise.
30444         * math/libm-test.inc (cexp_test_data): Correct expected return
30445         value for NaN + i0.  Add another test.
30447 2013-08-22  David S. Miller  <davem@davemloft.net>
30449         * po/ca.po: Update Catalan translation from translation project.
30450         * po/uk.po: Add Ukrainian translations from translation project.
30452 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30454         [BZ #15797]
30455         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30456         is infinite, not alongside NaN test.
30457         * math/s_fdimf.c (__fdimf): Likewise.
30458         * math/s_fdiml.c (__fdiml): Likewise.
30459         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30460         errno is unchanged.
30462 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30464         * argp/argp-help.c: Fix typos.
30465         * crypt/speeds.c: Likewise.
30466         * csu/check_fds.c: Likewise.
30467         * elf/dl-load.c: Likewise.
30468         * elf/dl-open.c: Likewise.
30469         * elf/reldep3.c: Likewise.
30470         * elf/reldep.c: Likewise.
30471         * elf/sprof.c: Likewise.
30472         * iconv/iconv_charmap.c: Likewise.
30473         * iconv/skeleton.c: Likewise.
30474         * iconv/strtab.c: Likewise.
30475         * io/lockf64.c: Likewise.
30476         * libio/libioP.h: Likewise.
30477         * resolv/gai_notify.c: Likewise.
30478         * resolv/ns_name.c: Likewise.
30479         * resolv/ns_samedomain.c: Likewise.
30480         * resolv/res_send.c: Likewise.
30481         * stdlib/random.c: Likewise.
30482         * sunrpc/rpc/xdr.h: Likewise.
30483         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30484         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30485         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30486         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30487         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30490         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30491         * sysdeps/mach/hurd/check_fds.c: Likewise.
30492         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30493         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30496         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30497         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30498         * sysdeps/pthread/aio_notify.c: Likewise.
30499         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30500         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30501         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30502         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30503         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30505 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30507         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30508         version if bit_Slow_SSE4_2 is set.
30509         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30510         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30512 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30514         [BZ #15867]
30515         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30516         trampoline stack frame information.
30517         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30519         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30520         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30521         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30522         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30523         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30524         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30525         sa_flags value.
30526         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30527         interrupting a syscall and set with option SA_SIGINFO.
30529 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30531         [BZ #15531]
30532         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30533         argument is infinite.
30534         * math/s_cprojf.c (__cprojf): Likewise.
30535         * math/s_cprojl.c (__cprojl): Likewise.
30536         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30537         * math/libm-test.inc (cproj_test_data): Add more tests.
30539         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30541         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30542         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30543         size.  Use __ffs to determine corresponding shift.
30545 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30546             Roland McGrath  <roland@hack.frob.com>
30548         * Makefile (INSTALL): Remove trailing blank lines from output of
30549         makeinfo.
30551 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30553         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30554         Align 32 bit compat elf_greg to 8 bytes.
30556 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30558         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30560 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30562         * string/strcoll_l.c (coll_seq): New structure.
30563         (get_next_seq_cached): New function.
30564         (get_next_seq): New function.
30565         (do_compare): New function.
30566         (STRCOLL): Use GNU style definition.  Simplify implementation
30567         by using get_next_seq, get_next_seq_cached and do_compare.
30569 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30571         [BZ #14699]
30572         CVE-2013-4237
30573         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30574         member.
30575         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30576         member.
30577         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30578         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30579         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30580         conditional.
30581         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30582         GETDENTS_64BIT_ALIGNED.
30583         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30584         * manual/filesys.texi (Reading/Closing Directory): Document
30585         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30586         strongly.
30587         * manual/conf.texi (Limits for Files): Add portability note to
30588         NAME_MAX, PATH_MAX.
30589         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30591 2013-08-13  Andreas Schwab  <schwab@suse.de>
30593         [BZ #15749]
30594         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30595         of fabs.
30596         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30597         LDBL_MAX_EXP >= 16384]: Add tests for it.
30599 2013-08-12  David S. Miller  <davem@davemloft.net>
30601         * version.h (RELEASE): Set to "development".
30602         (VERSION): Set to "2.18.90".
30603         * NEWS: Add 2.19 section.
30605 2013-08-03  David S. Miller  <davem@davemloft.net>
30607         * po/ko.po: Update Korean translation from translation project.
30609 2013-08-01  David S. Miller  <davem@davemloft.net>
30611         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30612         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30613         Bilka.
30615 2013-07-30  David S. Miller  <davem@davemloft.net>
30617         * po/fr.po: Update French translation from translation project.
30619 2013-07-28  David S. Miller  <davem@davemloft.net>
30621         * po/cs.po: Update Czech translation from translation project.
30623         * po/sv.po: Update Swedish translation from translation project.
30625 2013-07-27  David S. Miller  <davem@davemloft.net>
30627         * po/eo.po: Update Esperanto translation from translation project.
30629         * po/vi.po: Update Vietnamese translation from translation project.
30631         * po/de.po: Update German translation from translation project.
30633 2013-07-26  David S. Miller  <davem@davemloft.net>
30635         * po/bg.po: Update Bulgarian translation from translation project.
30637         * po/nl.po: Update Dutch translation from translation project.
30638         * po/pl.po: Update Polish translation from translation project.
30639         * po/ru.po: Update Russian translation from translation project.
30641 2013-07-24  David S. Miller  <davem@davemloft.net>
30643         * po/libc.pot: Update.
30645 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30647         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30648         variable page size.
30649         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30650         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30651         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30653 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30655         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30657 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30658             Andreas Schwab  <schwab@suse.de>
30659             Roland McGrath  <roland@hack.frob.com>
30660             Joseph Myers  <joseph@codesourcery.com>
30661             Carlos O'Donell  <carlos@redhat.com>
30663         [BZ #15755]
30664         * config.h.in: Define HAVE_PT_CHOWN.
30665         * config.make.in (build-pt-chown): New variable.
30666         * configure.in (--enable-pt_chown): New configure option.
30667         * configure: Regenerate.
30668         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30669         build-pt-chown is enabled.
30670         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30671         pt_chown to fix pty ownership.
30672         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30673         CLOSE_ALL_FDS.
30674         * manual/install.texi (Configuring and compiling): Mention
30675         --enable-pt_chown. Add @findex for grantpt.
30676         * INSTALL: Regenerate.
30678 2013-07-20  David S. Miller  <davem@davemloft.net>
30680         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30681         difference between 32-bit and 64-bit.
30683 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30685         [BZ #15711]
30686         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30687         Avoid system header dependency with -ffreestanding.
30688         ($(objpfx)bits/syscall%d): Likewise.
30690 2013-07-13  David S. Miller  <davem@davemloft.net>
30692         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30693         underflows from atanl/atan2l due to bug 15319.
30694         (casinh_test_data): Likewise.
30696 2013-07-07  David S. Miller  <davem@davemloft.net>
30698         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30700 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30702         * sysdeps/i386/fpu/libm-test-ulps: Update.
30703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30705 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30707         * configure.in (--enable-lock-elision): Fix message text.
30708         * INSTALL: Regenerate.
30709         * configure: Regenerate.
30711 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30715 2013-07-03  Andreas Jaeger  <aj@suse.de>
30717         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30718         define.
30719         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30720         (ptrace_peeksiginfo_args): Add.
30721         (__ptrace_peeksiginfo_flags): Add.
30722         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30726 2013-07-03  Allan McRae  <allan@archlinux.org>
30728         * sysdeps/i386/fpu/libm-test-ulps: Update.
30730 2013-07-02  David S. Miller  <davem@davemloft.net>
30732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30734 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30738 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30740         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30743 2013-07-02  Andi Kleen <ak@linux.intel.com>
30745         * config.h.in (ENABLE_LOCK_ELISION): Add.
30746         * configure.in (--enable-lock-elision): Add option.
30747         * manual/install.texi: Document --enable lock elision.
30748         * configure: Regenerate
30749         * INSTALL: Regenerate.
30751 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30753         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30754         SSE4.2 strcasecmp for libc.a.
30755         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30757 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30759         [BZ #13304]
30760         * soft-fp/op-common.h (_FP_FMA): New macro.
30761         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30762         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30763         (_FP_MUL_MEAT_1_imm): ... here.
30764         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30765         (_FP_MUL_MEAT_1_wide): ... here.
30766         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30767         (_FP_MUL_MEAT_1_hard): ... here.
30768         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30769         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30770         (_FP_MUL_MEAT_2_wide): ... here.
30771         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30772         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30773         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30774         (_FP_MUL_MEAT_2_gmp): ... here.
30775         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30776         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30777         (_FP_MUL_MEAT_4_wide): ... here.
30778         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30779         (_FP_MUL_MEAT_4_gmp): ... here.
30780         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30781         (_FP_WFRACBITS_DW_S): Likewise.
30782         (_FP_WFRACXBITS_DW_S): Likewise.
30783         (_FP_HIGHBIT_DW_S): Likewise.
30784         (FP_FMA_S): Likewise.
30785         (_FP_FRAC_HIGH_DW_S): Likewise.
30786         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30787         (_FP_WFRACBITS_DW_D): Likewise.
30788         (_FP_WFRACXBITS_DW_D): Likewise.
30789         (_FP_HIGHBIT_DW_D): Likewise.
30790         (FP_FMA_D): Likewise.
30791         (_FP_FRAC_HIGH_DW_D): Likewise.
30792         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30793         (_FP_WFRACBITS_DW_E): Likewise.
30794         (_FP_WFRACXBITS_DW_E): Likewise.
30795         (_FP_HIGHBIT_DW_E): Likewise.
30796         (FP_FMA_E): Likewise.
30797         (_FP_FRAC_HIGH_DW_E): Likewise.
30798         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30799         (_FP_WFRACBITS_DW_Q): Likewise.
30800         (_FP_WFRACXBITS_DW_Q): Likewise.
30801         (_FP_HIGHBIT_DW_Q): Likewise.
30802         (FP_FMA_Q): Likewise.
30803         (_FP_FRAC_HIGH_DW_Q): Likewise.
30804         * soft-fp/fmasf4.c: New file.
30805         * soft-fp/fmadf4.c: Likewise.
30806         * soft-fp/fmatf4.c: Likewise.
30808 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30811         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30812         Silvermont.
30813         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30814         macro.
30815         (index_Slow_SSE4_2): Likewise.
30816         (index_Prefer_PMINUB_for_stringop): Likewise.
30817         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30818         bit_Slow_SSE4_2 is set.
30819         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30822 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30824         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30825         rtld_global._dl_hwcap2.
30826         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30827         POWER8.
30828         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30829         POWER8 feature descriptions defined in _dl_hwcap2.
30830         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30831         string handling for POWER8 feature bits.
30832         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30833         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30834         _dl_powerpc_cap_flags.
30835         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30836         * sysdeps/powerpc/rtld-global-offsets.sym
30837         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30838         _dl_hwcap2 in the rtld_global_ro structure.
30840 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30842         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30843         hardware capabilities in support of AT_HWCAP2.
30844         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30845         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30846         GLRO(dl_hwcap2).
30847         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30848         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30849         explicitly the unknown a_type display mechanism is used.
30850         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30851         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30852         struct member.
30853         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30854         to macro prototype for AT_HWCAP2 support.
30855         * sysdeps/i386/dl-procinfo.h: Likewise.
30856         * sysdeps/s390/dl-procinfo.h: Likewise.
30857         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30858         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30859         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30860         return -1 for unknown a_type display fallback.
30861         * sysdeps/sparc/dl-procinfo.h: Likewise.
30862         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30863         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30865 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30867         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30868         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30870 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30872         [BZ #12492]
30873         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30874         mprotect making __stack_prot writable.
30876 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30877             Joseph Myers  <joseph@codesourcery.com>
30879         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30880         as being properly aligned.
30882 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30884         * dlfcn/modstatic5.c: New file.
30885         * dlfcn/tststatic5.c: New file.
30886         * dlfcn/Makefile (tests): Add tststatic5.
30887         (tests-static): Likewise.
30888         (modules-names): Add modstatic5.
30889         (tststatic5-ENV): New variable.
30890         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30892         [BZ #15022]
30893         * elf/dl-support.c (_dl_main_map): New variable.
30894         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30895         (_dl_nns, _dl_load_adds): Set to 1.
30896         (_dl_initial_searchlist): Refer to _dl_main_map.
30897         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30898         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30899         call to _dl_get_origin.
30900         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30901         around call_map.
30902         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30903         * dlfcn/modstatic3.c: New file.
30904         * dlfcn/tststatic3.c: New file.
30905         * dlfcn/tststatic4.c: New file.
30906         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30907         (tests-static): Likewise.
30908         (modules-names): Add modstatic3.
30909         (tststatic3-ENV, tststatic4-ENV): New variables.
30910         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30911         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30913 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30915         * configure.in (CC): Require GCC version 4.4 or later.
30916         * configure: Regenerated.
30917         * manual/install.texi (Tools for Compilation): Update GCC version
30918         requirement.
30919         * INSTALL: Regenerated.
30921 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30923         [BZ #15674]
30924         * string/test-memcmp.c (check2): New.
30925         (main): Call check2.
30927         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30929 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30931         [BZ #15022]
30932         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30933         over to...
30934         (dl_open_worker) [!SHARED]: ... here.
30936 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30938         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30940 2013-06-25  Richard Henderson  <rth@redhat.com>
30942         * locale/programs/locarchive.c: Include <libc-internal.h>
30944 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30946         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30947         trailing whitespace removed.
30949 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30951         [BZ #10283]
30952         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30953         * locale/programs/locarchive.c: Include libc-mmap.h.
30954         (prepare_address_space): Take two new outputs (the mmap base and len).
30955         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30956         values.
30957         (create_archive): Declare new mmap base and len values for
30958         prepare_address_space, and store the result in ah.
30959         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30960         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30961         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30962         Declare new mmap base and len values for
30963         prepare_address_space, and store the result in new_ah.
30964         (open_archive): Declare new mmap base and len values for
30965         prepare_address_space, and store the result in ah.
30966         (close_archive): If ah->mmap_base is not NULL, use that and
30967         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30968         * sysdeps/generic/libc-mmap.h: New file.
30970 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30972         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30973         (ALIGN_UP): Likewise.
30974         (PTR_ALIGN_DOWN): Likewise.
30975         (PTR_ALIGN_UP): Likewise.
30977 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30979         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30980         entry mapped to PPC_PLATFORM_POWER8.
30981         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30982         POWER8.
30983         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30984         (_dl_string_platform): Add case for exporting platform position for
30985         POWER8.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30987         search path to sysdeps/powerpc/powerpc32/power8 directory.
30988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30989         search path to sysdeps/powerpc/powerpc64/power8 directory.
30990         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30991         power7 directories.
30992         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30993         power7 directories.
30995 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30997         * INSTALL: Regenerate.
30999         * nscd/connections.c (nscd_init): Fix comment.
31001 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31003         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31005         [BZ #15667]
31006         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31007         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31009 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31011         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31012         DL_DST_REQ_STATIC.
31013         (DL_DST_REQ_STATIC): Remove macro.
31015 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31017         [BZ #7006]
31018         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31019         with a shift of 0 bits.
31021 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31023         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31024         $(tststatic-ENV).
31026 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31028         [BZ #15655]
31029         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31031 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31033         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31034         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31035         accepts -fno-tree-loop-distribute-patterns.
31036         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31037         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31038         recursive call.
31039         * string/memset.c (memset): Likewise.
31040         * string/test-memmove.c (simple_memmove): Disable loop transformation
31041         to library calls.
31042         * string/test-memset.c (simple_memset): Likewise.
31043         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31044         * benchtests/bench-memset.c (simple_memset): Likewise.
31045         * configure: Regenerated.
31047 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31049         * math/test-misc.c (main): Ignore fesetround failure when failures
31050         of subsequent rounding tests would be ignored.
31052         [BZ #15654]
31053         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31054         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31055         * math/fegetenv.c (__fegetenv): Return 0.
31056         * math/fegetexcept.c (fegetexcept): Return 0.
31057         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31058         FE_TONEAREST.
31059         * math/feholdexcpt.c (feholdexcept): Return 0.
31060         * math/fesetenv.c (__fesetenv): Return 0.
31061         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31062         argument FE_TONEAREST.
31063         * math/feupdateenv.c (__feupdateenv): Return 0.
31064         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31066 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31068         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31069         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31070         ($(objpfx)rtld-%.os rules): Use them.
31072 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31074         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31075         fields.
31077 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31079         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31080         length of target pattern, then descending length of dependency pattern.
31081         * configure.in (AWK): Require gawk 3.1.2 or newer.
31082         * manual/install.texi (Tools for Compilation): Say that we do.
31083         * configure: Regenerated.
31085         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31086         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31087         * scripts/sysd-rules.awk: ... this new script.
31088         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31089         than a glob-style pattern.
31091 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31093         * math/test-misc.c (main): Do not treat incorrectly rounded
31094         conversions as failure unless ROUNDING_TESTS passes.
31096 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31098         [BZ #15631]
31099         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31100         restore exception state around main square root computation, then
31101         check for inexactness explicitly.
31103         * math/libm-test.inc (fma_test_data): Add another test.
31105 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31107         * manual/threads.texi (Non-POSIX Extensions): New document
31108         node.  Document pthread_getattr_default_np and
31109         pthread_setattr_default_np.
31111         * Versions.def (libpthread): Add GLIBC_2.18.
31112         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31114         Likewise.
31115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31116         Likewise.
31117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31118         Likewise.
31119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31120         Likewise.
31121         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31122         Likewise.
31123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31124         Likewise.
31125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31130         Likewise.
31132 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31135         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31137 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31138             H.J. Lu  <hjl.tools@gmail.com>
31140         [BZ #15627]
31141         * sysdeps/x86_64/rtld-memset.c: Remove file.
31142         * sysdeps/x86_64/rtld-memset.S: New file.
31144 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31146         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31147         (test_in_one_mode): Take arguments for whether the rounding mode
31148         is supported for each floating-point type.
31149         (do_test): Pass new arguments to test_in_one_mode using
31150         ROUNDING_TESTS.
31152 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31154         * posix/tst-waitid.c (do_test): Distinguish different instances of
31155         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31156         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31157         before entering the kernel for waitpid.
31159 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31161         * NEWS: Fix note on clock function precision.  Text by Roland
31162         McGrath.
31164 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31166         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31167         it into place only when and if the sanity check passes.
31169 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31171         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31172         output for whether conversion result is exact.  Take argument
31173         indicating whether type is IBM long double.
31174         (round_for_all): Change need_exact field to ibm_ld.
31175         * stdlib/tst-strtod-round.c (struct exactness): New type.
31176         (struct test): Change bool ld_ok field to struct exactness exact.
31177         (TEST): Update all definitions for change to field.
31178         (tests): Regenerate array contents.
31179         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31180         field value.  Check for IBM long double here.
31181         (do_test): Update calls to test_in_one_mode.
31183 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31185         [BZ #12515]
31186         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31187         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31189 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31191         [BZ #15605]
31192         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31193         generated by the compiler on loop optimizations.
31194         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31195         general definitions.
31197 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31199         * math/bug-nextafter.c: Include <math-tests.h>.
31200         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31201         the relevant type.
31202         * math/bug-nexttoward.c: Include <math-tests.h>.
31203         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31204         the relevant type.
31205         * math/test-misc.c: Include <math-tests.h>.
31206         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31207         the relevant type.
31209 2013-06-12  Andreas Jaeger  <aj@suse.de>
31211         * po/ia.po: Update Interlingua translation from translation
31212         project.
31214 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31216         * include/fenv.h: Include stdbool.h.
31217         (struct rm_ctx): New structure.
31218         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31219         Define macro.
31220         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31221         (SET_RESTORE_ROUNDF): Likewise.
31222         (SET_RESTORE_ROUNDL): Likewise.
31223         (SET_RESTORE_ROUND_NOEX): Likewise.
31224         (SET_RESTORE_ROUND_NOEXF): Likewise.
31225         (SET_RESTORE_ROUND_NOEXL): Likewise.
31226         (SET_RESTORE_ROUND_53BIT): Likewise.
31227         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31228         (libc_feresetround_noexf_ctx): Likewise.
31229         (libc_feresetround_noexl_ctx): Likewise.
31230         (libc_feholdsetround_53bit_ctx): Likewise.
31231         (libc_feresetround_53bit_ctx): Likewise.
31232         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31233         (libc_feholdexcept_setround_sse_ctx): New function.
31234         (libc_fesetenv_sse_ctx): Likewise.
31235         (libc_feupdateenv_sse_ctx): Likewise.
31236         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31237         (libc_feholdexcept_setround_387_ctx): Likewise.
31238         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31239         (libc_feholdsetround_387_prec_ctx): Likewise.
31240         (libc_feholdsetround_387_ctx): Likewise.
31241         (libc_feholdsetround_387_53bit_ctx): Likewise.
31242         (libc_feholdsetround_sse_ctx): Likewise.
31243         (libc_feresetround_sse_ctx): Likewise.
31244         (libc_feresetround_387_ctx): Likewise.
31245         (libc_feupdateenv_387_ctx): Likewise.
31246         (libc_feholdexcept_setroundf_ctx): Define macro.
31247         (libc_fesetenvf_ctx): Likewise.
31248         (libc_feupdateenvf_ctx): Likewise.
31249         (libc_feholdsetroundf_ctx): Likewise.
31250         (libc_feresetroundf_ctx): Likewise.
31251         (libc_feholdexcept_setround_ctx): Likewise.
31252         (libc_fesetenv_ctx): Likewise.
31253         (libc_feupdateenv_ctx): Likewise.
31254         (libc_feholdsetround_ctx): Likewise.
31255         (libc_feresetround_ctx): Likewise.
31256         (libc_feholdexcept_setroundl_ctx): Likewise.
31257         (libc_feupdateenvl_ctx): Likewise.
31258         (libc_feholdsetroundl_ctx): Likewise.
31259         (libc_feresetroundl_ctx): Likewise.
31260         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31261         (libc_feresetround_53bit_ctx): Likewise.
31263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31265         * locale/iso-639.def: Convert to UTF-8.
31267 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31269         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31270         (EXCEPTION_TESTS_double): Likewise.
31271         (EXCEPTION_TESTS_long_double): Likewise.
31272         (EXCEPTION_TESTS): Likewise.
31273         * math/libm-test.inc (test_exceptions): Only test exceptions if
31274         EXCEPTION_TESTS (FLOAT).
31276 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31278         * benchtests/Makefile (string-bench): Add strcpy_chk and
31279         stpcpy_chk.
31280         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31281         * benchtests/bench-stpcpy_chk.c: New file.
31282         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31283         * benchtests/bench-strcpy_chk.c: New file.
31284         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31285         code.
31286         (do_test): Likewise.
31288 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31290         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31291         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31292         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31293         with tabs where appropriate.
31294         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31295         dl-procinfo.h.
31296         [PPC_PLATFORM_PPC440]: Likewise.
31297         [PPC_PLATFORM_PPC464]: Likewise.
31298         [PPC_PLATFORM_PPC476]: Likewise.
31299         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31300         ppc464, and ppc476 platform strings merging from ports/
31301         dl-procinfo.h.
31303 2013-06-11  Andreas Schwab  <schwab@suse.de>
31305         [BZ #14991]
31306         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31307         (from_ucs4_idx): Regenerate.
31308         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31309         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31310         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31311         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31312         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31313         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31314         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31315         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31316         from FROM_LOOP and TO_LOOP specific macros.
31317         (BODY): Handle combining characters.
31318         * iconvdata/BIG5HKSCS.irreversible: Update.
31319         * iconvdata/BIG5HKSCS.precomposed: New file.
31320         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31321         characters.
31322         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31324 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31326         * include/sys/time.h: Fix indentation and add copyright header.
31328         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31329         (do_test): Likewise.
31330         * string/test-memchr.c (do_one_test): Likewise.
31331         (do_test): Likewise.
31332         * string/test-memcmp.c (do_one_test): Likewise.
31333         (do_test): Likewise.
31334         * string/test-memcpy.c (do_one_test): Likewise.
31335         (do_test): Likewise.
31336         * string/test-memmem.c (do_one_test): Likewise.
31337         (do_test): Likewise.
31338         (do_random_tests): Likewise.
31339         * string/test-memmove.c (do_one_test): Likewise.
31340         (do_test): Likewise.
31341         * string/test-memset.c (do_one_test): Likewise.
31342         (do_test): Likewise.
31343         * string/test-rawmemchr.c (do_one_test): Likewise.
31344         (do_test): Likewise.
31345         * string/test-strcasecmp.c (do_one_test): Likewise.
31346         (do_test): Likewise.
31347         * string/test-strcasestr.c (do_one_test): Likewise.
31348         (do_test): Likewise.
31349         * string/test-strcat.c (do_one_test): Likewise.
31350         (do_test): Likewise.
31351         * string/test-strchr.c (do_one_test): Likewise.
31352         (do_test): Likewise.
31353         * string/test-strcmp.c (do_one_test): Likewise.
31354         (do_test): Likewise.
31355         * string/test-strcpy.c (do_one_test): Likewise.
31356         (do_test): Likewise.
31357         * string/test-string.h: Likewise.
31358         (test_init): Likewise.
31359         * string/test-strlen.c (do_one_test): Likewise.
31360         (do_test): Likewise.
31361         * string/test-strncasecmp.c (do_one_test): Likewise.
31362         (do_test): Likewise.
31363         * string/test-strncat.c (do_one_test): Likewise.
31364         (do_test): Likewise.
31365         * string/test-strncmp.c (do_one_test): Likewise.
31366         (do_test_limit): Likewise.
31367         (do_test): Likewise.
31368         * string/test-strncpy.c (do_one_test): Likewise.
31369         (do_test): Likewise.
31370         * string/test-strnlen.c (do_one_test): Likewise.
31371         (do_test): Likewise.
31372         * string/test-strpbrk.c (do_one_test): Likewise.
31373         (do_test): Likewise.
31374         * string/test-strrchr.c (do_one_test): Likewise.
31375         (do_test): Likewise.
31376         * string/test-strspn.c (do_one_test): Likewise.
31377         (do_test): Likewise.
31378         * string/test-strstr.c (do_one_test): Likewise.
31379         (do_test): Likewise.
31381         * benchtests/Makefile (string-bench): Add string benchmarks.
31382         * benchtests/bench-bcopy-ifunc.c: New file.
31383         * benchtests/bench-bcopy.c: New file.
31384         * benchtests/bench-bzero-ifunc.c: New file.
31385         * benchtests/bench-bzero.c: New file.
31386         * benchtests/bench-memccpy-ifunc.c: New file.
31387         * benchtests/bench-memccpy.c: New file.
31388         * benchtests/bench-memchr-ifunc.c: New file.
31389         * benchtests/bench-memchr.c: New file.
31390         * benchtests/bench-memcmp-ifunc.c: New file.
31391         * benchtests/bench-memcmp.c: New file.
31392         * benchtests/bench-memmem-ifunc.c: New file.
31393         * benchtests/bench-memmem.c: New file.
31394         * benchtests/bench-memmove-ifunc.c: New file.
31395         * benchtests/bench-memmove.c: New file.
31396         * benchtests/bench-mempcpy-ifunc.c: New file.
31397         * benchtests/bench-mempcpy.c: New file.
31398         * benchtests/bench-memset-ifunc.c: New file.
31399         * benchtests/bench-memset.c: New file.
31400         * benchtests/bench-rawmemchr-ifunc.c: New file.
31401         * benchtests/bench-rawmemchr.c: New file.
31402         * benchtests/bench-stpcpy-ifunc.c: New file.
31403         * benchtests/bench-stpcpy.c: New file.
31404         * benchtests/bench-stpncpy-ifunc.c: New file.
31405         * benchtests/bench-stpncpy.c: New file.
31406         * benchtests/bench-strcasecmp-ifunc.c: New file.
31407         * benchtests/bench-strcasecmp.c: New file.
31408         * benchtests/bench-strcasestr-ifunc.c: New file.
31409         * benchtests/bench-strcasestr.c: New file.
31410         * benchtests/bench-strcat-ifunc.c: New file.
31411         * benchtests/bench-strcat.c: New file.
31412         * benchtests/bench-strchr-ifunc.c: New file.
31413         * benchtests/bench-strchr.c: New file.
31414         * benchtests/bench-strchrnul-ifunc.c: New file.
31415         * benchtests/bench-strchrnul.c: New file.
31416         * benchtests/bench-strcmp-ifunc.c: New file.
31417         * benchtests/bench-strcmp.c: New file.
31418         * benchtests/bench-strcpy-ifunc.c: New file.
31419         * benchtests/bench-strcpy.c: New file.
31420         * benchtests/bench-strcspn-ifunc.c: New file.
31421         * benchtests/bench-strcspn.c: New file.
31422         * benchtests/bench-strlen-ifunc.c: New file.
31423         * benchtests/bench-strlen.c: New file.
31424         * benchtests/bench-strncasecmp-ifunc.c: New file.
31425         * benchtests/bench-strncasecmp.c: New file.
31426         * benchtests/bench-strncat-ifunc.c: New file.
31427         * benchtests/bench-strncat.c: New file.
31428         * benchtests/bench-strncmp-ifunc.c: New file.
31429         * benchtests/bench-strncmp.c: New file.
31430         * benchtests/bench-strncpy-ifunc.c: New file.
31431         * benchtests/bench-strncpy.c: New file.
31432         * benchtests/bench-strnlen-ifunc.c: New file.
31433         * benchtests/bench-strnlen.c: New file.
31434         * benchtests/bench-strpbrk-ifunc.c: New file.
31435         * benchtests/bench-strpbrk.c: New file.
31436         * benchtests/bench-strrchr-ifunc.c: New file.
31437         * benchtests/bench-strrchr.c: New file.
31438         * benchtests/bench-strspn-ifunc.c: New file.
31439         * benchtests/bench-strspn.c: New file.
31440         * benchtests/bench-strstr-ifunc.c: New file.
31441         * benchtests/bench-strstr.c: New file.
31443         * benchtests/Makefile: Disable parallel execution of targets.
31444         (string-bench): Add memcpy.
31445         (benchset): New variable to store a list of benchmark sets.
31446         (bench-func): Renamed from bench.
31447         (bench-set): New target.
31448         (bench): Depend on bench-func and bench-set.
31449         * benchtests/README: Add section on benchmark sets.
31450         * benchtests/bench-memcpy-ifunc.c: New file.
31451         * benchtests/bench-memcpy.c: New file.
31452         * benchtests/bench-string.h: New file.
31454 2013-06-11  Andreas Schwab  <schwab@suse.de>
31456         [BZ #15577]
31457         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31458         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31459         values in the triple.
31460         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31461         terminator in the group key.
31463 2013-06-11  Andreas Jaeger  <aj@suse.de>
31465         * po/zh_TW.po: Update Chinese (traditional) translation from
31466         translation project.
31468 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31470         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31471         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31472         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31474         (clock_getcpuclockid): Likewise.
31475         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31476         Add weak_alias and libc_hidden_def.
31477         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31478         * rt/clock_gettime.c (clock_gettime): Rename to
31479         __clock_gettime.  Add weak_alias and libc_hidden_def.
31480         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31481         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31482         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31483         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31484         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31485         Likewise.
31486         * rt/clock_settime.c (clock_settime): Rename to
31487         __clock_settime.  Add weak_alias and libc_hidden_def.
31488         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31490 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31492         * mach/err_boot.sub: Remove trailing whitespace.
31493         * mach/err_ipc.sub: Likewise.
31494         * mach/err_mach.sub: Likewise.
31496         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31497         (ROUNDING_TESTS_double): Likewise.
31498         (ROUNDING_TESTS_long_double): Likewise.
31499         (ROUNDING_TESTS): Likewise.
31500         * math/libm-test.inc: Include <math-tests.h>.
31501         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31502         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31503         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31504         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31506 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31508         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31509         of assigning.
31511 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31513         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31514         otherwise empty TRANS lines.
31515         * sysdeps/gnu/errlist.c: Regenerated.
31517         * catgets/gencat.c (error_print): Use (void) in function
31518         definition.
31519         * crypt/crypt_util.c (__init_des): Likewise.
31520         * crypt/speeds.c (Stop): Likewise.
31521         (main): Likewise.
31522         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31523         * inet/ruserpass.c (token): Likewise.
31524         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31525         * intl/localealias.c (extend_alias_table): Likewise.
31526         * intl/plural-exp.c (init_germanic_plural): Likewise.
31527         * libio/fcloseall.c (__fcloseall): Likewise.
31528         * libio/genops.c (_IO_flush_all): Likewise.
31529         (_IO_flush_all_linebuffered): Likewise.
31530         (_IO_cleanup): Likewise.
31531         (_IO_iter_begin): Likewise.
31532         (_IO_iter_end): Likewise.
31533         (_IO_list_lock): Likewise.
31534         (_IO_list_unlock): Likewise.
31535         (_IO_list_resetlock): Likewise.
31536         * libio/getchar.c (getchar): Likewise.
31537         * libio/getchar_u.c (getchar_unlocked): Likewise.
31538         * libio/getwchar.c (getwchar): Likewise.
31539         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31540         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31541         * login/getpt.c (__getpt): Likewise.
31542         * login/tst-utmp.c (main): Likewise.
31543         * malloc/hooks.c (__malloc_check_init): Likewise.
31544         * malloc/malloc.c (__malloc_stats): Likewise.
31545         * malloc/mtrace.c (tr_break): Likewise.
31546         (mtrace): Likewise.
31547         (muntrace): Likewise.
31548         * misc/fstab.c (endfsent): Likewise.
31549         * misc/getclktck.c (__getclktck): Likewise.
31550         * misc/getdtsz.c (__getdtablesize): Likewise.
31551         * misc/gethostid.c (gethostid): Likewise.
31552         * misc/getpagesize.c (__getpagesize): Likewise.
31553         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31554         (__get_nprocs): Likewise.
31555         (__get_phys_pages): Likewise.
31556         (__get_avphys_pages): Likewise.
31557         * misc/getttyent.c (getttyent): Likewise.
31558         (setttyent): Likewise.
31559         (endttyent): Likewise.
31560         * misc/getusershell.c (getusershell): Likewise.
31561         (endusershell): Likewise.
31562         (setusershell): Likewise.
31563         (initshells): Likewise.
31564         * misc/hsearch.c (__hdestroy): Likewise.
31565         * misc/sync.c (sync): Likewise.
31566         * misc/syslog.c (closelog_internal): Likewise.
31567         (closelog): Likewise.
31568         * misc/ttyslot.c (ttyslot): Likewise.
31569         * misc/vhangup.c (vhangup): Likewise.
31570         * posix/fork.c (__fork): Likewise.
31571         * posix/getegid.c (__getegid): Likewise.
31572         * posix/geteuid.c (__geteuid): Likewise.
31573         * posix/getgid.c (__getgid): Likewise.
31574         * posix/getpid.c (__getpid): Likewise.
31575         * posix/getppid.c (__getppid): Likewise.
31576         * posix/getuid.c (__getuid): Likewise.
31577         * posix/pause.c (pause): Likewise.
31578         * posix/setpgrp.c (setpgrp): Likewise.
31579         * posix/setsid.c (__setsid): Likewise.
31580         * posix/test-vfork.c (noop): Likewise.
31581         * resolv/gethnamaddr.c (_endhtent): Likewise.
31582         (_gethtent): Likewise.
31583         (ht_endhostent): Likewise.
31584         (gethostent): Likewise.
31585         (dns_service): Likewise.
31586         * stdlib/drand48.c (drand48): Likewise.
31587         * stdlib/lrand48.c (lrand48): Likewise.
31588         * stdlib/mrand48.c (mrand48): Likewise.
31589         * stdlib/rand.c (rand): Likewise.
31590         * stdlib/random.c (__random): Likewise.
31591         * stdlib/setenv.c (clearenv): Likewise.
31592         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31593         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31594         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31595         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31596         (__get_nprocs): Likewise.
31597         (__get_phys_pages): Likewise.
31598         (__get_avphys_pages): Likewise.
31599         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31600         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31601         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31602         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31603         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31604         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31605         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31606         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31607         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31608         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31609         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31610         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31611         * sysdeps/posix/clock.c (clock): Likewise.
31612         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31613         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31614         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31615         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31616         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31618         (__get_nprocs_conf): Likewise.
31619         (__get_phys_pages): Likewise.
31620         (__get_avphys_pages): Likewise.
31621         * time/clock.c (clock): Likewise.
31622         * time/tzset.c (__tzname_max): Likewise.
31624 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31626         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31627         (__bswap_32): Do not use "register".
31628         * crypt/crypt.c (_ufc_doit_r): Likewise.
31629         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31630         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31631         * gmon/gmon.c (__monstartup): Likewise.
31632         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31633         * hurd/hurdmalloc.c (more_memory): Likewise.
31634         (malloc): Likewise.
31635         (free): Likewise.
31636         (realloc): Likewise.
31637         (malloc_fork_prepare): Likewise.
31638         (malloc_fork_parent): Likewise.
31639         (malloc_fork_child): Likewise.
31640         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31641         (_svcauth_des): Likewise.
31642         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31643         * inet/inet_net.c (inet_network): Likewise.
31644         * inet/inet_netof.c (inet_netof): Likewise.
31645         * inet/rcmd.c (__validuser2_sa): Likewise.
31646         * io/fts.c (fts_open): Likewise.
31647         (fts_load): Likewise.
31648         (fts_close): Likewise.
31649         (fts_read): Likewise.
31650         (fts_children): Likewise.
31651         (fts_build): Likewise.
31652         (fts_stat): Likewise.
31653         (fts_sort): Likewise.
31654         (fts_alloc): Likewise.
31655         (fts_lfree): Likewise.
31656         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31657         (_IO_file_xsgetn): Likewise.
31658         (_IO_file_xsgetn_mmap): Likewise.
31659         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31660         (_IO_cookie_write): Likewise.
31661         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31662         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31663         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31664         * malloc/obstack.c (_obstack_begin): Likewise.
31665         (_obstack_begin_1): Likewise.
31666         (_obstack_newchunk): Likewise.
31667         (_obstack_allocated_p): Likewise.
31668         (obstack_free): Likewise.
31669         (_obstack_memory_used): Likewise.
31670         * misc/getttyent.c (getttynam): Likewise.
31671         (getttyent): Likewise.
31672         (skip): Likewise.
31673         (value): Likewise.
31674         * misc/getusershell.c (initshells): Likewise.
31675         * misc/syslog.c (__vsyslog_chk): Likewise.
31676         * misc/ttyslot.c (ttyslot): Likewise.
31677         * nis/nis_hash.c (__nis_hash): Likewise.
31678         * posix/fnmatch_loop.c (FCT): Likewise.
31679         * posix/getconf.c (print_all): Likewise.
31680         (main): Likewise.
31681         * posix/getopt.c (exchange): Likewise.
31682         * posix/glob.c (globfree): Likewise.
31683         (prefix_array): Likewise.
31684         (__glob_pattern_type): Likewise.
31685         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31686         (NS_GET32): Likewise.
31687         (NS_PUT16): Likewise.
31688         (NS_PUT32): Likewise.
31689         * resolv/gethnamaddr.c (getanswer): Likewise.
31690         (gethostbyname2): Likewise.
31691         (gethostbyaddr): Likewise.
31692         (_gethtent): Likewise.
31693         (_gethtbyname2): Likewise.
31694         (_gethtbyaddr): Likewise.
31695         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31696         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31697         * resolv/res_init.c (__res_vinit): Likewise.
31698         (net_mask): Likewise.
31699         * resolv/res_mkquery.c (outchar): Likewise.
31700         (PRINT): Likewise.
31701         * stdio-common/printf_fp.c (outchar): Likewise.
31702         (PRINT): Likewise.
31703         * stdio-common/printf_fphex.c (outchar): Likewise.
31704         (PRINT): Likewise.
31705         * stdio-common/printf_size.c (outchar): Likewise.
31706         (PRINT): Likewise.
31707         * stdio-common/test_rdwr.c (main): Likewise.
31708         * stdio-common/tfformat.c (matches): Likewise.
31709         * stdio-common/vfprintf.c (outchar): Likewise.
31710         (printf_unknown): Likewise.
31711         (buffered_vfprintf): Likewise.
31712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31713         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31714         (ReadFile): Likewise.
31715         * stdlib/qsort.c (SWAP): Likewise.
31716         (_quicksort): Likewise.
31717         * stdlib/setenv.c (__add_to_environ): Likewise.
31718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31719         * stdlib/strtol_l.c (__strtol_l): Likewise.
31720         * stdlib/tst-strtod.c (main): Likewise.
31721         * stdlib/tst-strtol.c (main): Likewise.
31722         * stdlib/tst-strtoll.c (main): Likewise.
31723         * string/bits/string2.h (__strcmp_cc): Likewise.
31724         (__strcmp_cg): Likewise.
31725         (__strcspn_c1): Likewise.
31726         (__strcspn_c2): Likewise.
31727         (__strcspn_c3): Likewise.
31728         (__strspn_c1): Likewise.
31729         (__strspn_c2): Likewise.
31730         (__strspn_c3): Likewise.
31731         (__strsep_1c): Likewise.
31732         (__strsep_2c): Likewise.
31733         (__strsep_3c): Likewise.
31734         * string/memccpy.c (__memccpy): Likewise.
31735         * string/stpcpy.c (__stpcpy): Likewise.
31736         * string/strcmp.c (strcmp): Likewise.
31737         * string/strrchr.c (strrchr): Likewise.
31738         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31739         Likewise.
31740         * sysdeps/mach/hurd/getcwd.c
31741         (_hurd_canonicalize_directory_name_internal): Likewise.
31742         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31743         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31744         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31745         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31746         Likewise, in both definitions.
31747         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31748         definitions.
31749         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31750         64] (__bswap_64): Likewise.
31751         * time/test_time.c (main): Likewise.
31752         * time/tzfile.c (__tzfile_read): Likewise.
31753         (__tzfile_compute): Likewise.
31754         * time/tzset.c (__tzset_parse_tz): Likewise.
31755         (tzset_internal): Likewise.
31756         (compute_change): Likewise.
31757         * wcsmbs/wcscat.c (__wcscat): Likewise.
31758         * wcsmbs/wcschr.c (wcschr): Likewise.
31759         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31760         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31761         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31762         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31763         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31764         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31765         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31766         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31767         * wcsmbs/wmemset.c (wmemset): Likewise.
31769 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31771         * scripts/config.guess: Update to version 2013-05-16.
31772         * scripts/config.sub: Update to version 2013-04-24.
31773         * scripts/install-sh: Update to version 2011-11-20.07.
31774         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31775         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31777 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31779         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31780         * elf/sln.c: Likewise.
31781         * hurd/hurd/ioctl.h: Likewise.
31782         * hurd/hurdmalloc.c: Likewise.
31783         * hurd/xattr.c: Likewise.
31784         * include/shlib-compat.h: Likewise.
31785         * inet/ruserpass.c: Likewise.
31786         * libio/iofgets_u.c: Likewise.
31787         * libio/iofgetws_u.c: Likewise.
31788         * locale/programs/ld-identification.c: Likewise.
31789         * locale/programs/ld-time.c: Likewise.
31790         * mach/msg-destroy.c: Likewise.
31791         * nss/nss_files/files-netgrp.c: Likewise.
31792         * resolv/res_data.c: Likewise.
31793         * soft-fp/op-1.h: Likewise.
31794         * soft-fp/op-2.h: Likewise.
31795         * soft-fp/op-4.h: Likewise.
31796         * soft-fp/op-common.h: Likewise.
31797         * stdio-common/printf_fphex.c: Likewise.
31798         * stdlib/strtod_l.c: Likewise.
31799         * sunrpc/rpc/clnt.h: Likewise.
31800         * sysdeps/generic/framestate.c: Likewise.
31801         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31802         * sysdeps/i386/bsd-setjmp.S: Likewise.
31803         * sysdeps/i386/__longjmp.S: Likewise.
31804         * sysdeps/i386/setjmp.S: Likewise.
31805         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31806         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31807         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31808         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31810         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31811         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31812         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31815         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31817         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31823         * sysdeps/ieee754/support.c: Likewise.
31824         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31825         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31826         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31827         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31828         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31829         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31830         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31831         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31832         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31833         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31834         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31835         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31836         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31837         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31838         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31839         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31840         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31843 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31845         * posix/transbug.c: Remove executable mode.
31847 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31849         * crypt/speeds.c: Remove trailing whitespace.
31850         * dlfcn/default.c: Likewise.
31851         * elf/ifuncdep2.c: Likewise.
31852         * elf/ifuncmain1.c: Likewise.
31853         * elf/ifuncmain1vis.c: Likewise.
31854         * elf/testobj.h: Likewise.
31855         * elf/tst-stackguard1.c: Likewise.
31856         * gmon/sys/gmon.h: Likewise.
31857         * hurd/hurdmsg.c: Likewise.
31858         * hurd/new-fd.c: Likewise.
31859         * hurd/ports-get.c: Likewise.
31860         * iconvdata/ibm1008_420.c: Likewise.
31861         * inet/tst-getni1.c: Likewise.
31862         * inet/tst-getni2.c: Likewise.
31863         * libio/ioungetc.c: Likewise.
31864         * libio/wfiledoalloc.c: Likewise.
31865         * manual/libm-err-tab.pl: Likewise.
31866         * math/w_dremf.c: Likewise.
31867         * misc/ftruncate.c: Likewise.
31868         * posix/bug-glob2.c: Likewise.
31869         * posix/tst-pcre.c: Likewise.
31870         * posix/wait4.c: Likewise.
31871         * resolv/README: Likewise.
31872         * resolv/res_debug.h: Likewise.
31873         * resolv/tst-inet_ntop.c: Likewise.
31874         * setjmp/bug269-setjmp.c: Likewise.
31875         * soft-fp/extended.h: Likewise.
31876         * soft-fp/op-1.h: Likewise.
31877         * soft-fp/op-2.h: Likewise.
31878         * soft-fp/op-4.h: Likewise.
31879         * soft-fp/op-8.h: Likewise.
31880         * soft-fp/testit.c: Likewise.
31881         * stdio-common/bug16.c: Likewise.
31882         * stdlib/random.c: Likewise.
31883         * sunrpc/rpcsvc/rquota.x: Likewise.
31884         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31885         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31886         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31887         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31888         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31889         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31890         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31891         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31892         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31893         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31894         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31895         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31896         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31897         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31898         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31900         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31901         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31902         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31906         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31907         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31910         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31912         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31913         * sysdeps/ieee754/s_lib_version.c: Likewise.
31914         * sysdeps/mach/hurd/check_fds.c: Likewise.
31915         * sysdeps/mach/hurd/getsockname.c: Likewise.
31916         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31917         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31918         * sysdeps/powerpc/bits/link.h: Likewise.
31919         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31920         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31921         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31922         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31923         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31924         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31925         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31926         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31927         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31928         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31929         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31930         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31931         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31932         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31933         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31934         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31935         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31936         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31937         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31938         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31939         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31940         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31941         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31942         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31943         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31944         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31945         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31946         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31947         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31948         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31949         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31950         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31952         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31953         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31954         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31955         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31956         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31957         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31958         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31959         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31960         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31961         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31962         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31963         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31964         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31965         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31966         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31967         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31968         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31971         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31972         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31973         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31974         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31975         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31976         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31977         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31978         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31979         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31980         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31981         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31982         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31983         * sysdeps/powerpc/sysdep.h: Likewise.
31984         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31985         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31986         * sysdeps/sh/dl-trampoline.S: Likewise.
31987         * sysdeps/sh/memset.S: Likewise.
31988         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31989         * sysdeps/sh/strlen.S: Likewise.
31990         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31991         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31992         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31993         * sysdeps/sparc/sparc32/rem.S: Likewise.
31994         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31995         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31996         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31997         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31998         * sysdeps/sparc/sparc32/urem.S: Likewise.
31999         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32000         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32001         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32002         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32003         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32004         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32005         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32006         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32007         * sysdeps/unix/bsd/times.c: Likewise.
32008         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32009         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32013         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32014         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32015         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32017         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32018         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32019         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32020         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32021         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32022         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32023         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32024         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32025         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32026         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32027         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32028         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32029         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32030         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32031         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32032         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32033         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32034         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32035         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32036         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32037         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32038         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32039         * sysdeps/x86_64/strcspn.S: Likewise.
32041 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32043         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32044         generated file.  Regenerate properly from gen-translit.pl.
32045         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32046         locale/C-translit.h.
32048 2013-06-05  Andreas Schwab  <schwab@suse.de>
32050         [BZ #15100]
32051         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32052         week as 6 instead of -1.
32053         * time/tst-strptime.c (day_tests): Add test case.
32055 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32057         * sysdeps/generic/math_private.h
32058         (libc_feholdexcept_setround_53bit): Replace with
32059         libc_feholdsetround_53bit.
32060         (libc_feupdateenv_53bit): Replace with
32061         libc_feresetround_53bit.
32062         (SET_RESTORE_ROUND_53BIT): Adjust.
32064 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32066         * string/test-strchrnul.c: Add copyright header.
32068         * posix/tst-getaddrinfo4.c: Increase test timeout.
32070 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32072         [BZ #15536]
32073         * math/libm-test.inc (MAX_EXP): Remove
32074         (MIN_EXP): Define.
32075         (ulp): Use MIN_EXP - MANT_DIG.
32076         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32078 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32080         * po/be.po: Revert last change.
32081         * po/zh_CN.po: Likewise.
32082         * po/header.pot: Likewise.
32084 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32086         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32087         link-libc-deps to empty as target-specific variable.
32088         * Makerules (link-libc-args): New variable.
32089         (libc-for-link): Likewise.
32090         (link-libc-deps): Likewise.
32091         (lib%.so): Depend on $(link-libc-deps).  Link with
32092         $(link-libc-args).
32093         (build-module): Link with $(link-libc-args).
32094         (build-module-asneeded): Likewise.
32095         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32096         list of objects.
32097         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32098         target-specific variable.
32099         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32100         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32101         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32102         libc.
32103         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32104         libc and ld.so.
32105         ($(objpfx)libpcprofile.so): Likewise.
32106         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32107         libc_nonshared.a.
32108         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32109         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32110         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32111         $(link-libc-deps).
32112         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32113         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32114         * login/Makefile ($(objpfx)libutil.so): Likewise.
32115         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32116         * math/Makefile ($(objpfx)libm.so): Likewise.
32117         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32118         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32119         variable instead of depending directly on libc.
32120         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32121         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32122         $(link-libc-deps).
32123         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32124         libc.
32125         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32126         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32127         ($(objpfx)libanl.so): Likewise.
32128         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32129         ld.so.
32130         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32131         $(link-libc-deps).
32132         * sysdeps/i386/fpu/Makefile: Remove file.
32133         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32134         ($(objpfx)libm.so): Remove dependency on ld.so.
32136 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32138         [BZ # 15553]
32139         * nis/yp_xdr.c (XDRMAXNAME): Define.
32140         (XDRMAXRECORD): Define.
32141         (xdr_domainname): Use XDRMAXNAME.
32142         (xdr_mapname): Likewise.
32143         (xdr_peername): Likewise.
32144         (xdr_keydat): Use XDRMAXRECORD.
32145         (xdr_valdat): Likewise.
32147 2013-05-30  Jeff Law  <law@redhat.com>
32149         [BZ #14256]
32150         * manual/errno.texi (ESTALE): Update to account for more than
32151         just NFS file systems.
32152         * sysdeps/gnu/errlist.c: Regenerated.
32154 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32156         [BZ #15465]
32157         * elf/Makefile (tests): Add tst-null-argv.
32158         (modules-names):  Add tst-null-argv-lib.
32159         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32160         (tst-null-argv-ENV): Set environment for tst-null-argv.
32161         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32162         (RTLD_PROGNAME): New macro.
32163         * elf/tst-null-argv.c: New test case.
32164         * elf/tst-null-argv-lib.c: Library for test case.
32165         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32166         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32167         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32168         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32169         * elf/dl-init.c (call_init): Likewise.
32170         (_dl_init): Likewise.
32171         * elf/dl-load.c (print_search_path): Likewise.
32172         (_dl_map_object): Likewise.
32173         * elf/dl-lookup.c (do_lookup_x): Likewise.
32174         (add_dependency): Likewise.
32175         (_dl_lookup_symbol_x): Likewise.
32176         (_dl_debug_bindings): Likewise.
32177         * elf/dl-open.c (_dl_show_scope): Likewise.
32178         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32179         * elf/dl-version.c (match_symbol): Likewise.
32180         (_dl_check_map_versions): Likewise.
32181         * elf/rtld.c (dl_main): Likewise.
32182         (print_unresolved): Use RTLD_PROGNAME.
32183         (print_missing_version): Likewise.
32184         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32185         (elf_machine_rela): Likewise.
32186         * sysdeps/powerpc/powerpc32/dl-machine.c
32187         (__process_machine_rela): Likewise.
32188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32189         Likewise.
32190         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32191         Likewise.
32192         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32193         Likewise.
32194         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32195         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32196         Likewise.
32197         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32198         Likewise.
32199         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32201 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32203         * po/be.po: Add descriptive title.
32204         * po/zh_CN.po: Likewise.
32205         * po/header.pot: Likewise.
32207 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32209         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32210         error message.
32211         (enlarge_archive): Likewise.
32213 2013-05-28  Ben North  <ben@redfrontdoor.org>
32215         * manual/arith.texi (frexp): It is the magnitude of the return
32216         value which lies in [0.5, 1), not the return value itself.
32218 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32222 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32224         * stdio-common/bug26.c (main): Correct fscanf template.
32226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32227         declare _dl_skip_args.
32229         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32230         Don't declare.
32232         * manual/platform.texi: Add missing @end deftypefun.
32234 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32236         [BZ #15529]
32237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32238         bit of mantissa of 2^16382.
32239         * math/libm-test.inc (hypot_test_data): Add more tests.
32241         * math/libm-test.inc: Add drem and pow10 to list of tested
32242         functions.
32243         (pow10_test): New function.
32244         (drem_test): Likewise.
32245         (drem_test_tonearest): Likewise.
32246         (drem_test_towardzero): Likewise.
32247         (drem_test_downward): Likewise.
32248         (drem_test_upward): Likewise.
32249         (main): Call the new functions.
32251         * math/libm-test.inc (finite_test_data): Remove.
32252         (finite_test): Run tests from isfinite_test_data.
32253         (gamma_test_data): Remove.
32254         (gamma_test): Run tests from lgamma_test_data.
32255         * sysdeps/i386/fpu/libm-test-ulps: Update.
32256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32258 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32260         * manual/platform.texi: Add PowerPC PPR function set documentation.
32261         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32262         implementation.
32264 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32266         * math/libm-test.inc (MAX_EXP): Define.
32267         (ULPDIFF): Define.
32268         (ulp): New function.
32269         (check_float_internal): Use ULPDIFF.
32270         (cpow_test): Disable failing test.
32271         (check_ulp): Test ulp() implemetnation.
32272         (main): Call check_ulp before starting tests.
32274 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32276         * math/gen-libm-test.pl (generate_testfile): Do not handle
32277         START_DATA and END_DATA.
32278         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32279         END_DATA.
32280         (acos_tonearest_test_data): Likewise.
32281         (acos_towardzero_test_data): Likewise.
32282         (acos_downward_test_data): Likewise.
32283         (acos_upward_test_data): Likewise.
32284         (acosh_test_data): Likewise.
32285         (asin_test_data): Likewise.
32286         (asin_tonearest_test_data): Likewise.
32287         (asin_towardzero_test_data): Likewise.
32288         (asin_downward_test_data): Likewise.
32289         (asin_upward_test_data): Likewise.
32290         (asinh_test_data): Likewise.
32291         (atan_test_data): Likewise.
32292         (atanh_test_data): Likewise.
32293         (atan2_test_data): Likewise.
32294         (cabs_test_data): Likewise.
32295         (cacos_test_data): Likewise.
32296         (cacosh_test_data): Likewise.
32297         (carg_test_data): Likewise.
32298         (casin_test_data): Likewise.
32299         (casinh_test_data): Likewise.
32300         (catan_test_data): Likewise.
32301         (catanh_test_data): Likewise.
32302         (cbrt_test_data): Likewise.
32303         (ccos_test_data): Likewise.
32304         (ccosh_test_data): Likewise.
32305         (ceil_test_data): Likewise.
32306         (cexp_test_data): Likewise.
32307         (cimag_test_data): Likewise.
32308         (clog_test_data): Likewise.
32309         (clog10_test_data): Likewise.
32310         (conj_test_data): Likewise.
32311         (copysign_test_data): Likewise.
32312         (cos_test_data): Likewise.
32313         (cos_tonearest_test_data): Likewise.
32314         (cos_towardzero_test_data): Likewise.
32315         (cos_downward_test_data): Likewise.
32316         (cos_upward_test_data): Likewise.
32317         (cosh_test_data): Likewise.
32318         (cosh_tonearest_test_data): Likewise.
32319         (cosh_towardzero_test_data): Likewise.
32320         (cosh_downward_test_data): Likewise.
32321         (cosh_upward_test_data): Likewise.
32322         (cpow_test_data): Likewise.
32323         (cproj_test_data): Likewise.
32324         (creal_test_data): Likewise.
32325         (csin_test_data): Likewise.
32326         (csinh_test_data): Likewise.
32327         (csqrt_test_data): Likewise.
32328         (ctan_test_data): Likewise.
32329         (ctan_tonearest_test_data): Likewise.
32330         (ctan_towardzero_test_data): Likewise.
32331         (ctan_downward_test_data): Likewise.
32332         (ctan_upward_test_data): Likewise.
32333         (ctanh_test_data): Likewise.
32334         (ctanh_tonearest_test_data): Likewise.
32335         (ctanh_towardzero_test_data): Likewise.
32336         (ctanh_downward_test_data): Likewise.
32337         (ctanh_upward_test_data): Likewise.
32338         (erf_test_data): Likewise.
32339         (erfc_test_data): Likewise.
32340         (exp_test_data): Likewise.
32341         (exp_tonearest_test_data): Likewise.
32342         (exp_towardzero_test_data): Likewise.
32343         (exp_downward_test_data): Likewise.
32344         (exp_upward_test_data): Likewise.
32345         (exp10_test_data): Likewise.
32346         (exp2_test_data): Likewise.
32347         (expm1_test_data): Likewise.
32348         (fabs_test_data): Likewise.
32349         (fdim_test_data): Likewise.
32350         (finite_test_data): Likewise.
32351         (floor_test_data): Likewise.
32352         (fma_test_data): Likewise.
32353         (fma_towardzero_test_data): Likewise.
32354         (fma_downward_test_data): Likewise.
32355         (fma_upward_test_data): Likewise.
32356         (fmax_test_data): Likewise.
32357         (fmin_test_data): Likewise.
32358         (fmod_test_data): Likewise.
32359         (fpclassify_test_data): Likewise.
32360         (frexp_test_data): Likewise.
32361         (gamma_test_data): Likewise.
32362         (hypot_test_data): Likewise.
32363         (ilogb_test_data): Likewise.
32364         (isfinite_test_data): Likewise.
32365         (isgreater_test_data): Likewise.
32366         (isgreaterequal_test_data): Likewise.
32367         (isinf_test_data): Likewise.
32368         (isless_test_data): Likewise.
32369         (islessequal_test_data): Likewise.
32370         (islessgreater_test_data): Likewise.
32371         (isnan_test_data): Likewise.
32372         (isnormal_test_data): Likewise.
32373         (issignaling_test_data): Likewise.
32374         (isunordered_test_data): Likewise.
32375         (j0_test_data): Likewise.
32376         (j1_test_data): Likewise.
32377         (jn_test_data): Likewise.
32378         (ldexp_test_data): Likewise.
32379         (lgamma_test_data): Likewise.
32380         (lrint_test_data): Likewise.
32381         (lrint_tonearest_test_data): Likewise.
32382         (lrint_towardzero_test_data): Likewise.
32383         (lrint_downward_test_data): Likewise.
32384         (lrint_upward_test_data): Likewise.
32385         (llrint_test_data): Likewise.
32386         (llrint_tonearest_test_data): Likewise.
32387         (llrint_towardzero_test_data): Likewise.
32388         (llrint_downward_test_data): Likewise.
32389         (llrint_upward_test_data): Likewise.
32390         (log_test_data): Likewise.
32391         (log10_test_data): Likewise.
32392         (log1p_test_data): Likewise.
32393         (log2_test_data): Likewise.
32394         (logb_test_data): Likewise.
32395         (logb_downward_test_data): Likewise.
32396         (lround_test_data): Likewise.
32397         (llround_test_data): Likewise.
32398         (modf_test_data): Likewise.
32399         (nearbyint_test_data): Likewise.
32400         (nextafter_test_data): Likewise.
32401         (nexttoward_test_data): Likewise.
32402         (pow_test_data): Likewise.
32403         (pow_tonearest_test_data): Likewise.
32404         (pow_towardzero_test_data): Likewise.
32405         (pow_downward_test_data): Likewise.
32406         (pow_upward_test_data): Likewise.
32407         (remainder_test_data): Likewise.
32408         (remainder_tonearest_test_data): Likewise.
32409         (remainder_towardzero_test_data): Likewise.
32410         (remainder_downward_test_data): Likewise.
32411         (remainder_upward_test_data): Likewise.
32412         (remquo_test_data): Likewise.
32413         (rint_test_data): Likewise.
32414         (rint_tonearest_test_data): Likewise.
32415         (rint_towardzero_test_data): Likewise.
32416         (rint_downward_test_data): Likewise.
32417         (rint_upward_test_data): Likewise.
32418         (round_test_data): Likewise.
32419         (scalb_test_data): Likewise.
32420         (scalbn_test_data): Likewise.
32421         (scalbln_test_data): Likewise.
32422         (signbit_test_data): Likewise.
32423         (sin_test_data): Likewise.
32424         (sin_tonearest_test_data): Likewise.
32425         (sin_towardzero_test_data): Likewise.
32426         (sin_downward_test_data): Likewise.
32427         (sin_upward_test_data): Likewise.
32428         (sincos_test_data): Likewise.
32429         (sinh_test_data): Likewise.
32430         (sinh_tonearest_test_data): Likewise.
32431         (sinh_towardzero_test_data): Likewise.
32432         (sinh_downward_test_data): Likewise.
32433         (sinh_upward_test_data): Likewise.
32434         (sqrt_test_data): Likewise.
32435         (tan_test_data): Likewise.
32436         (tan_tonearest_test_data): Likewise.
32437         (tan_towardzero_test_data): Likewise.
32438         (tan_downward_test_data): Likewise.
32439         (tan_upward_test_data): Likewise.
32440         (tanh_test_data): Likewise.
32441         (tgamma_test_data): Likewise.
32442         (trunc_test_data): Likewise.
32443         (y0_test_data): Likewise.
32444         (y1_test_data): Likewise.
32445         (yn_test_data): Likewise.
32446         (significand_test_data): Likewise.
32448         * math/gen-libm-test.pl (@functions): Remove variable.
32449         (generate_testfile): Don't handle START and END lines.
32450         * math/libm-test.inc (START): New macro.
32451         (END): Likewise.
32452         (END_COMPLEX): Likewise.
32453         (acos_test): Use END macro without arguments.
32454         (acos_test_tonearest): Likewise.
32455         (acos_test_towardzero): Likewise.
32456         (acos_test_downward): Likewise.
32457         (acos_test_upward): Likewise.
32458         (acosh_test): Likewise.
32459         (asin_test): Likewise.
32460         (asin_test_tonearest): Likewise.
32461         (asin_test_towardzero): Likewise.
32462         (asin_test_downward): Likewise.
32463         (asin_test_upward): Likewise.
32464         (asinh_test): Likewise.
32465         (atan_test): Likewise.
32466         (atanh_test): Likewise.
32467         (atan2_test): Likewise.
32468         (cabs_test): Likewise.
32469         (cacos_test): Use END_COMPLEX macro without arguments.
32470         (cacosh_test): Likewise.
32471         (carg_test): Use END macro without arguments.
32472         (casin_test): Use END_COMPLEX macro without arguments.
32473         (casinh_test): Likewise.
32474         (catan_test): Likewise.
32475         (catanh_test): Likewise.
32476         (cbrt_test): Use END macro without arguments.
32477         (ccos_test): Use END_COMPLEX macro without arguments.
32478         (ccosh_test): Likewise.
32479         (ceil_test): Use END macro without arguments.
32480         (cexp_test): Use END_COMPLEX macro without arguments.
32481         (cimag_test): Use END macro without arguments.
32482         (clog_test): Use END_COMPLEX macro without arguments.
32483         (clog10_test): Likewise.
32484         (conj_test): Likewise.
32485         (copysign_test): Use END macro without arguments.
32486         (cos_test): Likewise.
32487         (cos_test_tonearest): Likewise.
32488         (cos_test_towardzero): Likewise.
32489         (cos_test_downward): Likewise.
32490         (cos_test_upward): Likewise.
32491         (cosh_test): Likewise.
32492         (cosh_test_tonearest): Likewise.
32493         (cosh_test_towardzero): Likewise.
32494         (cosh_test_downward): Likewise.
32495         (cosh_test_upward): Likewise.
32496         (cpow_test): Use END_COMPLEX macro without arguments.
32497         (cproj_test): Likewise.
32498         (creal_test): Use END macro without arguments.
32499         (csin_test): Use END_COMPLEX macro without arguments.
32500         (csinh_test): Likewise.
32501         (csqrt_test): Likewise.
32502         (ctan_test): Likewise.
32503         (ctan_test_tonearest): Likewise.
32504         (ctan_test_towardzero): Likewise.
32505         (ctan_test_downward): Likewise.
32506         (ctan_test_upward): Likewise.
32507         (ctanh_test): Likewise.
32508         (ctanh_test_tonearest): Likewise.
32509         (ctanh_test_towardzero): Likewise.
32510         (ctanh_test_downward): Likewise.
32511         (ctanh_test_upward): Likewise.
32512         (erf_test): Use END macro without arguments.
32513         (erfc_test): Likewise.
32514         (exp_test): Likewise.
32515         (exp_test_tonearest): Likewise.
32516         (exp_test_towardzero): Likewise.
32517         (exp_test_downward): Likewise.
32518         (exp_test_upward): Likewise.
32519         (exp10_test): Likewise.
32520         (exp2_test): Likewise.
32521         (expm1_test): Likewise.
32522         (fabs_test): Likewise.
32523         (fdim_test): Likewise.
32524         (finite_test): Likewise.
32525         (floor_test): Likewise.
32526         (fma_test): Likewise.
32527         (fma_test_towardzero): Likewise.
32528         (fma_test_downward): Likewise.
32529         (fma_test_upward): Likewise.
32530         (fmax_test): Likewise.
32531         (fmin_test): Likewise.
32532         (fmod_test): Likewise.
32533         (fpclassify_test): Likewise.
32534         (frexp_test): Likewise.
32535         (gamma_test): Likewise.
32536         (hypot_test): Likewise.
32537         (ilogb_test): Likewise.
32538         (isfinite_test): Likewise.
32539         (isgreater_test): Likewise.
32540         (isgreaterequal_test): Likewise.
32541         (isinf_test): Likewise.
32542         (isless_test): Likewise.
32543         (islessequal_test): Likewise.
32544         (islessgreater_test): Likewise.
32545         (isnan_test): Likewise.
32546         (isnormal_test): Likewise.
32547         (issignaling_test): Likewise.
32548         (isunordered_test): Likewise.
32549         (j0_test): Likewise.
32550         (j1_test): Likewise.
32551         (jn_test): Likewise.
32552         (ldexp_test): Likewise.
32553         (lgamma_test): Likewise.
32554         (lrint_test): Likewise.
32555         (lrint_test_tonearest): Likewise.
32556         (lrint_test_towardzero): Likewise.
32557         (lrint_test_downward): Likewise.
32558         (lrint_test_upward): Likewise.
32559         (llrint_test): Likewise.
32560         (llrint_test_tonearest): Likewise.
32561         (llrint_test_towardzero): Likewise.
32562         (llrint_test_downward): Likewise.
32563         (llrint_test_upward): Likewise.
32564         (log_test): Likewise.
32565         (log10_test): Likewise.
32566         (log1p_test): Likewise.
32567         (log2_test): Likewise.
32568         (logb_test): Likewise.
32569         (logb_test_downward): Likewise.
32570         (lround_test): Likewise.
32571         (llround_test): Likewise.
32572         (modf_test): Likewise.
32573         (nearbyint_test): Likewise.
32574         (nextafter_test): Likewise.
32575         (nexttoward_test): Likewise.
32576         (pow_test): Likewise.
32577         (pow_test_tonearest): Likewise.
32578         (pow_test_towardzero): Likewise.
32579         (pow_test_downward): Likewise.
32580         (pow_test_upward): Likewise.
32581         (remainder_test): Likewise.
32582         (remainder_test_tonearest): Likewise.
32583         (remainder_test_towardzero): Likewise.
32584         (remainder_test_downward): Likewise.
32585         (remainder_test_upward): Likewise.
32586         (remquo_test): Likewise.
32587         (rint_test): Likewise.
32588         (rint_test_tonearest): Likewise.
32589         (rint_test_towardzero): Likewise.
32590         (rint_test_downward): Likewise.
32591         (rint_test_upward): Likewise.
32592         (round_test): Likewise.
32593         (scalb_test): Likewise.
32594         (scalbn_test): Likewise.
32595         (scalbln_test): Likewise.
32596         (signbit_test): Likewise.
32597         (sin_test): Likewise.
32598         (sin_test_tonearest): Likewise.
32599         (sin_test_towardzero): Likewise.
32600         (sin_test_downward): Likewise.
32601         (sin_test_upward): Likewise.
32602         (sincos_test): Likewise.
32603         (sinh_test): Likewise.
32604         (sinh_test_tonearest): Likewise.
32605         (sinh_test_towardzero): Likewise.
32606         (sinh_test_downward): Likewise.
32607         (sinh_test_upward): Likewise.
32608         (sqrt_test): Likewise.
32609         (tan_test): Likewise.
32610         (tan_test_tonearest): Likewise.
32611         (tan_test_towardzero): Likewise.
32612         (tan_test_downward): Likewise.
32613         (tan_test_upward): Likewise.
32614         (tanh_test): Likewise.
32615         (tgamma_test): Likewise.
32616         (trunc_test): Likewise.
32617         (y0_test): Likewise.
32618         (y1_test): Likewise.
32619         (yn_test): Likewise.
32620         (significand_test): Likewise.
32622 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32624         [BZ #15381]
32625         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32627 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32629         [BZ #14894]
32630         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32631         __ppc_mdoio and __ppc_mdoom.
32632         * manual/platform.texi: Document new functions __ppc_yield,
32633         __ppc_mdoio and __ppc_mdoom.
32635 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32637         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32638         (main): Mention "tls" pseudo-hwcap is legacy.
32639         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32641 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32643         * math/gen-libm-test.pl (parse_args): Output only string of
32644         arguments as text for test name, not full call or descriptions of
32645         tests for extra outputs.
32646         (generate_testfile): Do not pass function name to parse_args.
32647         Generate this_func variable from START.
32648         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32649         field to arg_str.
32650         (struct test_ff_f_data): Likewise.
32651         (test_ff_f_data_nexttoward): Likewise.
32652         (struct test_fi_f_data): Likewise.
32653         (struct test_fl_f_data): Likewise.
32654         (struct test_if_f_data): Likewise.
32655         (struct test_fff_f_data): Likewise.
32656         (struct test_c_f_data): Likewise.
32657         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32658         (struct test_fF_f1_data): Likewise.
32659         (struct test_ffI_f1_data): Likewise.
32660         (struct test_c_c_data): Rename test_name field to arg_str.
32661         (struct test_cc_c_data): Likewise.
32662         (struct test_f_i_data): Likewise.
32663         (struct test_ff_i_data): Likewise.
32664         (struct test_f_l_data): Likewise.
32665         (struct test_f_L_data): Likewise.
32666         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32667         and extra2_name.
32668         (COMMON_TEST_SETUP): New macro.
32669         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32670         (COMMON_TEST_CLEANUP): Likewise.
32671         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32672         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32673         macros.
32674         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32675         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32676         macros.
32677         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32678         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32679         cleanup macros.
32680         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32681         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32682         macros.
32683         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32684         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32685         macros.
32686         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32687         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32688         cleanup macros.
32689         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32690         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32691         cleanup macros.
32692         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32693         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32694         cleanup macros.
32695         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32696         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32697         macros.
32698         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32699         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32700         macros.
32701         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32702         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32703         macros.
32704         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32705         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32706         cleanup macros.
32707         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32708         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32709         cleanup macros.
32710         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32711         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32712         macros.
32713         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32714         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32715         cleanup macros.
32716         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32717         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32718         macros.
32719         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32720         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32721         macros.
32722         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32723         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32724         cleanup macros.
32725         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32727 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32729         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32730         to _sifields.sigfault.
32731         (si_addr_lsb): Define new macro.
32732         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32734         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32736 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32738         [BZ #15441]
32739         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32740         returns -1.
32741         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32742         null return -1.
32743         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32744         loading the domain.
32746 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32748         * math/gen-libm-test.pl (parse_args): Do not include expected
32749         result in test name.
32750         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32751         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32752         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32753         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32754         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32757 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32759         * benchtests/Makefile: Sort function entries.
32761         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32762         tanh, asinh, acosh, atanh.
32763         * benchtests/acos-inputs: New file.
32764         * benchtests/acosh-inputs: New file.
32765         * benchtests/asin-inputs: New file.
32766         * benchtests/asinh-inputs: New file.
32767         * benchtests/atanh-inputs: New file.
32768         * benchtests/cosh-inputs: New file.
32769         * benchtests/log-inputs: New file.
32770         * benchtests/sinh-inputs: New file.
32771         * benchtests/tanh-inputs: New file.
32773 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32775         [BZ #15339]
32776         * posix/tst-getaddrinfo4.c: New test.
32777         * posix/Makefile (tests): Add it.
32779 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32781         [BZ #15339]
32782         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32783         when no services were used.
32784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32785         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32787 2013-05-21  Andreas Schwab  <schwab@suse.de>
32789         [BZ #15014]
32790         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32791         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32792         successful.
32793         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32794         redundant variable declarations and reallocation of buffer when
32795         parsing as IPv6 address.  Always set NSS status when called from
32796         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32797         buffer too small.  Correct computation of needed size.
32798         * nss/Makefile (tests): Add test-digits-dots.
32799         * nss/test-digits-dots.c: New test.
32801 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803         * benchtests/Makefile: Remove instructions for adding
32804         benchmark tests.
32805         * benchtests/README: New file to explain how to execute and
32806         enhance the benchmark tests.
32808 2013-05-21  Andreas Schwab  <schwab@suse.de>
32810         [BZ #15493]
32811         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32812         * setjmp/tst-sigsetjmp.c: New test.
32814 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32816         * sysdeps/x86_64/memset.S (memset): New implementation.
32817         (__bzero): Likewise.
32818         (__memset_tail): New function.
32820 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32822         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32823         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32824         __memcpy_sse2_unaligned ifunc selection.
32825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32826         Add memcpy-sse2-unaligned.S.
32827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32828         Add: __memcpy_sse2_unaligned.
32830 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32832         [BZ #15490]
32833         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32834         math_force_eval before restoring floating-point envrionment.
32835         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32836         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32837         Likewise.
32838         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32839         <math_private.h>.
32840         (__nearbyintl): Use math_force_eval before restoring
32841         floating-point environment.
32842         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32844         * math/gen-libm-test.pl (special_functions): Remove.
32845         (parse_args): Don't handle TEST_extra.  Handle functions with no
32846         return value.
32847         * math/libm-test.inc (struct test_sincos_data): Replace with
32848         struct test_fFF_11_data.
32849         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32850         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32851         (sincos_test_data): Change element type to struct
32852         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32853         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32854         RUN_TEST_LOOP_sincos.
32855         * math/README.libm-test: Don't mention special handling of
32856         individual functions.
32857         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32858         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32859         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32860         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32861         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32864         * math/gen-libm-test.pl (get_variable): Remove function.
32865         (parse_args): Don't show pointer parameters to call in test
32866         names.  Use "extra output N" in test names for extra outputs
32867         rather than naming variables.
32869 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32871         [BZ #15488]
32872         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32873         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32874         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32875         double tests.
32876         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32877         disable.
32878         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32879         check_long_double.
32881         * math/gen-libm-test.pl (@tests): Remove variable.
32882         ($count): Likewise.
32883         (new_test): Remove function.
32884         (show_exceptions): New function.
32885         (special_functions): Use show_exceptions instead of new_test.
32886         (parse_args): Likewise.
32887         (generate_testfile): Pass only function name in generated call to
32888         print_max_error or print_complex_max_error.
32889         (get_ulps): Do not handle complex tests specially.
32890         (output_test): Rename to ...
32891         (get_all_ulps_for_test): ... this.  Return a string rather than
32892         printing to a file.  Require ulps to be present.
32893         (output_ulps): Generate arrays rather than #defines.
32894         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32895         (struct ulp_data): New type.
32896         (BUILD_COMPLEX_ULP): Remove macro.
32897         (compare_ulp_data): New function.
32898         (find_ulps): Likewise.
32899         (find_test_ulps): Likewise.
32900         (find_function_ulps): Likewise.
32901         (find_complex_function_ulps): Likewise.
32902         (print_max_error): Determine allowed ulps using
32903         find_function_ulps.
32904         (print_complex_max_error): Determine allowed ulps using
32905         find_complex_function_ulps.
32906         (check_float_internal): Determine max ulps using find_test_ulps.
32907         (check_float): Do not take max_ulp parameter.  Update call to
32908         check_float_internal.
32909         (check_complex): Likewise.
32910         (check_int): Do not take max_ulp parameter.
32911         (check_long): Likewise.
32912         (check_bool): Likewise.
32913         (check_longlong): Likewise.
32914         (struct test_f_f_data): Remove max_ulp field.
32915         (struct test_ff_f_data): Likewise.
32916         (struct test_ff_f_data_nexttoward): Likewise.
32917         (struct test_fi_f_data): Likewise.
32918         (struct test_fl_f_data): Likewise.
32919         (struct test_if_f_data): Likewise.
32920         (struct test_fff_f_data): Likewise.
32921         (struct test_c_f_data): Likewise.
32922         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32923         (struct test_fF_f1_data): Likewise.
32924         (struct test_ffI_f1_data): Likewise.
32925         (struct test_c_c_data): Remove max_ulp field.
32926         (struct test_cc_c_data): Likewise.
32927         (struct test_f_i_data): Likewise.
32928         (struct test_ff_i_data): Likewise.
32929         (struct test_f_l_data): Likewise.
32930         (struct test_f_L_data): Likewise.
32931         (struct test_sincos_data): Likewise.
32932         (RUN_TEST_f_f): Do not handle ulps.
32933         (RUN_TEST_LOOP_f_f): Likewise.
32934         (RUN_TEST_2_f): Likewise.
32935         (RUN_TEST_LOOP_2_f): Likewise.
32936         (RUN_TEST_fff_f): Likewise.
32937         (RUN_TEST_LOOP_fff_f): Likewise.
32938         (RUN_TEST_c_f): Likewise.
32939         (RUN_TEST_LOOP_c_f): Likewise.
32940         (RUN_TEST_f_f1): Likewise.
32941         (RUN_TEST_LOOP_f_f1): Likewise.
32942         (RUN_TEST_fF_f1): Likewise.
32943         (RUN_TEST_LOOP_fF_f1): Likewise.
32944         (RUN_TEST_fI_f1): Likewise.
32945         (RUN_TEST_LOOP_fI_f1): Likewise.
32946         (RUN_TEST_ffI_f1): Likewise.
32947         (RUN_TEST_LOOP_ffI_f1): Likewise.
32948         (RUN_TEST_c_c): Likewise.
32949         (RUN_TEST_LOOP_c_c): Likewise.
32950         (RUN_TEST_cc_c): Likewise.
32951         (RUN_TEST_LOOP_cc_c): Likewise.
32952         (RUN_TEST_f_i): Likewise.
32953         (RUN_TEST_LOOP_f_i): Likewise.
32954         (RUN_TEST_f_i_tg): Likewise.
32955         (RUN_TEST_LOOP_f_i_tg): Likewise.
32956         (RUN_TEST_ff_i_tg): Likewise.
32957         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32958         (RUN_TEST_f_b): Likewise.
32959         (RUN_TEST_LOOP_f_b): Likewise.
32960         (RUN_TEST_f_b_tg): Likewise.
32961         (RUN_TEST_LOOP_f_b_tg): Likewise.
32962         (RUN_TEST_f_l): Likewise.
32963         (RUN_TEST_LOOP_f_l): Likewise.
32964         (RUN_TEST_f_L): Likewise.
32965         (RUN_TEST_LOOP_f_L): Likewise.
32966         (RUN_TEST_sincos): Likewise.
32967         (RUN_TEST_LOOP_sincos): Likewise.
32969 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32971         [BZ #15480]
32972         [BZ #15485]
32973         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32974         main case of finite arguments, set rounding mode to FE_TONEAREST
32975         and discard exceptions.
32976         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32977         exceptions.
32978         (remainder_tonearest_test_data): New variable.
32979         (remainder_test_tonearest): New function.
32980         (remainder_towardzero_test_data): New variable.
32981         (remainder_test_towardzero): New function.
32982         (remainder_downward_test_data): New variable.
32983         (remainder_test_downward): New function.
32984         (remainder_upward_test_data): New variable.
32985         (remainder_test_upward): New function.
32986         (main): Call the new test functions.
32988         * math/libm-test.inc (struct test_f_f1_data): Remove field
32989         extra_init.
32990         (struct test_fF_f1_data): Likewise.
32991         (struct test_ffI_f1_data): Likewise.
32992         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32993         based on value of EXTRA_EXPECTED.
32994         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32995         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32996         EXTRA_VAR based on value of EXTRA_EXPECTED.
32997         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32998         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32999         EXTRA_VAR based on value of EXTRA_EXPECTED.
33000         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33001         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33002         EXTRA_VAR based on value of EXTRA_EXPECTED.
33003         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33004         * math/gen-libm-test.pl (parse_args): Don't output initializers
33005         for extra output values.
33007         * math/libm-test.inc (check_int): Expect result to be exactly
33008         equal to expected value and do not handle ulps.
33009         (check_long): Likewise.
33010         (check_longlong): Likewise.
33012         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33013         exceptions.
33014         (cimag_test_data): Likewise.
33015         (conj_test_data): Likewise.
33016         (copysign_test_data): Likewise.
33017         (cproj_test_data): Likewise.
33018         (creal_test_data): Likewise.
33019         (fabs_test_data): Likewise.
33020         (fdim_test_data): Likewise.
33021         (finite_test_data): Likewise.
33022         (floor_test_data): Likewise.
33023         (fmax_test_data): Likewise.
33024         (fmin_test_data): Likewise.
33025         (fmod_test_data): Likewise.
33026         (fpclassify_test_data): Likewise.
33027         (frexp_test_data): Likewise.
33028         (ilogb_test_data): Likewise.
33029         (isfinite_test_data): Likewise.
33030         (isgreater_test_data): Likewise.
33031         (isgreaterequal_test_data): Likewise.
33032         (isinf_test_data): Likewise.
33033         (isless_test_data): Likewise.
33034         (islessequal_test_data): Likewise.
33035         (islessgreater_test_data): Likewise.
33036         (isnan_test_data): Likewise.
33037         (isnormal_test_data): Likewise.
33038         (issignaling_test_data): Likewise.
33039         (isunordered_test_data): Likewise.
33040         (ldexp_test_data): Likewise.
33041         (lrint_test_data): Likewise.
33042         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33043         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33044         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33045         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33046         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33047         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33048         test input.
33049         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33050         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33051         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33052         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33053         that test input.
33054         (lrint_downward_test_data): Test for "inexact" exceptions.
33055         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33056         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33057         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33058         test input.
33059         (lrint_upward_test_data): Test for "inexact" exceptions.
33060         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33061         test input.
33062         (llrint_test_data): Test for "inexact" exceptions.
33063         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33064         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33065         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33066         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33067         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33068         (llrint_downward_test_data): Test for "inexact" exceptions.
33069         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33070         (llrint_upward_test_data): Test for "inexact" exceptions.
33071         (logb_test_data): Likewise.
33072         (logb_downward_test_data): Likewise.
33073         (nextafter_test_data): Likewise.
33074         (nexttoward_test_data): Likewise.
33075         (remainder_test_data): Likewise.
33076         (remquo_test_data): Likewise.
33077         (scalbn_test_data): Likewise.
33078         (scalbln_test_data): Likewise.
33079         (signbit_test_data): Likewise.
33080         (sqrt_test_data): Likewise.
33081         (significand_test_data): Likewise.
33083 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33085         [BZ #15424]
33086         * benchtests/bench-modf.c (struct args): Mark arg0 as
33087         volatile.
33088         * scripts/bench.pl: Mark members of struct args as volatile.
33090 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33092         [BZ # 15497]
33093         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33094         negative infinity on POWER6 or lower.
33095         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33097 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33099         [BZ #15442]
33100         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33101         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33102         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33103         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33104         (_FP_SETQNAN): New macro.
33105         (_FP_SETQNAN_SEMIRAW): Likewise.
33106         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33107         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33108         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33109         (FP_EXTEND): Use _FP_FRAC_SNANP.
33110         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33111         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33112         into account.
33113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33114         New macro.
33115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33116         Likewise.
33118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33120         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33121         with DIVIDE_BY_ZERO_EXCEPTION.
33122         (gamma_test_data): Likewise.
33123         (lgamma_test_data): Likewise.
33124         (log_test_data): Likewise.
33125         (log10_test_data): Likewise.
33126         (log2_test_data): Likewise.
33127         (tgamma_test_data): Likewise.
33129         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33130         (acos_test_tonearest): Likewise.
33131         (acos_test_towardzero): Likewise.
33132         (acos_test_downward): Likewise.
33133         (acos_test_upward): Likewise.
33134         (acosh_test): Likewise.
33135         (asin_test): Likewise.
33136         (asin_test_tonearest): Likewise.
33137         (asin_test_towardzero): Likewise.
33138         (asin_test_downward): Likewise.
33139         (asin_test_upward): Likewise.
33140         (asinh_test): Likewise.
33141         (atan_test): Likewise.
33142         (atanh_test): Likewise.
33143         (atan2_test): Likewise.
33144         (cabs_test): Likewise.
33145         (cacos_test): Likewise.
33146         (cacosh_test): Likewise.
33147         (casin_test): Likewise.
33148         (casinh_test): Likewise.
33149         (catan_test): Likewise.
33150         (catanh_test): Likewise.
33151         (cbrt_test): Likewise.
33152         (ccos_test): Likewise.
33153         (ccosh_test): Likewise.
33154         (cexp_test): Likewise.
33155         (clog_test): Likewise.
33156         (clog10_test): Likewise.
33157         (cos_test): Likewise.
33158         (cos_test_tonearest): Likewise.
33159         (cos_test_towardzero): Likewise.
33160         (cos_test_downward): Likewise.
33161         (cos_test_upward): Likewise.
33162         (cosh_test): Likewise.
33163         (cosh_test_tonearest): Likewise.
33164         (cosh_test_towardzero): Likewise.
33165         (cosh_test_downward): Likewise.
33166         (cosh_test_upward): Likewise.
33167         (cpow_test): Likewise.
33168         (csin_test): Likewise.
33169         (csinh_test): Likewise.
33170         (csqrt_test): Likewise.
33171         (ctan_test): Likewise.
33172         (ctan_test_tonearest): Likewise.
33173         (ctan_test_towardzero): Likewise.
33174         (ctan_test_downward): Likewise.
33175         (ctan_test_upward): Likewise.
33176         (ctanh_test): Likewise.
33177         (ctanh_test_tonearest): Likewise.
33178         (ctanh_test_towardzero): Likewise.
33179         (ctanh_test_downward): Likewise.
33180         (ctanh_test_upward): Likewise.
33181         (erf_test): Likewise.
33182         (erfc_test): Likewise.
33183         (exp_test): Likewise.
33184         (exp_test_tonearest): Likewise.
33185         (exp_test_towardzero): Likewise.
33186         (exp_test_downward): Likewise.
33187         (exp_test_upward): Likewise.
33188         (exp10_test): Likewise.
33189         (exp2_test): Likewise.
33190         (expm1_test): Likewise.
33191         (fmod_test): Likewise.
33192         (gamma_test): Likewise.
33193         (hypot_test): Likewise.
33194         (j0_test): Likewise.
33195         (j1_test): Likewise.
33196         (jn_test): Likewise.
33197         (lgamma_test): Likewise.
33198         (log_test): Likewise.
33199         (log10_test): Likewise.
33200         (log1p_test): Likewise.
33201         (log2_test): Likewise.
33202         (logb_test_downward): Likewise.
33203         (pow_test): Likewise.
33204         (pow_test_tonearest): Likewise.
33205         (pow_test_towardzero): Likewise.
33206         (pow_test_downward): Likewise.
33207         (pow_test_upward): Likewise.
33208         (remainder_test): Likewise.
33209         (remquo_test): Likewise.
33210         (sin_test): Likewise.
33211         (sin_test_tonearest): Likewise.
33212         (sin_test_towardzero): Likewise.
33213         (sin_test_downward): Likewise.
33214         (sin_test_upward): Likewise.
33215         (sincos_test): Likewise.
33216         (sinh_test): Likewise.
33217         (sinh_test_tonearest): Likewise.
33218         (sinh_test_towardzero): Likewise.
33219         (sinh_test_downward): Likewise.
33220         (sinh_test_upward): Likewise.
33221         (sqrt_test): Likewise.
33222         (tan_test): Likewise.
33223         (tan_test_tonearest): Likewise.
33224         (tan_test_towardzero): Likewise.
33225         (tan_test_downward): Likewise.
33226         (tan_test_upward): Likewise.
33227         (tanh_test): Likewise.
33228         (tgamma_test): Likewise.
33229         (y0_test): Likewise.
33230         (y1_test): Likewise.
33231         (yn_test): Likewise.
33233         * math/gen-libm-test.pl (adjust_arg): Remove function.
33234         (special_function): Remove argument $in_func.  Only handle
33235         generating output for tables of tests, not inside functions.
33236         (parse_args): Likewise.
33237         (generate_testfile): Remove variable $in_func.  Update call to
33238         parse_args.
33239         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33240         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33241         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33242         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33243         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33244         (MAX_VALUE_INIT): Rename macro to max_value.
33245         (MIN_VALUE_INIT): Rename macro to min_value.
33246         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33247         (plus_zero): Remove variable.
33248         (minus_zero): Likewise.
33249         (plus_infty): Likewise.
33250         (minus_infty): Likewise.
33251         (qnan_value): Likewise.
33252         (max_value): Likewise.
33253         (min_value): Likewise.
33254         (min_subnorm_value): Likewise.
33256 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33258         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33259         uint64_t or uint32_t usage.
33260         * crypt/sha256-block.c: Likewise.
33261         * crypt/sha256-crypt.c: Likewise.
33262         * crypt/sha256.c: Likewise.
33263         * crypt/sha512-block.c: Likewise.
33264         * crypt/sha512-crypt.c: Likewise.
33265         * crypt/sha512.c: Likewise.
33266         * debug/backtrace-tst.c: Likewise.
33267         * debug/pcprofiledump.c: Likewise.
33268         * elf/cache.c: Likewise.
33269         * elf/dl-cache.c: Likewise.
33270         * elf/dl-misc.c: Likewise.
33271         * elf/dl-profile.c: Likewise.
33272         * elf/dl-support.c: Likewise.
33273         * elf/ldconfig.c: Likewise.
33274         * elf/sprof.c: Likewise.
33275         * iconv/dummy-repertoire.c: Likewise.
33276         * iconv/iconv_charmap.c: Likewise.
33277         * iconv/skeleton.c: Likewise.
33278         * iconvdata/8bit-generic.c: Likewise.
33279         * iconvdata/cp737.h: Likewise.
33280         * iconvdata/cp775.h: Likewise.
33281         * iconvdata/ibm1008.h: Likewise.
33282         * iconvdata/ibm1025.h: Likewise.
33283         * iconvdata/ibm1046.h: Likewise.
33284         * iconvdata/ibm1097.h: Likewise.
33285         * iconvdata/ibm1112.h: Likewise.
33286         * iconvdata/ibm1122.h: Likewise.
33287         * iconvdata/ibm1123.h: Likewise.
33288         * iconvdata/ibm1124.h: Likewise.
33289         * iconvdata/ibm1129.h: Likewise.
33290         * iconvdata/ibm1130.h: Likewise.
33291         * iconvdata/ibm1132.h: Likewise.
33292         * iconvdata/ibm1133.h: Likewise.
33293         * iconvdata/ibm1137.h: Likewise.
33294         * iconvdata/ibm1140.h: Likewise.
33295         * iconvdata/ibm1141.h: Likewise.
33296         * iconvdata/ibm1142.h: Likewise.
33297         * iconvdata/ibm1143.h: Likewise.
33298         * iconvdata/ibm1144.h: Likewise.
33299         * iconvdata/ibm1145.h: Likewise.
33300         * iconvdata/ibm1146.h: Likewise.
33301         * iconvdata/ibm1147.h: Likewise.
33302         * iconvdata/ibm1148.h: Likewise.
33303         * iconvdata/ibm1149.h: Likewise.
33304         * iconvdata/ibm1153.h: Likewise.
33305         * iconvdata/ibm1154.h: Likewise.
33306         * iconvdata/ibm1155.h: Likewise.
33307         * iconvdata/ibm1156.h: Likewise.
33308         * iconvdata/ibm1157.h: Likewise.
33309         * iconvdata/ibm1158.h: Likewise.
33310         * iconvdata/ibm1160.h: Likewise.
33311         * iconvdata/ibm1161.h: Likewise.
33312         * iconvdata/ibm1162.h: Likewise.
33313         * iconvdata/ibm1163.h: Likewise.
33314         * iconvdata/ibm1164.h: Likewise.
33315         * iconvdata/ibm1166.h: Likewise.
33316         * iconvdata/ibm1167.h: Likewise.
33317         * iconvdata/ibm12712.h: Likewise.
33318         * iconvdata/ibm1390.h: Likewise.
33319         * iconvdata/ibm1399.h: Likewise.
33320         * iconvdata/ibm16804.h: Likewise.
33321         * iconvdata/ibm4517.h: Likewise.
33322         * iconvdata/ibm4899.h: Likewise.
33323         * iconvdata/ibm4909.h: Likewise.
33324         * iconvdata/ibm4971.h: Likewise.
33325         * iconvdata/ibm5347.h: Likewise.
33326         * iconvdata/ibm803.h: Likewise.
33327         * iconvdata/ibm856.h: Likewise.
33328         * iconvdata/ibm901.h: Likewise.
33329         * iconvdata/ibm902.h: Likewise.
33330         * iconvdata/ibm9030.h: Likewise.
33331         * iconvdata/ibm9066.h: Likewise.
33332         * iconvdata/ibm921.h: Likewise.
33333         * iconvdata/ibm922.h: Likewise.
33334         * iconvdata/ibm9448.h: Likewise.
33335         * iconvdata/isiri-3342.h: Likewise.
33336         * iconvdata/jis0201.h: Likewise.
33337         * include/link.h: Likewise.
33338         * include/netdb.h: Likewise.
33339         * inet/check_native.c: Likewise.
33340         * inet/check_pf.c: Likewise.
33341         * inet/getipv4sourcefilter.c: Likewise.
33342         * inet/getnameinfo.c: Likewise.
33343         * inet/getsourcefilter.c: Likewise.
33344         * inet/htonl.c: Likewise.
33345         * inet/setipv4sourcefilter.c: Likewise.
33346         * inet/setsourcefilter.c: Likewise.
33347         * inet/test-inet6_opt.c: Likewise.
33348         * inet/tst-network.c: Likewise.
33349         * locale/C-collate.c: Likewise.
33350         * locale/C-ctype.c: Likewise.
33351         * locale/C-time.c: Likewise.
33352         * locale/C-translit.h: Likewise.
33353         * locale/loadarchive.c: Likewise.
33354         * locale/programs/3level.h: Likewise.
33355         * locale/programs/charmap.c: Likewise.
33356         * locale/programs/charmap.h: Likewise.
33357         * locale/programs/ld-address.c: Likewise.
33358         * locale/programs/ld-collate.c: Likewise.
33359         * locale/programs/ld-ctype.c: Likewise.
33360         * locale/programs/ld-identification.c: Likewise.
33361         * locale/programs/ld-measurement.c: Likewise.
33362         * locale/programs/ld-messages.c: Likewise.
33363         * locale/programs/ld-monetary.c: Likewise.
33364         * locale/programs/ld-name.c: Likewise.
33365         * locale/programs/ld-numeric.c: Likewise.
33366         * locale/programs/ld-paper.c: Likewise.
33367         * locale/programs/ld-telephone.c: Likewise.
33368         * locale/programs/ld-time.c: Likewise.
33369         * locale/programs/linereader.c: Likewise.
33370         * locale/programs/locale.c: Likewise.
33371         * locale/programs/locarchive.c: Likewise.
33372         * locale/programs/locfile.h: Likewise.
33373         * locale/programs/repertoire.c: Likewise.
33374         * locale/programs/simple-hash.c: Likewise.
33375         * locale/programs/simple-hash.h: Likewise.
33376         * malloc/memusage.c: Likewise.
33377         * malloc/memusagestat.c: Likewise.
33378         * nis/nis_defaults.c: Likewise.
33379         * nis/nis_hash.c: Likewise.
33380         * nis/nis_print.c: Likewise.
33381         * nis/nis_xdr.c: Likewise.
33382         * nscd/connections.c: Likewise.
33383         * nscd/hstcache.c: Likewise.
33384         * nscd/nscd_gethst_r.c: Likewise.
33385         * nscd/nscd_getserv_r.c: Likewise.
33386         * nscd/nscd_helper.c: Likewise.
33387         * nscd/servicescache.c: Likewise.
33388         * nss/makedb.c: Likewise.
33389         * nss/nss_db/db-XXX.c: Likewise.
33390         * nss/nss_db/db-initgroups.c: Likewise.
33391         * nss/nss_db/db-netgrp.c: Likewise.
33392         * nss/nss_files/files-network.c: Likewise.
33393         * nss/nss_files/files-parse.c: Likewise.
33394         * posix/bug-regex5.c: Likewise.
33395         * posix/fnmatch_loop.c: Likewise.
33396         * posix/regcomp.c: Likewise.
33397         * posix/regexec.c: Likewise.
33398         * posix/tst-rfc3484-2.c: Likewise.
33399         * posix/tst-rfc3484-3.c: Likewise.
33400         * posix/tst-rfc3484.c: Likewise.
33401         * resolv/nss_dns/dns-canon.c: Likewise.
33402         * resolv/nss_dns/dns-network.c: Likewise.
33403         * resolv/res_init.c: Likewise.
33404         * resolv/res_mkquery.c: Likewise.
33405         * resolv/tst-aton.c: Likewise.
33406         * stdlib/cxa_atexit.c: Likewise.
33407         * stdlib/cxa_finalize.c: Likewise.
33408         * stdlib/gen-fpioconst.c: Likewise.
33409         * stdlib/strtol_l.c: Likewise.
33410         * string/tst-endian.c: Likewise.
33411         * sunrpc/auth_des.c: Likewise.
33412         * sunrpc/clnt_udp.c: Likewise.
33413         * sunrpc/rtime.c: Likewise.
33414         * sunrpc/svcauth_des.c: Likewise.
33415         * sunrpc/xdr.c: Likewise.
33416         * sunrpc/xdr_intXX_t.c: Likewise.
33417         * sunrpc/xdr_rec.c: Likewise.
33418         * sysdeps/generic/ldconfig.h: Likewise.
33419         * sysdeps/generic/ldsodefs.h: Likewise.
33420         * sysdeps/generic/memusage.h: Likewise.
33421         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33422         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33423         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33424         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33425         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33426         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33427         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33428         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33430         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33431         * sysdeps/posix/getaddrinfo.c: Likewise.
33432         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33433         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33434         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33435         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33436         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33437         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33438         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33439         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33440         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33441         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33442         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33443         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33444         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33445         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33446         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33447         * sysdeps/x86_64/dl-tls.h: Likewise.
33448         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33449         * time/alt_digit.c: Likewise.
33450         * time/era.c: Likewise.
33451         * wcsmbs/tst-c16c32-1.c: Likewise.
33453 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33455         * math/libm-test.inc (struct test_sincos_data): New type.
33456         (RUN_TEST_LOOP_sincos): New macro.
33457         (sincos_test_data): New variable.
33458         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33460 2013-05-16  Richard Henderson  <rth@redhat.com>
33462         * math/atest-exp2.c (LIMB64): New macro.
33463         (CONSTSZ): New macro.
33464         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33465         (hexdig): Move ...
33466         (print_mpn_fp): ... to function scope.
33467         (read_mpn_hex): Remove.
33468         (get_log2): Remove.
33469         (exp2_mpn): Use mp_log2.
33470         (main): Use mp_exp1.
33472 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33474         * math/libm-test.inc: Remove comment about not testing "inexact"
33475         exceptions.
33476         (INEXACT_EXCEPTION): New macro.
33477         (NO_INEXACT_EXCEPTION): Likewise.
33478         (INVALID_EXCEPTION_OK): Update value.
33479         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33480         (OVERFLOW_EXCEPTION_OK): Likewise.
33481         (UNDERFLOW_EXCEPTION_OK): Likewise.
33482         (IGNORE_ZERO_INF_SIGN): Likewise.
33483         (ERRNO_UNCHANGED): Likewise.
33484         (ERRNO_EDOM): Likewise.
33485         (ERRNO_ERANGE): Likewise.
33486         (test_exceptions): Handle testing "inexact" exceptions.
33487         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33488         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33489         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33490         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33491         INEXACT_EXCEPTION.
33492         (rint_towardzero_test_data): Likewise.
33493         (rint_downward_test_data): Likewise.
33494         (rint_upward_test_data): Likewise.
33496         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33497         with OVERFLOW_EXCEPTION.
33498         (exp10_test_data): Likewise.
33499         (exp2_test_data): Likewise.
33500         (expm1_test_data): Likewise.
33501         (lgamma_test_data): Likewise.
33502         (pow_test_data): Likewise.
33503         (tgamma_test_data): Likewise.
33504         (yn_test_data): Remove duplicate test of overflow.
33506         * math/libm-test.inc (struct test_cc_c_data): New type.
33507         (RUN_TEST_LOOP_cc_c): New macro.
33508         (cpow_test_data): New variable.
33509         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33511         * math/libm-test.inc (struct test_f_L_data): New type.
33512         (RUN_TEST_LOOP_f_L): New macro.
33513         (llrint_test_data): New variable.
33514         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33515         (llrint_tonearest_test_data): New variable.
33516         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33517         (llrint_towardzero_test_data): New variable.
33518         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33519         (llrint_downward_test_data): New variable.
33520         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33521         (llrint_upward_test_data): New variable.
33522         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33523         (llround_test_data): New variable.
33524         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33526 2013-05-13  Peter Collingbourne  <pcc@google.com>
33528         * math/atest-exp2.c (get_log2): Remove const attribute.
33530 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33532         * math/libm-test.inc (struct test_f_l_data): New type.
33533         (RUN_TEST_LOOP_f_l): New macro.
33534         (lrint_test_data): New variable.
33535         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33536         (lrint_tonearest_test_data): New variable.
33537         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33538         (lrint_towardzero_test_data): New variable.
33539         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33540         (lrint_downward_test_data): New variable.
33541         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33542         (lrint_upward_test_data): New variable.
33543         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33544         (lround_test_data): New variable.
33545         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33547 2013-05-15  Peter Collingbourne  <pcc@google.com>
33549         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33550         (EXTRACT_WORDS64) Use where appropriate.
33551         (INSERT_WORDS64) Likewise.
33553         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33554         constraints with x constraints.
33555         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33557         * malloc/obstack.c (_obstack_compat): Add initializer.
33559 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33561         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33562         si_trapno and add si_addr_lsb to _sifields.sigfault.
33563         (si_trapno): Remove macro.
33564         (si_addr_lsb): Define new macro.
33565         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33567 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33569         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33570         instead of TEST_f_l.
33571         (llrint_test_tonearest): Likewise.
33572         (llrint_test_towardzero): Likewise.
33573         (llrint_test_downward): Likewise.
33574         (llrint_test_upward): Likewise.
33575         (llround_test): Likewise.
33577         * math/libm-test.inc (struct test_f_i_data): Add comment.
33578         (RUN_TEST_LOOP_f_b): New macro.
33579         (RUN_TEST_LOOP_f_b_tg): Likewise.
33580         (finite_test_data): New variable.
33581         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33582         (isfinite_test_data): New variable.
33583         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33584         (isinf_test_data): New variable.
33585         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33586         (isnan_test_data): New variable.
33587         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33588         (isnormal_test_data): New variable.
33589         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33590         (issignaling_test_data): New variable.
33591         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33592         (signbit_test_data): New variable.
33593         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33595         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33596         with INVALID_EXCEPTION.
33597         (acosh_test_data): Likewise.
33598         (asin_test_data): Likewise.
33599         (atanh_test_data): Likewise.
33600         (fmod_test_data): Likewise.
33601         (log_test_data): Likewise.
33602         (log10_test_data): Likewise.
33603         (log2_test_data): Likewise.
33604         (pow_test_data): Likewise.
33605         (sqrt_test_data): Likewise.
33606         (y0_test_data): Likewise.
33607         (y1_test_data): Likewise.
33608         (yn_test_data): Likewise.
33610         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33611         function contents.
33613         * math/libm-test.inc (struct test_ff_i_data): New type.
33614         (RUN_TEST_LOOP_ff_i_tg): New macro.
33615         (isgreater_test_data): New variable.
33616         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33617         (isgreaterequal_test_data): New variable.
33618         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33619         (isless_test_data): New variable.
33620         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33621         (islessequal_test_data): New variable.
33622         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33623         (islessgreater_test_data): New variable.
33624         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33625         (isunordered_test_data): New variable.
33626         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33628 2013-05-14  David S. Miller  <davem@davemloft.net>
33630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33632 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33634         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33636         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33637         extra_test to int.
33638         (struct test_f_i_data): Change type of max_ulp to int.
33640         * math/libm-test.inc (test_ffI_f1_data): New type.
33641         (RUN_TEST_LOOP_ffI_f1): New macro.
33642         (remquo_test_data): New variable.
33643         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33645         * setjmp/tst-setjmp-fp.c: New file.
33646         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33647         (link-libm): New variable.
33648         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33650         * math/libm-test.inc (struct test_f_i_data): New type.
33651         (RUN_TEST_LOOP_f_i): New macro.
33652         (RUN_TEST_LOOP_f_i_tg): Likewise.
33653         (fpclassify_test_data): New variable.
33654         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33655         (ilogb_test_data): New variable.
33656         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33658         * math/libm-test.inc (scalbln_test): Correct function name in END
33659         call.
33661         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33662         (RUN_TEST_LOOP_fI_f1): New macro.
33663         (frexp_test_data): New variable.
33664         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33666         * math/libm-test.inc (struct test_fF_f1_data): New type.
33667         (RUN_TEST_LOOP_fF_f1): New macro.
33668         (modf_test_data): New variable.
33669         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33671         * math/libm-test.inc (struct test_f_f1_data): New type.
33672         (RUN_TEST_LOOP_f_f1): New macro.
33673         (gamma_test_data): New variable.
33674         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33675         (lgamma_test_data): New variable.
33676         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33678 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33680         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33681         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33682         (main): Comment "tls" pseudo-hwcap.
33684 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33686         * math/libm-test.inc (struct test_fl_f_data): New type.
33687         (RUN_TEST_LOOP_fl_f): New variable.
33688         (scalbln_test_data): New variable.
33689         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33691         * math/libm-test.inc (struct test_fi_f_data): New type.
33692         (RUN_TEST_LOOP_fi_f): New macro.
33693         (ldexp_test_data): New variable.
33694         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33695         (scalbn_test_data): New variable.
33696         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33698         * math/libm-test.inc (struct test_c_f_data): New type.
33699         (RUN_TEST_LOOP_c_f): New macro.
33700         (cabs_test_data): New variable.
33701         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33702         (carg_test_data): New variable.
33703         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33704         (cimag_test_data): New variable.
33705         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33706         (creal_test_data): New variable.
33707         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33709         * math/libm-test.inc (struct test_if_f_data): New type.
33710         (RUN_TEST_LOOP_if_f): New macro.
33711         (jn_test_data): New variable.
33712         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33713         (yn_test_data): New variable.
33714         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33716         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33718 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33720         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33721         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33723 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33725         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33726         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33727         (bench-deps): Add bench-timing.h.
33728         * benchtests-bench-skeleton.c: Include bench-timing.h.
33729         (main): Use TIMING_* macros instead of clock_gettime.
33730         * benchtests/bench-timing.h: New file.
33732         [BZ #14582]
33733         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33734         Renamed from _LIB_VERSION.
33735         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33737 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33739         * math/libm-test.inc (struct test_fff_f_data): New type.
33740         (RUN_TEST_LOOP_fff_f): New macro.
33741         (fma_test_data): New variable.
33742         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33743         (fma_towardzero_test_data): New variable.
33744         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33745         (fma_downward_test_data): New variable.
33746         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33747         (fma_upward_test_data): New variable.
33748         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33750         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33751         (struct test_c_c_data): New type.
33752         (RUN_TEST_LOOP_c_c): New macro.
33753         (cacos_test_data): New variable.
33754         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33755         (cacosh_test_data): New variable.
33756         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33757         (casin_test_data): New variable.
33758         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33759         (casinh_test_data): New variable.
33760         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33761         (catan_test_data): New variable.
33762         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33763         (catanh_test_data): New variable.
33764         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33765         (ccos_test_data): New variable.
33766         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33767         (ccosh_test_data): New variable.
33768         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33769         (cexp_test_data): New variable.
33770         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33771         (clog_test_data): New variable.
33772         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33773         (clog10_test_data): New variable.
33774         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33775         (conj_test_data): New variable.
33776         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33777         (cproj_test_data): New variable.
33778         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33779         (csin_test_data): New variable.
33780         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33781         (csinh_test_data): New variable.
33782         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33783         (csqrt_test_data): New variable.
33784         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33785         (ctan_test_data): New variable.
33786         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33787         (ctan_tonearest_test_data): New variable.
33788         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33789         (ctan_towardzero_test_data): New variable.
33790         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33791         (ctan_downward_test_data): New variable.
33792         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33793         (ctan_upward_test_data): New variable.
33794         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33795         (ctanh_test_data): New variable.
33796         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33797         (ctanh_tonearest_test_data): New variable.
33798         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33799         (ctanh_towardzero_test_data): New variable.
33800         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33801         (ctanh_downward_test_data): New variable.
33802         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33803         (ctanh_upward_test_data): New variable.
33804         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33805         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33806         of BUILD_COMPLEX.
33808         * math/libm-test.inc (struct test_ff_f_data): New type.
33809         (struct test_ff_f_data_nexttoward): Likewise.
33810         (RUN_TEST_LOOP_2_f): New macro.
33811         (RUN_TEST_LOOP_ff_f): Likewise.
33812         (atan2_test_data): New variable.
33813         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33814         (copysign_test_data): New variable.
33815         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33816         (fdim_test_data): New variable.
33817         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33818         (fmax_test_data): New variable.
33819         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33820         (fmin_test_data): New variable.
33821         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33822         (fmod_test_data): New variable.
33823         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33824         (hypot_test_data): New variable.
33825         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33826         (nextafter_test_data): New variable.
33827         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33828         (nexttoward_test_data): New variable.
33829         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33830         (pow_test_data): New variable.
33831         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33832         (pow_tonearest_test_data): New variable.
33833         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33834         (pow_towardzero_test_data): New variable.
33835         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33836         (pow_downward_test_data): New variable.
33837         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33838         (pow_upward_test_data): New variable.
33839         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33840         (remainder_test_data): New variable.
33841         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33842         (scalb_test_data): New variable.
33843         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33844         * sysdeps/i386/fpu/libm-test-ulps: Update.
33846 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33848         * math/libm-test.inc (fma_test): Use max_value instead of local
33849         variable fltmax.
33850         (nextafter_test): Likewise.
33852         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33853         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33854         (acos_downward_test_data): New variable.
33855         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33856         (acos_upward_test_data): New variable.
33857         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33858         (acosh_test_data): New variable.
33859         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33860         (asin_test_data): New variable.
33861         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33862         (asin_tonearest_test_data): New variable.
33863         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33864         (asin_towardzero_test_data): New variable.
33865         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33866         (asin_downward_test_data): New variable.
33867         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33868         (asin_upward_test_data): New variable.
33869         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33870         (asinh_test_data): New variable.
33871         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33872         (atan_test_data): New variable.
33873         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33874         (atanh_test_data): New variable.
33875         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33876         (cbrt_test_data): New variable.
33877         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33878         (ceil_test_data): New variable.
33879         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33880         (cos_test_data): New variable.
33881         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33882         (cos_tonearest_test_data): New variable.
33883         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33884         (cos_towardzero_test_data): New variable.
33885         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33886         (cos_downward_test_data): New variable.
33887         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33888         (cos_upward_test_data): New variable.
33889         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33890         (cosh_test_data): New variable.
33891         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33892         (cosh_tonearest_test_data): New variable.
33893         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33894         (cosh_towardzero_test_data): New variable.
33895         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33896         (cosh_downward_test_data): New variable.
33897         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33898         (cosh_upward_test_data): New variable.
33899         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33900         (erf_test_data): New variable.
33901         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33902         (erfc_test_data): New variable.
33903         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33904         (exp_test_data): New variable.
33905         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33906         (exp_tonearest_test_data): New variable.
33907         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33908         (exp_towardzero_test_data): New variable.
33909         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33910         (exp_downward_test_data): New variable.
33911         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33912         (exp_upward_test_data): New variable.
33913         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33914         (exp10_test_data): New variable.
33915         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33916         (exp2_test_data): New variable.
33917         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33918         (expm1_test_data): New variable.
33919         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33920         (fabs_test_data): New variable.
33921         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33922         (floor_test_data): New variable.
33923         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33924         (j0_test_data): New variable.
33925         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33926         (j1_test_data): New variable.
33927         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33928         (log_test_data): New variable.
33929         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33930         (log10_test_data): New variable.
33931         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33932         (log1p_test_data): New variable.
33933         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33934         (log2_test_data): New variable.
33935         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33936         (logb_test_data): New variable.
33937         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33938         (logb_downward_test_data): New variable.
33939         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33940         (nearbyint_test_data): New variable.
33941         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33942         (rint_test_data): New variable.
33943         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33944         (rint_tonearest_test_data): New variable.
33945         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33946         (rint_towardzero_test_data): New variable.
33947         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33948         (rint_downward_test_data): New variable.
33949         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33950         (rint_upward_test_data): New variable.
33951         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33952         (round_test_data): New variable.
33953         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33954         (sin_test_data): New variable.
33955         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33956         (sin_tonearest_test_data): New variable.
33957         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33958         (sin_towardzero_test_data): New variable.
33959         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33960         (sin_downward_test_data): New variable.
33961         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33962         (sin_upward_test_data): New variable.
33963         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33964         (sinh_test_data): New variable.
33965         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33966         (sinh_tonearest_test_data): New variable.
33967         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33968         (sinh_towardzero_test_data): New variable.
33969         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33970         (sinh_downward_test_data): New variable.
33971         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33972         (sinh_upward_test_data): New variable.
33973         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33974         (sqrt_test_data): New variable.
33975         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33976         (tan_test_data): New variable.
33977         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33978         (tan_tonearest_test_data): New variable.
33979         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33980         (tan_towardzero_test_data): New variable.
33981         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33982         (tan_downward_test_data): New variable.
33983         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33984         (tan_upward_test_data): New variable.
33985         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33986         (tanh_test_data): New variable.
33987         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33988         (tgamma_test_data): New variable.
33989         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33990         (trunc_test_data): New variable.
33991         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33992         (y0_test_data): New variable.
33993         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33994         (y1_test_data): New variable.
33995         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33996         (significand_test_data): New variable.
33997         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33999 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34001         [BZ #12387]
34002         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34004 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34006         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34008 2013-05-10  Andreas Jaeger  <aj@suse.de>
34010         [BZ #15448]
34011         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34012         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34014 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34016         * math/gen-libm-test.pl (adjust_arg): New function.
34017         (special_functions): Handle generating output in both functions
34018         and arrays.
34019         (parse_args): Likewise.
34020         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34021         $in_func argument to parse_args.
34022         * math/libm-test.inc (struct test_f_f_data): New type.
34023         (IF_ROUND_INIT_): New macro.
34024         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34025         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34026         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34027         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34028         (ROUND_RESTORE_): Likewise.
34029         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34030         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34031         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34032         (ROUND_RESTORE_FE_UPWARD): Likewise.
34033         (RUN_TEST_LOOP_f_f): New macro.
34034         (acos_test_data): New variable.
34035         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34036         (acos_tonearest_test_data): New variable.
34037         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34039 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34041         * benchtests/bench-skeleton.c (startup): Fix coding style.
34043 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34045         [BZ #6809]
34046         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34047         negative infinity argument.
34048         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34049         negative infinity argument.
34050         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34051         negative infinity argument.
34052         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34053         domain errors.
34055 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34057         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34058         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34059         * iconv/iconv_prog.c (main): Likewise.
34060         * locale/programs/charmap-dir.c (charmap_readdir)
34061         (fopen_uncompressed): Likewise.
34062         * locale/programs/locfile.c (siblings_uncached)
34063         (write_locale_data): Use lstat64 instead of lstat.
34064         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34065         stat.
34067 2013-05-10  Andreas Jaeger  <aj@suse.de>
34069         [BZ #15395]
34070         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34071         localization.
34072         Include <locale.h>.
34074 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34076         * elf/dl-close.c (_dl_close_worker): Add comments.
34078 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34080         [BZ #15359]
34081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34082         high part of pi/2.
34083         (__ieee754_rem_pio2l): Update comments.
34085         [BZ #15429]
34086         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34087         high part of pi/2.
34088         (__ieee754_rem_pio2l): Update comments.
34090         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34091         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34093         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34094         M_PI_4l.
34096         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34097         (M_PI_34_LOG10El): Likewise.
34098         (M_PI2_LOG10El): Likewise.
34099         (M_PI4_LOG10El): Likewise.
34100         (M_PI_LOG10El): Likewise.
34102 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34106 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34108         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34109         (MINUS_ZERO_INIT): Likewise.
34110         (PLUS_INFTY_INIT): Likewise.
34111         (MINUS_INFTY_INIT): Likewise.
34112         (QNAN_VALUE_INIT): Likewise.
34113         (MAX_VALUE_INIT): Likewise.
34114         (MIN_VALUE_INIT): Likewise.
34115         (MIN_SUBNORM_VALUE_INIT): Likewise.
34116         (plus_zero): Initialize with PLUS_ZERO_INIT.
34117         (minus_zero): Initialize with MINUS_ZERO_INIT.
34118         (plus_infty): Initialize with PLUS_INFTY_INIT.
34119         (minus_infty): Initialize with MINUS_INFTY_INIT.
34120         (qnan_value): Initialize with QNAN_VALUE_INIT.
34121         (max_value): Initialize with MAX_VALUE_INIT.
34122         (min_value): Initialize with MIN_VALUE_INIT.
34123         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34125         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34126         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34127         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34128         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34130         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34131         (RUN_TEST_2_f): Likewise.
34132         (RUN_TEST_ff_f): Likewise.
34133         (RUN_TEST_fi_f): Likewise.
34134         (RUN_TEST_fl_f): Likewise.
34135         (RUN_TEST_fff_f): Likewise.
34136         (RUN_TEST_c_f): Likewise.
34137         (RUN_TEST_f_f1): Likewise.
34138         (RUN_TEST_fF_f1): Likewise.
34139         (RUN_TEST_fI_f1): Likewise.
34140         (RUN_TEST_ffI_f1): Likewise.
34141         (RUN_TEST_c_c): Likewise.
34142         (RUN_TEST_cc_c): Likewise.
34143         (RUN_TEST_f_i): Likewise.
34144         (RUN_TEST_f_i_tg): Likewise.
34145         (RUN_TEST_ff_i_tg): Likewise.
34146         (RUN_TEST_f_b): Likewise.
34147         (RUN_TEST_f_b_tg): Likewise.
34148         (RUN_TEST_f_l): Likewise.
34149         (RUN_TEST_f_L): Likewise.
34150         (RUN_TEST_sincos): Likewise.
34151         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34152         whether to show exceptions.  Do not include ");\n" in return
34153         value.
34154         (special_functions): Output call to RUN_TEST_sincos instead of
34155         check_float calls.  Update calls to new_test.
34156         (parse_args): Output call to single RUN_TEST_* macro instead of
34157         check_* calls and other assignments.  Update calls to new_test.
34159         [BZ #2546]
34160         [BZ #2560]
34161         [BZ #5159]
34162         [BZ #15426]
34163         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34164         input to result for tgamma overflow.
34165         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34166         (gamma_coeff): New variable.
34167         (NCOEFF): New macro.
34168         (gamma_positive): New function.
34169         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34170         underflow here.  Use gamma_positive instead of exp (lgamma) for
34171         other arguments.
34172         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34173         (gamma_coeff): New variable.
34174         (NCOEFF): New macro.
34175         (gammaf_positive): New function.
34176         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34177         underflow here.  Use gamma_positive instead of exp (lgamma) for
34178         other arguments.
34179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34180         (gamma_coeff): New variable.
34181         (NCOEFF): New macro.
34182         (gammal_positive): New function.
34183         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34184         underflow here.  Use gamma_positive instead of exp (lgamma) for
34185         other arguments.
34186         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34187         (gamma_coeff): New variable.
34188         (NCOEFF): New macro.
34189         (gammal_positive): New function.
34190         (__ieee754_gammal_r): Handle positive infinity, overflow and
34191         underflow here.  Handle NaN the same as positive infinity.  Remove
34192         check x < 0xffffffff for negative integers.  Use gamma_positive
34193         instead of exp (lgamma) for other arguments.
34194         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34195         (gamma_coeff): New variable.
34196         (NCOEFF): New macro.
34197         (gammal_positive): New function.
34198         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34199         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34200         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34201         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34202         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34203         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34204         * sysdeps/generic/math_private.h (__gamma_productf): New
34205         prototype.
34206         (__gamma_product): Likewise.
34207         (__gamma_productl): Likewise.
34208         * math/Makefile (libm-calls): Add gamma_product.
34209         * math/libm-test.inc (tgamma_test): Add more tests.
34210         * sysdeps/i386/fpu/libm-test-ulps: Update.
34211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34213 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34215         * benchtests/bench-skeleton.c (main): Preheat CPU.
34217 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34219         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34221 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34223         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34224         and _dl_skip_args_internal.
34226 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34228         * manual/message.texi (Message Translation): Talk about users.
34229         Message to key mapping impacts design.
34231 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34233         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34235         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34237         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34238         * sysdeps/wordsize-64/glob64.c: ... here.
34240         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34241         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34242         New macros.
34244         * debug/getlogin_r_chk.c: Moved to ...
34245         * login/getlogin_r_chk.c: ... here.
34246         * debug/Makefile (routines): Move getlogin_r_chk to ...
34247         * login/Makefile (routines): ... here.
34248         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34249         * login/Versions (libc: GLIBC_2.4): ... here.
34251         * io/poll.c (__poll): Renamed from poll.
34252         Add libc_hidden_def.
34253         (poll): Define as weak alias.
34255         * debug/ptsname_r_chk.c: Moved to ...
34256         * login/ptsname_r_chk.c: ... here.
34257         * debug/Makefile (routines): Move ptsname_r_chk to ...
34258         * login/Makefile (routines): ... here.
34259         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34260         * login/Versions (libc: GLIBC_2.4): ... here.
34262         * posix/getlogin.c: Moved to ...
34263         * login/getlogin.c: ... here.
34264         * posix/getlogin_r.c: Moved to ...
34265         * login/getlogin_r.c: ... here.
34266         * posix/getlogin_r.c: Moved to ...
34267         * login/getlogin_r.c: ... here.
34268         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34269         * login/Makefile (routines): ... here.
34270         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34271         * login/Versions (libc: GLIBC_2.0): ... here.
34273         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34274         (setrlimit): Define as weak alias.
34276         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34277         Call __ names for open, ftruncate, and close.
34278         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34279         (truncate): Define as weak alias.
34281 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34283         * math/gen-libm-test.pl (parse_args): Initialize x before each
34284         test of frexp, modf and remquo.
34286         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34287         test signgam value.
34289 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34291         [BZ #15418]
34292         [BZ #15419]
34293         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34294         internal tests.
34295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34297 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34299         * elf/dl-writev.h: New file.
34300         * elf/dl-misc.c: Include it.
34301         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34302         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34304 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34306         * math/libm-test.inc (noXFails): Remove variable.
34307         (noXPasses): Likewise.
34308         (BUILD_COMPLEX_INT): Remove macro.
34309         (print_screen): Remove xfail argument.
34310         (print_screen_max_error): Likewise.
34311         (update_stats): Likewise.
34312         (print_max_error): Likewise.  Update calls to other affected
34313         functions.
34314         (print_complex_max_error): Likewise.
34315         (test_single_exception): Update calls to print_screen.
34316         (test_single_errno): Likewise.
34317         (check_float_internal): Remove xfail argument.  Update calls to
34318         other affected functions.
34319         (check_float): Likewise.
34320         (check_complex): Likewise.
34321         (check_int): Likewise.
34322         (check_long): Likewise.
34323         (check_bool): Likewise.
34324         (check_longlong): Likewise.
34325         (main): Don't print noXFails and noXPasses.
34326         * math/gen-libm-test.pl (top level): Don't mention expected
34327         failure handling in comment.
34328         (new_test): Don't handle expected failures.
34329         (parse_args): Don't mention expected failure handling in comment.
34330         (generate_testfile): Don't handle expected failures.
34331         (parse_ulps): Likewise.
34332         (print_ulps_file): Likewise.
34333         (get_failure): Remove function.
34334         (output_test): Don't handle expected failures.
34335         * make/README.libm-test: Don't mention expected failure handling.
34337         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34338         (minus_zero): Likewise.
34339         (plus_infty): Likewise.
34340         (minus_infty): Likewise.
34341         (qnan_value): Likewise.
34342         (max_value): Likewise.
34343         (min_value): Likewise.
34344         (min_subnorm_value): Likewise.
34345         (initialize): Do not initialize those variables dynamically.
34347 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34349         * io/open.c (__open_2): Moved to ...
34350         * io/open_2.c: ... this new file.
34351         * io/open64.c (__open64_2): Moved to ...
34352         * io/open64_2.c: ... this new file.
34353         * io/openat.c (__openat_2): Moved to ...
34354         * io/openat_2.c: ... this new file.
34355         * io/openat64.c (__openat64_2): Moved to ...
34356         * io/openat64_2.c: ... this new file.
34357         * io/Makefile (routines): Add them.
34358         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34359         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34360         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34361         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34362         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34363         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34364         (__openat64): Add hidden_ver.
34365         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34366         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34368         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34369         Separately conditionalize setting of GLRO(dl_sysinfo) so
34370         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34371         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34373 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34375         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34377         definition.
34378         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34379         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34380         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34381         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34382         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34384 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34386         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34387         test signgam value.
34389         * math/libm-test.inc (hypot_test): Do not use
34390         IGNORE_ZERO_INF_SIGN.
34392 2013-05-03  Andreas Jaeger  <aj@suse.de>
34394         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34395         Linux 3.9.
34396         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34397         (PF_MAX): Adjust for VSOCK change.
34399 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34403 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34405         [BZ #15264]
34406         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34407         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34408         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34410 2013-05-02  David S. Miller  <davem@davemloft.net>
34412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34414 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34416         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34418 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34420         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34422 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34424         [BZ #14952]
34425         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34426         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34427         Use __attribute__ ((__gnu_inline__)).
34428         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34429         Don't use __attribute__ ((__gnu_inline__)).
34431 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34433         [BZ #15423]
34434         * math/s_catan.c (__catan): Handle small real or imaginary part of
34435         input specially to avoid spurious underflow.
34436         * math/s_catanf.c (__catanf): Likewise.
34437         * math/s_catanh.c (__catanh): Likewise.
34438         * math/s_catanhf.c (__catanhf): Likewise.
34439         * math/s_catanhl.c (__catanhl): Likewise.
34440         * math/s_catanl.c (__catanl): Likewise.
34441         * math/libm-test.inc (catan_test): Add more tests.
34442         (catanh_test): Likewise.
34443         * sysdeps/i386/fpu/libm-test-ulps: Update.
34444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34446 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34450 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34452         [BZ #15416]
34453         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34454         accurately for denominator in atan2.
34455         * math/s_catanf.c (__catanf): Likewise.
34456         * math/s_catanh.c (__catanh): Likewise.
34457         * math/s_catanhf.c (__catanhf): Likewise.
34458         * math/s_catanhl.c (__catanhl): Likewise.
34459         * math/s_catanl.c (__catanl): Likewise.
34460         * math/libm-test.inc (catan_test): Add more tests.
34461         (catanh_test): Likewise.
34462         * sysdeps/i386/fpu/libm-test-ulps: Update.
34463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34465 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34467         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34469         * benchtests/Makefile (bench): Remove slow benchmarks.
34470         * benchtests/atan-inputs: Add slow benchmark inputs.
34471         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34472         (BENCH_FUNC): Accept variant offset.
34473         (VARIANT): Define.
34474         * benchtests/bench-skeleton.c (main): Run benchmark for each
34475         variant.
34476         * benchtests/cos-inputs: Add slow benchmark inputs.
34477         * benchtests/exp-inputs: Likewise.
34478         * benchtests/pow-inputs: Likewise.
34479         * benchtests/sin-inputs: Likewise.
34480         * benchtests/slowatan-inputs: Remove.
34481         * benchtests/slowatan.c: Remove.
34482         * benchtests/slowcos-inputs: Remove.
34483         * benchtests/slowcos.c: Remove.
34484         * benchtests/slowexp-inputs: Remove.
34485         * benchtests/slowexp.c: Remove.
34486         * benchtests/slowpow-inputs: Remove.
34487         * benchtests/slowpow.c: Remove.
34488         * benchtests/slowsin-inputs: Remove.
34489         * benchtests/slowsin.c: Remove.
34490         * benchtests/slowtan-inputs: Remove.
34491         * benchtests/slowtan.c: Remove.
34492         * benchtests/tan-inputs: Add slow benchmark inputs.
34493         * scripts/bench.pl: Parse comments and directives.
34495         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34496         in CPPFLAGS.
34497         ($(objpfx)bench-%.c): Remove *-ITER.
34498         * benchtests/bench-modf.c: Remove definition of ITER.
34499         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34500         (main): Loop for DURATION seconds instead of fixed number of
34501         iterations.
34502         * scripts/bench.pl: Don't expect iterations in parameters.
34504 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34506         * io/fchdir.c (__fchdir): Renamed from fchdir.
34507         (fchdir): Define as weak alias.
34509 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34511         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34512         (ERRNO_EDOM): Likewise.
34513         (ERRNO_ERANGE): Likewise.
34514         (noErrnoTests): New variable.
34515         (init_max_error): Set errno to 0.
34516         (test_single_errno): New function.
34517         (test_errno): Likewise.
34518         (check_float_internal): Call test_errno.  Set errno to 0.
34519         (check_complex): Refer to errno tests in comment.
34520         (check_int): Call test_errno.  Set errno to 0.
34521         (check_long): Likewise.
34522         (check_bool): Likewise.
34523         (check_longlong): Likewise.
34524         (cos_test): Use ERRNO_* flags for errno tests instead of
34525         check_int.
34526         (expm1_test): Likewise.
34527         (fmod_test): Likewise.
34528         (ilogb_test): Likewise.
34529         (lgamma_test): Likewise.
34530         (pow_test): Likewise.
34531         (remainder_test): Likewise.
34532         (sin_test): Likewise.
34533         (tan_test): Likewise.
34534         (yn_test): Likewise.
34535         (initialize): Set errno to 0.
34536         (main): Print number of errno tests.
34537         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34539 2013-04-29  Andreas Jaeger  <aj@suse.de>
34541         [BZ #15084]
34542         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34543         and RES_USEVC.
34545         [BZ #15085]
34546         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34547         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34548         unimplemented.
34550         [BZ #15380]
34551         * stdlib/random.c (__initstate): Return NULL if
34552         __initstate fails.
34554         [BZ #15086]
34555         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34556         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34557         RES_SNGLKUPREOP.
34559 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34563 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34565         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34566         of individual tests.
34567         (casin_test): Likewise.
34568         (casinh_test): Likewise.
34570 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34572         [BZ #15409]
34573         * math/s_catan.c (__catan): Handle arguments with large real or
34574         imaginary part separately without squaring.
34575         * math/s_catanf.c (__catanf): Likewise.
34576         * math/s_catanh.c (__catanh): Likewise.
34577         * math/s_catanhf.c (__catanhf): Likewise.
34578         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34579         and redefine.
34580         (__catanhl): Handle arguments with large real or imaginary part
34581         separately without squaring.
34582         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34583         and redefine.
34584         (__catanl): Handle arguments with large real or imaginary part
34585         separately without squaring.
34586         * math/libm-test.inc (catan_test): Add more tests.
34587         (catanh_test): Likewise.
34588         * sysdeps/i386/fpu/libm-test-ulps: Update.
34589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34591 2013-04-27  Andreas Jaeger  <aj@suse.de>
34593         [BZ #15007]
34594         * stdlib/stdlib.h: Update guards for qecvt.
34595         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34596         <stdlib.h>.
34598 2013-04-27  Allan McRae  <allan@archlinux.org>
34600         * sysdeps/i386/fpu/libm-test-ulps: Update.
34602 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34604         [BZ #15406]
34605         * math/s_catan.c: Include <float.h>.
34606         (__catan): Ensure underflow exception occurs for underflowed
34607         result.
34608         * math/s_catanf.c: Include <float.h>.
34609         (__catanf): Ensure underflow exception occurs for underflowed
34610         result.
34611         * math/s_catanh.c: Include <float.h>.
34612         (__catanh): Ensure underflow exception occurs for underflowed
34613         result.
34614         * math/s_catanhf.c: Include <float.h>.
34615         (__catanhf): Ensure underflow exception occurs for underflowed
34616         result.
34617         * math/s_catanhl.c: Include <float.h>.
34618         (__catanhl): Ensure underflow exception occurs for underflowed
34619         result.
34620         * math/s_catanl.c: Include <float.h>.
34621         (__catanl): Ensure underflow exception occurs for underflowed
34622         result.
34623         * math/libm-test.inc (catan_test): Add more tests.
34624         (catanh_test): Likewise.
34626         [BZ #15405]
34627         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34628         underflowed result.
34629         * math/s_ccoshf.c (__ccoshf): Likewise.
34630         * math/s_ccoshl.c (__ccoshl): Likewise.
34631         * math/s_csin.c (__csin): Likewise.
34632         * math/s_csinf.c (__csinf): Likewise.
34633         * math/s_csinh.c (__csinh): Likewise.
34634         * math/s_csinhf.c (__csinhf): Likewise.
34635         * math/s_csinhl.c (__csinhl): Likewise.
34636         * math/s_csinl.c (__csinl): Likewise.
34637         * math/libm-test.inc (ccos_test): Add more tests.
34638         (ccosh_test): Likewise.
34639         (csin_test): Likewise.
34640         (csinh_test): Likewise.
34642 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34644         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34645         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34646         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34647         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34648         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34649         powerpc/power5+/fpu folders.
34650         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34653 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34657 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34659         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34660         additions to variable.
34661         [$(config-machine) = x86_64] (modules-names): Likewise.
34662         ($(objpfx)tst-audit3): Remove dependency.
34663         ($(objpfx)tst-audit3.out): Likewise.
34664         ($(objpfx)tst-audit4): Likewise.
34665         ($(objpfx)tst-audit4.out): Likewise.
34666         ($(objpfx)tst-audit5): Likewise.
34667         ($(objpfx)tst-audit5.out): Likewise.
34668         ($(objpfx)tst-audit6): Likewise.
34669         ($(objpfx)tst-audit6.out): Likewise.
34670         ($(objpfx)tst-audit7): Likewise.
34671         ($(objpfx)tst-audit7.out): Likewise.
34672         (tst-audit3-ENV): Remove variable.
34673         (tst-audit4-ENV): Likewise.
34674         (tst-audit5-ENV): Likewise.
34675         (tst-audit6-ENV): Likewise.
34676         (tst-audit7-ENV): Likewise.
34677         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34678         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34679         addition to variable.
34680         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34681         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34682         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34683         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34684         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34685         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34686         tst-audit3, tst-audit4 and tst-audit5.
34687         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34688         tst-audit6 and tst-audit7.
34689         [$(subdir) = elf] (modules-names): Add audit modules for those
34690         tests.
34691         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34692         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34693         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34694         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34695         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34696         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34697         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34698         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34699         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34700         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34701         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34702         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34703         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34704         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34705         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34706         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34707         Likewise.
34708         [$(subdir) = elf && $(config-cflags-avx) = yes]
34709         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34710         [$(subdir) = elf && $(config-cflags-avx) = yes]
34711         (CFLAGS-tst-auditmod4a.c): Likewise.
34712         [$(subdir) = elf && $(config-cflags-avx) = yes]
34713         (CFLAGS-tst-auditmod4b.c): Likewise.
34714         [$(subdir) = elf && $(config-cflags-avx) = yes]
34715         (CFLAGS-tst-auditmod6b.c): Likewise.
34716         [$(subdir) = elf && $(config-cflags-avx) = yes]
34717         (CFLAGS-tst-auditmod6c.c): Likewise.
34718         [$(subdir) = elf && $(config-cflags-avx) = yes]
34719         (CFLAGS-tst-auditmod7b.c): Likewise.
34720         * elf/tst-audit3.c: Move to ...
34721         * sysdeps/x86_64/tst-audit3.c: ... here.
34722         * elf/tst-audit4.c: Move to ...
34723         * sysdeps/x86_64/tst-audit4.c: ... here.
34724         * elf/tst-audit5.c: Move to ...
34725         * sysdeps/x86_64/tst-audit5.c: ... here.
34726         * elf/tst-audit6.c: Move to ...
34727         * sysdeps/x86_64/tst-audit6.c: ... here.
34728         * elf/tst-audit7.c: Move to ...
34729         * sysdeps/x86_64/tst-audit7.c: ... here.
34730         * elf/tst-auditmod3a.c: Move to ...
34731         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34732         * elf/tst-auditmod3b.c: Move to ...
34733         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34734         * elf/tst-auditmod4a.c: Move to ...
34735         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34736         * elf/tst-auditmod4b.c: Move to ...
34737         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34738         * elf/tst-auditmod5a.c: Move to ...
34739         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34740         * elf/tst-auditmod5b.c: Move to ...
34741         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34742         * elf/tst-auditmod6a.c: Move to ...
34743         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34744         * elf/tst-auditmod6b.c: Move to ...
34745         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34746         * elf/tst-auditmod6c.c: Move to ...
34747         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34748         * elf/tst-auditmod7a.c: Move to ...
34749         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34750         * elf/tst-auditmod7b.c: Move to ...
34751         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34753 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34755         [BZ #15366]
34756         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34757         define unconditionally.
34758         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34759         define unconditionally.
34760         (INT8_C, INT16_C, etc.): Likewise.
34762 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34764         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34765         __ehdr_start with hidden visibility.
34767         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34769 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34771         * math/libm-test.inc (cos_test): Use accurate hex constants.
34772         (sincost_test): Likewise.
34774 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34776         * math/libm-test.inc (catan_test): Add more tests.
34777         (catanh_test): Likewise.
34779         * math/s_catanf.c (__catanf): Use suffixed floating-point
34780         constants.
34781         * math/s_catanhf.c (__catanhf): Likewise.
34782         * math/s_catanhl.c (__catanhl): Likewise.
34783         * math/s_catanl.c (__catanl): Likewise.
34785         [BZ #15394]
34786         * math/s_catan.c (__catan): Calculate imaginary part of result
34787         with log1p not log unless computing log of number close to 0.
34788         * math/s_catanf.c (__catanf): Likewise.
34789         * math/s_catanl.c (__catanl): Likewise.
34790         * math/s_catanh.c (__catanh): Calculate real part of result with
34791         log1p not log unless computing log of number close to 0.
34792         * math/s_catanhf.c (__catanhf): Likewise.
34793         * math/s_catanhl.c (__catanhl): Likewise.
34794         * math/libm-test.inc (catan_test): Add more tests.
34795         (catanh_test): Likewise.
34796         * sysdeps/i386/fpu/libm-test-ulps: Update.
34797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34799 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34801         * benchtests/Makefile: Mention files in which fast and slow
34802         paths of math functions are implemented.
34804 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34806         * sysdeps/posix/timespec_get.c: New file.
34808 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34810         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34811         POWER.
34812         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34813         for POWER.
34814         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34815         powerpc/power5/fpu folders.
34816         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34817         * benchtests/Makefile: Add modf testcase.
34818         * benchtests/bench-modf.c: New file: Benchmark test for mo
34820 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34822         [BZ #14888]
34823         * time/Makefile (tests): Add tst-strptime-whitespace.
34824         * time/strptime_l.c (get_number): Use ISSPACE.
34825         (__strptime_internal): Likewise.
34826         * time/tst-strptime-whitespace.c: New test case.
34828 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34830         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34831         member.
34832         (_nss_files_init): Set it here.
34834 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34836         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34837         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34838         unsigned.
34840 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34842         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34844 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34847         size just once.
34849 2013-04-21  David S. Miller  <davem@davemloft.net>
34851         * po/ru.po: Update Russion translation from translation project.
34853 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34855         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34856         and setfsgid.
34858 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34860         * configure.in: Remove i386 configure warning. Remove i386 case.
34861         * configure: Regenerate.
34862         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34863         Add example to error message.
34864         * sysdeps/i386/configure: Regenerate.
34866 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34868         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34869         slowtan.
34870         * benchtests/cos-inputs: New file.
34871         * benchtests/slowcos-inputs: New file.
34872         * benchtests/slowcos.c: New file.
34873         * benchtests/slowtan-inputs: New file.
34874         * benchtests/slowtan.c: New file.
34875         * benchtests/tan-inputs: New file.
34877 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34879         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34880         considered kosher.
34882 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34884         * benchtests/Makefile: Include cppflags-iterator.mk to add
34885         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34887         * Makefile.in (bench-clean): New target.
34888         * benchtests/Makefile (bench-clean): Likewise.
34890 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34892         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34894 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34896         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34898 2013-04-15  Andreas Schwab  <schwab@suse.de>
34900         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34902         * nscd/pwdcache.c (cache_addpw): Likewise.
34903         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34904         more than recsize.
34906 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34908         * benchtests/Makefile (bench): Write all output to
34909         bench-out.tmp together.
34911 2013-04-15  Andreas Schwab  <schwab@suse.de>
34913         * nscd/nscd.c (main): Don't fork again after closing files.
34915 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34917         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34919         * benchtests/Rules (bench-deps): Collect dependencies into a
34920         single variable.  Add Makefile to dependencies.
34921         ($(objpfx)bench-%.c): Depend on bench-deps.
34923 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34924             Xavier Roche  <roche+kml2@exalead.com>
34926         [BZ #15361]
34927         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34928         just that it's a file descriptor.
34929         * manual/llio.texi (Synchronizing AIO Operations): Update description
34930         for EBADF error from aio_fsync.
34932 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34934         * Rules (bench): Move target definition...
34935         * benchtests/Makefile: ... here.
34937 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34939         * math/libm-test.inc (cos_test): Fix PI/2 test.
34940         (sincos_test): Likewise.
34941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34942         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34944 2013-04-11  Andreas Schwab  <schwab@suse.de>
34946         [BZ #13988]
34947         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34948         accept exponent character only when digits were seen.
34949         * stdio-common/Makefile (tests): Add bug26.
34950         * stdio-common/bug26.c: New file.
34952         [BZ #14293]
34953         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34954         non-freeable.
34956 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34958         * Makeconfig (rtld-prefix): Define built linker prefix.
34959         * Rules (run-bench): Use it.
34960         * math/Makefile (run-regen-ulps): Likewise.
34962         * Rules (bench): Remove eval.
34964 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34965             Roland McGrath  <roland@hack.frob.com>
34966             Ondrej Bilka  <neleai@seznam.cz>
34968         [BZ #15346]
34969         * time/getdate.c: Include ctype.h and alloca.h.
34970         (__getdate_r): Trim leading and trailing spaces of input.
34971         * time/tst-getdate.c (tests): Add tests with leading and
34972         trailing spaces.
34974 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34976         [BZ #14280]
34977         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34978         when computing value.
34980 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34982         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34983         Use testrun.sh to run libm tests.
34985         [BZ #15309]
34986         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34988 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34990         [BZ #15264]
34991         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34995         * Makefile.in (regen-ulps): New target.
34996         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34997         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34998         [ifneq (no,$(PERL)] (regen-ulps): New target.
34999         [ifeq (no,$(PERL)] (regen-ulps): New target.
35000         * math/libm-test.inc (ulps_file_name): Define.
35001         (output_dir): New variable.
35002         (options): Add "output-dir" option.
35003         (parse_opt): Handle 'o' case.
35004         (main): If output_dir is non-NULL use it as a prefix
35005         otherwise use "".
35006         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35008 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35010         [BZ #10060, #10062]
35011         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35012         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35013         fail configure if __sync_val_compare_and_swap is not inlined.
35014         * sysdeps/i386/configure: Regenerate.
35015         * configure.in: Build for i686 when configured for i386.
35016         * configure: Regenerate.
35017         * README: Remove i386 reference.
35019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35021         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35024 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35026         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35027         (lmsnanval): New variables.
35028         (F): Add conversion tests.
35029         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35030         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35032         * stdio-common/tstdiomisc.c (F): Properly collect individual
35033         tests' results.
35035         [BZ #14686, #15336]
35036         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35037         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35038         Instead, use input NaN values or generate a qNaN by arithmetic
35039         operation.  Also fix bugs to comply with the standard.
35040         * math/libm-test.inc (remainder_test): Add more tests.
35042         [BZ #15335, #15342]
35043         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35045         input NaN values or generate a qNaN by arithmetic operation.
35047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35048         unreachable code.
35050         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35051         definitions.
35053 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #14478]
35056         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35057         underflowed result.
35058         * math/s_cexpf.c (__cexpf): Likewise.
35059         * math/s_cexpl.c (__cexpl): Likewise.
35060         * math/libm-test.inc (cexp_test): Add more tests.
35062 2013-04-03  Andreas Schwab  <schwab@suse.de>
35064         [BZ #15330]
35065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35066         order arrays from heap if bigger than alloca cutoff.
35068 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35070         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35071         (SNAN_TESTS_double): Refer to GCC PR56831.
35072         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35073         GCC PR56828.
35075 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35077         * Rules (bench): Move bench.out after the run is complete.
35079         * Rules (bench): Echo currently running benchmark.
35081         * benchtests/Makefile (bench): Add atan and slowatan.
35082         * benchtests/atan-inputs: New file.
35083         * benchtests/slowatan-inputs: New file.
35084         * benchtests/slowatan.c: New file.
35086         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35087         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35088         its value.
35090         [BZ #15305]
35091         * sysdeps/unix/sysv/linux/kernel-features.h
35092         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35093         __ASSUME_XFS_RESTRICTED_CHOWN.
35094         * sysdeps/unix/sysv/linux/pathconf.c
35095         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35096         Save and restore errno.
35098 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35100         [BZ #15327]
35101         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35102         arguments using __kernel_casinh.
35103         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35104         arguments using __kernel_casinhf.
35105         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35106         arguments using __kernel_casinhl.
35107         * math/libm-test.inc (cacosh_test): Add more tests.
35108         * sysdeps/i386/fpu/libm-test-ulps: Update.
35109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35111 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35113         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35116         * bench/Makefile (bench): Add sin and slowsin.
35117         * benchtests/sin-inputs: New file.
35118         * benchtests/slowsin-inputs: New file.
35119         * benchtests/slowsin.c: New file.
35121         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35122         (bench): Add slowexp and slowpow.
35123         (exp-ITER): Increase iterations.
35124         (pow-ITER): Likewise.
35125         * benchtests/exp-inputs: Change input.
35126         * benchtests/pow-inputs: Likewise.
35127         * benchtests/slowexp-inputs: New file.
35128         * benchtests/slowexp.c: New file.
35129         * benchtests/slowpow-inputs: New file.
35130         * benchtests/slowpow.c: New file.
35132 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35134         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35135         instructions.
35136         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35137         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35138         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35139         * benchtests/Makefile: Add rint benchtest.
35140         * benchtests/rint-inputs: Input for rint benchtest.
35142 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35144         * Versions.def (libm): Add GLIBC_2.18.
35145         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35146         hidden libm prototypes.
35147         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35148         * math/Makefile (libm-calls): Add s_issignaling.
35149         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35150         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35151         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35152         declaration.
35153         * math/math.h [__USE_GNU] (issignaling): New macro.
35154         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35155         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35156         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35157         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35158         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35159         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35160         * manual/arith.texi (issignaling): New section.
35161         * manual/libm-err-tab.pl (@all_functions): Update comment.
35162         * math/gen-libm-test.pl (parse_args): Apply special handling for
35163         issignaling.
35164         * math/libm-test.inc (print_float, issignaling_test): New
35165         functions.
35166         (check_float_internal): Add issignaling checks.
35167         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35168         default definition.
35169         * sysdeps/powerpc/math-tests.h: New file.
35170         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35171         tests.
35172         * math/test-snan.c (TEST_FUNC): Likewise.
35174 2013-03-30  David S. Miller  <davem@davemloft.net>
35176         * po/de.po: Update from translation team.
35178 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35180         [BZ #10357]
35181         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35182         imaginary part less than 1.0 and real part less than 0.5
35183         specially.
35184         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35185         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35186         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35187         (cacos_test): Add more tests.
35188         (casin_test): Likewise.
35189         (casinh_test): Likewise.
35190         * sysdeps/i386/fpu/libm-test-ulps: Update.
35191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35193 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35195         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35196         ONE with its value.
35198         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35199         (__pow_mp): Replace ONE and MONE with their values.
35200         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35202         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35203         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35204         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35207         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35209         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35210         (__pow_mp): Replace ZERO and MZERO with their values.
35211         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35212         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35213         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35215         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35216         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35217         (__sqr): Likewise.
35219         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35221         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35223 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35225         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35226         Declare with __attribute__ ((weak)).
35227         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35228         Call __call_tls_dtors only if it's not NULL.
35230 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35232         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35233         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35234         magic __ehdr_start linker symbol if it's defined.
35235         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35236         them up here if it was already done.
35238         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35239         (_dl_aux_init): Use const in cast when setting it.
35240         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35241         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35242         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35244         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35245         Declare them here.
35246         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35247         * csu/libc-tls.c: Nor here.
35248         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35250         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35251         (__libc_message): Never call vsyslog.
35253 2013-03-28  Alan Modra  <amodra@gmail.com>
35255         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35256         Define as empty.
35257         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35258         Likewise.
35260 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35262         [BZ #15214]
35263         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35264         underflow.
35265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35267 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35269         [BZ #15304]
35270         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35271         Don't add gid passed as argument.
35273         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35275 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35277         [BZ #15307]
35278         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35279         imaginary part between 1.0 and 1.5 and real part less than 0.5
35280         specially.
35281         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35282         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35283         * math/libm-test.inc (cacos_test): Add more tests.
35284         (casin_test): Likewise.
35285         (casinh_test): Likewise.
35286         * sysdeps/i386/fpu/libm-test-ulps: Update.
35287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35289 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35291         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35292         constants.
35293         (norm): Likewise.
35294         (denorm): Likewise.
35295         (__dbl_mp): Likewise.
35296         (add_magnitudes): Likewise.
35297         (sub_magnitudes): Likewise.
35298         (__add): Likewise.
35299         (__sub): Likewise.
35300         (__mul): Likewise.
35301         (__sqr): Likewise.
35302         (__inv): Likewise.
35303         (__dvd): Likewise.
35305         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35306         commented code.
35307         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35308         (__dubcos): Likewise.
35309         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35310         (__ieee754_acos): Likewise.
35311         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35312         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35313         (__exp1): Likewise.
35314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35316         (log1): Likewise.
35317         (my_log2): Likewise.
35318         (checkint): Likewise.
35319         * sysdeps/ieee754/dbl-64/e_remainder.c
35320         (__ieee754_remainder): Likewise.
35321         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35322         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35323         (bsloww): Likewise.
35324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35326         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35327         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35328         MANTISSA_STORE_T to store computations on mantissa.  Use
35329         macros for rounding and division.
35330         (denorm): Likewise.
35331         (__dbl_mp): Likewise.
35332         (add_magnitudes): Likewise.
35333         (sub_magnitudes): Likewise.
35334         (__mul): Likewise.
35335         (__sqr): Likewise.
35336         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35337         powers of two in terms of TWOPOW macro.
35338         (mp_no): Make type of mantissa as MANTISSA_T.
35339         [!RADIXI]: Define RADIXI.
35340         [!TWO52]: Define TWO52.
35341         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35343 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35345         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35346         llroundl symbol when building for PPC32.
35348 2013-03-24  Mark H Weaver  <mhw@netris.org>
35350         * manual/arith.texi (Normalization Functions): Fix prototypes for
35351         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35353 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35355         [BZ #13889]
35356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35357         high value to check if expl overflow.
35358         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35359         to check for underflow and overflow.
35360         * math/libm-test.inc: Add exp test.
35362 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35364         [BZ #11120]
35365         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35366         with NOT_IN_libc.
35368 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35370         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35371         symbol.
35373 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35375         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35376         wrap blocks consisting of several statements.
35378         * sysdeps/generic/math-tests.h: New file.
35379         * sysdeps/i386/fpu/math-tests.h: Likewise.
35380         * math/test-snan.c: Include it.
35381         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35383 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #15285]
35386         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35387         (__ieee754_j0l): Do not improve calculations using cos of twice
35388         input for inputs above LDBL_MAX / 2.0L.
35389         (__ieee754_y0l): Likewise.
35390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35391         (__ieee754_j1l): Do not improve calculations using cos of twice
35392         input for inputs above LDBL_MAX / 2.0L.
35393         (__ieee754_y1l): Likewise.
35394         * math/libm-test.inc (j0_test): Add another test.
35395         (j1_test): Likewise.
35396         (y0_test): Likewise.
35397         (y1_test): Likewise.
35398         * sysdeps/i386/fpu/libm-test-ulps: Update.
35400 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35402         * Rules ($(objpfx)bench-%.c): Include code from a C source
35403         file.
35405 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35407         [BZ #15287]
35408         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35409         imaginary part 1.0 and real part less than 0.5 specially.
35410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35412         * math/libm-test.inc (cacos_test): Add more tests.
35413         (casin_test): Likewise.
35414         (casinh_test): Likewise.
35415         * sysdeps/i386/fpu/libm-test-ulps: Update.
35416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35418 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35420         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35421         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35423 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35425         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35426         * config.make.in (config-cflags-sse4): Remove variable.
35427         (config-cflags-avx): Likewise.
35428         (config-cflags-sse2avx): Likewise.
35429         (config-cflags-novzeroupper): Likewise.
35430         (config-asflags-i686): Likewise.
35431         (have-mfma4): Likewise.
35432         (have-as-vis3): Likewise.
35433         (MIG): Likewise.
35434         * configure.in (MIG): Do not AC_SUBST.
35435         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35436         (libc_cv_cc_sse4): Do not AC_SUBST.
35437         (libc_cv_cc_avx): Likewise.
35438         (libc_cv_cc_sse2avx): Likewise.
35439         (libc_cv_cc_novzeroupper): Likewise.
35440         (libc_cv_cc_fma4): Likewise.
35441         (libc_cv_as_i686): Likewise.
35442         (libc_cv_sparc_as_vis3): Likewise.
35443         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35444         LIBC_CONFIG_VAR.
35445         (config-asflags-i686): Likewise.
35446         (config-cflags-avx): Likewise.
35447         (config-cflags-sse2avx): Likewise.
35448         (have-mfma4): Likewise.
35449         (config-cflags-novzeroupper): Likewise.
35450         * sysdeps/mach/configure.in (MIG): Likewise.
35451         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35452         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35453         LIBC_CONFIG_VAR.
35454         (config-cflags-avx): Likewise.
35455         (config-cflags-sse2avx): Likewise.
35456         (have-mfma4): Likewise.
35457         (config-cflags-novzeroupper): Likewise.
35458         * configure: Regenerated.
35459         * sysdeps/i386/configure: Likewise.
35460         * sysdeps/mach/configure: Likewise.
35461         * sysdeps/sparc/configure: Likewise.
35462         * sysdeps/x86_64/configure: Likewise.
35464 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35466         [BZ #14812]
35467         * locale/programs/localedef.c (options): Put N_ translation marker
35468         on argument names, not just descriptions.
35470 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35472         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35474 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35476         [BZ #14176]
35477         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35479 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35481         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35482         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35483         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35484         [!BEFORE_ABORT] (before_abort): New function.
35485         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35486         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35487         (writev_for_fatal): New function.
35488         (WRITEV_FOR_FATAL): New macro; call that.
35489         (backtrace_and_maps): New function.
35490         (BEFORE_ABORT): New macro; call that.
35491         (struct str_list): Type removed.
35492         (__libc_message, __libc_fatal): Functions removed.
35493         Include <sysdeps/posix/libc_fatal.c> instead.
35495 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35497         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35498         constants.
35499         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35500         double constants.
35502 2013-03-19  Andreas Schwab  <schwab@suse.de>
35504         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35505         * sysdeps/gnu/configure: Regenerate.
35507         * configure.in: Substitute libc_cv_rtlddir.
35508         * configure: Regenerate.
35509         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35510         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35511         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35512         * elf/Makefile (install-others, CFLAGS-interp.c)
35513         (ldso_install, common-ldd-rewrite): Likewise.
35514         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35515         $(inst_slibdir)/$(rtld-installed-name).
35516         * scripts/rellns-sh: Add -p option.
35517         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35518         for source.
35520 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35522         * manual/nptl.texi: Renamed to ...
35523         * manual/threads.texi: ... this.
35524         * manual/Makefile (chapters): Update.
35526 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35528         [BZ #14812]
35529         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35530         on argument names, not just descriptions.
35531         * malloc/memusagestat.c (options): Likewise.
35532         * nss/getent.c (options): Likewise.
35534 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35536         [BZ #14812]
35537         * iconv/iconv_prog.c (options): Put N_ translation marker
35538         on argument names, not just descriptions.
35539         * iconv/iconvconfig.c (options): Likewise.
35541 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35543         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35544         implementation which is faster on all x86_64 architectures.
35545         Tested on AMD, Intel Nehalem, SNB, IVB.
35546         * sysdeps/x86_64/strnlen.S: Likewise.
35548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35549         Remove all multiarch strlen and strnlen versions.
35550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35551         Remove strlen and strnlen related parts.
35553         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35554         Inline strlen part.
35555         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35557         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35558         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35559         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35560         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35562         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35564 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35566         * manual/memory.texi (Malloc Tunable Parameters):
35567         Sort parameters alphabetically. Add comments for missing entries.
35569 2013-03-17  David S. Miller  <davem@davemloft.net>
35571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35573 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35575         [BZ #15283]
35576         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35577         for arguments at most half maximum finite value.
35578         * math/libm-test.inc (j0_test): Add more tests.
35579         (j1_test): Likewise.
35580         (y0_test): Likewise.
35581         (y1_test): Likewise.
35582         * sysdeps/i386/fpu/libm-test-ulps: Update.
35583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35585         [BZ #14155]
35586         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35587         1 / x and functions P and Q for arguments above 0x1p256L.
35588         (__ieee754_y0l): Likewise.
35589         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35590         (__ieee754_y1l): Likewise.
35591         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35592         (j1_test): Likewise.
35593         (y0_test): Likewise.
35594         (y1_test): Likewise.
35596 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35598         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35599         variable.
35601 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35603         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35604         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35605         zero since it's initialized to EXEC_PAGESIZE.
35607         * sysdeps/unix/sysv/linux/ldsodefs.h
35608         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35609         * sysdeps/generic/ldsodefs.h: ... here.
35611 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35613         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35615         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35616         math/test-snan.c.
35617         * math/test-snan.c: Renamed from
35618         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35619         * math/Makefile (tests): Add test-snan.
35620         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35621         test-powerpc-snan.
35623         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35624         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35625         functions.
35626         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35627         __builtin_nan family of functions.
35628         * math/libm-test.inc (initialize): Initialize qnan_value with
35629         __builtin_nan family of functions.
35630         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35631         Remove variables.
35632         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35633         Remove functions.
35634         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35635         storage class.  Initialize qNaN_var and sNaN_var with
35636         __builtin_nan and __builtin_nans families of functions,
35637         respectively.
35639         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35640         (sqrt_test): Remove duplicate test with qNaN input.
35641         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35642         (round_test, signbit_test, significand_test): Note missing +/-Inf
35643         as well as qNaN tests.
35645         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35646         qNaN_var.  Fix a few strings, too.
35647         * math/libm-test.inc (nan_value): Rename to qnan_value.
35648         * math/gen-libm-test.pl (%beautify): Adjust to that.
35649         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35650         * math/test-misc.c (main): Likewise.
35651         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35652         to __qnan_bytes, and __qnan_union, respectively.
35653         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35654         Likewise.
35655         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35656         and lqnanval, respectively.
35657         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35658         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35659         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35660         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35662         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35663         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35664         doubles.
35666         * math/test-misc.c (main): Fix copy'n'pastos.
35667         * misc/tst-efgcvt.c (special): Likewise.
35669         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35670         Remove declarations.
35672 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35674         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35675         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35676         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35677         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35679 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35681         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35682         macro to return vdso values correctly in IFUNC implementations.
35683         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35684         Optimization by using IFUNC.
35686 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35687             Richard Henderson  <rth@redhat.com>
35688             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35690         * Makefile.in (bench): New target.
35691         * NEWS: Mention the benchmark framework.
35692         * Rules (bench): Likewise.
35693         (binaries-bench): Generate binaries for functions to
35694         benchmark.
35695         * benchtests/Makefile: New makefile for benchmark tests.
35696         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35697         programs.
35698         * benchtests/exp-inputs: New input file for EXP function.
35699         * benchtests/pow-inputs: New input file for POW function.
35700         * scripts/bench.pl: New script to generate source files for
35701         benchmark programs.
35703 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35705         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35706         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35707         computations on mantissa.  Use macros for rounding and
35708         division.
35709         (denorm): Likewise.
35710         (__dbl_mp): Likewise.
35711         (add_magnitudes): Likewise.
35712         (sub_magnitudes): Likewise.
35713         (__mul): Likewise.
35714         (__sqr): Likewise.
35715         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35716         powers of two in terms of TWOPOW macro.
35717         (mp_no): Make type of mantissa as MANTISSA_T.
35718         [!RADIXI]: Define RADIXI.
35719         [!TWO52]: Define TWO52.
35720         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35722         * manual/nptl.texi (cindex): Modify threads to pthreads.
35724 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35726         * sysdeps/x86_64/preconfigure: Regenerated.
35728 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35730         [BZ #14155]
35731         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35732         0x1p28 and above.
35733         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35734         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35735         0x1p28 and above.
35736         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35737         * math/libm-test.inc (j0_test): Do not allow one spurious
35738         underflow exception.
35739         (y1_test): Likewise.
35741 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35743         * manual/Makefile (chapters): Add nptl.
35744         * manual/debug.texi (Debugging Support): Add link to Threads
35745         chapter.
35746         * manual/nptl.texi: New file.
35748         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35750 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35752         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35753         for non-NULL pointer before the memory validity test. Pointed
35754         out by Holger Brunck <holger.brunck@keymile.com>.
35756 2013-03-13  Andreas Schwab  <schwab@suse.de>
35758         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35759         instead of .os.
35761 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35763         * timezone/zic.c: Update from tzcode 2013b.
35765 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35767         * manual/install.texi (Configuring and compiling):
35768         Mention i686 and i586.
35769         * INSTALL: Regenerate.
35771 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35773         * sysdeps/init_array/elf-init.c: New file.
35774         * csu/elf-init.c
35775         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35776         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35778         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35779         __gmon_start__ as global, but as static with a .preinit_array pointer.
35780         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35781         * sysdeps/init_array/crti.S: New file, empty except for comments.
35782         * sysdeps/init_array/crtn.S: Likewise.
35784 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35786         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35787         definining bcopy.
35788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35789         Remove Prefer_SSE_for_memop.
35790         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35791         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35792         HAS_PREFER_SSE_FOR_MEMOP.
35793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35794         memset-x86-64.
35795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35796         Remove bzero, memset ifunc support.
35797         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35798         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35799         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35800         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35802 2013-03-11  Andreas Schwab  <schwab@suse.de>
35804         [BZ #15234]
35805         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35806         by SHLIB_COMPAT.
35807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35808         (GLIBC_2.16): Remove pthread_atfork.
35810 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35812         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35813         (ptestcases.h): Likewise.
35815 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35817         * Makeconfig ($(common-objpfx)config.status): Depend on
35818         sysdeps/*/preconfigure{,.in} too.
35820 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35822         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35823         (__free_hook): Use void * instead of __malloc_ptr_t.
35824         (__malloc_hook): Likewise.
35825         (__realloc_hook): Likewise.
35826         (__memalign_hook): Likewise.
35827         (__after_morecore_hook): Likewise.
35828         * malloc/arena.c (save_malloc_hook): Likewise.
35829         (save_free_hook): Likewise.
35830         * malloc/hooks.c (malloc_hook_ini): Likewise.
35831         (realloc_hook_ini): Likewise.
35832         (memalign_hook_ini): Likewise.
35833         * malloc/malloc.c (malloc_hook_ini): Likewise.
35834         (realloc_hook_ini): Likewise.
35835         (memalign_hook_ini): Likewise.
35836         (__free_hook): Likewise.
35837         (__malloc_hook): Likewise.
35838         (__realloc_hook): Likewise.
35839         (__memalign_hook): Likewise.
35840         (__libc_malloc): Likewise.
35841         (__libc_free): Likewise.
35842         (__libc_realloc): Likewise.
35843         (__libc_memalign): Likewise.
35844         (__libc_valloc): Likewise.
35845         (__libc_pvalloc): Likewise.
35846         (__libc_calloc): Likewise.
35847         (__posix_memalign): Likewise.
35848         * malloc/morecore.c (__sbrk): Likewise.
35849         (__default_morecore): Likewise.
35851         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35853         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35854         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35855         __malloc_ptrdiff_t.
35857         * malloc/malloc.h (__malloc_size_t): Remove macro.
35858         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35859         __malloc_size_t.
35860         (old_memalign_hook): Likewise.
35861         (old_realloc_hook): Likewise.
35862         (struct hdr): Likewise.
35863         (flood): Likewise.
35864         (mallochook): Likewise.
35865         (memalignhook): Likewise.
35866         (reallochook): Likewise.
35867         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35868         (tr_old_realloc_hook): Likewise.
35869         (tr_old_memalign_hook): Likewise.
35870         (tr_mallochook): Likewise.
35871         (tr_reallochook): Likewise.
35872         (tr_memalignhook): Likewise.
35874 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35876         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35877         default_ldbl_pack and using as default implementation.
35878         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35879         implementation.
35880         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35881         redundant definition.
35882         (ldbl_insert_mantissa): Likewise.
35883         (ldbl_canonicalize): Likewise.
35884         (ldbl_nearbyint): Likewise.
35885         (ldbl_pack): Rename to ldbl_pack_ppc.
35886         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35887         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35888         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35890 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35893         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35894         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35895         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35897         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35898         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35899         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35901 2013-03-07  Andreas Jaeger  <aj@suse.de>
35903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35904         bits/mman-linux.h.
35906 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35908         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35909         Include mpa.h and declare __MPEXP.
35910         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35911         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35912         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35913         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35914         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35915         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35916         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35918         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35919         (__slowpow): Use long double EXPL and LOGL functions to
35920         compute POW.
35921         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35922         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35924         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35925         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35926         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35929         intermediate variable to calculate exponent.
35930         (__sqr): Likewise.
35931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35932         Likewise.
35933         (__sqr): Likewise.
35935         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35936         [!NO__SQR]: Define __sqr.
35937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35938         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35939         sysdeps/ieee754/dbl-64/mpa.c.
35940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35942         [BZ #12723]
35943         * posix/Makefile (tests): Add tst-pathconf.
35944         * posix/tst-pathconf.c: New test case.
35945         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35946         _PC_PIPE_BUF.
35947         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35949 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35951         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35953 2013-03-06  Andreas Jaeger  <aj@suse.de>
35955         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35956         definition via __MAP_ANONYMOUS.
35958         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35959         it's not part of Linux headers.
35961         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35962         (MAP_HUGE_MASK): Define.
35964         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35965         Define.
35966         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35968         Define.
35969         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35970         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35971         Define.
35972         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35973         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35974         Define.
35975         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35977         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35978         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35979         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35980         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35981         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35982         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35984         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35985         Handle f2fs.
35987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35988         Handle f2fs and efivarfs.
35990         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35991         f2fs.
35993         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35994         (EFIVARFS_MAGIC): Add.
35995         (F2FS_LINK_MAX): Add.
35997 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35999         * stdio-common/vfprintf.c: Replace __builtin_expect with
36000         __glibc_unlikely.
36002 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36004         [BZ #13550]
36005         * sysdeps/generic/bp-sym.h: Remove file.
36006         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36007         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36008         <bp-sym.h> and <bp-asm.h>.
36009         (__longjmp): Don't use BP_SYM.
36010         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36011         and <bp-asm.h>.
36012         (memcpy): Don't use BP_SYM.
36013         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36014         <bp-sym.h> and <bp-asm.h>.
36015         (memcpy): Don't use BP_SYM.
36016         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36017         <bp-asm.h>.
36018         (memcpy): Don't use BP_SYM.
36019         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36020         <bp-asm.h>.
36021         (memset): Don't use BP_SYM.
36022         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36023         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36024         (__bzero): Don't use BP_SYM.
36025         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36026         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36027         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36028         <bp-sym.h> and <bp-asm.h>.
36029         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36030         pointers.
36031         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36032         <bp-sym.h> and <bp-asm.h>.
36033         (memcpy): Don't use BP_SYM.
36034         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36035         <bp-sym.h> and <bp-asm.h>.
36036         (memset): Don't use BP_SYM.
36037         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36038         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36039         (__bzero): Don't use BP_SYM.
36040         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36041         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36042         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36043         <bp-sym.h> and <bp-asm.h>.
36044         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36045         pointers.
36046         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36047         <bp-sym.h> and <bp-asm.h>.
36048         (memcpy): Don't use BP_SYM.
36049         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36050         <bp-sym.h> and <bp-asm.h>.
36051         (memset): Don't use BP_SYM.
36052         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36053         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36054         (__bzero): Don't use BP_SYM.
36055         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36056         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36058         <bp-sym.h> and <bp-asm.h>.
36059         (__memchr): Don't use BP_SYM.
36060         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36061         <bp-sym.h> and <bp-asm.h>.
36062         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36063         pointers.
36064         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36065         <bp-sym.h> and <bp-asm.h>.
36066         (memcpy): Don't use BP_SYM.
36067         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36068         <bp-sym.h> and <bp-asm.h>.
36069         (__mempcpy): Don't use BP_SYM.
36070         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36071         <bp-sym.h> and <bp-asm.h>.
36072         (__memrchr): Don't use BP_SYM.
36073         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36074         <bp-sym.h> and <bp-asm.h>.
36075         (memset): Don't use BP_SYM.
36076         (__bzero): Likewise.
36077         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36078         <bp-sym.h> and <bp-asm.h>.
36079         (__rawmemchr): Don't use BP_SYM.
36080         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36081         <bp-sym.h> and <bp-asm.h>.
36082         (__STRCMP): Don't use BP_SYM.
36083         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36084         <bp-sym.h> and <bp-asm.h>.
36085         (strchr): Don't use BP_SYM.
36086         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36087         <bp-sym.h> and <bp-asm.h>.
36088         (__strchrnul): Don't use BP_SYM.
36089         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36090         <bp-sym.h> and <bp-asm.h>.
36091         (strlen): Don't use BP_SYM.
36092         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36093         <bp-sym.h> and <bp-asm.h>.
36094         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36095         pointers.
36096         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36097         <bp-sym.h> and <bp-asm.h>.
36098         (__strnlen): Don't use BP_SYM.
36099         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36100         <bp-sym.h> and <bp-asm.h>.
36101         (__GI__setjmp): Don't use BP_SYM.
36102         (_setjmp): Likewise.
36103         (__sigsetjmp): Likewise.
36104         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36105         (L(start_addresses)): Don't use BP_SYM.
36106         (_start): Likewise.
36107         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36108         <bp-asm.h>.
36109         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36110         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36111         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36112         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36113         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36114         <bp-asm.h>.
36115         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36116         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36117         about bounded pointers.
36118         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36119         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36120         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36121         <bp-asm.h>.
36122         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36123         about bounded pointers.  Remove GKM FIXME comments.
36124         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36125         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36126         <bp-asm.h>.
36127         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36128         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36129         Remove GKM FIXME comments.
36130         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36131         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36132         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36133         <bp-asm.h>.
36134         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36135         about bounded pointers.  Remove GKM FIXME comment.
36136         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36137         and <bp-asm.h>.
36138         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36139         pointers.
36140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36141         <bp-sym.h> and <bp-asm.h>.
36142         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36144         <bp-sym.h> and <bp-asm.h>.
36145         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36146         comment.
36148 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36150         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36151         call free(NULL).
36153 2013-03-05  David S. Miller  <davem@davemloft.net>
36155         * po/es.po: Update from translation team.
36157 2013-03-05  Andreas Jaeger  <aj@suse.de>
36159         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36160         <bits/mman-linux.h>.
36161         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36162         is fine.
36163         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36164         <bits/mman-linux.h> to end of file.
36165         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36166         is fine.
36167         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36168         <bits/mman-linux.h> to end of file.
36169         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36170         is fine.
36171         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36172         <bits/mman-linux.h> to end of file.
36174         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36175         (MCL_CURRENT, MCL_FUTURE): Define here.
36177 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36179         [BZ #15232]
36180         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36181         attribute_hidden.
36182         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36184 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36187         fourth parameter needed for rt_sigprocmask syscall.
36188         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36189         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36191         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36192         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36193         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36195 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #13550]
36198         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36199         comment about bounded pointers.
36200         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36201         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36203 2013-03-04  Andreas Jaeger  <aj@suse.de>
36205         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36206         common definitions.
36208         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36209         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36210         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36211         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36215 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36217         [BZ #15055]
36218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36219         __ieee754_sqrl instead of __sqrl.
36221 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36223         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36224         * sysdeps/powerpc/fpu_control.h: ... here.
36225         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36226         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36227         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36228         * sysdeps/powerpc/bits/mathinline.h: ... here.
36230 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36232         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36233         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36234         to just [NEED_DL_SYSINFO_DSO].
36235         * elf/dl-support.c: Likewise.
36236         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36237         * elf/rtld.c (dl_main): Likewise.
36238         * elf/setup-vdso.h (setup_vdso): Likewise.
36239         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36240         * sysdeps/unix/sysv/linux/dl-sysdep.c
36241         (_dl_discover_osversion): Likewise.
36243 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36245         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36246         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36248 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36250         * NEWS: Mention libm performance improvements and non-x86 PI
36251         futex support.
36253         * csu/libc-start.c (__pthread_initialize_minimal): Change
36254         function arguments.
36255         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36257 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36259         [BZ #13550]
36260         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36261         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36262         <bp-sym.h> and <bp-asm.h>.
36263         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36264         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36265         and <bp-asm.h>.
36266         (memcpy): Don't use BP_SYM.
36267         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36268         <bp-asm.h>.
36269         (__mpn_add_n): Don't use BP_SYM.
36270         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36271         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36272         and <bp-asm.h>.
36273         (__mpn_addmul_1): Don't use BP_SYM.
36274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36275         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36276         <bp-sym.h>.
36277         (_setjmp): Don't use BP_SYM.
36278         (__novmx_setjmp): Likewise.
36279         (__GI__setjmp): Likewise.
36280         (__vmx_setjmp): Likewise.
36281         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36282         <bp-sym.h>.
36283         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36284         (__bzero): Don't use BP_SYM.
36285         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36286         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36287         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36288         <bp-sym.h> and <bp-asm.h>.
36289         (memcpy): Don't use BP_SYM.
36290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36291         <bp-sym.h> and <bp-asm.h>.
36292         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36294         <bp-sym.h> and <bp-asm.h>.
36295         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36296         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36297         <bp-asm.h>.
36298         (__mpn_lshift): Don't use BP_SYM.
36299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36300         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36301         <bp-asm.h>.
36302         (memset): Don't use BP_SYM.
36303         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36304         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36305         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36306         <bp-asm.h>.
36307         (__mpn_mul_1): Don't use BP_SYM.
36308         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36309         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36310         <bp-sym.h> and <bp-asm.h>.
36311         (memcmp): Don't use BP_SYM.
36312         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36313         <bp-sym.h> and <bp-asm.h>.
36314         (memcpy): Don't use BP_SYM.
36315         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36316         <bp-sym.h> and <bp-asm.h>.
36317         (memset): Don't use BP_SYM.
36318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36319         <bp-sym.h> and <bp-asm.h>.
36320         (strncmp): Don't use BP_SYM.
36321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36322         <bp-sym.h> and <bp-asm.h>.
36323         (memcpy): Don't use BP_SYM.
36324         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36325         <bp-sym.h> and <bp-asm.h>.
36326         (memset): Don't use BP_SYM.
36327         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36328         <bp-sym.h> and <bp-asm.h>.
36329         (__memchr): Don't use BP_SYM.
36330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36331         <bp-sym.h> and <bp-asm.h>.
36332         (memcmp): Don't use BP_SYM.
36333         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36334         <bp-sym.h> and <bp-asm.h>.
36335         (memcpy): Don't use BP_SYM.
36336         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36337         <bp-sym.h> and <bp-asm.h>.
36338         (__mempcpy): Don't use BP_SYM.
36339         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36340         <bp-sym.h> and <bp-asm.h>.
36341         (__memrchr): Don't use BP_SYM.
36342         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36343         <bp-sym.h> and <bp-asm.h>.
36344         (memset): Don't use BP_SYM.
36345         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36346         <bp-sym.h> and <bp-asm.h>.
36347         (__rawmemchr): Don't use BP_SYM.
36348         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36349         <bp-sym.h> and <bp-asm.h>.
36350         (__STRCMP): Don't use BP_SYM.
36351         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36352         <bp-sym.h> and <bp-asm.h>.
36353         (strchr): Don't use BP_SYM.
36354         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36355         <bp-sym.h> and <bp-asm.h>.
36356         (__strchrnul): Don't use BP_SYM.
36357         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36358         <bp-sym.h> and <bp-asm.h>.
36359         (strlen): Don't use BP_SYM.
36360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36361         <bp-sym.h> and <bp-asm.h>.
36362         (strncmp): Don't use BP_SYM.
36363         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36364         <bp-sym.h> and <bp-asm.h>.
36365         (__strnlen): Don't use BP_SYM.
36366         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36367         <bp-asm.h>.
36368         (__mpn_rshift): Don't use BP_SYM.
36369         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36371         <bp-sym.h> and <bp-asm.h>.
36372         (__sigsetjmp): Don't use BP_SYM.
36373         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36374         (L(start_addresses)): Don't use BP_SYM.
36375         (_start): Likewise.
36376         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36377         <bp-asm.h>.
36378         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36379         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36380         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36381         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36382         <bp-asm.h>.
36383         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36384         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36385         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36386         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36387         <bp-asm.h>.
36388         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36389         comments.
36390         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36391         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36392         <bp-asm.h>.
36393         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36394         FIXME comments.
36395         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36396         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36397         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36398         <bp-asm.h>.
36399         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36400         comment.
36401         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36402         and <bp-asm.h>.
36403         (strncmp): Don't use BP_SYM,
36404         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36405         <bp-asm.h>.
36406         (__mpn_sub_n): Don't use BP_SYM.
36407         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36408         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36409         and <bp-asm.h>.
36410         (__mpn_submul_1): Don't use BP_SYM.
36411         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36413         <bp-sym.h> and <bp-asm.h>.
36414         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36416         <bp-sym.h> and <bp-asm.h>.
36417         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36418         comment.
36420 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36423         Use ZK to minimize writes to Z.
36424         (sub_magnitudes): Simplify code a bit.
36425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36426         Use ZK to minimize writes to Z.
36427         (sub_magnitudes): Simplify code a bit.
36429 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36431         * csu/gmon-start.c: Add special exception to license text.
36433 2013-02-27  Richard Henderson  <rth@redhat.com>
36435         * scripts/config.guess: Update from config.git.
36436         * scripts/config.sub: Likewise.
36438 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36442         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36444         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36446         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36448         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36450 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36452         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36453         [$(build-shared = yes].
36455 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36457         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36458         (__mul): Reduce iterations for calculating mantissa.
36460         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36461         MPTWO.
36462         (__mpranred): Likewise.
36464         [BZ #15160]
36465         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36466         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36468 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36470         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36471         Define __attribute__.
36473 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36475         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36476         unused.
36477         * posix/regex_internal.h (__attribute): Remove.
36478         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36479         (re_string_context_at): Likewise.
36480         (bitset_not): Use __attribute__ and mark function as possibly
36481         unused.
36482         (bitset_merge): Likewise.
36483         (bitset_mask): Likewise.
36484         (re_string_char_size_at): Likewise.
36485         (re_string_wchar_at): Likewise.
36486         (re_string_elem_size_at): Likewise.
36488 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36490         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36491         code.
36492         (cc32): Likewise.
36494         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36495         (__acr): Likewise.
36496         (__cpy): Likewise.
36497         (norm): Likewise.
36498         (denorm): Likewise.
36499         (__dbl_mp): Likewise.
36500         (add_magnitudes): Likewise.
36501         (sub_magnitudes): Likewise.
36502         (__mul): Likewise.
36503         (__inv): Likewise.
36505         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36506         style.
36508         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36509         style.
36511         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36512         code.
36514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36515         up changes with default code.
36516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36517         Likewise.
36519 2013-02-24  Allan McRae  <allan@archlinux.org>
36521         * manual/socket.texi (The Internet Namespace): Order menu items
36522         to match that in the file.
36524         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36525         node listing of the info page menu.
36527 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36529         [BZ #13550]
36530         * sysdeps/i386/bp-asm.h: Remove file.
36531         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36532         (PARMS): Do not use macros from bp-asm.h.
36533         (S1): Likewise.
36534         (S2): Likewise.
36535         (SIZE): Likewise.
36536         (__mpn_add_n): Do not use BP_SYM
36537         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36538         "bp-asm.h".
36539         (PARMS): Do not use macros from bp-asm.h.
36540         (S1): Likewise.
36541         (SIZE): Likewise.
36542         (__mpn_addmul_1): Do not use BP_SYM
36543         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36544         "bp-asm.h".
36545         (PARMS): Do not use macros from bp-asm.h.
36546         (SIGMSK): Likewise.
36547         (_setjmp): Likewise.  Do not use BP_SYM.
36548         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36549         "bp-asm.h".
36550         (PARMS): Do not use macros from bp-asm.h.
36551         (SIGMSK): Likewise.
36552         (setjmp): Likewise.  Do not use BP_SYM.
36553         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36554         "bp-asm.h".
36555         (PARMS): Do not use macros from bp-asm.h.
36556         (__frexp): Do not use BP_SYM.
36557         (frexp): Likewise.
36558         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36559         "bp-asm.h".
36560         (PARMS): Do not use macros from bp-asm.h.
36561         (__frexpf): Do not use BP_SYM.
36562         (frexpf): Likewise.
36563         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36564         "bp-asm.h".
36565         (PARMS): Do not use macros from bp-asm.h.
36566         (__frexpl): Do not use BP_SYM.
36567         (frexpl): Likewise.
36568         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36569         "bp-asm.h".
36570         (PARMS): Do not use macros from bp-asm.h.
36571         (__remquo): Do not use BP_SYM.
36572         (remquo): Likewise.
36573         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36574         "bp-asm.h".
36575         (PARMS): Do not use macros from bp-asm.h.
36576         (__remquof): Do not use BP_SYM.
36577         (remquof): Likewise.
36578         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36579         "bp-asm.h".
36580         (PARMS): Do not use macros from bp-asm.h.
36581         (__remquol): Do not use BP_SYM.
36582         (remquol): Likewise.
36583         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36584         "bp-asm.h".
36585         (PARMS): Do not use macros from bp-asm.h.
36586         (DEST): Likewise.
36587         (SRC): Likewise.
36588         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36589         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36590         "bp-asm.h".
36591         (PARMS): Do not use macros from bp-asm.h.
36592         (strlen): Do not use BP_SYM.
36593         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36594         "bp-asm.h".
36595         (PARMS): Do not use macros from bp-asm.h.
36596         (S1): Likewise.
36597         (S2): Likewise.
36598         (SIZE): Likewise.
36599         (__mpn_add_n): Do not use BP_SYM.
36600         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36601         "bp-asm.h".
36602         (PARMS): Do not use macros from bp-asm.h.
36603         (S1): Likewise.
36604         (SIZE): Likewise.
36605         (__mpn_addmul_1): Do not use BP_SYM.
36606         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36607         weak_alias.
36608         (bzero): Likewise.
36609         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36610         "bp-asm.h".
36611         (PARMS): Do not use macros from bp-asm.h.
36612         (S): Likewise.
36613         (SIZE): Likewise.
36614         (__mpn_lshift): Do not use BP_SYM.
36615         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36616         "bp-asm.h".
36617         (PARMS): Do not use macros from bp-asm.h.
36618         (DEST): Likewise.
36619         (SRC): Likewise.
36620         (LEN): Likewise.
36621         (memcpy): Likewise.  Do not use BP_SYM.
36622         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36623         libc_hidden_def and weak_alias.
36624         (mempcpy): Do not use BP_SYM in weak_alias.
36625         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36626         "bp-asm.h".
36627         (PARMS): Do not use macros from bp-asm.h.
36628         (DEST): Likewise.
36629         (LEN): Likewise.
36630         [!BZERO_P] (CHR): Likewise.
36631         (memset): Likewise.  Do not use BP_SYM.
36632         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36633         "bp-asm.h".
36634         (PARMS): Do not use macros from bp-asm.h.
36635         (S1): Likewise.
36636         (SIZE): Likewise.
36637         (__mpn_mul_1): Do not use BP_SYM.
36638         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36639         "bp-asm.h".
36640         (PARMS): Do not use macros from bp-asm.h.
36641         (S): Likewise.
36642         (SIZE): Likewise.
36643         (__mpn_rshift): Do not use BP_SYM.
36644         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36645         "bp-asm.h".
36646         (PARMS): Do not use macros from bp-asm.h.
36647         (STR): Likewise.
36648         (CHR): Likewise.
36649         (strchr): Likewise.  Do not use BP_SYM.
36650         (index): Do not use BP_SYM in weak_alias.
36651         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36652         "bp-asm.h".
36653         (PARMS): Do not use macros from bp-asm.h.
36654         (DEST): Likewise.
36655         (SRC): Likewise.
36656         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36657         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36658         "bp-asm.h".
36659         (PARMS): Do not use macros from bp-asm.h.
36660         (strlen): Do not use BP_SYM.
36661         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36662         "bp-asm.h".
36663         (PARMS): Do not use macros from bp-asm.h.
36664         (S1): Likewise.
36665         (S2): Likewise.
36666         (SIZE): Likewise.
36667         (__mpn_sub_n): Do not use BP_SYM.
36668         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36669         "bp-asm.h".
36670         (PARMS): Do not use macros from bp-asm.h.
36671         (S1): Likewise.
36672         (SIZE): Likewise.
36673         (__mpn_submul_1): Do not use BP_SYM.
36674         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36675         "bp-asm.h".
36676         (PARMS): Do not use macros from bp-asm.h.
36677         (S1): Likewise.
36678         (S2): Likewise.
36679         (SIZE): Likewise.
36680         (__mpn_add_n): Do not use BP_SYM.
36681         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36682         weak_alias.
36683         (bzero): Likewise.
36684         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36685         "bp-asm.h".
36686         (PARMS): Do not use macros from bp-asm.h.
36687         (BLK2): Likewise.
36688         (LEN): Likewise.
36689         (memcmp): Do not use BP_SYM.
36690         (bcmp): Do not use BP_SYM in weak_alias.
36691         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36692         "bp-asm.h".
36693         (PARMS): Do not use macros from bp-asm.h.
36694         (DEST): Likewise.
36695         (SRC): Likewise.
36696         (LEN): Likewise.
36697         (memcpy): Likewise.  Do not use BP_SYM.
36698         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36699         "bp-asm.h".
36700         (PARMS): Do not use macros from bp-asm.h.
36701         (DEST): Likewise.
36702         (SRC): Likewise.
36703         (LEN): Likewise.
36704         (memmove): Likewise.  Do not use BP_SYM.
36705         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36706         "bp-asm.h".
36707         (PARMS): Do not use macros from bp-asm.h.
36708         (DEST): Likewise.
36709         (SRC): Likewise.
36710         (LEN): Likewise.
36711         (__mempcpy): Likewise.  Do not use BP_SYM.
36712         (mempcpy): Do not use BP_SYM in weak_alias.
36713         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36714         "bp-asm.h".
36715         (PARMS): Do not use macros from bp-asm.h.
36716         (DEST): Likewise.
36717         (LEN): Likewise.
36718         [!BZERO_P] (CHR): Likewise.
36719         (memset): Likewise.  Do not use BP_SYM.
36720         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36721         "bp-asm.h".
36722         (PARMS): Do not use macros from bp-asm.h.
36723         (STR2): Likewise.
36724         (strcmp): Do not use BP_SYM.
36725         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36726         "bp-asm.h".
36727         (PARMS): Do not use macros from bp-asm.h.
36728         (STR): Likewise.
36729         (DELIM): Likewise.
36730         [USE_AS_STRTOK_R] (SAVE): Likewise.
36731         (FUNCTION): Likewise.  Do not use BP_SYM.
36732         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36733         aliases.
36734         (strtok_r): Likewise.
36735         (__GI___strtok_r): Likewise.
36736         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36737         (PARMS): Do not use macros from bp-asm.h.
36738         (S): Likewise.
36739         (SIZE): Likewise.
36740         (__mpn_lshift): Do not use BP_SYM.
36741         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36742         (PARMS): Do not use macros from bp-asm.h.
36743         (STR): Likewise.
36744         (CHR): Likewise.
36745         (__memchr): Do not use BP_SYM.
36746         (memchr): Do not use BP_SYM in weak_alias.
36747         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36748         (PARMS): Do not use macros from bp-asm.h.
36749         (BLK2): Likewise.
36750         (LEN): Likewise.
36751         (memcmp): Do not use BP_SYM.
36752         (bcmp): Do not use BP_SYM in weak_alias.
36753         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36754         (PARMS): Do not use macros from bp-asm.h.
36755         (S1): Likewise.
36756         (SIZE): Likewise.
36757         (__mpn_mul_1): Do not use BP_SYM.
36758         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36759         "bp-asm.h".
36760         (PARMS): Do not use macros from bp-asm.h.
36761         (STR): Likewise.
36762         (CHR): Likewise.
36763         (__rawmemchr): Do not use BP_SYM.
36764         (rawmemchr): Do not use BP_SYM in weak_alias.
36765         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36766         (PARMS): Do not use macros from bp-asm.h.
36767         (S): Likewise.
36768         (SIZE): Likewise.
36769         (__mpn_rshift): Do not use BP_SYM.
36770         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36771         (PARMS): Do not use macros from bp-asm.h.
36772         (SIGMSK): Likewise.
36773         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36774         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36775         (_start): Do not use BP_SYM.
36776         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36777         (PARMS): Do not use macros from bp-asm.h.
36778         (DEST): Likewise.
36779         (SRC): Likewise.
36780         (__stpcpy): Likewise.  Do not use BP_SYM.
36781         (stpcpy): Do not use BP_SYM in weak_alias.
36782         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36783         "bp-asm.h".
36784         (PARMS): Do not use macros from bp-asm.h.
36785         (DEST): Likewise.
36786         (SRC): Likewise.
36787         (LEN): Likewise.
36788         (__stpncpy): Likewise.  Do not use BP_SYM.
36789         (stpncpy): Do not use BP_SYM in weak_alias.
36790         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36791         (PARMS): Do not use macros from bp-asm.h.
36792         (STR): Likewise.
36793         (CHR): Likewise.
36794         (strchr): Likewise.  Do not use BP_SYM.
36795         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36796         "bp-asm.h".
36797         (PARMS): Do not use macros from bp-asm.h.
36798         (STR): Likewise.
36799         (CHR): Likewise.
36800         (__strchrnul): Likewise.  Do not use BP_SYM.
36801         (strchrnul): Do not use BP_SYM in weak_alias.
36802         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36803         "bp-asm.h".
36804         (PARMS): Do not use macros from bp-asm.h.
36805         (STOP): Likewise.
36806         (strcspn): Do not use BP_SYM.
36807         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36808         "bp-asm.h".
36809         (PARMS): Do not use macros from bp-asm.h.
36810         (STR): Likewise.
36811         (STOP): Likewise.
36812         (strpbrk): Likewise.  Do not use BP_SYM.
36813         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36814         "bp-asm.h".
36815         (PARMS): Do not use macros from bp-asm.h.
36816         (STR): Likewise.
36817         (CHR): Likewise.
36818         (strrchr): Likewise.  Do not use BP_SYM.
36819         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36820         (PARMS): Do not use macros from bp-asm.h.
36821         (SKIP): Likewise.
36822         (strspn): Do not use BP_SYM.
36823         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36824         (PARMS): Do not use macros from bp-asm.h.
36825         (STR): Likewise.
36826         (DELIM): Likewise.
36827         (SAVE): Likewise.
36828         (FUNCTION): Likewise.  Do not use BP_SYM.
36829         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36830         aliases.
36831         (strtok_r): Likewise.
36832         (__GI___strtok_r): Likewise.
36833         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36834         (PARMS): Do not use macros from bp-asm.h.
36835         (S1): Likewise.
36836         (S2): Likewise.
36837         (SIZE): Likewise.
36838         (__mpn_sub_n): Do not use BP_SYM.
36839         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36840         "bp-asm.h".
36841         (PARMS): Do not use macros from bp-asm.h.
36842         (S1): Likewise.
36843         (SIZE): Likewise.
36844         (__mpn_submul_1): Do not use BP_SYM.
36845         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36846         <bp-sym.h>.
36847         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36848         and <bp-asm.h>.
36849         (PARMS): Do not use macros from bp-asm.h.
36850         (FLAGS): Likewise.
36851         (PTID): Likewise.
36852         (TLS): Likewise.
36853         (CTID): Likewise.
36854         (__clone): Do not use BP_SYM.
36855         (clone): Do not use BP_SYM in weak_alias.
36856         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36857         and <bp-asm.h>.
36858         (PARMS): Do not use macros from bp-asm.h.
36859         (LEN): Likewise.
36860         (__mmap64): Do not use BP_SYM.
36861         (mmap64): Do not use BP_SYM in weak_alias.
36862         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36863         <bp-sym.h> and <bp-asm.h>.
36864         (PARMS): Do not use macros from bp-asm.h.
36865         (__posix_fadvise64_l64): Do not use BP_SYM.
36866         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36867         (PARMS): Do not use macros from bp-asm.h.
36868         (NSOPS): Likewise.
36869         (semtimedop): Do not use BP_SYM.
36870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36871         and <bp-asm.h>.
36873 2013-02-21  Allan McRae  <allan@archlinux.org>
36875         * manual/message.texi (Charset conversion in gettext):
36876         Move @end statement to beginning of line.
36878 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36881         static.
36882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36883         Likewise.
36885         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36886         (denorm): Likewise.
36887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36890 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36892         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36893         tail-call to the resolved function if pltexit isn't needed.
36895 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36898         or Y being zero as being unlikely.
36899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36900         Likewise.
36902 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36904         * manual/nss.texi (System Databases and Name Service Switch):
36905         Remove frobnicate @pxref.
36907 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36909         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36910         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36912 2013-02-20  Petr Machata  <pmachata@redhat.com>
36914         * elf/elf.h (R_ARM_TARGET1): New macro.
36915         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36916         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36917         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36918         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36919         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36920         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36921         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36922         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36923         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36924         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36925         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36926         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36927         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36928         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36929         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36930         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36931         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36932         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36933         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36934         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36935         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36936         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36937         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36938         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36939         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36940         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36941         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36942         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36943         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36944         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36945         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36946         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36947         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36948         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36949         (R_ARM_THM_GOT_BREL12): Likewise.
36950         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36951         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36952         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36953         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36954         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36955         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36956         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36957         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36958         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36960 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36962         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36963         __attribute_used__ to __attribute__ ((unused)).
36965 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36967         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36968         powerpc mpa.c.
36969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36970         comment formatting.
36971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36973 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36975         [BZ #13550]
36976         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36977         Remove macro.
36978         (ENTER): Remove both macro definitions.
36979         (LEAVE): Likewise.
36980         (CHECK_BOUNDS_LOW): Likewise.
36981         (CHECK_BOUNDS_HIGH): Likewise.
36982         (CHECK_BOUNDS_BOTH): Likewise.
36983         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36984         (RETURN_BOUNDED_POINTER): Likewise.
36985         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36986         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36987         (POP_ERRNO_LOCATION_RETURN): Likewise.
36988         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36989         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36990         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36991         macros.
36992         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36993         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36994         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36995         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36996         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36997         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36998         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36999         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37000         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37001         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37002         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37003         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37004         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37005         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37006         removed macros.
37007         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37008         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37009         macros.
37010         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37011         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37012         * sysdeps/i386/i586/memset.S (memset): Likewise.
37013         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37014         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37015         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37016         macros.
37017         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37018         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37019         Change uses of L(2) to L(out).
37020         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37021         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37022         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37023         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37024         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37025         removed macros.
37026         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37027         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37028         macros.
37029         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37030         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37031         (RETURN): Do not use macro LEAVE.
37032         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37033         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37034         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37035         * sysdeps/i386/i686/memset.S (memset): Likewise.
37036         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37037         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37038         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37039         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37040         Likewise.
37041         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37042         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37043         L(1_2) and L(1_3) into L(1).
37044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37045         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37046         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37047         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37048         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37049         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37050         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37051         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37052         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37053         macros.
37054         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37055         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37056         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37057         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37058         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37059         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37060         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37061         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37062         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37063         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37064         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37065         * sysdeps/i386/strspn.S (strspn): Likewise.
37066         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37067         conditional code.
37068         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37069         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37070         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37071         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37072         L(1_3) into L(1_1).
37073         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37074         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37075         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37076         macros.
37077         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37079 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37081         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37082         macro.
37084 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37086         * math/atest-exp.c (exp_mpn): Remove ROUND.
37087         * math/atest-exp2.c (exp_mpn): Likewise.
37088         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37090         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37091         * stdlib/tst-tls-atexit-lib.c: Likewise.
37092         * stdlib/tst-tls-atexit.c: Likewise.
37094 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37096         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37097         and __attribute_alloc_size__.
37099 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37101         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37102         __attribute_alloc_size__.
37103         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37104         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37106 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37108         * include/programs/xmalloc.h: New file.
37109         * catgets/gencat.c: Include it.
37110         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37111         * elf/pldd.c: Likewise.
37112         * iconv/iconv_charmap.c: Likewise.
37113         * iconv/iconvconfig.c: Likewise.
37114         * iconv/strtab.c: Likewise.
37115         * locale/programs/locale.c: Likewise.
37116         * locale/programs/localedef.h: Likewise.
37117         * locale/programs/simple-hash.c: Likewise.
37118         * nscd/nscd.h: Likewise.
37119         * nss/makedb.c: Likewise.
37120         * sysdeps/generic/ldconfig.h: Likewise.
37122 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37124         * Versions.def: Add GLIBC_2.18.
37125         * include/link.h (struct link_map): New member l_tls_dtor_count.
37126         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37127         (__call_tls_dtors): Likewise.
37128         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37129         __cxa_thread_atexit_impl.
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37131         Likewise.
37132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37133         Likewise.
37134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37135         Likewise.
37136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37137         Likewise.
37138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37140         Likewise.
37141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37142         Likewise.
37143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37145         Likewise.
37146         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37147         (tests): Add test case tst-tls-atexit.
37148         (modules-names): Add shared library for tst-tls-atexit.
37149         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37150         (GLIBC_PRIVATE): Add __call_tls_dtors.
37151         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37152         for libstdc++.
37153         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37154         * stdlib/tst-tls-atexit.c: New test case.
37155         * stdlib/tst-tls-atexit-lib.c: New test case.
37157         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37159         * elf/Versions (ld): Add _dl_find_dso_for_object.
37160         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37161         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37162         (dl_open_worker): Use _dl_find_dso_for_object.
37163         * elf/dl-sym.c (do_sym): Likewise.
37164         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37166 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37168         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37169         Syntactic changes only.
37170         (_dl_runtime_profile): Do a tail-call to the resolved function.
37172 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37174         [BZ #13550]
37175         * sysdeps/x86_64/bp-asm.h: Remove file.
37176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37177         <bp-sym.h> and <bp-asm.h>.
37178         (__clone): Do not use BP_SYM.
37179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37180         <bp-sym.h> and <bp-asm.h>.
37181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37182         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37183         "bp-asm.h".
37184         (_setjmp): Do not use BP_SYM.
37185         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37186         "bp-asm.h".
37187         (setjmp): Do not use BP_SYM.
37188         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37189         libc_hidden_def.
37190         (mempcpy): Do not use BP_SYM in weak_alias.
37191         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37192         "bp-asm.h".
37193         (strchr): Do not use BP_SYM.
37194         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37195         "bp-asm.h".
37196         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37197         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37198         (_start): Do not use BP_SYM.
37199         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37200         "bp-asm.h".
37201         (strcat): Do not use BP_SYM.
37202         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37203         "bp-asm.h".
37204         (STRCMP): Do not use BP_SYM.
37205         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37206         "bp-asm.h".
37207         (STRCPY): Do not use BP_SYM.
37208         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37209         "bp-asm.h".
37210         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37211         "bp-asm.h".
37212         (FUNCTION): Do not use BP_SYM.
37213         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37214         weak_alias.
37215         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37217 2013-02-17  Andreas Jaeger  <aj@suse.de>
37219         * time/Versions: Sort entries.
37220         * string/Versions: Likewise.
37221         * resolv/Versions: Likewise.
37222         * posix/Versions: Likewise.
37223         * iconv/Versions: Likewise.
37224         * elf/Versions: Likewise.
37225         * wcsmbs/Versions: Likewise.
37227 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37229         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37230         loop termination condition.
37232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37233         variable to calculate EZ.
37234         (__sqr): Likewise.
37236         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37237         the lower precision input.
37239 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37241         [BZ #13550]
37242         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37243         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37244         (run-via-rtld-prefix): Do not handle %-bp tests.
37245         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37246         (all-object-suffixes): Remove .ob.
37247         (bppfx): Remove variable.
37248         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37249         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37250         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37251         [$(build-bounded) = yes] (libtype.ob): Likewise.
37252         * Makerules (elide-routines.ob): Remove variable.
37253         (do-tests-clean): Do not handle *-bp.out.
37254         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37255         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37256         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37257         (tests): Do not include $(tests-bp.out).
37258         (xtests): Do not include $(xtests-bp.out).
37259         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37260         [$(build-bounded) = yes] ($(addprefix
37261         $(objpfx),$(binaries-bounded))): Remove rule.
37262         ($(objpfx)%-bp.out): Remove rule.
37263         * config.make.in (build-bounded): Remove variable.
37264         * crypt/Makefile [$(build-bounded) = yes]
37265         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37266         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37267         append to variable.
37268         [$(build-bounded) = yes] (install-lib): Likewise.
37269         [$(build-bounded) = yes] (generated): Likewise.
37270         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37271         Remove rule.
37272         * intl/Makefile [$(build-bounded) = yes]
37273         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37274         * math/Makefile [$(build-bounded) = yes]
37275         ($(tests:%=$(objpfx)%-bp): Likewise.
37276         * misc/Makefile [$(build-bounded) = yes]
37277         ($(objpfx)tst-tsearch-bp): Likewise.
37278         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37279         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37280         Remove dependency.
37281         * string/Makefile (o-objects.ob): Remove variable.
37282         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37283         (CFLAGS-.ob): Remove variable.
37284         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37285         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37286         both definitions of variable.
37287         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37288         (ASFLAGS-.ob): Remove variable.
37290 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37292         [BZ #13550]
37293         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37294         Remove __BOUNDED_POINTERS__ from condition.
37295         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37296         * string/bits/string2.h [!__NO_STRING_INLINES &&
37297         !__BOUNDED_POINTERS__]: Likewise.
37298         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37299         Likewise.
37300         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37301         Remove conditional code.
37302         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37303         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37304         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37305         condition.
37307         [BZ #13550]
37308         * csu/libc-start.c: Do not include <bp-sym.h>.
37309         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37310         * elf/dl-open.c: Do not include <bp-sym.h>.
37311         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37312         * math/fegetenv.c: Do not include <bp-sym.h>.
37313         (fegetenv): Do not use BP_SYM in versioned symbols.
37314         * nptl/sysdeps/pthread/bits/libc-lockP.h
37315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37316         <bp-sym.h>.
37317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37318         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37320         (__pthread_mutex_destroy): Likewise.
37321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37322         (__pthread_mutex_lock): Likewise.
37323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37324         (__pthread_mutex_trylock): Likewise.
37325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37326         (__pthread_mutex_unlock): Likewise.
37327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37328         (__pthread_mutexattr_init): Likewise.
37329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37330         (__pthread_mutexattr_destroy): Likewise.
37331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37332         (__pthread_mutexattr_settype): Likewise.
37333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37334         (__pthread_rwlock_init): Likewise.
37335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37336         (__pthread_rwlock_destroy): Likewise.
37337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37338         (__pthread_rwlock_rdlock): Likewise.
37339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37340         (__pthread_rwlock_tryrdlock): Likewise.
37341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37342         (__pthread_rwlock_wrlock): Likewise.
37343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37344         (__pthread_rwlock_trywrlock): Likewise.
37345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37346         (__pthread_rwlock_unlock): Likewise.
37347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37348         (__pthread_key_create): Likewise.
37349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37350         (__pthread_setspecific): Likewise.
37351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37352         (__pthread_getspecific): Likewise.
37353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37354         Likewise.
37355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37356         (_pthread_cleanup_push_defer): Likewise.
37357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37358         (_pthread_cleanup_pop_restore): Likewise.
37359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37360         (pthread_setcancelstate): Likewise.
37361         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37362         <bp-sym.h>.
37363         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37364         (memchr): Do not use BP_SYM in weak_alias.
37365         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37366         (fegetenv): Do not use BP_SYM in versioned symbols.
37367         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37368         (fesetenv): Do not use BP_SYM in versioned symbols.
37369         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37370         (feupdateenv): Do not use BP_SYM in versioned symbols.
37371         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37372         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37373         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37374         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37375         (open64): Do not use BP_SYM in weak_alias.
37376         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37377         (fegetenv): Do not use BP_SYM in versioned symbols.
37378         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37379         (fesetenv): Do not use BP_SYM in versioned symbols.
37380         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37381         (feupdateenv): Do not use BP_SYM in versioned symbols.
37382         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37383         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37384         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37385         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37386         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37387         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37388         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37389         <bp-sym.h>.
37390         (__libc_start_main): Do not use BP_SYM.
37392 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37395         redundant return line.
37396         (norm): Likewise.
37397         (denorm): Likewise.
37398         (dbl_mp): Likewise.
37399         (sub_magnitudes): Likewise.
37400         (__add): Likewise.
37401         (__sub): Likewise.
37402         (__mul): Likewise.
37403         (__inv): Likewise.
37404         (__dvd): Likewise.
37405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37406         (norm): Likewise.
37407         (denorm): Likewise.
37408         (dbl_mp): Likewise.
37409         (sub_magnitudes): Likewise.
37410         (__add): Likewise.
37411         (__sub): Likewise.
37412         (__mul): Likewise.
37413         (__inv): Likewise.
37414         (__dvd): Likewise.
37416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37417         instead of __mul.
37418         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37419         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37420         (cc32): Likewise.
37422         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37423         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37425         of __mul for squares.
37426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37427         function
37428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37429         Likewise.
37430         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37431         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37433 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37435         [BZ #13550]
37436         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37437         code.
37438         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37439         prototype or function definition.  Rename ubp_* variables and
37440         parameters.  Remove argv definitions conditional on
37441         [__BOUNDED_POINTERS__].
37442         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37443         * elf/dl-runtime.c (_dl_fixup): Likewise.
37444         * include/set-hooks.h (RUN_HOOK): Likewise.
37445         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37446         definition.
37447         * string/strcpy.c (strcpy): Do not use __unbounded.
37448         * sysdeps/generic/frame.h (struct layout): Likewise.
37449         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37450         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37451         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37452         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37453         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37454         (__backtrace): Likewise.
37455         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37456         use __ptrvalue.
37457         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37458         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37459         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37460         Likewise.
37461         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37462         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37463         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37464         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37465         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37466         Do not use __unbounded.
37467         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37468         Rename __unboundedrlimits parameter to rlimits in prototype.
37469         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37470         Do not use __unbounded.
37471         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37472         not use __ptrvalue.
37473         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37474         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37475         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37476         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37477         __ptrvalue or __unbounded.
37478         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37479         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37480         use __unbounded.
37481         (__new_msgctl): Do not use __ptrvalue.
37482         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37483         __unbounded.
37484         (__libc_msgrcv): Do not use __ptrvalue.
37485         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37486         startup_info): Do not use __unbounded.
37487         (__libc_start_main): Likewise.  Rename ubp_* variables and
37488         parameters.  Remove argv definitions conditional on
37489         [__BOUNDED_POINTERS__].
37490         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37491         __ptrvalue.
37492         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37493         use __unbounded.
37494         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37495         or __ptrvalue.
37496         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37497         use __unbounded.
37498         (__new_shmctl): Do not use __ptrvalue.
37499         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37500         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37501         Likewise.
37502         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37504         (__libc_sigaction): Likewise.
37505         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37506         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37507         Likewise.
37508         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37510 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37512         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37514         * string/mempcpy.c: Implement by calling memcpy.
37516 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37521         evaluation.
37523         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37524         values in the mantissa.
37526         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37527         minimize writes to Z.
37528         (sub_magnitudes): Simplify code a bit.
37530 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37532         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37533         from the message.  The linker prefixes all warnings with that already.
37535 2013-02-12  Andreas Schwab  <schwab@suse.de>
37537         [BZ #15078]
37538         * posix/regexec.c (extend_buffers): Add parameter min_len.
37539         (check_matching): Pass minimum needed length.
37540         (clean_state_log_if_needed): Likewise.
37541         (get_subexp): Likewise.
37542         * posix/Makefile (tests): Add bug-regex34.
37543         (bug-regex34-ENV): Define.
37544         * posix/bug-regex34.c: New file.
37546         [BZ #11561]
37547         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37548         elements compare against the byte sequence of it, not its name.
37549         * posix/Makefile (tests): Add bug-regex35.
37550         (bug-regex35-ENV): Define.
37551         * posix/bug-regex35.c: New file.
37553 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37555         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37556         comment.
37557         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37558         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37559         (CHECK_EOL): Add undef.
37561 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37563         * bits/stdlib-bsearch.h: New file.
37564         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37565         * stdlib/stdlib.h: Likewise.
37567 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37569         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37570         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37571         declaration.
37572         * manual/search.texi (Array Search Function): Add missing const in
37573         lfind prototype.
37574         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37575         declaration to use rlim_t.
37576         (Basic Scheduling Functions): Remove erroneous const from
37577         sched_getparam prototype.  Remove erroneous * from
37578         sched_get_priority_max and sched_get_priority_min prototypes.
37579         (Resource Usage): Fix summary @comment on vtimes to refer to
37580         sys/vtimes.h rather than vtimes.h.
37581         Add missing *s in vtimes prototype.
37582         (Limits on Resources): Fix ulimit prototype to return long int.
37583         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37584         prototypes to use long int rather than double.
37585         (BSD Random): Fix initstate and setstate to use char *, not void *.
37586         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37587         prototype to make second argument 'struct aiocb64 *const[]'.
37588         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37589         (Status of AIO Operations): Remove erroneous const in aio_return and
37590         aio_return64 prototypes.
37591         (Synchronizing I/O): Fix sync prototype to return void.
37592         * manual/startup.texi (Suboptions): Remove an erroneous const in
37593         getsubopt prototype.
37594         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37595         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37596         use size_t rather than int.
37597         (Scanning All Users): Likewise for getpwent_r.
37598         (Setting Groups): Add missing const to setgroups prototype.
37599         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37600         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37601         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37602         'const void *' rather than 'const char *'.
37603         (Host Address Functions): Likewise for inet_ntop.
37604         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37605         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37606         ssize_t for return value.
37607         (Sending Data): Likewise for send, sendto, sendmsg.
37608         (Socket Option Functions): Add a missing const in setsockopt prototype.
37609         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37610         use wchar_t for the argument.
37611         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37612         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37613         take no arguments.
37614         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37615         double/float/long double for second argument.
37616         Fix return types of significand, significandf, significandl.
37617         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37618         argument in fchmod prototype.
37619         (File Owner): Use uid_t and gid_t in fchown prototype.
37620         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37621         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37622         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37623         use 'const struct dirent **' as argument types to CMP function pointer
37624         argument.
37625         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37626         (File Times): Fix summary magic @comment for struct utimbuf and utime
37627         to refer to utime.h, not time.h.
37628         * manual/string.texi (Argz Functions): Add missing const in
37629         argz_extract and argz_next prototypes.
37630         (Finding Tokens in a String): Likewise for basename.
37631         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37632         (Copying and Concatenation): Fix typo in wmemmove prototype.
37633         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37634         (Signal Stack): Remove erroneous const in sigstack prototype.
37635         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37636         prototype.
37637         (Simple Calendar Time): Likewise for stime.
37638         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37639         prototype.
37640         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37641         say sys/sysctl.h instead.
37642         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37643         and vsyslog prototypes.
37645 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37647         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37648         Remove.
37650 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37652         * misc/sys/mman.h: Fix typo in mremap comment.
37654 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37656         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37657         the '\0' terminator.
37659 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37661         [BZ #13550]
37662         * debug/segfault.c: Don't include <bp-checks.h>.
37663         * sysdeps/generic/bp-checks.h: Remove file.
37664         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37665         (__GETDENTS): Don't use CHECK_N.
37666         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37667         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37668         (__getgroups): Don't use CHECK_N.
37669         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37670         (setgroups): Don't use CHECK_N.
37671         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37672         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37673         (__libc_msgrcv): Don't use CHECK_N.
37674         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37675         (__libc_msgsnd): Don't use CHECK_N.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37677         <bp-checks.h>.
37678         (__libc_pread): Don't use CHECK_N.
37679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37680         include <bp-checks.h>.
37681         (__libc_pread64): Don't use CHECK_N.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37683         include <bp-checks.h>.
37684         (__libc_pwrite): Don't use CHECK_N.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37686         include <bp-checks.h>.
37687         (__libc_pwrite64): Don't use CHECK_N.
37688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37689         <bp-checks.h>.
37690         (__libc_pread): Don't use CHECK_N.
37691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37692         include <bp-checks.h>.
37693         (__libc_pread64): Don't use CHECK_N.
37694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37695         include <bp-checks.h>.
37696         (__libc_pwrite): Don't use CHECK_N.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37698         include <bp-checks.h>.
37699         (__libc_pwrite64): Don't use CHECK_N.
37700         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37701         (do_pread): Don't use CHECK_N.
37702         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37703         (do_pread64): Don't use CHECK_N.
37704         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37705         (do_pwrite): Don't use CHECK_N.
37706         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37707         (do_pwrite64): Don't use CHECK_N.
37708         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37709         (__libc_readv): Don't use CHECK_N.
37710         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37711         (semop): Don't use CHECK_N.
37712         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37713         <bp-checks.h>.
37714         (semtimedop): Don't use CHECK_N.
37715         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37716         (__libc_pread): Don't use CHECK_N.
37717         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37718         <bp-checks.h>.
37719         (__libc_pread64): Don't use CHECK_N.
37720         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37721         <bp-checks.h>.
37722         (__libc_pwrite): Don't use CHECK_N.
37723         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37724         <bp-checks.h>.
37725         (__libc_pwrite64): Don't use CHECK_N.
37726         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37727         <bp-checks.h>.
37728         (__libc_msgrcv): Don't use CHECK_N.
37729         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37730         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37731         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37732         (__libc_writev): Don't use CHECK_N.
37734 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37736         * string/strcpy.c: Removed unused variable.
37738         * Makeconfig (+sysdep-includes): Define with := rather than =.
37739         Use an existing include/ subdir of each sysdeps dir before it.
37741 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37743         * nscd/connection.c (register_traced_file): Comment function.
37744         [HAVE_INOTIFY] (union __inev): Define.
37745         [HAVE_INOTIFY] (inotify_check_files): New function.
37746         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37747         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37748         clear_db_cache.
37749         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37751 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37753         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37754         loaded if not already and that a failure is permanent.
37756 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37758         [BZ #15006]
37759         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37760         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37762 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37764         [BZ #13550]
37765         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37766         (CHECK_1_NULL_OK): Likewise.
37767         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37768         (__fxstat): Do not use CHECK_1.
37769         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37770         <bp-checks.h>.
37771         (___fxstat64): Do not use CHECK_1.
37772         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37773         <bp-checks.h>.
37774         (__fxstatat): Do not use CHECK_1.
37775         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37776         <bp-checks.h>.
37777         (__fxstatat64): Do not use CHECK_1.
37778         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37779         <bp-checks.h>.
37780         (__fxstat): Do not use CHECK_1.
37781         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37782         <bp-checks.h>.
37783         (__fxstatat): Do not use CHECK_1.
37784         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37785         <bp-checks.h>.
37786         (__getresgid): Do not use CHECK_1.
37787         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37788         <bp-checks.h>.
37789         (__getresuid): Do not use CHECK_1.
37790         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37791         <bp-checks.h>.
37792         (__lxstat): Do not use CHECK_1.
37793         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37794         <bp-checks.h>.
37795         (__old_msgctl): Do not use CHECK_1.
37796         (__new_msgctl): Likewise.
37797         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37798         <bp-checks.h>.
37799         (__new_setrlimit): Do not use CHECK_1.
37800         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37801         <bp-checks.h>.
37802         (__old_shmctl): Do not use CHECK_1.
37803         (__new_shmctl): Likewise.
37804         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37805         <bp-checks.h>.
37806         (__xstat): Do not use CHECK_1.
37807         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37808         (__lxstat): Do not use CHECK_1.
37809         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37810         <bp-checks.h>.
37811         (___lxstat64): Do not use CHECK_1.
37812         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37813         (__old_msgctl): Do not use CHECK_1.
37814         (__new_msgctl): Likewise.
37815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37816         <bp-checks.h>.
37817         (__gettimeofday): Do not use CHECK_1.
37818         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37819         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37820         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37821         <bp-checks.h>.
37822         (__gettimeofday): Do not use CHECK_1.
37823         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37824         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37825         (__new_shmctl): Do not use CHECK_1.
37826         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37827         <bp-checks.h>.
37828         (do_sigtimedwait): Do not use CHECK_1.
37829         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37830         <bp-checks.h>.
37831         (do_sigwaitinfo): Do not use CHECK_1.
37832         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37833         <bp-checks.h>.
37834         (msgctl): Do not use CHECK_1.
37835         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37836         <bp-checks.h>.
37837         (shmctl): Do not use CHECK_1.
37838         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37839         (ustat): Do not use CHECK_1.
37840         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37841         <bp-checks.h>.
37842         (__fxstat): Do not use CHECK_1.
37843         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37844         <bp-checks.h>.
37845         (__fxstatat): Do not use CHECK_1.
37846         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37847         <bp-checks.h>.
37848         (__lxstat): Do not use CHECK_1.
37849         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37850         <bp-checks.h>.
37851         (__xstat): Do not use CHECK_1.
37852         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37853         (__xstat): Do not use CHECK_1.
37854         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37855         (___xstat64): Do not use CHECK_1.
37857         [BZ #13550]
37858         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37859         definitions.
37860         (CHECK_BOUNDS_HIGH): Likewise.
37861         * string/strcpy.c: Do not include <bp-checks.h>.
37862         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37864 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37866         * nscd/nscd-client.h (__nscd_drop_map_ref):
37867         Add __attribute__ ((unused)).
37868         * nis/nss-nisplus.h (niserr2nss): Likewise.
37870         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37871         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37873         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37874         Remove inline keyword.
37875         * include/rounding-mode.h (round_away): Likewise.
37876         * libio/wfileops.c (adjust_wide_data): Likewise.
37877         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37878         (__m128i_strloadu_tolower): Likewise.
37879         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37880         (__m128i_strloadu_tolower): Likewise.
37881         * time/mktime.c (ydhms_diff): Likewise.
37882         * locale/elem-hash.h (elem_hash): Likewise.
37883         * locale/setlocale.c (setdata): Likewise.
37884         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37885         (re_string_wchar_at): Likewise.
37886         (bitset_not, bitset_merge, bitset_mask): Likewise.
37887         [!(__GNUC__ > 3)] (inline): Remove macro.
37888         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37889         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37890         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37891         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37892         * string/memcmp.c (memcmp_bytes): Likewise.
37893         * locale/programs/locarchive.c (compute_hashval): Likewise.
37894         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37895         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37896         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37897         * nss/getent.c (print_rpc, print_protocols): Likewise.
37898         (print_passwd, print_group, print_aliases): Likewise.
37899         * nis/nss-nisplus.h (niserr2nss): Likewise.
37900         * nscd/connections.c (restart_p): Likewise.
37901         Change return type to bool.
37903 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37905         * Makeconfig (all-Depend-files): Add existing
37906         $(sorted-subdirs:=/Depend) files.
37907         (all-subdirs): Remove nss.
37908         * sysdeps/unix/inet/Subdirs: Add it here instead.
37909         * hesiod/Depend: New file.
37911         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37912         instead of calling alloca.
37914         * io/lseek.c (__lseek): Rename to __libc_lseek.
37915         Define __lseek as an alias.
37917         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37919 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37921         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37922         else clause and remove check for non-standard endianness.
37924 2013-02-04  David S. Miller  <davem@davemloft.net>
37926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37928 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37930         [BZ #13550]
37931         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37932         (__ubp_memchr): Remove prototype.
37933         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37934         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37935         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37936         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37937         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37938         Remove alias.
37939         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37940         (__ubp_memchr): Likewise.
37941         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37942         (__ubp_memchr): Likewise.
37943         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37944         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37945         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37946         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37947         CHECK_STRING.
37948         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37949         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37950         (__getcwd): Do not use CHECK_STRING.
37951         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37952         <bp-checks.h>.
37953         (__real_chown): Do not use CHECK_STRING.
37954         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37955         <bp-checks.h>.
37956         (fchownat): Do not use CHECK_STRING.
37957         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37958         CHECK_STRING.
37959         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37960         <bp-checks.h>.
37961         (__lchown): Do not use CHECK_STRING.
37962         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37963         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37964         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37965         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37967         include <bp-checks.h>.
37968         (truncate64): Do not use CHECK_STRING.
37969         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37970         <bp-checks.h>.
37971         (__real_chown): Do not use CHECK_STRING.
37972         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37973         <bp-checks.h>.
37974         (__lchown): Do not use CHECK_STRING.
37975         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37976         <bp-checks.h>.
37977         (__chown): Do not use CHECK_STRING.
37978         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37979         <bp-checks.h>.
37980         (truncate64): Do not use CHECK_STRING.
37981         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37982         Likewise.
37983         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37984         (__xmknod): Do not use CHECK_STRING.
37985         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37986         <bp-checks.h>.
37987         (__xmknodat): Do not use CHECK_STRING.
37988         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37989         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37991 2013-02-04  Andreas Schwab  <schwab@suse.de>
37993         [BZ #14142]
37994         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37995         * include/netdb.h: Likewise for h_errno.
37996         * elf/tst-stackguard1.c: Include <tls.h>.
37998 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38000         * elf/link.h (struct link_map): Extend the l_addr comment.
38001         * include/link.h (struct link_map): Likewise.
38003 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38005         [BZ #13550]
38006         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38007         (BOUNDED_1): Remove macro.
38008         * debug/backtrace.c: Don't include <bp-checks.h>.
38009         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38010         (__backtrace): Likewise.
38011         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38012         <bp-checks.h>.
38013         (__backtrace): Don't use BOUNDED_1.
38014         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38015         <bp-checks.h>.
38016         (__backtrace): Don't use BOUNDED_1.
38017         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38018         (__backtrace): Don't use BOUNDED_1.
38019         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38020         (shmat): Don't use BOUNDED_N.
38022 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38024         [BZ #13550]
38025         * sysdeps/generic/bp-start.h: Remove file.
38026         * csu/libc-start.c: Don't include <bp-start.h>.
38027         (LIBC_START_MAIN): Set up __environ directly instead of using
38028         INIT_ARGV_and_ENVIRON.
38029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38030         <bp-start.h>.
38032         [BZ #13550]
38033         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38034         definitions.
38035         (CHECK_FCNTL): Likewise.
38036         (CHECK_N_PAGES): Likewise.
38038         [BZ #13550]
38039         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38040         definitions.
38041         (CHECK_SIGSET_NULL_OK): Likewise.
38042         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38043         <bp-checks.h>.
38044         (sigpending): Don't use CHECK_SIGSET.
38045         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38046         <bp-checks.h>.
38047         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38048         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38049         <bp-checks.h>.
38050         (do_sigsuspend): Don't use CHECK_SIGSET.
38051         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38052         use CHECK_SIGSET.
38053         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38054         (do_sigwait): Don't use CHECK_SIGSET.
38055         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38056         use CHECK_SIGSET.
38057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38058         include <bp-checks.h>.
38059         (sigpending): Don't use CHECK_SIGSET.
38060         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38061         include <bp-checks.h>.
38062         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38063         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38064         <bp-checks.h>.
38065         (sigpending): Don't use CHECK_SIGSET.
38066         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38067         <bp-checks.h>.
38068         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38070         [BZ #13550]
38071         * sysdeps/generic/bp-semctl.h: Remove file.
38072         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38073         <bp-checks.h> and <bp-semctl.h>.
38074         (__old_semctl): Don't use CHECK_SEMCTL.
38075         (__new_semctl): Likewise.
38076         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38077         and <bp-semctl.h>.
38078         (__old_semctl): Don't use CHECK_SEMCTL.
38079         (__new_semctl): Likewise.
38080         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38081         <bp-checks.h> and <bp-semctl.h>.
38082         (__old_semctl): Don't use CHECK_SEMCTL.
38083         (__new_semctl): Likewise.
38084         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38085         <bp-checks.h> and <bp-semctl.h>.
38086         (semctl): Don't use CHECK_SEMCTL.
38088         [BZ #13550]
38089         * Makerules (elide-bp-thunks): Remove variable.
38090         (elide-routines.oS): Don't use $(elide-bp-thunks).
38091         (elide-routines.os): Likewise.
38092         (elide-routines.o): Likewise.
38093         (elide-routines.op): Likewise.
38094         (elide-routines.og): Likewise.
38095         (objects): Don't use $(bp-thunks).
38096         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38097         include.
38098         (common-generated): Do not add s-proto-bp.d.
38099         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38100         (int): Likewise.
38101         (typ): Likewise.
38102         Do not generate makefile rules for bounded-pointer thunks.
38103         * sysdeps/generic/bp-thunks.h: Remove file.
38104         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38105         * sysdeps/unix/s-proto-bp.S: Likewise.
38107         [BZ #15062]
38108         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38109         parts of result separately when argument is not close to line from
38110         -i to i and one part of argument is small.
38111         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38112         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38113         * math/libm-test.inc (cacos_test): Add more tests.
38114         (casin_test): Likewise.
38115         (casinh_test): Likewise.
38116         * sysdeps/i386/fpu/libm-test-ulps: Update.
38117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38119 2013-01-31  David S. Miller  <davem@davemloft.net>
38121         * po/de.po: Update from translation team.
38123 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38125         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38127 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38129         * configure.in (_AC_PROG_CC_C89): New definition.
38130         * configure: Regenerate.
38132         * configure.in (AC_PROG_CPP): New definition.
38133         * configure: Regenerate.
38135 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38137         * debug/tst-backtrace.h: New file.
38138         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38139         (ret): Remove variable.
38140         (x): Likewise.
38141         (FAIL): Remove macro.
38142         (NO_INLINE): Likewise.
38143         (fn1): Use match function instead of strstr.
38144         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38145         (ret): Remove variable.
38146         (x): Likewise.
38147         (FAIL): Remove macro.
38148         (NO_INLINE): Likewise.
38149         (fn): Use match function instead of strstr.
38150         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38151         (ret): Remove variable.
38152         (x): Likewise.
38153         (FAIL): Remove macro.
38154         (NO_INLINE): Likewise.
38155         (handle_signal): Use match function instead of strstr.
38156         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38157         (ret): Remove variable.
38158         (x): Likewise.
38159         (FAIL): Remove macro.
38160         (NO_INLINE): Likewise.
38161         (handle_signal): Use match function instead of strstr.
38163 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38165         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38167 2013-01-23  David S. Miller  <davem@davemloft.net>
38169         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38170         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38171         argument of CAS if possible.
38172         * sysdeps/sparc/sparc64/bits/atomic.h
38173         (__arch_compare_and_exchange_val_32_acq): Likewise.
38174         (__arch_compare_and_exchange_val_64_acq): Likewise.
38176 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38178         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38179         * sysdeps/posix/ulimit.c: ... this.
38180         Include <limits.h>.
38181         * sysdeps/unix/bsd/ulimit.c: Remove file.
38183 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38185         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38186         (LDFLAGS-tst-array5): Likewise.
38188 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38190         [BZ #15036]
38191         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38192         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38193         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38194         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38196 2013-01-21  David S. Miller  <davem@davemloft.net>
38198         * sysdeps/sparc/backtrace.c: New file.
38199         * sysdeps/sparc/sparc32/backtrace.h: New file.
38200         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38201         * sysdeps/sparc/sparc64/backtrace.h: New file.
38202         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38203         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38204         -funwind-tables.
38206 2013-01-21  Andreas Schwab  <schwab@suse.de>
38208         [BZ #15020]
38209         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38210         closed its stdout.
38212 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38215         "mpa2.h".
38216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38218 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38219             Mark Mitchell  <mark@codesourcery.com>
38220             Tom de Vries  <tom@codesourcery.com>
38221             Paul Pluzhnikov  <ppluzhnikov@google.com>
38223         * debug/tst-backtrace2.c: New file.
38224         * debug/tst-backtrace3.c: Likewise.
38225         * debug/tst-backtrace4.c: Likewise.
38226         * debug/tst-backtrace5.c: Likewise.
38227         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38228         (CFLAGS-tst-backtrace3.c): Likewise.
38229         (CFLAGS-tst-backtrace4.c): Likewise.
38230         (CFLAGS-tst-backtrace5.c): Likewise.
38231         (LDFLAGS-tst-backtrace2): Likewise.
38232         (LDFLAGS-tst-backtrace3): Likewise.
38233         (LDFLAGS-tst-backtrace4): Likewise.
38234         (LDFLAGS-tst-backtrace5): Likewise.
38235         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38236         tst-backtrace4 and tst-backtrace5.
38238 2013-01-18  Anton Blanchard  <anton@samba.org>
38239             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38242         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38243         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38244         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38246         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38247         "+r" and remove output regs list as redundant.  Add explicit inline
38248         asm to specify register of return val to work around compiler codegen
38249         bug.  Remove (int) cast on return value.  Add return type parameter to
38250         use in macro so that this macro does not truncate return value for
38251         64-bit values.
38252         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38253         pass to INTERNAL_VSYSCALL_NCS.
38254         (INLINE_VSYSCALL): Add 'long int' as return type to
38255         INTERNAL_VSYSCALL_NCS macro invocation.
38256         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38257         INTERNAL_VSYSCALL_NCS macro invocation.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38260 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38262         [BZ #14496]
38263         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38264         Fix application of SIMD FP exception mask.
38266         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38267         mp_no from a power of two.
38268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38269         __mpexp_twomm1.  Use __pow_mp.
38271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38272         multiplication.
38274 2013-01-17  David S. Miller  <davem@davemloft.net>
38276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38278 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38280         [BZ #15023]
38281         * include/complex.h: Condition contents on [!_COMPLEX_H].
38282         (__kernel_casinhf): New prototype.
38283         (__kernel_casinh): Likewise.
38284         (__kernel_casinhl): Likewise.
38285         * math/Makefile (libm_calls): Add k_casinh.
38286         * math/k_casinh.c: New file.
38287         * math/k_casinhf.c: Likewise.
38288         * math/k_casinhl.c: Likewise.
38289         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38290         finite nonzero arguments.
38291         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38292         finite nonzero arguments.
38293         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38294         finite nonzero arguments.
38295         * math/s_casinh.c: Do not include <float.h>.
38296         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38297         * math/s_casinhf.c: Do not include <float.h>.
38298         (__casinhf): Move code for finite nonzero arguments to
38299         k_casinhf.c.
38300         * math/s_casinhl.c: Do not include <float.h>.
38301         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38302         redefine.
38303         (__casinhl): Move code for finite nonzero arguments to
38304         k_casinhl.c.
38305         * math/libm-test.inc (cacos_test): Add more tests.
38306         * sysdeps/i386/fpu/libm-test-ulps: Update.
38307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38309 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38311         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38312         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38313         [!HAVE_MREMAP]: Remove [defined linux] case.
38314         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38316 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38318         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38320 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38322         * elf/elf.h (R_386_SIZE32): New relocation.
38323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38324         R_386_SIZE32.
38325         (elf_machine_rela): Likewise.
38326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38327         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38329 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38331         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38332         (FP_FAST_FMA): Do not define.
38333         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38334         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38335         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38336         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38337         !_SOFT_FLOAT]: Likewise.
38338         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38339         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38340         value.
38341         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38342         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38343         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38344         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38345         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38346         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38347         file.
38349 2013-01-16  Andreas Schwab  <schwab@suse.de>
38351         [BZ #14327]
38352         * include/stdlib.h (__mktemp): Add declaration.
38353         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38354         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38356 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38358         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38359         definitions.
38360         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38361         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38362         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38363         definitions here.
38364         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38365         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38366         definitions.
38367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38368         and ONE.
38369         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38370         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38371         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38372         definitions.
38373         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38374         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38375         definitions.
38376         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38378         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38380 2013-01-15  David S. Miller  <davem@davemloft.net>
38382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38383         trunc{,f} to libm-sysdep_routes.
38384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38386         file.
38387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38389         file.
38390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38391         file.
38392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38394         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38395         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38396         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38397         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38398         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38399         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38402         nearbyint{,f} to libm-sysdep_routes.
38403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38405         New file.
38406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38407         file.
38408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38409         New file.
38410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38411         file.
38412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38414         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38415         file.
38416         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38417         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38418         file.
38419         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38420         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38421         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38423         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38424         libc_feholdexcept and libc_fesetenv.
38426 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38428         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38430 2013-01-14  David S. Miller  <davem@davemloft.net>
38432         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38433         (SPARC_ASM_VIS2_IFUNC): Likewise.
38434         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38436         use of 'siam' instruction.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38438         Likewise.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38440         Likewise.
38441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38442         Likewise.
38443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38448         file.
38449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38450         file.
38451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38452         file.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38454         file.
38455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38460         new VIS2 routines.
38461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38464         Likewise.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38470         routines to libm-sysdep_routines.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38474         fdim/fdimf to libm-sysdep_routines.
38475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38476         file.
38477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38479         file.
38480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38483         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38484         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38488 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38491         to optimize copies.
38493         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38498         local variable MPTWO.
38499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38500         Likewise.
38502 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38504         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38505         GLOB_NOESCAPE.
38507 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38509         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38511 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38513         * manual/pattern.texi (glob_t): Document gl_flags.
38514         (glob64_t): Likewise.
38516 2013-01-11  David S. Miller  <davem@davemloft.net>
38518         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38519         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38520         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38521         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38522         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38523         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38524         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38525         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38526         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38527         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38528         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38529         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38530         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38532         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38533         sparc V9 rather than using V8 code.
38534         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38535         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38537         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38538         Move to...
38539         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38540         Here.
38542 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38544         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38545         not in the main loop.
38546         * configure: Regenerated.
38548 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38550         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38551         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38552         to just #else.
38553         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38554         [!__GLIBC_HAVE_LONG_LONG] case.
38555         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38556         condition to just #else.
38557         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38558         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38559         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38560         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38561         unconditional.
38562         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38563         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38564         #elif condition to just #else.
38565         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38566         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38567         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38568         #elif condition to just #else.
38570 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38572         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38573         (EF_MIPS_ARCH_64): Fix value.
38574         (EF_MIPS_ARCH_32R2): New.
38575         (EF_MIPS_ARCH_64R2): New.
38577 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38579         * Makeconfig (+link-pie-before-libc): New.
38580         (+link-pie-after-libc): Likewise.
38581         (+link-pie-tests): Likewise.
38582         (+link-pie): Rewritten.
38583         (link-before-libc): Remove $(config-LDFLAGS).
38584         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38585         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38586         (config-LDFLAGS): Renamed to ...
38587         (rtld-LDFLAGS): This.
38588         (rtld-tests-LDFLAGS): New macro.
38589         (link-libc-rpath-link): Likewise.
38590         (link-libc-tests-rpath-link): Likewise.
38591         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38592         (link-libc): Prepand $(link-libc-rpath-link).
38593         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38594         (test-program-prefix): New macro.
38595         (test-via-rtld-prefix): Likewise.
38596         (test-program-cmd): Likewise.
38597         (host-test-program-cmd): Likewise.
38598         * Makefile ($(common-objpfx)testrun.sh): Replace
38599         $(run-program-prefix) with $(test-program-prefix).
38600         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38601         $(rtld-LDFLAGS).
38602         ($(common-objpfx)shlib.lds): Likewise.
38603         (build-module-helper): Likewise.
38604         ($(common-objpfx)format.lds): Likewise.
38605         * Rules (binaries-pie-tests): New.
38606         (binaries-pie-notests): Likewise.
38607         (binaries-pie): Rewritten.
38608         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38609         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38610         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38611         (make-test-out): Replace $(host-built-program-cmd) with
38612         $(host-test-program-cmd).
38613         * config.make.in (build-hardcoded-path-in-tests): New variable.
38614         * configure.in (--enable-hardcoded-path-in-tests): New configure
38615         option.
38616         (hardcoded_path_in_tests): New AC_SUBST.
38617         * configure: Regenerated.
38618         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38619         $(built-program-cmd) with $(test-program-cmd).
38620         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38621         (test_program_cmd): This.
38622         * elf/Makefile ($(objpfx)order.out): Run test with
38623         $(test-program-prefix).
38624         ($(objpfx)order2.out): Likewise.
38625         ($(objpfx)tst-initorder.out): Likewise.
38626         ($(objpfx)tst-initorder2.out): Likewise.
38627         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38628         $(test-program-cmd).
38629         ($(objpfx)tst-array1-static.out): Likewise.
38630         ($(objpfx)tst-array2.out): Likewise.
38631         ($(objpfx)tst-array3.out): Likewise.
38632         ($(objpfx)tst-array4.out): Likewise.
38633         ($(objpfx)tst-array5.out): Likewise.
38634         ($(objpfx)tst-array5-static.out): Likewise.
38635         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38636         $(test-program-cmd).
38637         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38638         $(run-program-prefix) with $(test-program-prefix).
38639         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38640         (test_program_prefix): This.
38641         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38642         $(run-program-prefix) with $(test-program-prefix).
38643         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38644         (test_program_prefix): This.
38645         * iconvdata/tst-tables.sh: Likewise.
38646         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38647         $(run-program-prefix) with $(test-program-prefix).
38648         ($(objpfx)tst-translit.out): Likewise.
38649         ($(objpfx)tst-gettext2.out): Likewise.
38650         ($(objpfx)tst-gettext4.out): Likewise.
38651         ($(objpfx)tst-gettext6.out): Likewise.
38652         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38653         (test_program_prefix): This.
38654         * intl/tst-gettext2.sh: Likewise.
38655         * intl/tst-gettext4.sh  Likewise.
38656         * intl/tst-gettext6.sh: Likewise.
38657         * intl/tst-translit.sh: Likewise.
38658         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38659         with $(test-program-cmd).
38660         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38661         $(run-program-prefix) with $(test-program-prefix).
38662         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38663         (test_program_prefix): This.
38664         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38665         $(run-program-prefix) with $(test-program-prefix).
38666         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38667         (test_program_prefix): This.
38668         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38669         * posix/Makefile ($(objpfx)globtest.out): Replace
38670         $(run-via-rtld-prefix) and $(test-wrapper) with
38671         $(test-program-prefix) and $(test-via-rtld-prefix).
38672         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38673         $(test-program-prefix).
38674         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38675         $(host-test-program-cmd).
38676         (tst-spawn-ARGS): Likewise.
38677         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38678         $(test-program-prefix).
38679         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38680         (test_via_rtld_prefix): This.
38681         (test_wrapper): Renamed to ...
38682         (test_program_prefix): This.
38683         (run_program_prefix): Replaced by test_program_prefix.
38684         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38685         (test_program_prefix): This.
38686         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38687         with $(host-test-program-cmd).
38688         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38689         $(run-program-prefix) with $(test-program-prefix).
38690         ($(objpfx)tst-printf.out): Likewise.
38691         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38692         $(test-program-cmd).
38693         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38694         (test_program_prefix): This.
38695         * stdio-common/tst-unbputc.sh: Likewise.
38696         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38697         $(run-program-prefix) with $(test-program-prefix).
38698         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38699         (test_program_prefix): This.
38700         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38701         $(built-program-cmd) with $(test-program-cmd).
38703 2013-01-11  Andreas Jaeger  <aj@suse.de>
38705         [BZ #15003]
38706         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38707         value. Sync with Linux 3.7.
38709 2013-01-10  David S. Miller  <davem@davemloft.net>
38711         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38712         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38713         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38715 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38717         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38718         never set.
38719         * configure: Regenerated.
38721 2013-01-10  David S. Miller  <davem@davemloft.net>
38723         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38724         sparc V9 rather than using V8 code.
38725         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38726         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38728 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38730         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38731         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38732         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38733         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38734         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38735         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38736         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38737         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38738         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38739         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38740         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38741         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38742         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38743         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38744         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38745         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38746         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38747         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38748         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38749         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38750         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38751         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38752         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38753         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38754         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38755         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38756         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38758 2013-01-10  David S. Miller  <davem@davemloft.net>
38760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38762 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38764         * posix/Makefile (tests-static): New variable.
38765         (tests): Add $(tests-static).
38766         (tst-exec-static-ARGS): New variable.
38767         (tst-spawn-static-ARGS): Likewise.
38768         * posix/tst-exec-static.c: New file.
38769         * posix/tst-spawn-static.c: Likewise.
38770         * posix/tst-exec.c: Support run directly.
38771         * posix/tst-spawn.c: Likewise.
38773 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38775         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38776         long.
38777         * math/bits/mathcalls.h (llrint): Likewise.
38778         (llround): Likewise.
38779         * stdlib/stdlib.h (struct drand48_data): Likewise.
38780         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38781         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38782         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38783         Likewise.
38784         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38785         Likewise.
38786         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38787         (elf_greg_t): Likewise.
38788         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38789         (__jmp_buf): Likewise.
38790         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38791         definitions.
38792         (llrint): Likewise, for all definitions.
38793         (llrintl): Likewise.
38795         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38796         Remove [__GNUC__] condition.
38797         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38798         condition to just [__USE_ISOC99].
38799         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38801 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38803         [BZ #14200]
38804         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38805         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38806         defined.
38807         (_POSIX_V6_ILP32_OFF32): Likewise.
38808         (_XBS5_ILP32_OFF32): Likewise.
38809         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38810         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38812 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38814         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38817         doubles __mpexp_twomm1.  Adjust usage.
38818         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38819         Remove.
38821 2013-01-10  Andreas Schwab  <schwab@suse.de>
38823         [BZ #14964]
38824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38825         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38827 2013-01-09  David S. Miller  <davem@davemloft.net>
38829         [BZ #15003]
38830         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38831         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38832         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38833         (TCP_FASTOPEN): Define.
38834         (tcp_repair_opt): New structure.
38835         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38836         enum values.
38837         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38838         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38839         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38840         (tcp_cookie_transactions): New structure.
38842 2013-01-09  Anton Blanchard  <anton@samba.org>
38844         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38845         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38847         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38849 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38851         * include/features.h (__USE_ANSI): Remove.
38853 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38855         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38857         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38859 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38861         * sysdeps/s390/fpu/libm-test-ulps: Update.
38863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38865         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38866         (__acr): Likewise.
38867         (__cpy): Likewise.
38868         (norm): Likewise.
38869         (denorm): Likewise.
38870         (__mp_dbl): Likewise.
38871         (__dbl_mp): Likewise.
38872         (add_magnitudes): Likewise.
38873         (sub_magnitudes): Likewise.
38874         (__add): Likewise.
38875         (__sub): Likewise.
38876         (__mul): Likewise.
38877         (__inv): Likewise.
38878         (__dvd): Likewise.
38879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38880         (__acr): Likewise.
38881         (__cpy): Likewise.
38882         (norm): Likewise.
38883         (denorm): Likewise.
38884         (__mp_dbl): Likewise.
38885         (__dbl_mp): Likewise.
38886         (add_magnitudes): Likewise.
38887         (sub_magnitudes): Likewise.
38888         (__add): Likewise.
38889         (__sub): Likewise.
38890         (__mul): Likewise.
38891         (__inv): Likewise.
38892         (__dvd): Likewise.
38893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38894         (__acr): Likewise.
38895         (__cpy): Likewise.
38896         (norm): Likewise.
38897         (denorm): Likewise.
38898         (__mp_dbl): Likewise.
38899         (__dbl_mp): Likewise.
38900         (add_magnitudes): Likewise.
38901         (sub_magnitudes): Likewise.
38902         (__add): Likewise.
38903         (__sub): Likewise.
38904         (__mul): Likewise.
38905         (__inv): Likewise.
38906         (__dvd): Likewise.
38908 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38910         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38911         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38912         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38913         2 && __USE_EXTERN_INLINES]: Likewise.
38915 2013-01-08  Andreas Jaeger  <aj@suse.de>
38917         [BZ# 14985]
38918         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38919         Remove.
38920         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38921         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38923 2013-01-07  Anton Blanchard  <anton@samba.org>
38925         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38926         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38927         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38928         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38929         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38930         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38931         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38932         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38934         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38935         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38936         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38937         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38939         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38940         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38941         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38943         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38944         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38945         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38946         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38947         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38948         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38949         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38951         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38952         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38953         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38954         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38955         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38957         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38958         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38959         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38960         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38961         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38962         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38963         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38964         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38965         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38967         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38969 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38971         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38972         (__MALLOC_PMT): Likewise.
38973         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38974         [__GNUC__], only on [_LIBC].
38975         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38976         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38977         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38978         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38979         forward declaration.
38980         (realloc_hook_ini): Likewise.
38981         (memalign_hook_ini): Likewise.
38982         (__libc_memalign): Do not use __MALLOC_PMT in variable
38983         declaration.
38984         (__libc_valloc): Likewise.
38985         (__libc_pvalloc): Likewise.
38986         (__libc_calloc): Likewise.
38987         (__posix_memalign): Likewise.
38989         [BZ #14996]
38990         * math/s_casinh.c: Include <float.h>.
38991         (__casinh): Do not do computation with squaring and square root
38992         for large arguments.
38993         * math/s_casinhf.c: Include <float.h>.
38994         (__casinhf): Do not do computation with squaring and square root
38995         for large arguments.
38996         * math/s_casinhl.c: Include <float.h>.
38997         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38998         (__casinhl): Do not do computation with squaring and square root
38999         for large arguments.
39000         * math/libm-test.inc (casin_test): Add more tests.
39001         (casinh_test): Likewise.
39002         * sysdeps/i386/fpu/libm-test-ulps: Update.
39003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39005 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39007         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39008         (__x86_64_raw_data_cache_size): Likewise.
39009         (__x86_64_data_cache_size_half): Likewise.
39010         (__x86_64_raw_data_cache_size_half): Likewise.
39011         (__x86_64_shared_cache_size): Likewise.
39012         (__x86_64_raw_shared_cache_size): Likewise.
39013         (__x86_64_shared_cache_size_half): Likewise.
39014         (__x86_64_raw_shared_cache_size_half): Likewise.
39015         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39016         to ...
39017         (__x86_data_cache_size): This.
39018         (__x86_64_raw_data_cache_size): Renamed to ...
39019         (__x86_raw_data_cache_size): This.
39020         (__x86_64_data_cache_size_half): Renamed to ...
39021         (__x86_data_cache_size_half): This.
39022         (__x86_64_raw_data_cache_size_half): Renamed to ...
39023         (__x86_raw_data_cache_size_half): This.
39024         (__x86_64_shared_cache_size): Renamed to ...
39025         (__x86_shared_cache_size): This.
39026         (__x86_64_raw_shared_cache_size): Renamed to ...
39027         (__x86_raw_shared_cache_size): This.
39028         (__x86_64_shared_cache_size_half): Renamed to ...
39029         (__x86_shared_cache_size_half): This.
39030         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39031         (__x86_raw_shared_cache_size_half): This.
39032         * sysdeps/x86_64/memcpy.S: Updated.
39033         * sysdeps/x86_64/memset.S: Likewise.
39034         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39035         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39036         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39038 2013-01-04  David S. Miller  <davem@davemloft.net>
39040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39042 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39044         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39045         1 to avoid redefinition warning.
39046         (__USE_GNU): Don't define.
39047         (init_signaling_nan): Protoize.
39049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39051 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39053         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39055         (__cpymn): Likewise.
39056         (norm): Remove commented code.
39057         (denorm): Likewise.
39058         (__mp_dbl): Likewise.
39059         (__inv): Likewise.
39060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39061         (__cpymn): Likewise.
39062         (norm): Remove commented code.
39063         (denorm): Likewise.
39064         (__mp_dbl): Likewise.
39065         (__inv): Likewise.
39067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39068         mp_no value for 1.0 and 2.0.
39069         (norm): Use RADIXI instead of radixi.d.
39070         (denorm): Likewise.
39071         (__mul): Use 0.0 instead of zero.d.
39072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39073         mp_no value for 1.0 and 2.0.
39074         (norm): Use RADIXI instead of radixi.d.
39075         (denorm): Likewise.
39076         (__mul): Use 0.0 instead of zero.d.
39078 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39080         [BZ #14994]
39081         * math/s_casinh.c (__casinh): Reduce finite argument to first
39082         quadrant then set signs of results at the end.
39083         * math/s_casinhf.c (__casinhf): Likewise.
39084         * math/s_casinhl.c (__casinhl): Likewise.
39085         * math/libm-test.inc (casin_test): Add more tests.
39086         (casinh_test): Likewise.
39087         * sysdeps/i386/fpu/libm-test-ulps: Update.
39088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39090 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39092         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39094         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39096         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39097         declarations.
39098         (denorm): Likewise.
39099         (__mp_dbl): Likewise.
39100         (__inv): Likewise.
39102         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39103         and adjust the header comment.
39105         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39106         variable name from declaration.
39108 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39111         Initialize COMMON_CPUID_INDEX_7 element.
39112         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39113         (CPUID_RTM): Likewise.
39114         (HAS_RTM): Likewise.
39115         (COMMON_CPUID_INDEX_7): New enum.
39117 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39119         [BZ #14981]
39120         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39121         size is zero, record memory as freed.
39123 2013-01-03  Andreas Jaeger  <aj@suse.de>
39125         * po/ia.po: Add new Interlingua translation.
39127 2012-01-03  Allan McRae  <allan@archlinux.org>
39129         * locale/programs/localedef.c: Fix description of '--posix' flag.
39131 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39133         * NEWS: Update dates in second copyright notice.
39134         * README: Update copyright dates in example.
39135         * manual/libc.texinfo: Update copyright dates.
39136         * scripts/test-installation.pl: Update copyright date in --version
39137         output.
39139         * hurd/ctty-input.c: Fix copyright notice formatting.
39140         * hurd/ctty-output.c: Likewise.
39141         * hurd/dtable.c: Likewise.
39142         * hurd/hurd-raise.c: Likewise.
39143         * hurd/hurdprio.c: Likewise.
39144         * hurd/msgportdemux.c: Likewise.
39145         * misc/sys/file.h: Likewise.
39146         * misc/sys/ioctl.h: Likewise.
39147         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39148         * sysdeps/mach/hurd/chdir.c: Likewise.
39149         * sysdeps/mach/hurd/fchdir.c: Likewise.
39150         * sysdeps/mach/hurd/rename.c: Likewise.
39151         * sysdeps/mach/hurd/rmdir.c: Likewise.
39152         * sysdeps/mach/hurd/seekdir.c: Likewise.
39153         * sysdeps/mach/hurd/setsid.c: Likewise.
39154         * sysdeps/posix/wait3.c: Likewise.
39156         * All files with FSF copyright notices: Update copyright dates
39157         using scripts/update-copyrights.
39158         * intl/plural.c: Regenerated.
39159         * locale/programs/charmap-kw.h: Likewise.
39160         * locale/programs/locfile-kw.h: Likewise.
39162 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39164         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39165         four values.
39167         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39168         calculation loop and add branch prediction.
39170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39171         check access beyond bounds of m1np.
39173         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39174         MPTWO.
39175         (__inv): Remove local variable MPTWO to use the global
39176         constant.
39177         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39178         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39179         variable MPTWO.
39180         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39181         MP3HALFS static const.
39183 2013-01-01  David S. Miller  <davem@davemloft.net>
39185         * po/ca.po: Update from translation team.
39187 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39189         * scripts/update-copyrights: New file.
39190         * Makeconfig: Reformat copyright notice.
39191         * ctype/ctype.h: Likewise.
39192         * debug/swprintf_chk.c: Likewise.
39193         * elf/dl-cache.c: Likewise.
39194         * elf/dl-debug.c: Likewise.
39195         * elf/dl-object.c: Likewise.
39196         * grp/initgroups.c: Likewise.
39197         * hurd/Makefile: Likewise.
39198         * hurd/hurd/signal.h: Likewise.
39199         * hurd/hurdfault.c: Likewise.
39200         * hurd/hurdioctl.c: Likewise.
39201         * hurd/hurdlookup.c: Likewise.
39202         * hurd/intr-msg.c: Likewise.
39203         * iconv/gconv_open.c: Likewise.
39204         * libio/swprintf.c: Likewise.
39205         * locale/lc-ctype.c: Likewise.
39206         * locale/nl_langinfo.c: Likewise.
39207         * mach/Machrules: Likewise.
39208         * mach/Makefile: Likewise.
39209         * malloc/obstack.h: Likewise.
39210         * manual/Makefile: Likewise.
39211         * manual/tsort.awk: Likewise.
39212         * misc/bits/stab.def: Likewise.
39213         * nis/nis_print_group_entry.c: Likewise.
39214         * nis/nis_table.c: Likewise.
39215         * nis/nss_compat/compat-pwd.c: Likewise.
39216         * nis/nss_compat/compat-spwd.c: Likewise.
39217         * po/Makefile: Likewise.
39218         * posix/fnmatch.c: Likewise.
39219         * posix/regex.h: Likewise.
39220         * resolv/Makefile: Likewise.
39221         * resolv/nss_dns/dns-network.c: Likewise.
39222         * resolv/res_hconf.c: Likewise.
39223         * scripts/gen-sorted.awk: Likewise.
39224         * soft-fp/soft-fp.h: Likewise.
39225         * stdio-common/printf.h: Likewise.
39226         * stdlib/monetary.h: Likewise.
39227         * stdlib/random.c: Likewise.
39228         * stdlib/random_r.c: Likewise.
39229         * sysdeps/generic/Makefile: Likewise.
39230         * sysdeps/gnu/Makefile: Likewise.
39231         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39235         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39238         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39241         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39242         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39243         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39244         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39245         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39246         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39247         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39249         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39250         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39251         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39252         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39253         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39254         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39255         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39259         * sysdeps/mach/hurd/errnos.awk: Likewise.
39260         * sysdeps/mach/hurd/fork.c: Likewise.
39261         * sysdeps/mach/hurd/getcwd.c: Likewise.
39262         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39263         * sysdeps/mach/hurd/mmap.c: Likewise.
39264         * sysdeps/mach/hurd/utimes.c: Likewise.
39265         * sysdeps/mach/hurd/xmknod.c: Likewise.
39266         * sysdeps/posix/profil.c: Likewise.
39267         * sysdeps/posix/readdir_r.c: Likewise.
39268         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39269         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39270         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39271         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39273         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39274         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39275         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39277         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39278         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39279         * sysdeps/pthread/lio_listio.c: Likewise.
39280         * sysdeps/sparc/dl-procinfo.h: Likewise.
39281         * sysdeps/unix/i386/sysdep.S: Likewise.
39282         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39283         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39284         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39285         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39287         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39288         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39289         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39290         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39291         * sysdeps/wordsize-32/divdi3.c: Likewise.
39292         * time/sys/time.h: Likewise.
39293         * wcsmbs/Makefile: Likewise.
39295 2013-01-01  David S. Miller  <davem@davemloft.net>
39297         * po/fr.po: Update from translation team.
39299         * catgets/gencat.c: Update copyright year.
39300         * csu/version.c: Likewise.
39301         * debug/catchsegv.sh: Likewise.
39302         * debug/pcprofiledump.c: Likewise.
39303         * debug/xtrace.sh: Likewise.
39304         * elf/ldconfig.c: Likewise.
39305         * elf/ldd.bash.in: Likewise.
39306         * elf/pldd.c: Likewise.
39307         * elf/sotruss.ksh: Likewise.
39308         * elf/sprof.c: Likewise.
39309         * iconv/iconv_prog.c: Likewise.
39310         * iconv/iconvconfig.c: Likewise.
39311         * locale/programs/locale.c: Likewise.
39312         * locale/programs/localedef.c: Likewise.
39313         * login/programs/pt_chown.c: Likewise.
39314         * malloc/memusage.sh: Likewise.
39315         * malloc/memusagestat.c: Likewise.
39316         * malloc/mtrace.pl: Likewise.
39317         * nscd/nscd.c: Likewise.
39318         * nss/getent.c: Likewise.
39319         * nss/makedb.c: Likewise.
39320         * posix/getconf.c: Likewise.
39322 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39324         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39325         numbers.
39327 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39329         * math/bits/mathcalls.h (modf): Use __nonnull.
39331 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39333         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39334         (split): Use macro CN instead of the bare value.
39335         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39336         could be used.
39337         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39338         instead of the bare value.
39339         (power1): Likewise.
39341 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39343         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39344         __ATAN_TWOM.
39345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39347         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39348         their values.
39349         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39351         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39352         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39354 2012-12-28  Andreas Jaeger  <aj@suse.de>
39356         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39357         values are from Linux 3.7.
39359         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39360         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39362 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39364         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39365         TRUE case.
39367         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39368         (norm): Likewise.
39369         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39370         variables with preprocessor constants.
39371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39372         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39373         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39375 2012-12-27  Bruno Haible  <bruno@clisp.org>
39377         [BZ #14317]
39378         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39379         only if needed.
39381 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39384         and use variable directly.
39385         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39387         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39388         MPONE.
39389         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39391         variable MPONE.
39392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39393         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39394         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39395         include directive.  Remove local variable MPONE.
39396         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39397         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39398         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39400 2012-12-25  David S. Miller  <davem@davemloft.net>
39402         * version.h (RELEASE): Set to "development".
39403         (VERSION): Set to "2.17.90".
39404         * NEWS: Add 2.18 section.
39406 2012-12-21  David S. Miller  <davem@davemloft.net>
39408         * po/hr.po: Update from translation team.
39410 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39412         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39414 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39416         * NEWS:  Mention new memcpy for MIPS.
39418 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39420         * manual/contrib.texi (Contributors): Spelling correction.
39422 2012-12-15  David S. Miller  <davem@davemloft.net>
39424         * po/ru.po: Update from translation team.
39426 2012-12-13  David S. Miller  <davem@davemloft.net>
39428         * NEWS: Mention IFUNC testsuite enhancements.
39430         * po/pl.po: Update from translation team.
39431         * po/bg.po: Likewise.
39433         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39434         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39436 2012-12-11  David S. Miller  <davem@davemloft.net>
39438         * po/sv.po: Update from translation team.
39440         * po/vi.po: Update from translation team.
39442         * po/cs.po: Update from translation team.
39444         * po/de.po: Update from translation team.
39445         * po/eo.po: Likewise.
39446         * po/nl.po: Likewise.
39448 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39450         [BZ #14246]
39451         * manual/argp.texi (Argp Helper Functions): Move node to follow
39452         Argp Parsing State.
39454         [BZ #14872]
39455         * manual/conf.texi (Limits on File System Capacity): Mention if
39456         terminating null is included in the max size.
39458 2012-12-10  Andreas Jaeger  <aj@suse.de>
39460         * po/cs.po: Update from translation team.
39462 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39464         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39465         void pointer and cast to uintptr_t.
39466         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39467         path.
39468         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39469         * sysdeps/s390/s390-64/memset.S: Likewise.
39471 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39473         [BZ #14833]
39474         * menual/message.texi (Message Translation): Fix typos.
39475         (Helper programs for gettext): Likewise.
39477 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39479         [BZ #14898]
39480         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39481         Change to -1.
39483 2012-12-07  David S. Miller  <davem@davemloft.net>
39485         * po/libc.pot: Update.
39487 2012-12-07  Richard Henderson  <rth@redhat.com>
39489         [BZ #10114]
39490         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39491         normal/normal case to before the switch.
39492         (_FP_DIV): Likewise.
39494 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39495             Mike Frysinger  <vapier@gentoo.org>
39497         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39498         check for __NR_fadvise64_64.
39500 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39502         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39503         0, not just to plain "0" as a statement.
39504         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39505         with cw.
39507 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39509         * NEWS: Use sourceware.org in Bugzilla URL.
39511 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39514         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39516         * stdio-common/tst-put-error.c (do_test): Add newline to the
39517         padded test to ensure flush.
39519 2012-12-05  Jeff Law  <law@redhat.com>
39521         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39523 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39525         * README: Don't refer to ports add-on as distributed separately.
39526         Mention AArch64 in list of systems supported in the ports add-on.
39528         * LICENSES: Add more non-FSF copyright and license notices.
39530         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39531         ((unused)).
39533         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39535         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39536         10000 as width of padded output.
39538 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39540         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39543         variable LX with __attribute__ ((unused)).
39544         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39545         Likewise.
39546         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39549         with __attribute__ ((unused)).
39551 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39553         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39555 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39557         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39558         (CFLAGS-nldbl-acos.c): New variable.
39559         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39560         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39561         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39562         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39563         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39564         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39565         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39566         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39567         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39568         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39569         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39570         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39571         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39572         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39573         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39574         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39575         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39576         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39577         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39578         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39579         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39580         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39581         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39582         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39583         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39584         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39585         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39586         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39587         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39588         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39621         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39622         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39623         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39624         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39625         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39626         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39627         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39628         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39629         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39630         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39631         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39632         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39633         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39634         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39635         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39636         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39637         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39638         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39639         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39640         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39641         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39642         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39643         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39644         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39645         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39646         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39647         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39648         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39649         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39650         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39651         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39652         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39653         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39654         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39655         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39658         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39660         [BZ #14914]
39661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39662         whole low double instead of just low 47 bits when splitting values
39663         into two parts.
39665 2012-12-03  Allan McRae  <allan@archlinux.org>
39667         * manual/stdio.texi (Predefined Printf Handlers): Remove
39668         @hsep and @vsep usage.
39670 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39672         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39673         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39675 2012-12-03  Jeff Law  <law@redhat.com>
39677         * time/sys/time.h (settimeofday): Do not mark TV argument
39678         as __nonnull.
39680 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39682         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39683         when currently writing and seek to current position when not.
39684         * libio/Makefile (tests): Remove bug-fclose1.
39685         * libio/bug-fclose1.c: Delete.
39687 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39689         * manual/arith.texi (feenableexcept): Fix typo.
39690         (fedisableexcept): Likewise.
39692 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39694         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39695         second, differently-typed declaration, rather than a cast.
39697 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39699         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39700         * include/rpc/svc.h: ... here.
39702 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39704         [BZ #13013]
39705         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39706         depending n and resplen2 to catch cases where answer
39707         equals answerp2.
39709 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39711         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39712         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39714 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39716         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39718 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39720         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39722 2012-11-28  Jeff Law  <law@redhat.com>
39724         [BZ #13761]
39725         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39726         dataset_temporary.  Track alloca usage into alloca_used.
39727         If dataset is large allocate and release it via malloc/free.
39729 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39731         [BZ #14197]
39732         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39734 2012-11-28  David S. Miller  <davem@davemloft.net>
39736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39738 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39740         [BZ #14803]
39741         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39742         of pi/2 rounded to nearest to 64 bits.
39743         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39744         nearest to 64 bits.
39745         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39746         bits.
39748 2012-11-28  Jeff Law <law@redhat.com>
39749             Martin Osvald <mosvald@redhat.com>
39751         [BZ #14889]
39752         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39753         * sunrpc/svc.c: Include time.h.
39754         (__svc_accept_failed): New function.
39755         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39756         any reason other than EINTR, call __svc_accept_failed.
39757         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39758         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39760 2012-11-28  Andreas Schwab  <schwab@suse.de>
39762         * scripts/abilist.awk: Also handle indirect functions in .opd
39763         section.
39765 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39767         [BZ #13881]
39768         * sysdeps/x86/fpu/powl_helper.c: New file.
39769         * sysdeps/x86/fpu/Makefile: Likewise.
39770         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39771         (p3): New object.
39772         (__ieee754_powl): Use __powl_helper for finite arguments except
39773         integer exponents below 8.
39774         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39775         (p3): New object.
39776         (__ieee754_powl): Use __powl_helper for finite arguments except
39777         integer exponents below 8.
39778         * math/libm-test.inc (pow_test): Add more tests and enable some
39779         previously disabled tests.
39780         * sysdeps/i386/fpu/libm-test-ulps: Update.
39781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39783 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39784             Carlos O'Donell  <carlos_odonell@mentor.com>
39786         * nss/makedb.c (is_prime): Assert that input is odd and greater
39787         than 4.  Note that fact in a comment too.
39788         (next_prime): Add 4 to input.
39790 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39792         [BZ #11741]
39793         * libio/Makefile (tests): Add test case tst-fwrite-error.
39794         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39795         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39796         * libio/tst-fwrite-error.c: New test case.
39798 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39800         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39801         before casting to void *.
39802         * include/libc-internal.h (__pointer_type): New macro.
39803         (__integer_if_pointer_type_sub): Likewise.
39804         (__integer_if_pointer_type): Likewise.
39805         (cast_to_integer): Likewise.
39806         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39807         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39808         before casting to atomic64_t.
39809         (atomic_exchange_acq): Likewise.
39810         (__arch_exchange_and_add_body): Likewise.
39811         (__arch_add_body): Likewise.
39812         (atomic_add_negative): Likewise.
39813         (atomic_add_zero): Likewise.
39815 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39817         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39818         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39819         (add_fdes): Likewise.
39820         (linear_search_fdes): Likewise.
39821         (binary_search_unencoded_fdes): Likewise.
39823 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39825         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39827 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39829         * configure.in: Autodetect C++ header directories.
39830         * configure: Regenerated.
39832 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39834         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39836 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39840 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39842         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39843         LDBL_MANT_DIG == 106]: Disable some tests.
39844         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39845         Likewise.
39846         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39847         Likewise.
39849         [BZ #14871]
39850         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39851         input for small inputs.  Return +/- pi/2 for large inputs.
39852         * math/libm-test.inc (atan_test): Add more tests.
39854         * sysdeps/generic/unwind-dw2-fde-glibc.c
39855         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39856         __attribute__ ((unused)).
39858         [BZ #14645]
39859         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39860         x * y if x and y are nonzero and z is zero.
39862         [BZ #14811]
39863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39864         nonzero exponents with absolute value below 0x1p-117 to +/-
39865         0x1p-117.
39867         [BZ #14869]
39868         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39869         up arguments below 2**-450, not just those below 2**-500.
39870         * math/libm-test.inc (hypot_test): Add another test.
39872         [BZ #14868]
39873         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39874         Return a+b for ratio over 2**120, not 2**60.
39875         * math/libm-test.inc (hypot_test): Add another test.
39877         * math/libm-test.inc (clog_test): Use
39878         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39879         (clog10_test): Likewise.
39881         [BZ #6778]
39882         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39884 2012-11-22  Andreas Schwab  <schwab@suse.de>
39886         * sysdeps/i386/fpu/libm-test-ulps: Update.
39888 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39890         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39891         printf output with newline.
39893 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39895         [BZ #14865]
39896         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39897         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39898         -z nodlopen, -z initfirst and -z execstack support.
39899         * configure: Regenerated.
39901         * elf/elf.h (DF_1_NODIRECT): New macro.
39902         (DF_1_IGNMULDEF): Likewise.
39903         (DF_1_NOKSYMS): Likewise.
39904         (DF_1_NOHDR): Likewise.
39905         (DF_1_EDITED): Likewise.
39906         (DF_1_NORELOC): Likewise.
39907         (DF_1_SYMINTPOSE): Likewise.
39908         (DF_1_GLOBAUDIT): Likewise.
39909         (DF_1_SINGLETON): Likewise.
39910         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39911         DT_1_SUPPORTED_MASK bits.
39912         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39914 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39916         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39918 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39920         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39921         macro.
39923         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39924         (sendmmsg): Move declarations...
39925         * socket/sys/socket.h: ... here.
39926         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39927         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39928         include it from...
39929         * socket/recvmmsg.c: ... this new file.
39930         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39931         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39932         definition of __sendmmsg hidden.
39933         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39934         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39935         Move ENOSYS stub into and include it from...
39936         * socket/sendmmsg.c: ... this new file.
39937         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39938         (sysdep_routines): Move recvmmsg and sendmmsg...
39939         * socket/Makefile (routines): ... here.
39940         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39941         (GLIBC_PRIVATE): Add __sendmmsg.
39942         * include/sys/socket.h (__sendmmsg): Add declarations.
39943         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39944         sendmmsg.
39946 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39948         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39949         variable I1 with __attribute__ ((unused)).
39950         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39952 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39954         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39955         DUMMY variables with __attribute__ ((unused)).
39957         * bits/byteswap.h: Include <bits/types.h>.
39958         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39960 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39962         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39963         string_t.  Do not manually set errno.
39964         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39965         length with __strnlen.  Make sure to both set errno and return it on
39966         failure.
39968 2012-11-19  David S. Miller  <davem@davemloft.net>
39970         With help from Joseph Myers.
39971         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39972         very large arguments properly.
39973         * math/libm-test.inc (atan_test): New tests.
39974         (atan2_test): New tests.
39975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39980         [BZ #14856]
39981         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39982         Define to 3.
39984         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39985         [POSIX] (EADDRNOTAVAIL): Likewise.
39986         [POSIX] (EAFNOSUPPORT): Likewise.
39987         [POSIX] (EALREADY): Likewise.
39988         [POSIX] (ECONNABORTED): Likewise.
39989         [POSIX] (ECONNREFUSED): Likewise.
39990         [POSIX] (ECONNRESET): Likewise.
39991         [POSIX] (EDESTADDRREQ): Likewise.
39992         [POSIX] (EDQUOT): Likewise.
39993         [POSIX] (EHOSTUNREACH): Likewise.
39994         [POSIX] (EIDRM): Likewise.
39995         [POSIX] (EISCONN): Likewise.
39996         [POSIX] (ELOOP): Likewise.
39997         [POSIX] (EMULTIHOP): Likewise.
39998         [POSIX] (ENETDOWN): Likewise.
39999         [POSIX] (ENETUNREACH): Likewise.
40000         [POSIX] (ENOBUFS): Likewise.
40001         [POSIX] (ENODATA): Likewise.
40002         [POSIX] (ENOLINK): Likewise.
40003         [POSIX] (ENOMSG): Likewise.
40004         [POSIX] (ENOPROTOOPT): Likewise.
40005         [POSIX] (ENOSR): Likewise.
40006         [POSIX] (ENOSTR): Likewise.
40007         [POSIX] (ENOTCONN): Likewise.
40008         [POSIX] (ENOTSOCK): Likewise.
40009         [POSIX] (EOPNOTSUPP): Likewise.
40010         [POSIX] (EOVERFLOW): Likewise.
40011         [POSIX] (EPROTO): Likewise.
40012         [POSIX] (EPROTONOSUPPORT): Likewise.
40013         [POSIX] (EPROTOTYPE): Likewise.
40014         [POSIX] (ESTALE): Likewise.
40015         [POSIX] (ETIME): Likewise.
40016         [POSIX] (ETXTBSY): Likewise.
40017         [POSIX] (EWOULDBLOCK): Likewise.
40018         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40019         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40020         [POSIX] (SEEK_CUR): Likewise.
40021         [POSIX] (SEEK_END): Likewise.
40022         [POSIX || UNIX98] (mode_t): Do not require.
40023         [POSIX] (off_t): Likewise.
40024         [POSIX] (pid_t): Likewise.
40025         [POSIX] (sys/stat.h): Do not allow header.
40026         [POSIX] (unistd.h): Likewise.
40027         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40028         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40029         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40030         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40031         require.
40032         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40033         sigevent): Specify elements.
40034         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40035         entry.
40036         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40037         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40039         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40040         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40041         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40042         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40043         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40044         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40045         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40046         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40047         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40048         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40049         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40050         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40051         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40052         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40053         Likewise.
40054         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40055         Likewise.
40056         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40057         Likewise.
40058         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40059         Likewise.
40060         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40061         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40062         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40063         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40064         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40065         Specify lower bound on value.
40066         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40067         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40068         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40069         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40070         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40071         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40072         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40073         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40074         value.
40075         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40076         as optional.
40077         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40078         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40079         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40080         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40081         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40082         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40083         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40084         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40085         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40086         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40087         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40088         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40089         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40090         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40091         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40092         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40093         entry.
40094         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40095         optional.
40096         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40097         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40098         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40099         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40100         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40101         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40102         Likewise.
40103         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40104         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40105         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40106         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40107         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40108         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40109         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40110         as optional.
40111         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40112         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40113         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40114         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40115         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40116         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40117         specify as optional.
40118         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40119         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40120         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40121         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40122         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40123         [XPG3] (NL_LANGMAX): Likewise.
40124         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40125         [POSIX || XPG3] (NL_NMAX): Likewise.
40126         [POSIX || XPG3] (NL_SETMAX): Likewise.
40127         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40128         [XPG3] (NZERO): Likewise.
40129         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40130         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40131         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40132         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40133         (REG_ERANGE): Expect.
40134         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40135         optional-constant.
40136         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40137         Use (void) in prototype.
40138         [POSIX] (*_t): Allow.
40139         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40140         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40141         (WRDE_BADVAL): Expect.
40143         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40144         expect.
40145         [XPG3 || XPG4] (O_RSYNC): Likewise.
40146         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40147         Likewise.
40148         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40149         [XPG3 || XPG4] (sigqueue): Likewise.
40150         [XPG3 || XPG4] (sigtimedwait): Likewise.
40151         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40152         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40153         [XPG3 || XPG4] (vsnprintf): Likewise.
40154         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40155         Likewise.
40156         [XPG3 || XPG4] (blksize_t): Likewise.
40157         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40158         Likewise.
40159         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40160         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40161         [XPG3 || XPG4] (struct itimerspec): Likewise.
40162         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40163         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40164         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40165         [XPG3 || XPG4] (clockid_t): Likewise.
40166         [XPG3 || XPG4] (timer_t): Likewise.
40167         [XPG3 || XPG4] (clock_getres): Likewise.
40168         [XPG3 || XPG4] (clock_gettime): Likewise.
40169         [XPG3 || XPG4] (clock_settime): Likewise.
40170         [XPG3 || XPG4] (nanosleep): Likewise.
40171         [XPG3 || XPG4] (timer_create): Likewise.
40172         [XPG3 || XPG4] (timer_delete): Likewise.
40173         [XPG3 || XPG4] (timer_gettime): Likewise.
40174         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40175         [XPG3 || XPG4] (timer_settime): Likewise.
40176         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40177         [XPG3 || XPG4] (getlogin_r): Likewise.
40178         [XPG3 || XPG4] (pread): Likewise.
40179         [XPG3 || XPG4] (pthread_atfork): Likewise.
40180         [XPG3 || XPG4] (pwrite): Likewise.
40182         [BZ #14835]
40183         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40184         <bits/siginfo.h>.
40186 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40188         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40189         finalizing MALLSTREAM.
40191         * sysdeps/mach/hurd/syncfs.c: New file.
40193 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40195         [BZ #14719]
40196         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40197         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40198         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40199         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40200         (_nss_dns_gethostbyname4_r): Likewise.
40201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40202         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40204 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40206         [BZ #13763]
40207         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40209 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40211         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40212         * elf/cache.c (print_entry): Print ",AArch64" for
40213         FLAG_AARCH64_LIB64
40215         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40216         * elf/cache.c (print_entry): Print ",hard-float" for
40217         FLAG_ARM_LIBHF.
40219 2012-11-18  David S. Miller  <davem@davemloft.net>
40221         With help from Joseph Myers.
40222         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40223         cutoff to 2**-13.
40224         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40225         cutoff to 2**-25.
40226         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40227         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40228         small.
40229         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40230         * math/libm-test.inc (y0_test): New tests.
40231         (y1_test): New tests.
40232         * sysdeps/i386/fpu/libm-test-ulps: Update.
40233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40236 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40238         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40239         64-bit targets.
40240         * configure: Regenerated.
40242 2012-11-17  David S. Miller  <davem@davemloft.net>
40244         [BZ #14811]
40245         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40246         nonzero exponents with absolute value below 0x1p-128 to +/-
40247         0x1p-128.
40249 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40251         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40253         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40255         * posix/getconf-speclist.c: New file.
40256         * posix/posix-envs.def: Likewise.
40257         * posix/confstr.c (START_ENV_GROUP): New macro.
40258         (END_ENV_GROUP): Likewise.
40259         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40260         (KNOWN_PRESENT_ENV_STRING): Likewise.
40261         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40262         (UNKNOWN_ENVIRONMENT): Likewise.
40263         (confstr): Include posix-envs.def instead of handling
40264         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40265         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40266         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40267         (END_ENV_GROUP): Likewise.
40268         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40269         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40270         (UNKNOWN_ENVIRONMENT): Likewise.
40271         (__sysconf): Include posix-envs.def instead of handling associated
40272         cases directly here.
40273         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40274         preprocessing getconf-speclist.c rather than running getconf or
40275         generating empty file.
40277 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40279         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40281 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40283         [BZ #14672]
40284         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40286 2012-11-16  David S. Miller  <davem@davemloft.net>
40288         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40289         smaller than LDBL_EPSILON/2.0L, just return xm1.
40291 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40293         * elf/tst-array1.c (init): Set constructor priority to 1000.
40294         (fini): Set destructor priority to 1000.
40295         * elf/tst-array2dep.c: Likewise.
40297 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40299         [BZ #11741]
40300         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40301         (_IO_new_file_xsputn): Also return EOF if none of the input
40302         data was written when overflow failed.
40303         * libio/iopadn.c (_IO_padn): Likewise.
40304         * libio/iowpadn.c (_IO_wpadn): Likewise.
40305         * stdio-common/tst-put-error.c: Add copyright notice.
40306         (do_test): Add case for printing padded string.
40307         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40308         _IO_padn returned error.
40309         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40310         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40311         return EOF.
40313 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40315         * libio/libioP.h: Add comment note that the references to C++
40316         bits are now obsolete.
40318 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40320         * math/libm-test.inc (check_complex): Use asprintf.
40322 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40324         * debug/pcprofiledump.c (print_version): Update copyright year.
40325         * malloc/memusagestat.c (print_version): Likewise.
40327 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40329         [BZ #14831]
40330         * elf/Makefile (tests): Add tst-audit8.
40331         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40332         ($(objpfx)tst-audit8.out): New target.
40333         (tst-audit8-ENV): New variable.
40334         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40335         audit if l_reloc_result is NULL.
40336         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40337         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40338         * elf/tst-audit8.c: New file.
40340 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40342         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40343         * misc/Makefile (CFLAGS-select.c): Define.
40344         * posix/Makefile (CFLAGS-pause.c): Define.
40346 2012-11-13  David S. Miller  <davem@davemloft.net>
40348         * crypt/Makefile: Move test targets after toplevel Rules
40349         inclusion.  Grab any necessary sysdep routines when linking.
40350         * crypt/md5.c (md5_process_block): Remove define, we will always
40351         name it __md5_process_block.
40352         (md5_finish_ctx): Update md5_process_block call.
40353         (md5_stream): Likewise.
40354         (md5_process_bytes): Likewise.
40355         (md5_process_block): Rename to __md5_process_block and move to ...
40356         * crypt/md5-block.c: ... here.
40357         * crypt/sha256.c (sha256_process_block): Move to ...
40358         * crypt/sha256-block.c: ... here.
40359         * crypt/sha512.c (sha512_process_block): Move to ...
40360         * crypt/sha512-block.c: ... here.
40361         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40362         path.
40363         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40364         * sysdeps/sparc/sparc64/multiarch/Makefile
40365         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40366         crypt subdir.
40367         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40368         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40369         multiarch changes.
40370         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40371         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40372         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40373         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40374         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40375         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40376         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40377         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40378         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40379         file.
40380         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40381         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40382         file.
40383         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40385 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40387         * timezone/tzselect.ksh: Update from tzcode git revision
40388         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40389         * timezone/zdump.c: Likewise.
40390         * timezone/zic.c: Likewise.
40391         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40392         in TZVERSION setting, not $(PKGVERSION).
40393         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40394         REPORT_BUGS_TO settings.
40396         [BZ #14838]
40397         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40398         macro.
40400 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40402         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40403         detection to immediately after _FP_ROUND().
40404         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40405         bits are 0.
40407 2012-11-11  David S. Miller  <davem@davemloft.net>
40409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40410         inttypes.h
40411         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40412         __close rather than their public counterparts.
40414 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40416         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40417         file.
40418         [UNIX98] (sem_timedwait): Do not expect.
40419         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40420         [XPG4 || UNIX98] (sockatmark): Do not expect.
40421         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40422         (clock_getcpuclockid): Do not expect.
40423         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40424         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40425         Do not expect.
40426         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40427         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40428         [UNIX98] (vwscanf): Likewise.
40429         [UNIX98] (vswscanf): Likewise.
40431 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40433         * timezone/version.h: Remove file.
40434         * timezone/README: Do not refer to version.h.
40435         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40436         $(objpfx)version.h.
40437         ($(objpfx)zdump.o): Likewise.
40438         ($(objpfx)version.h): New target.
40440         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40441         2012i.
40442         * timezone/README: Don't mention modification to tzselect.ksh.
40443         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40444         work on unmodified tzselect.ksh.  Substitute version numbers in
40445         tzselect.ksh.
40447         * Makefile (format-me): Remove.
40448         (INSTALL): Adjust indentation.  Use commands directly instead of
40449         using $(format-me).
40451         * aclocal.m4 (ACX_PKGVERSION): New macro.
40452         (ACX_BUGURL): Likewise.
40453         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40454         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40455         (REPORT_BUGS_TO): Likewise.
40456         * configure: Regenerated.
40457         * config.h.in (PKGVERSION): New macro.
40458         (REPORT_BUGS_TO): Likewise.
40459         * config.make.in (PKGVERSION): New variable.
40460         (PKGVERSION_TEXI): Likewise.
40461         (REPORT_BUGS_TO): Likewise.
40462         (REPORT_BUGS_TEXI): Likewise.
40463         * Makefile (format-me): Use -I$(common-objpfx)manual.
40464         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40465         ($(common-objpfx)manual/%): New target.
40466         (manual/%): Remove target.
40467         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40468         (print_version): Use PKGVERSION.
40469         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40470         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40471         and REPORT_BUGS_TO.
40472         ($(objpfx)xtrace): Likewise.
40473         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40474         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40475         (print_version): Use PKGVERSION.
40476         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40477         (do_version): Use PKGVERSION.
40478         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40479         REPORT_BUGS_TO.
40480         (common-ldd-rewrite): Likewise.
40481         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40482         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40483         (print_version): Use PKGVERSION.
40484         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40485         * elf/pldd.c (argp_program_bug_address): Remove variable.
40486         (more_help): New function.
40487         (argp): Use more_help.
40488         (print_version): Use PKGVERSION.
40489         * elf/sln.c (main): Use PKGVERSION.
40490         (usage): Use REPORT_BUGS_TO.
40491         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40492         (top level): Use PKGVERSION.
40493         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40494         (print_version): Use PKGVERSION.
40495         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40496         (print_version): Use PKGVERSION.
40497         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40498         (print_version): Use PKGVERSION.
40499         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40500         (print_version): Use PKGVERSION.
40501         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40502         (print_version): Use PKGVERSION.
40503         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40504         (print_version): Use PKGVERSION.
40505         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40506         and BUGURL.
40507         ($(objpfx)memusage): Likewise.
40508         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40509         (do_version): Use PKGVERSION.
40510         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40511         (print_version): Use PKGVERSION.
40512         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40513         ($PKGVERSION): New variable.
40514         ($REPORT_BUGS_TO): Likewise.
40515         (usage): Use $REPORT_BUGS_TO.
40516         (top level): Use $PKGVERSION.
40517         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40518         ($(objpfx)pkgvers.texi): New rule.
40519         ($(objpfx)stamp-pkgvers): Likewise.
40520         * manual/install.texi: Include pkgvers.texi.
40521         (--with-pkgversion): Document new configure option.
40522         (--with-bugurl): Likewise.
40523         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40524         than necessarily for this particular distribution.  Use
40525         REPORT_BUGS_TO for where to report bugs.
40526         * INSTALL: Regenerated.
40527         * manual/libc.texinfo: Include pkgvers.texi.
40528         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40529         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40530         (print_version): Use PKGVERSION.
40531         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40532         (print_version): Use PKGVERSION.
40533         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40534         (print_version): Use PKGVERSION.
40535         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40536         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40537         macro.
40538         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40539         (print_version): Use PKGVERSION.
40540         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40541         (print_version): Use PKGVERSION.
40542         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40543         and PKGVERSION.
40545         * timezone/checktab.awk: Update from tzcode 2012i.
40546         * timezone/ialloc.c: Likewise.
40547         * timezone/private.h: Likewise.
40548         * timezone/scheck.c: Likewise.
40549         * timezone/tzfile.h: Likewise.
40550         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40551         (TZVERSION): Hardcode tzcode version number.
40552         * timezone/zdump.c: Update from tzcode 2012i.
40553         * timezone/zic.c: Likewise.
40554         * timezone/version.h: New file.
40555         * timezone/README: Describe version.h.  Update upstream location.
40557         [BZ #14824]
40558         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40559         (mktemp): Enable declaration.
40560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40561         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40563         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40564         Likewise.
40565         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40566         Likewise.
40567         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40568         Likewise.
40569         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40570         Likewise.
40571         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40572         Likewise.
40573         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40574         Likewise.
40576         [BZ #14821]
40577         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40578         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40579         for copies of such integer values.
40580         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40581         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40583 2012-11-09  Andreas Jaeger  <aj@suse.de>
40585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40586         definitions and declarations that are provided by
40587         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40589 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40591         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40592         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40593         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40594         definition.
40596 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40598         * elf/elf.h: Update comment before AArch64 relocations.
40600 2012-11-07  David S. Miller  <davem@davemloft.net>
40602         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40603         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40604         (__start_context): Declare.
40605         (__makecontext_ret): Delete.
40606         (__makecontext): Hook up __start_context instead of
40607         __makecontext_ret.
40608         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40609         (sysdep_routines): Add __start_context when in stdlib.
40611 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40613         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40614         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40615         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40616         hardcoded "nm".
40617         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40618         (READELF): New variable.  Use it instead of hardcoded "readelf".
40620 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40622         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40623         * sysdeps/x86/Makefile: Here.
40624         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40625         * sysdeps/x86/tst-xmmymm.sh: This.
40627 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40629         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40630         expectations.
40631         [UNIX98] (pthread_barrier_t): Do not expect.
40632         [UNIX98] (pthread_barrierattr_t): Likewise.
40633         [UNIX98] (pthread_spinlock_t): Likewise.
40634         [UNIX98] (pthread_barrier_destroy): Likewise.
40635         [UNIX98] (pthread_barrier_init): Likewise.
40636         [UNIX98] (pthread_barrier_wait): Likewise.
40637         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40638         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40639         [UNIX98] (pthread_barrierattr_init): Likewise.
40640         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40641         [UNIX98] (pthread_getcpuclockid): Likewise.
40642         [UNIX98] (pthread_mutex_timedlock): Likewise.
40643         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40644         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40645         [UNIX98] (pthread_sigmask): Likewise.
40646         [UNIX98] (pthread_spin_destroy): Likewise.
40647         [UNIX98] (pthread_spin_init): Likewise.
40648         [UNIX98] (pthread_spin_lock): Likewise.
40649         [UNIX98] (pthread_spin_trylock): Likewise.
40650         [UNIX98] (pthread_spin_unlock): Likewise.
40651         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40652         Do not expect.
40653         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40654         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40655         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40656         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40657         [XPG3 || XPG4] (pthread_key_t): Likewise.
40658         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40659         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40660         [XPG3 || XPG4] (pthread_once_t): Likewise.
40661         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40662         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40663         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40664         [XPG3 || XPG4] (pthread_t): Likewise.
40666         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40667         not expect.
40668         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40670         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40671         Change function return type to int.
40673         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40674         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40675         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40676         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40677         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40678         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40679         [!POSIX] (posix_madvise): Likewise.
40680         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40681         && !UNIX98].
40682         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40683         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40684         (mode_t): Likewise.
40685         (posix_mem_offset): Likewise.
40686         (posix_typed_mem_get_info): Likewise.
40687         (posix_typed_mem_open): Likewise.
40689         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40690         Change condition to [XOPEN2K8].
40692         * conform/conformtest.pl: Preprocess allow-header data with -x c
40693         instead of from stdin.
40694         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40695         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40696         [C99-based standards] (cerfc): Likewise.
40697         [C99-based standards] (cexp2): Likewise.
40698         [C99-based standards] (cexpm1): Likewise.
40699         [C99-based standards] (clog10): Likewise.
40700         [C99-based standards] (clog1p): Likewise.
40701         [C99-based standards] (clog2): Likewise.
40702         [C99-based standards] (clgamma): Likewise.
40703         [C99-based standards] (ctgamma): Likewise.
40704         [C99-based standards] (cerff): Likewise.
40705         [C99-based standards] (cerfcf): Likewise.
40706         [C99-based standards] (cexp2f): Likewise.
40707         [C99-based standards] (cexpm1f): Likewise.
40708         [C99-based standards] (clog10f): Likewise.
40709         [C99-based standards] (clog1pf): Likewise.
40710         [C99-based standards] (clog2f): Likewise.
40711         [C99-based standards] (clgammaf): Likewise.
40712         [C99-based standards] (ctgammaf): Likewise.
40713         [C99-based standards] (cerfl): Likewise.
40714         [C99-based standards] (cerfcl): Likewise.
40715         [C99-based standards] (cexp2l): Likewise.
40716         [C99-based standards] (cexpm1l): Likewise.
40717         [C99-based standards] (clog10l): Likewise.
40718         [C99-based standards] (clog1pl): Likewise.
40719         [C99-based standards] (clog2l): Likewise.
40720         [C99-based standards] (clgammal): Likewise.
40721         [C99-based standards] (ctgammal): Likewise.
40722         * conform/data/inttypes.h-data [C99-based standards]: Include
40723         stdint.h-data.  Remove all expectations for stdint.h contents.
40724         [C99-based standards] (PRI*): Do not allow.
40725         [C99-based standards] (SCN*): Likewise.
40726         [C99-based standards] (*_t): Likewise.
40727         [C99-based-standards] (PRId8): Expect macro.
40728         [C99-based-standards] (PRIi8): Likewise.
40729         [C99-based-standards] (PRIo8): Likewise.
40730         [C99-based-standards] (PRIu8): Likewise.
40731         [C99-based-standards] (PRIx8): Likewise.
40732         [C99-based-standards] (PRIX8): Likewise.
40733         [C99-based-standards] (SCNd8): Likewise.
40734         [C99-based-standards] (SCNi8): Likewise.
40735         [C99-based-standards] (SCNo8): Likewise.
40736         [C99-based-standards] (SCNu8): Likewise.
40737         [C99-based-standards] (SCNx8): Likewise.
40738         [C99-based-standards] (PRIdLEAST8): Likewise.
40739         [C99-based-standards] (PRIiLEAST8): Likewise.
40740         [C99-based-standards] (PRIoLEAST8): Likewise.
40741         [C99-based-standards] (PRIuLEAST8): Likewise.
40742         [C99-based-standards] (PRIxLEAST8): Likewise.
40743         [C99-based-standards] (PRIXLEAST8): Likewise.
40744         [C99-based-standards] (SCNdLEAST8): Likewise.
40745         [C99-based-standards] (SCNiLEAST8): Likewise.
40746         [C99-based-standards] (SCNoLEAST8): Likewise.
40747         [C99-based-standards] (SCNuLEAST8): Likewise.
40748         [C99-based-standards] (SCNxLEAST8): Likewise.
40749         [C99-based-standards] (PRIdFAST8): Likewise.
40750         [C99-based-standards] (PRIiFAST8): Likewise.
40751         [C99-based-standards] (PRIoFAST8): Likewise.
40752         [C99-based-standards] (PRIuFAST8): Likewise.
40753         [C99-based-standards] (PRIxFAST8): Likewise.
40754         [C99-based-standards] (PRIXFAST8): Likewise.
40755         [C99-based-standards] (SCNdFAST8): Likewise.
40756         [C99-based-standards] (SCNiFAST8): Likewise.
40757         [C99-based-standards] (SCNoFAST8): Likewise.
40758         [C99-based-standards] (SCNuFAST8): Likewise.
40759         [C99-based-standards] (SCNxFAST8): Likewise.
40760         [C99-based-standards] (PRId16): Likewise.
40761         [C99-based-standards] (PRIi16): Likewise.
40762         [C99-based-standards] (PRIo16): Likewise.
40763         [C99-based-standards] (PRIu16): Likewise.
40764         [C99-based-standards] (PRIx16): Likewise.
40765         [C99-based-standards] (PRIX16): Likewise.
40766         [C99-based-standards] (SCNd16): Likewise.
40767         [C99-based-standards] (SCNi16): Likewise.
40768         [C99-based-standards] (SCNo16): Likewise.
40769         [C99-based-standards] (SCNu16): Likewise.
40770         [C99-based-standards] (SCNx16): Likewise.
40771         [C99-based-standards] (PRIdLEAST16): Likewise.
40772         [C99-based-standards] (PRIiLEAST16): Likewise.
40773         [C99-based-standards] (PRIoLEAST16): Likewise.
40774         [C99-based-standards] (PRIuLEAST16): Likewise.
40775         [C99-based-standards] (PRIxLEAST16): Likewise.
40776         [C99-based-standards] (PRIXLEAST16): Likewise.
40777         [C99-based-standards] (SCNdLEAST16): Likewise.
40778         [C99-based-standards] (SCNiLEAST16): Likewise.
40779         [C99-based-standards] (SCNoLEAST16): Likewise.
40780         [C99-based-standards] (SCNuLEAST16): Likewise.
40781         [C99-based-standards] (SCNxLEAST16): Likewise.
40782         [C99-based-standards] (PRIdFAST16): Likewise.
40783         [C99-based-standards] (PRIiFAST16): Likewise.
40784         [C99-based-standards] (PRIoFAST16): Likewise.
40785         [C99-based-standards] (PRIuFAST16): Likewise.
40786         [C99-based-standards] (PRIxFAST16): Likewise.
40787         [C99-based-standards] (PRIXFAST16): Likewise.
40788         [C99-based-standards] (SCNdFAST16): Likewise.
40789         [C99-based-standards] (SCNiFAST16): Likewise.
40790         [C99-based-standards] (SCNoFAST16): Likewise.
40791         [C99-based-standards] (SCNuFAST16): Likewise.
40792         [C99-based-standards] (SCNxFAST16): Likewise.
40793         [C99-based-standards] (PRId32): Likewise.
40794         [C99-based-standards] (PRIi32): Likewise.
40795         [C99-based-standards] (PRIo32): Likewise.
40796         [C99-based-standards] (PRIu32): Likewise.
40797         [C99-based-standards] (PRIx32): Likewise.
40798         [C99-based-standards] (PRIX32): Likewise.
40799         [C99-based-standards] (SCNd32): Likewise.
40800         [C99-based-standards] (SCNi32): Likewise.
40801         [C99-based-standards] (SCNo32): Likewise.
40802         [C99-based-standards] (SCNu32): Likewise.
40803         [C99-based-standards] (SCNx32): Likewise.
40804         [C99-based-standards] (PRIdLEAST32): Likewise.
40805         [C99-based-standards] (PRIiLEAST32): Likewise.
40806         [C99-based-standards] (PRIoLEAST32): Likewise.
40807         [C99-based-standards] (PRIuLEAST32): Likewise.
40808         [C99-based-standards] (PRIxLEAST32): Likewise.
40809         [C99-based-standards] (PRIXLEAST32): Likewise.
40810         [C99-based-standards] (SCNdLEAST32): Likewise.
40811         [C99-based-standards] (SCNiLEAST32): Likewise.
40812         [C99-based-standards] (SCNoLEAST32): Likewise.
40813         [C99-based-standards] (SCNuLEAST32): Likewise.
40814         [C99-based-standards] (SCNxLEAST32): Likewise.
40815         [C99-based-standards] (PRIdFAST32): Likewise.
40816         [C99-based-standards] (PRIiFAST32): Likewise.
40817         [C99-based-standards] (PRIoFAST32): Likewise.
40818         [C99-based-standards] (PRIuFAST32): Likewise.
40819         [C99-based-standards] (PRIxFAST32): Likewise.
40820         [C99-based-standards] (PRIXFAST32): Likewise.
40821         [C99-based-standards] (SCNdFAST32): Likewise.
40822         [C99-based-standards] (SCNiFAST32): Likewise.
40823         [C99-based-standards] (SCNoFAST32): Likewise.
40824         [C99-based-standards] (SCNuFAST32): Likewise.
40825         [C99-based-standards] (SCNxFAST32): Likewise.
40826         [C99-based-standards] (PRId64): Likewise.
40827         [C99-based-standards] (PRIi64): Likewise.
40828         [C99-based-standards] (PRIo64): Likewise.
40829         [C99-based-standards] (PRIu64): Likewise.
40830         [C99-based-standards] (PRIx64): Likewise.
40831         [C99-based-standards] (PRIX64): Likewise.
40832         [C99-based-standards] (SCNd64): Likewise.
40833         [C99-based-standards] (SCNi64): Likewise.
40834         [C99-based-standards] (SCNo64): Likewise.
40835         [C99-based-standards] (SCNu64): Likewise.
40836         [C99-based-standards] (SCNx64): Likewise.
40837         [C99-based-standards] (PRIdLEAST64): Likewise.
40838         [C99-based-standards] (PRIiLEAST64): Likewise.
40839         [C99-based-standards] (PRIoLEAST64): Likewise.
40840         [C99-based-standards] (PRIuLEAST64): Likewise.
40841         [C99-based-standards] (PRIxLEAST64): Likewise.
40842         [C99-based-standards] (PRIXLEAST64): Likewise.
40843         [C99-based-standards] (SCNdLEAST64): Likewise.
40844         [C99-based-standards] (SCNiLEAST64): Likewise.
40845         [C99-based-standards] (SCNoLEAST64): Likewise.
40846         [C99-based-standards] (SCNuLEAST64): Likewise.
40847         [C99-based-standards] (SCNxLEAST64): Likewise.
40848         [C99-based-standards] (PRIdFAST64): Likewise.
40849         [C99-based-standards] (PRIiFAST64): Likewise.
40850         [C99-based-standards] (PRIoFAST64): Likewise.
40851         [C99-based-standards] (PRIuFAST64): Likewise.
40852         [C99-based-standards] (PRIxFAST64): Likewise.
40853         [C99-based-standards] (PRIXFAST64): Likewise.
40854         [C99-based-standards] (SCNdFAST64): Likewise.
40855         [C99-based-standards] (SCNiFAST64): Likewise.
40856         [C99-based-standards] (SCNoFAST64): Likewise.
40857         [C99-based-standards] (SCNuFAST64): Likewise.
40858         [C99-based-standards] (SCNxFAST64): Likewise.
40859         [C99-based-standards] (PRIdMAX): Likewise.
40860         [C99-based-standards] (PRIiMAX): Likewise.
40861         [C99-based-standards] (PRIoMAX): Likewise.
40862         [C99-based-standards] (PRIuMAX): Likewise.
40863         [C99-based-standards] (PRIxMAX): Likewise.
40864         [C99-based-standards] (PRIXMAX): Likewise.
40865         [C99-based-standards] (SCNdMAX): Likewise.
40866         [C99-based-standards] (SCNiMAX): Likewise.
40867         [C99-based-standards] (SCNoMAX): Likewise.
40868         [C99-based-standards] (SCNuMAX): Likewise.
40869         [C99-based-standards] (SCNxMAX): Likewise.
40870         [C99-based-standards] (PRIdPTR): Likewise.
40871         [C99-based-standards] (PRIiPTR): Likewise.
40872         [C99-based-standards] (PRIoPTR): Likewise.
40873         [C99-based-standards] (PRIuPTR): Likewise.
40874         [C99-based-standards] (PRIxPTR): Likewise.
40875         [C99-based-standards] (PRIXPTR): Likewise.
40876         [C99-based-standards] (SCNdPTR): Likewise.
40877         [C99-based-standards] (SCNiPTR): Likewise.
40878         [C99-based-standards] (SCNoPTR): Likewise.
40879         [C99-based-standards] (SCNuPTR): Likewise.
40880         [C99-based-standards] (SCNxPTR): Likewise.
40881         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40882         allow.
40883         * conform/data/stdint.h-data: Update comments to clarify
40884         requirements.
40885         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40886         type.
40887         [C99-based standards] (INT8_MAX): Likewise.
40888         [C99-based standards] (INT16_MIN): Likewise.
40889         [C99-based standards] (INT16_MAX): Likewise.
40890         [C99-based standards] (INT32_MIN): Likewise.
40891         [C99-based standards] (INT32_MAX): Likewise.
40892         [C99-based standards] (INT64_MIN): Likewise.
40893         [C99-based standards] (INT64_MAX): Likewise.
40894         [C99-based standards] (UINT8_MAX): Likewise.
40895         [C99-based standards] (UINT16_MAX): Likewise.
40896         [C99-based standards] (UINT32_MAX): Likewise.
40897         [C99-based standards] (UINT64_MAX): Likewise.
40898         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40899         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40900         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40901         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40902         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40903         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40904         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40905         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40906         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40907         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40908         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40909         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40910         [C99-based standards] (INT_FAST8_MIN): Likewise.
40911         [C99-based standards] (INT_FAST8_MAX): Likewise.
40912         [C99-based standards] (INT_FAST16_MIN): Likewise.
40913         [C99-based standards] (INT_FAST16_MAX): Likewise.
40914         [C99-based standards] (INT_FAST32_MIN): Likewise.
40915         [C99-based standards] (INT_FAST32_MAX): Likewise.
40916         [C99-based standards] (INT_FAST64_MIN): Likewise.
40917         [C99-based standards] (INT_FAST64_MAX): Likewise.
40918         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40919         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40920         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40921         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40922         [C99-based standards] (INTPTR_MIN): Likewise.
40923         [C99-based standards] (INTPTR_MAX): Likewise.
40924         [C99-based standards] (UINTPTR_MAX): Likewise.
40925         [C99-based standards] (INTMAX_MIN): Likewise.
40926         [C99-based standards] (INTMAX_MAX): Likewise.
40927         [C99-based standards] (UINTMAX_MAX): Likewise.
40928         [C99-based standards] (PTRDIFF_MIN): Likewise.
40929         [C99-based standards] (PTRDIFF_MAX): Likewise.
40930         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40931         [C99-based standards] (SIZE_MAX): Likewise.
40932         [C99-based standards] (WCHAR_MAX): Likewise.
40933         [C99-based standards] (WINT_MAX): Likewise.
40934         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40935         constraint on value.
40936         [C99-based standards] (WCHAR_MIN): Likewise.
40937         [C99-based standards] (WINT_MIN): Likewise.
40938         [C99-based standards] (*_t): Allow.
40939         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40940         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40941         Include math.h-data and complex.h-data.  Remove all expectations
40942         of math.h and complex.h contents.
40943         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40944         at end of line.
40945         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40946         (struct tm): Expect tag.
40947         [C99-based-standards] (wcstof): Expect function.
40948         [C99-based-standards] (wcstold): Likewise.
40949         [C99-based-standards] (wcstoll): Likewise.
40950         [C99-based-standards] (wcstoull): Likewise.
40951         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40952         macro-int-constant.  Specify type.
40953         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40954         constraint on value.
40955         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40956         Specify type.
40957         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40958         Specify value.
40959         [ISO C standards]: Do not allow headers.
40960         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40961         wcs[abcdefghijklmnopqrstuvwxyz]*.
40962         [ISO C standards] (*_t): Do not allow.
40963         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40964         Expect function.
40965         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40966         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40967         Specify type.
40968         [ISO C standards]: Do not allow headers.
40969         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40970         is[abcdefghijklmnopqrstuvwxyz]*.
40971         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40972         to[abcdefghijklmnopqrstuvwxyz]*.
40973         [ISO C standards] (*_t): Do not allow.
40974         * conform/data/stdalign.h-data: New file.
40975         * conform/data/stdbool.h-data: Likewise.
40976         * conform/data/stdnoreturn.h-data: Likewise.
40978 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40980         [BZ #14815]
40981         * manual/filesys.texi (Directory Entries): Typo fix.
40982         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40984 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40986         * elf/elf.h (EM_AARCH64): New macro.
40987         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40988         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40989         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40990         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40991         (R_AARCH64_TLSDESC): Likewise.
40992         (NT_ARM_TLS): Likewise.
40993         (NT_ARM_HW_BREAK): Likewise.
40994         (NT_ARM_HW_WATCH): Likewise.
40996 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40998         [BZ #14811]
40999         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41000         (__ieee754_powl): Saturate nonzero exponents with absolute value
41001         below 0x1p-79 to +/- 0x1p-79.
41002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41003         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41004         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41005         nonzero exponents with absolute value below 0x1p-32 to +/-
41006         0x1p-32.
41007         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41008         (__ieee754_powl): Saturate nonzero exponents with absolute value
41009         below 0x1p-79 to +/- 0x1p-79.
41010         * math/libm-test.inc (pow_test): Add more tests.
41012 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41014         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41015         _dl_s390_cap_flags with kernel. Increase string length.
41016         (_dl_s390_platforms): Add z196 and zEC12.
41018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41020         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41021         Change XOPEN21K to XOPEN2K.
41023 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41025         * string/memmove.c: Use memcpy when possible.
41027 2012-11-06  Andreas Jaeger  <aj@suse.de>
41029         * po/eo.po: Update from translation team.
41031 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41033         [BZ #14793]
41034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41035         exponent and small x and y exponents, scale x or y up.  Increase
41036         by 2 the exponent used in scaling up.
41037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41038         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41039         * math/libm-test.inc (fma_test): Add more tests.
41040         (fma_test_towardzero): Likewise.
41041         (fma_test_downward): Likewise.
41042         (fma_test_upward): Likewise.
41044 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41046         [BZ #14805]
41047         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41048         fenv_t *.
41050         [BZ #14801]
41051         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41052         namespace for names of struct fields.
41053         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41054         fenv_t fields.
41055         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41056         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41058 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41060         [BZ #3665]
41061         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41063 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41065         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41066         PTR_DEMANGLE.
41068         [BZ #5246]
41069         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41070         PTR_DEMANGLE.
41072 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41074         [BZ #14797]
41075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41076         definitely overflow as x * y not x * y + z.
41077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41079         * math/libm-test.inc (fma_test): Add more tests.
41080         (fma_test_towardzero): Likewise.
41081         (fma_test_downward): Likewise.
41082         (fma_test_upward): Likewise.
41084 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41086         [BZ #157]
41088         * include/stub-tag.h: Remove file.
41089         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41090         '#include' of it.
41091         * manual/maint.texi (Porting): Don't reference it.
41092         * Makerules ($(objpfx)stubs): Likewise.
41093         * dirent/closedir.c: Don't include <stub-tag.h>.
41094         * dirent/dirfd.c: Likewise.
41095         * dirent/fdopendir.c: Likewise.
41096         * dirent/getdents.c: Likewise.
41097         * dirent/getdents64.c: Likewise.
41098         * dirent/opendir.c: Likewise.
41099         * dirent/readdir.c: Likewise.
41100         * dirent/readdir64.c: Likewise.
41101         * dirent/readdir64_r.c: Likewise.
41102         * dirent/readdir_r.c: Likewise.
41103         * dirent/rewinddir.c: Likewise.
41104         * dirent/seekdir.c: Likewise.
41105         * dirent/telldir.c: Likewise.
41106         * gmon/profil.c: Likewise.
41107         * grp/setgroups.c: Likewise.
41108         * inet/if_index.c: Likewise.
41109         * io/access.c: Likewise.
41110         * io/chdir.c: Likewise.
41111         * io/chmod.c: Likewise.
41112         * io/chown.c: Likewise.
41113         * io/close.c: Likewise.
41114         * io/dup.c: Likewise.
41115         * io/dup2.c: Likewise.
41116         * io/dup3.c: Likewise.
41117         * io/euidaccess.c: Likewise.
41118         * io/faccessat.c: Likewise.
41119         * io/fchdir.c: Likewise.
41120         * io/fchmod.c: Likewise.
41121         * io/fchmodat.c: Likewise.
41122         * io/fchown.c: Likewise.
41123         * io/fchownat.c: Likewise.
41124         * io/fcntl.c: Likewise.
41125         * io/flock.c: Likewise.
41126         * io/fstatfs.c: Likewise.
41127         * io/fstatfs64.c: Likewise.
41128         * io/fstatvfs.c: Likewise.
41129         * io/fstatvfs64.c: Likewise.
41130         * io/futimens.c: Likewise.
41131         * io/fxstat.c: Likewise.
41132         * io/fxstat64.c: Likewise.
41133         * io/fxstatat.c: Likewise.
41134         * io/fxstatat64.c: Likewise.
41135         * io/getcwd.c: Likewise.
41136         * io/isatty.c: Likewise.
41137         * io/lchmod.c: Likewise.
41138         * io/lchown.c: Likewise.
41139         * io/link.c: Likewise.
41140         * io/linkat.c: Likewise.
41141         * io/lseek.c: Likewise.
41142         * io/lseek64.c: Likewise.
41143         * io/lxstat64.c: Likewise.
41144         * io/mkdir.c: Likewise.
41145         * io/mkdirat.c: Likewise.
41146         * io/mkfifo.c: Likewise.
41147         * io/mkfifoat.c: Likewise.
41148         * io/open.c: Likewise.
41149         * io/open64.c: Likewise.
41150         * io/openat.c: Likewise.
41151         * io/openat64.c: Likewise.
41152         * io/pipe.c: Likewise.
41153         * io/pipe2.c: Likewise.
41154         * io/poll.c: Likewise.
41155         * io/posix_fadvise.c: Likewise.
41156         * io/posix_fadvise64.c: Likewise.
41157         * io/posix_fallocate.c: Likewise.
41158         * io/posix_fallocate64.c: Likewise.
41159         * io/read.c: Likewise.
41160         * io/readlink.c: Likewise.
41161         * io/readlinkat.c: Likewise.
41162         * io/rmdir.c: Likewise.
41163         * io/sendfile.c: Likewise.
41164         * io/sendfile64.c: Likewise.
41165         * io/statfs.c: Likewise.
41166         * io/statfs64.c: Likewise.
41167         * io/statvfs.c: Likewise.
41168         * io/statvfs64.c: Likewise.
41169         * io/symlink.c: Likewise.
41170         * io/symlinkat.c: Likewise.
41171         * io/ttyname.c: Likewise.
41172         * io/ttyname_r.c: Likewise.
41173         * io/umask.c: Likewise.
41174         * io/unlink.c: Likewise.
41175         * io/unlinkat.c: Likewise.
41176         * io/utime.c: Likewise.
41177         * io/utimensat.c: Likewise.
41178         * io/write.c: Likewise.
41179         * io/xmknod.c: Likewise.
41180         * io/xmknodat.c: Likewise.
41181         * io/xstat.c: Likewise.
41182         * io/xstat64.c: Likewise.
41183         * login/getpt.c: Likewise.
41184         * login/grantpt.c: Likewise.
41185         * login/unlockpt.c: Likewise.
41186         * math/e_acoshl.c: Likewise.
41187         * math/e_acosl.c: Likewise.
41188         * math/e_asinl.c: Likewise.
41189         * math/e_atan2l.c: Likewise.
41190         * math/e_atanhl.c: Likewise.
41191         * math/e_coshl.c: Likewise.
41192         * math/e_expl.c: Likewise.
41193         * math/e_fmodl.c: Likewise.
41194         * math/e_gammal_r.c: Likewise.
41195         * math/e_hypotl.c: Likewise.
41196         * math/e_j0l.c: Likewise.
41197         * math/e_j1l.c: Likewise.
41198         * math/e_jnl.c: Likewise.
41199         * math/e_lgammal_r.c: Likewise.
41200         * math/e_log10l.c: Likewise.
41201         * math/e_log2l.c: Likewise.
41202         * math/e_logl.c: Likewise.
41203         * math/e_powl.c: Likewise.
41204         * math/e_rem_pio2l.c: Likewise.
41205         * math/e_sinhl.c: Likewise.
41206         * math/e_sqrtl.c: Likewise.
41207         * math/fclrexcpt.c: Likewise.
41208         * math/fedisblxcpt.c: Likewise.
41209         * math/feenablxcpt.c: Likewise.
41210         * math/fegetenv.c: Likewise.
41211         * math/fegetexcept.c: Likewise.
41212         * math/fegetround.c: Likewise.
41213         * math/feholdexcpt.c: Likewise.
41214         * math/fesetenv.c: Likewise.
41215         * math/fesetround.c: Likewise.
41216         * math/feupdateenv.c: Likewise.
41217         * math/fgetexcptflg.c: Likewise.
41218         * math/fraiseexcpt.c: Likewise.
41219         * math/fsetexcptflg.c: Likewise.
41220         * math/ftestexcept.c: Likewise.
41221         * math/k_cosl.c: Likewise.
41222         * math/k_rem_pio2l.c: Likewise.
41223         * math/k_sinl.c: Likewise.
41224         * math/k_tanl.c: Likewise.
41225         * math/s_asinhl.c: Likewise.
41226         * math/s_atanl.c: Likewise.
41227         * math/s_cbrtl.c: Likewise.
41228         * math/s_erfl.c: Likewise.
41229         * math/s_expm1l.c: Likewise.
41230         * math/s_log1pl.c: Likewise.
41231         * math/s_tanhl.c: Likewise.
41232         * misc/acct.c: Likewise.
41233         * misc/brk.c: Likewise.
41234         * misc/chflags.c: Likewise.
41235         * misc/chroot.c: Likewise.
41236         * misc/fchflags.c: Likewise.
41237         * misc/fgetxattr.c: Likewise.
41238         * misc/flistxattr.c: Likewise.
41239         * misc/fremovexattr.c: Likewise.
41240         * misc/fsetxattr.c: Likewise.
41241         * misc/fsync.c: Likewise.
41242         * misc/ftruncate.c: Likewise.
41243         * misc/futimes.c: Likewise.
41244         * misc/futimesat.c: Likewise.
41245         * misc/getdomain.c: Likewise.
41246         * misc/getdtsz.c: Likewise.
41247         * misc/gethostid.c: Likewise.
41248         * misc/gethostname.c: Likewise.
41249         * misc/getloadavg.c: Likewise.
41250         * misc/getpagesize.c: Likewise.
41251         * misc/getsysstats.c: Likewise.
41252         * misc/getxattr.c: Likewise.
41253         * misc/gtty.c: Likewise.
41254         * misc/ioctl.c: Likewise.
41255         * misc/lgetxattr.c: Likewise.
41256         * misc/listxattr.c: Likewise.
41257         * misc/llistxattr.c: Likewise.
41258         * misc/lremovexattr.c: Likewise.
41259         * misc/lsetxattr.c: Likewise.
41260         * misc/lutimes.c: Likewise.
41261         * misc/madvise.c: Likewise.
41262         * misc/mincore.c: Likewise.
41263         * misc/mlock.c: Likewise.
41264         * misc/mlockall.c: Likewise.
41265         * misc/mmap.c: Likewise.
41266         * misc/mprotect.c: Likewise.
41267         * misc/msync.c: Likewise.
41268         * misc/munlock.c: Likewise.
41269         * misc/munlockall.c: Likewise.
41270         * misc/munmap.c: Likewise.
41271         * misc/preadv.c: Likewise.
41272         * misc/preadv64.c: Likewise.
41273         * misc/ptrace.c: Likewise.
41274         * misc/pwritev.c: Likewise.
41275         * misc/pwritev64.c: Likewise.
41276         * misc/readv.c: Likewise.
41277         * misc/reboot.c: Likewise.
41278         * misc/remap_file_pages.c: Likewise.
41279         * misc/removexattr.c: Likewise.
41280         * misc/revoke.c: Likewise.
41281         * misc/select.c: Likewise.
41282         * misc/setdomain.c: Likewise.
41283         * misc/setegid.c: Likewise.
41284         * misc/seteuid.c: Likewise.
41285         * misc/sethostid.c: Likewise.
41286         * misc/sethostname.c: Likewise.
41287         * misc/setregid.c: Likewise.
41288         * misc/setreuid.c: Likewise.
41289         * misc/setxattr.c: Likewise.
41290         * misc/sstk.c: Likewise.
41291         * misc/stty.c: Likewise.
41292         * misc/swapoff.c: Likewise.
41293         * misc/swapon.c: Likewise.
41294         * misc/sync.c: Likewise.
41295         * misc/syncfs.c: Likewise.
41296         * misc/syscall.c: Likewise.
41297         * misc/truncate.c: Likewise.
41298         * misc/ualarm.c: Likewise.
41299         * misc/usleep.c: Likewise.
41300         * misc/ustat.c: Likewise.
41301         * misc/utimes.c: Likewise.
41302         * misc/vhangup.c: Likewise.
41303         * misc/writev.c: Likewise.
41304         * posix/_exit.c: Likewise.
41305         * posix/alarm.c: Likewise.
41306         * posix/execve.c: Likewise.
41307         * posix/fexecve.c: Likewise.
41308         * posix/fork.c: Likewise.
41309         * posix/fpathconf.c: Likewise.
41310         * posix/getaddrinfo.c: Likewise.
41311         * posix/getegid.c: Likewise.
41312         * posix/geteuid.c: Likewise.
41313         * posix/getgid.c: Likewise.
41314         * posix/getgroups.c: Likewise.
41315         * posix/getlogin.c: Likewise.
41316         * posix/getlogin_r.c: Likewise.
41317         * posix/getpgid.c: Likewise.
41318         * posix/getpid.c: Likewise.
41319         * posix/getppid.c: Likewise.
41320         * posix/getresgid.c: Likewise.
41321         * posix/getresuid.c: Likewise.
41322         * posix/getsid.c: Likewise.
41323         * posix/getuid.c: Likewise.
41324         * posix/glob64.c: Likewise.
41325         * posix/nanosleep.c: Likewise.
41326         * posix/pathconf.c: Likewise.
41327         * posix/pause.c: Likewise.
41328         * posix/posix_madvise.c: Likewise.
41329         * posix/pread.c: Likewise.
41330         * posix/pread64.c: Likewise.
41331         * posix/pwrite.c: Likewise.
41332         * posix/pwrite64.c: Likewise.
41333         * posix/sched_getaffinity.c: Likewise.
41334         * posix/sched_getp.c: Likewise.
41335         * posix/sched_gets.c: Likewise.
41336         * posix/sched_primax.c: Likewise.
41337         * posix/sched_primin.c: Likewise.
41338         * posix/sched_rr_gi.c: Likewise.
41339         * posix/sched_setaffinity.c: Likewise.
41340         * posix/sched_setp.c: Likewise.
41341         * posix/sched_sets.c: Likewise.
41342         * posix/sched_yield.c: Likewise.
41343         * posix/setgid.c: Likewise.
41344         * posix/setlogin.c: Likewise.
41345         * posix/setpgid.c: Likewise.
41346         * posix/setresgid.c: Likewise.
41347         * posix/setresuid.c: Likewise.
41348         * posix/setsid.c: Likewise.
41349         * posix/setuid.c: Likewise.
41350         * posix/sleep.c: Likewise.
41351         * posix/spawni.c: Likewise.
41352         * posix/sysconf.c: Likewise.
41353         * posix/times.c: Likewise.
41354         * posix/wait.c: Likewise.
41355         * posix/wait3.c: Likewise.
41356         * posix/wait4.c: Likewise.
41357         * posix/waitpid.c: Likewise.
41358         * resolv/gai_sigqueue.c: Likewise.
41359         * resource/getpriority.c: Likewise.
41360         * resource/getrlimit.c: Likewise.
41361         * resource/getrusage.c: Likewise.
41362         * resource/nice.c: Likewise.
41363         * resource/setpriority.c: Likewise.
41364         * resource/setrlimit.c: Likewise.
41365         * resource/ulimit.c: Likewise.
41366         * rt/aio_cancel.c: Likewise.
41367         * rt/aio_fsync.c: Likewise.
41368         * rt/aio_read.c: Likewise.
41369         * rt/aio_sigqueue.c: Likewise.
41370         * rt/aio_suspend.c: Likewise.
41371         * rt/aio_write.c: Likewise.
41372         * rt/clock_getres.c: Likewise.
41373         * rt/clock_gettime.c: Likewise.
41374         * rt/clock_nanosleep.c: Likewise.
41375         * rt/clock_settime.c: Likewise.
41376         * rt/lio_listio.c: Likewise.
41377         * rt/mq_close.c: Likewise.
41378         * rt/mq_getattr.c: Likewise.
41379         * rt/mq_notify.c: Likewise.
41380         * rt/mq_open.c: Likewise.
41381         * rt/mq_receive.c: Likewise.
41382         * rt/mq_send.c: Likewise.
41383         * rt/mq_setattr.c: Likewise.
41384         * rt/mq_timedreceive.c: Likewise.
41385         * rt/mq_timedsend.c: Likewise.
41386         * rt/mq_unlink.c: Likewise.
41387         * rt/shm_open.c: Likewise.
41388         * rt/shm_unlink.c: Likewise.
41389         * rt/timer_create.c: Likewise.
41390         * rt/timer_delete.c: Likewise.
41391         * rt/timer_getoverr.c: Likewise.
41392         * rt/timer_gettime.c: Likewise.
41393         * rt/timer_settime.c: Likewise.
41394         * setjmp/__longjmp.c: Likewise.
41395         * setjmp/setjmp.c: Likewise.
41396         * signal/kill.c: Likewise.
41397         * signal/killpg.c: Likewise.
41398         * signal/raise.c: Likewise.
41399         * signal/sigaction.c: Likewise.
41400         * signal/sigaltstack.c: Likewise.
41401         * signal/sigblock.c: Likewise.
41402         * signal/sigignore.c: Likewise.
41403         * signal/sigintr.c: Likewise.
41404         * signal/signal.c: Likewise.
41405         * signal/sigpause.c: Likewise.
41406         * signal/sigpending.c: Likewise.
41407         * signal/sigqueue.c: Likewise.
41408         * signal/sigreturn.c: Likewise.
41409         * signal/sigset.c: Likewise.
41410         * signal/sigsetmask.c: Likewise.
41411         * signal/sigstack.c: Likewise.
41412         * signal/sigsuspend.c: Likewise.
41413         * signal/sigtimedwait.c: Likewise.
41414         * signal/sigvec.c: Likewise.
41415         * signal/sigwait.c: Likewise.
41416         * signal/sigwaitinfo.c: Likewise.
41417         * signal/sysv_signal.c: Likewise.
41418         * socket/accept.c: Likewise.
41419         * socket/accept4.c: Likewise.
41420         * socket/bind.c: Likewise.
41421         * socket/connect.c: Likewise.
41422         * socket/getpeername.c: Likewise.
41423         * socket/getsockname.c: Likewise.
41424         * socket/getsockopt.c: Likewise.
41425         * socket/isfdtype.c: Likewise.
41426         * socket/listen.c: Likewise.
41427         * socket/recv.c: Likewise.
41428         * socket/recvfrom.c: Likewise.
41429         * socket/recvmsg.c: Likewise.
41430         * socket/send.c: Likewise.
41431         * socket/sendmsg.c: Likewise.
41432         * socket/sendto.c: Likewise.
41433         * socket/setsockopt.c: Likewise.
41434         * socket/shutdown.c: Likewise.
41435         * socket/sockatmark.c: Likewise.
41436         * socket/socket.c: Likewise.
41437         * socket/socketpair.c: Likewise.
41438         * stdio-common/ctermid.c: Likewise.
41439         * stdio-common/cuserid.c: Likewise.
41440         * stdio-common/remove.c: Likewise.
41441         * stdio-common/rename.c: Likewise.
41442         * stdio-common/renameat.c: Likewise.
41443         * stdio-common/tempname.c: Likewise.
41444         * stdlib/getcontext.c: Likewise.
41445         * stdlib/makecontext.c: Likewise.
41446         * stdlib/setcontext.c: Likewise.
41447         * stdlib/swapcontext.c: Likewise.
41448         * stdlib/system.c: Likewise.
41449         * streams/fattach.c: Likewise.
41450         * streams/fdetach.c: Likewise.
41451         * streams/getmsg.c: Likewise.
41452         * streams/getpmsg.c: Likewise.
41453         * streams/putmsg.c: Likewise.
41454         * streams/putpmsg.c: Likewise.
41455         * sysdeps/unix/bsd/getpt.c: Likewise.
41456         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41457         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41458         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41460         Likewise.
41461         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41462         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41463         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41464         * sysvipc/msgctl.c: Likewise.
41465         * sysvipc/msgget.c: Likewise.
41466         * sysvipc/msgrcv.c: Likewise.
41467         * sysvipc/msgsnd.c: Likewise.
41468         * sysvipc/semctl.c: Likewise.
41469         * sysvipc/semget.c: Likewise.
41470         * sysvipc/semop.c: Likewise.
41471         * sysvipc/semtimedop.c: Likewise.
41472         * sysvipc/shmat.c: Likewise.
41473         * sysvipc/shmctl.c: Likewise.
41474         * sysvipc/shmdt.c: Likewise.
41475         * sysvipc/shmget.c: Likewise.
41476         * termios/tcdrain.c: Likewise.
41477         * termios/tcflow.c: Likewise.
41478         * termios/tcflush.c: Likewise.
41479         * termios/tcgetattr.c: Likewise.
41480         * termios/tcgetpgrp.c: Likewise.
41481         * termios/tcsendbrk.c: Likewise.
41482         * termios/tcsetattr.c: Likewise.
41483         * termios/tcsetpgrp.c: Likewise.
41484         * time/adjtime.c: Likewise.
41485         * time/clock.c: Likewise.
41486         * time/getitimer.c: Likewise.
41487         * time/gettimeofday.c: Likewise.
41488         * time/setitimer.c: Likewise.
41489         * time/settimeofday.c: Likewise.
41490         * time/stime.c: Likewise.
41491         * time/time.c: Likewise.
41493 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41495         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41496         /usr/old/bin.
41498         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41499         instead of spaces.
41500         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41502 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41504         [BZ #14796]
41505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41506         FE_TONEAREST before applying Dekker multiplication and Knuth
41507         addition.  Clear inexact exceptions and check for exact zero
41508         results afterwards.
41509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41510         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41512         * math/libm-test.inc (fma_test): Add more tests.
41513         (fma_test_towardzero): Likewise.
41514         (fma_test_downward): Likewise.
41515         (fma_test_upward): Likewise.
41516         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41517         function.
41518         (libc_fesetround): New macro.
41519         (libc_fesetroundf): Likewise.
41520         (libc_fesetroundl): Likewise.
41521         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41522         function.
41523         (libc_fesetround_387): Likewise.
41524         (libc_fesetroundf): New macro.
41525         (libc_fesetround): Likewise.
41526         (libc_fesetroundl): Likewise.
41527         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41528         function.
41529         (libc_fesetroundf): New macro.
41530         (libc_fesetround): Likewise.
41531         (libc_fesetroundl): Likewise.
41532         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41533         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41534         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41535         libm_hidden_ver.
41536         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41537         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41538         libm_hidden_def.
41539         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41540         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41541         libm_hidden_ver.
41542         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41543         libm_hidden_def.
41545         [BZ #3439]
41546         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41547         integer constant usable in #if and use that to give value to enum
41548         constant.
41549         (FE_DIVBYZERO): Likewise.
41550         (FE_UNDERFLOW): Likewise.
41551         (FE_OVERFLOW): Likewise.
41552         (FE_INVALID): Likewise.
41553         (FE_INVALID_SNAN): Likewise.
41554         (FE_INVALID_ISI): Likewise.
41555         (FE_INVALID_IDI): Likewise.
41556         (FE_INVALID_ZDZ): Likewise.
41557         (FE_INVALID_IMZ): Likewise.
41558         (FE_INVALID_COMPARE): Likewise.
41559         (FE_INVALID_SOFTWARE): Likewise.
41560         (FE_INVALID_SQRT): Likewise.
41561         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41562         (FE_TONEAREST): Likewise.
41563         (FE_TOWARDZERO): Likewise.
41564         (FE_UPWARD): Likewise.
41565         (FE_DOWNWARD): Likewise.
41566         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41567         (FE_DIVBYZERO): Likewise.
41568         (FE_OVERFLOW): Likewise.
41569         (FE_UNDERFLOW): Likewise.
41570         (FE_INEXACT): Likewise.
41571         (FE_TONEAREST): Likewise.
41572         (FE_DOWNWARD): Likewise.
41573         (FE_UPWARD): Likewise.
41574         (FE_TOWARDZERO): Likewise.
41575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41576         (FE_UNDERFLOW): Likewise.
41577         (FE_OVERFLOW): Likewise.
41578         (FE_DIVBYZERO): Likewise.
41579         (FE_INVALID): Likewise.
41580         (FE_TONEAREST): Likewise.
41581         (FE_TOWARDZERO): Likewise.
41582         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41583         (FE_OVERFLOW): Likewise.
41584         (FE_UNDERFLOW): Likewise.
41585         (FE_DIVBYZERO): Likewise.
41586         (FE_INEXACT): Likewise.
41587         (FE_TONEAREST): Likewise.
41588         (FE_TOWARDZERO): Likewise.
41589         (FE_UPWARD): Likewise.
41590         (FE_DOWNWARD): Likewise.
41591         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41592         (FE_DIVBYZERO): Likewise.
41593         (FE_OVERFLOW): Likewise.
41594         (FE_UNDERFLOW): Likewise.
41595         (FE_INEXACT): Likewise.
41596         (FE_TONEAREST): Likewise.
41597         (FE_DOWNWARD): Likewise.
41598         (FE_UPWARD): Likewise.
41599         (FE_TOWARDZERO): Likewise.
41601 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41603         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41605 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41607         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41608         commands.  Quote $PWD.
41609         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41610         -x" by "export".
41611         (remove_newlines): Remove.
41613 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41615         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41616         * stdlib/stdlib.h (atof): Moved to ...
41617         * include/bits/stdlib-float.h: Here.  New file.
41618         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41619         * stdlib/bits/stdlib-float.h: New file.
41620         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41621         -mno-sse -mno-mmx.
41622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41623         <xmmintrin.h>.
41625 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41627         * conform/conformtest.pl (@headers): Add fenv.h.
41628         * conform/data/fenv.h-data: New file.
41629         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41630         include of <math/fenv.h>.
41632         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41633         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41634         && !UNIX98].  Enables tests for XOPEN2K8.
41635         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41636         POSIX2008]: Likewise.
41638         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41639         (struct rusage): Do not expect type or its members.
41641         [BZ #3439]
41642         * math/math.h (FP_NAN): Define macro to integer constant usable in
41643         #if and use that to give value to enum constant.
41644         (FP_INFINITE): Likewise.
41645         (FP_ZERO): Likewise.
41646         (FP_SUBNORMAL): Likewise.
41647         (FP_NORMAL): Likewise.
41649 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41651         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41652         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41653         arguments.
41655 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41657         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41658         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41659         autoconf-time if not.
41660         * configure.in: Remove AC_PREREQ.
41662 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41664         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41665         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41666         of the internal implementation.
41668 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41670         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41671         except include of <misc/sys/syslog.h>.
41673 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41676         function returns with a NULL context exit with zero.
41678 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41680         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41682 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41684         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41685         (run_program_cmd): This.
41686         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41687         (tst_langinfo): New variable.  Use it.
41689 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41691         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41692         floating point opcodes.
41694 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41696         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41697         variable.
41699         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41701         * sysdeps/mach/hurd/powerpc: Remove directory.
41702         * sysdeps/mach/powerpc: Likewise.
41704 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41706         * scripts/check-local-headers.sh: Ignore c++ headers.
41708 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41710         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41711         __libc_cleanup_region_start argument.
41713 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41715         [BZ #14784]
41716         [BZ #14785]
41717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41718         x * y using scaling, not as x * y + z.
41719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41721         * math/libm-test.inc (fma_test): Add more tests.
41722         (fma_test_towardzero): Likewise.
41723         (fma_test_downward): Likewise.
41724         (fma_test_upward): Likewise.
41726 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41728         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41730 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41732         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41733         New variable.
41735 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41737         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41739 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41742         Fix sort order.
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41744         Likewise.
41746 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41749         Fix the order of the list for glibc 2.17.
41750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41751         Likewise.
41753 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41757 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41759         [BZ #14610]
41760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41761         for low part of x being zero before using __atanl (y).
41762         * math/libm-test.inc (atan2_test): Add another test.
41764         * manual/install.texi (Configuring and compiling): Document
41765         general use of test-wrapper and test-wrapper-env.
41766         * INSTALL: Regenerated.
41768         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41769         (__fma): Do not extract and scale down low bits on after-rounding
41770         systems when result rounded to normal precision would have normal
41771         exponent.
41772         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41773         (__fmal): Do not extract and scale down low bits on after-rounding
41774         systems when result rounded to normal precision would have normal
41775         exponent.
41776         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41777         (__fmal): Do not extract and scale down low bits on after-rounding
41778         systems when result rounded to normal precision would have normal
41779         exponent.
41780         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41781         macro.
41782         (fma_test): Add more tests.
41783         (fma_test_towardzero): Likewise.
41784         (fma_test_downward): Likewise.
41785         (fma_test_upward): Likewise.
41787 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41789         * sysdeps/i386/tininess.h: Renamed to ...
41790         * sysdeps/x86/tininess.h: This.
41791         * sysdeps/x86_64/tininess.h: Removed.
41793 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41795         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41796         input.  Use $(build-program-cmd).
41797         ($(objpfx)tst-array1-static.out): Likewise.
41798         ($(objpfx)tst-array2.out): Likewise.
41799         ($(objpfx)tst-array3.out): Likewise.
41800         ($(objpfx)tst-array4.out): Likewise.
41801         ($(objpfx)tst-array5.out): Likewise.
41802         ($(objpfx)tst-array5-static.out): Likewise.
41804 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41806         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41807         if defined.
41809         * nss/nsswitch.h (nss_interface_function): Provide new
41810         macro for use with NSS functions.
41811         * grp/initgroups.c: Use new macro.
41812         * nss/getXXbyYY.c: Likewise.
41813         * nss/getXXbyYY_r.c: Likewise.
41814         * nss/getXXent.c: Likewise.
41815         * nss/getXXent_r.c: Likewise.
41816         * sysdeps/posix/getaddrinfo.c: Likewise.
41818 2012-10-30  Andreas Jaeger  <aj@suse.de>
41820         * po/ru.po: Update Russion translation from translation project.
41822 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41824         [BZ #14152]
41825         [BZ #14783]
41826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41827         result and shift together with sticky bit instead of replicating
41828         round-to-nearest rounding.
41829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41831         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41832         missing underflow exceptions.
41833         (fma_test_towardzero): Add more tests.
41834         (fma_test_downward): Likewise.
41835         (fma_test_upward): Likewise.
41837         [BZ #14047]
41838         * sysdeps/generic/tininess.h: New file.
41839         * sysdeps/i386/tininess.h: Likewise.
41840         * sysdeps/sh/tininess.h: Likewise.
41841         * sysdeps/x86_64/tininess.h: Likewise.
41842         * stdlib/tst-strtod-underflow.c: Likewise.
41843         * stdlib/tst-tininess.c: Likewise.
41844         * stdlib/strtod_l.c: Include <tininess.h>.
41845         (round_and_return): Do not set errno for exact underflow cases.
41846         Force an underflow exception when setting errno for underflow.
41847         Determine underflow based on rounding to normal precision if
41848         TININESS_AFTER_ROUNDING.
41849         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41850         ERANGE for exact underflow cases.
41851         * stdlib/Makefile (tests): Add tst-tininess and
41852         tst-strtod-underflow.
41853         ($(objpfx)tst-tininess): Use $(link-libm).
41854         ($(objpfx)tst-strtod-underflow): Likewise.
41856 2012-10-30  Andreas Jaeger  <aj@suse.de>
41858         [BZ#14767]
41859         * elf/Makefile (tests): Remove conditional for have-initfini-array
41860         since this is now always required and the variable does not exist
41861         anymore.
41862         (tests-static): Likewise.
41863         (modules-names): Likewise.
41865         * po/eo.po: Add Esperanto translation from translation project.
41867         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41868         merged with constructor/destructor.
41869         (init_array): Likewise.
41870         * elf/tst-array2dep.c (fini_array): Likewise.
41871         (init_array): Likewise.
41873 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41875         * manual/message.texi: Delete @cartouche tags.
41877 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41879         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41880         EOPNOTSUPP.
41881         * sysdeps/mach/hurd/fsync.c: Likewise.
41883         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41884         [_POSIX_REALTIME_SIGNALS]: Change condition to
41885         [_POSIX_REALTIME_SIGNALS > 0].
41887 2012-10-27  Andreas Jaeger  <aj@suse.de>
41889         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41890         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41891         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41892         [__WORDSIZE != 64]: Likewise.
41894 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41896         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41897         *  iconvdata/tst-tables.sh: Likewise.
41899 2012-10-25  David S. Miller  <davem@davemloft.net>
41901         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41902         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41903         of strtoull.
41905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41906         ifunc-impl-list.c
41907         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41908         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41909         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41910         file.
41912 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41915         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41916         __getdirentries.
41918 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41919             Jim Blandy  <jimb@codesourcery.com>
41921         * scripts/cross-test-ssh.sh: New file.
41922         * manual/install.texi (Configuring and compiling): Document use of
41923         cross-test-ssh.sh.
41924         * INSTALL: Regenerated.
41926 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41928         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41929         EOPNOTSUPP.
41931 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41933         * Makeconfig (run-program-prefix): Fix comment.
41935 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41936             Jim Blandy  <jimb@codesourcery.com>
41938         * Makeconfig (test-wrapper): New variable,
41939         (test-wrapper-env): Likewise.
41940         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41941         (run-built-tests): Define to yes.
41942         (run-program-prefix): Use $(test-wrapper).
41943         (built-program-cmd): Likewise.
41944         * Rules (make-test-out): Use $(test-wrapper-env) and
41945         $(host-built-program-cmd).
41946         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41947         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41948         tst-pathopt.sh.
41949         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41950         $(test-wrapper-env) to tst-rtld-load-self.sh.
41951         ($(objpfx)order2.out): Use $(test-wrapper).
41952         ($(objpfx)tst-initorder.out): Likewise.
41953         ($(objpfx)tst-initorder2.out): Likewise.
41954         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41955         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41956         (test_wrapper_env): New variable.  Use it to run ld.so.
41957         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41958         Use it to run ld.so.
41959         (test_wrapper_env): Likewise.
41960         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41961         $(test-wrapper) to run-iconv-test.sh.
41962         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41963         (ICONV): Use $test_wrapper.
41964         * posix/Makefile ($(objpfx)globtest.out): Pass
41965         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41966         globtest.sh, not $(run-program-prefix).
41967         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41968         (test_wrapper): Likewise.
41969         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41970         set together with run_via_rtld_prefix.
41971         (run_program_prefix): Define in terms of test_wrapper and
41972         run_via_rtld_prefix.
41974 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41976         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41977         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41978         Targets removed.
41980         [BZ #14743]
41981         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41982         Declare __clock_getres, __clock_gettime, __clock_settime,
41983         __clock_nanosleep, and __clock_getcpuclockid.
41984         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41985         Remove librt_hidden_def (clock_gettime).
41986         * sysdeps/unix/clock_gettime.c: Likewise.
41987         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41988         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41989         * rt/clock_getres.c: Define __clock_getres as an alias.
41990         * sysdeps/posix/clock_getres.c: Likewise.
41991         * rt/clock_settime.c: Define __clock_settime as an alias.
41992         * sysdeps/unix/clock_settime.c: Likewise.
41993         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41994         * sysdeps/unix/clock_nanosleep.c: Likewise.
41995         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41996         * rt/clock-compat.c: New file.
41997         * rt/Makefile (librt-routines): Add clock-compat and move
41998         $(clock-routines) to ...
41999         (routines): ... here, new variable.
42000         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42001         Don't add get_clockfreq here.
42002         * rt/Versions (libc: GLIBC_2.17): New version set.
42003         Add clock_* symbols here.
42004         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42006         (GLIBC_2.17): Add clock_* symbols.
42007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42011         Likewise.
42012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42013         Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42018         * NEWS: Mention the move.
42020         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42021         Use __open, __read, __close rather than their public counterparts.
42022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42023         (__get_clockfreq_via_cpuinfo): Likewise.
42024         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42025         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42027         * config.h.in (HAVE_IFUNC): New #undef.
42028         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42029         was successful.
42030         * configure: Regenerated.
42032 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42034         * configure.in: Move READELF check to start of file.
42035         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42036         libc_cv_asm_gnu_indirect_function in the process.
42037         * configure: Regenerated.
42039 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42041         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42042         send the output to /dev/null.
42043         (libc_cv_cc_with_libunwind): Likewise.
42044         (libc_cv_as_noexecstack): Likewise.
42045         * configure: Regenerate.
42047 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42049         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42051         * posix/globtest.sh (TMPDIR): Do not set.
42052         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42053         (testout): Likewise.
42055 2012-10-24  Andreas Jaeger  <aj@suse.de>
42057         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42058         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42059         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42060         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42061         posix_fadvise64, posix_fallocate64.
42063         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42064         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42065         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42066         Likewise.
42067         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42068         Likewise.
42069         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42072         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42073         <bits/fcntl-linux.h>.
42074         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42076         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42077         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42078         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42079         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42080         [__WORDSIZE != 64]: Likewise.
42082 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42084         * Makeconfig (run-built-tests): New variable.
42085         * Rules [$(cross-compiling) = yes]: Change condition to
42086         [$(run-built-tests) = no].
42087         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42088         to [$(run-built-tests) = yes].
42089         * elf/Makefile [$(cross-compiling) = no]: Likewise
42090         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42091         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42092         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42093         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42094         * io/Makefile [$(cross-compiling) = no]: Likewise.
42095         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42096         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42097         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42098         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42099         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42100         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42101         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42102         * string/Makefile [$(cross-compiling) = no]: Likewise.
42104         * posix/Makefile ($(objpfx)globtest.out): Pass
42105         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42106         $(rtld-installed-name).
42107         * posix/globtest.sh (elf_objpfx): Remove variable.
42108         (rtld_installed_name): Likewise.
42109         (library_path): Likewise.
42110         (run_program_prefix): New variable.  Use for running globtest
42111         binary.
42113 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42114             Joseph Myers  <joseph@codesourcery.com>
42116         * Makeconfig (host-built-program-cmd): New variable.
42117         * elf/Makefile (tst-stackguard1-ARGS): Use
42118         $(host-built-program-cmd).
42119         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42120         (tst-spawn-ARGS): Likewise.
42121         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42123 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42124             Jim Blandy  <jimb@codesourcery.com>
42126         * Makeconfig (run-via-rtld-prefix): New variable.
42127         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42128         (built-program-cmd): Likewise.
42130 2012-10-22  Andreas Jaeger  <aj@suse.de>
42132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42133         __O_RSYNC if it exists, otherwise to O_SYNC.
42135 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42136             Joseph Myers  <joseph@codesourcery.com>
42138         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42139         /dev/null.
42140         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42141         from /dev/null
42142         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42143         /dev/null.
42145 2012-10-22  Andreas Jaeger  <aj@suse.de>
42147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42148         Define always.
42149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42152         bits/fcntl-linux.h.
42154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42155         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42158         to __O_LARGEFILE.
42159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42160         to __O_LARGEFILE.
42162 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42163             Joseph Myers  <joseph@codesourcery.com>
42165         * config.make.in (NM): New variable.
42167 2012-10-21  Andreas Jaeger  <aj@suse.de>
42169         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42170         definitions and declarations that are provided by
42171         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42173 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42175         [BZ #14683]
42176         * elf/Makefile (tests-static): Add tst-leaks1-static.
42177         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42178         ($(objpfx)tst-leaks1-static): New rule.
42179         ($(objpfx)tst-leaks1-static-mem): Likewise.
42180         (tst-leaks1-static-ENV): New macro.
42181         * elf/dl-open.c (dl_open_worker): Check the main application
42182         only if SHARED is defined.
42183         * elf/tst-leaks1-static.c: New file.
42185 2012-10-20  Andreas Jaeger  <aj@suse.de>
42187         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42188         generic values for Linux.
42189         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42190         and declarations that are provided by <bits/fcntl-linux.h> and
42191         include <bits/fcntl-linux.h>.
42192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42195 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42197         * io/fcntl.h: Move include of <bits/types.h> to the top and
42198         include it unconditionally.
42200 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42202         * wcsmbs/Makefile (tests-ifunc): New variable.
42203         (tests): Add $(tests-ifunc).
42204         * wcsmbs/test-wcschr-ifunc.c: New file.
42205         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42206         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42207         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42208         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42209         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42211         * string/Makefile (tests-ifunc): New variable.
42212         (tests): Add $(tests-ifunc).
42213         * string/test-memccpy.c (TEST_NAME): New macro.
42214         * string/test-memchr.c (TEST_NAME): Likewise.
42215         * string/test-memcmp.c (TEST_NAME): Likewise.
42216         * string/test-memcpy.c (TEST_NAME): Likewise.
42217         * string/test-memmem.c (TEST_NAME): Likewise.
42218         * string/test-memmove.c (TEST_NAME): Likewise.
42219         * string/test-memset.c (TEST_NAME): Likewise.
42220         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42221         * string/test-stpcpy.c (TEST_NAME): Likewise.
42222         * string/test-stpncpy.c (TEST_NAME): Likewise.
42223         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42224         * string/test-strcasestr.c (TEST_NAME): Likewise.
42225         * string/test-strcat.c (TEST_NAME): Likewise.
42226         * string/test-strchr.c (TEST_NAME): Likewise.
42227         * string/test-strcmp.c(TEST_NAME): Likewise.
42228         * string/test-strcpy.c (TEST_NAME): Likewise.
42229         * string/test-strcspn.c (TEST_NAME): Likewise.
42230         * string/test-strlen.c (TEST_NAME): Likewise.
42231         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42232         * string/test-strncmp.c (TEST_NAME): Likewise.
42233         * string/test-strncpy.c (TEST_NAME): Likewise.
42234         * string/test-strnlen.c (TEST_NAME): Likewise.
42235         * string/test-strpbrk.c (TEST_NAME): Likewise.
42236         * string/test-strrchr.c (TEST_NAME): Likewise.
42237         * string/test-strspn.c (TEST_NAME): Likewise.
42238         * string/test-strstr.c (TEST_NAME): Likewise.
42239         * string/test-bcopy-ifunc.c: New file.
42240         * string/test-bzero-ifunc.c: Likewise.
42241         * string/test-memccpy-ifunc.c: Likewise.
42242         * string/test-memchr-ifunc.c: Likewise.
42243         * string/test-memcmp-ifunc.c: Likewise.
42244         * string/test-memcpy-ifunc.c: Likewise.
42245         * string/test-memmem-ifunc.c: Likewise.
42246         * string/test-memmove-ifunc.c: Likewise.
42247         * string/test-mempcpy-ifunc.c: Likewise.
42248         * string/test-memset-ifunc.c: Likewise.
42249         * string/test-rawmemchr-ifunc.c: Likewise.
42250         * string/test-stpcpy-ifunc.c: Likewise.
42251         * string/test-stpncpy-ifunc.c: Likewise.
42252         * string/test-strcasecmp-ifunc.c: Likewise.
42253         * string/test-strcasestr-ifunc.c: Likewise.
42254         * string/test-strcat-ifunc.c: Likewise.
42255         * string/test-strchr-ifunc.c: Likewise.
42256         * string/test-strchrnul-ifunc.c: Likewise.
42257         * string/test-strcmp-ifunc.c: Likewise.
42258         * string/test-strcpy-ifunc.c: Likewise.
42259         * string/test-strcspn-ifunc.c: Likewise.
42260         * string/test-strlen-ifunc.c: Likewise.
42261         * string/test-strncasecmp-ifunc.c: Likewise.
42262         * string/test-strncat-ifunc.c: Likewise.
42263         * string/test-strncmp-ifunc.c: Likewise.
42264         * string/test-strncpy-ifunc.c: Likewise.
42265         * string/test-strnlen-ifunc.c: Likewise.
42266         * string/test-strpbrk-ifunc.c: Likewise.
42267         * string/test-strrchr-ifunc.c: Likewise.
42268         * string/test-strspn-ifunc.c: Likewise.
42269         * string/test-strstr-ifunc.c: Likewise.
42271         * debug/Makefile (tests-ifunc): New variable.
42272         (tests): Add $(tests-ifunc).
42273         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42274         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42275         * debug/test-stpcpy_chk-ifunc.c: New file.
42276         * debug/test-strcpy_chk-ifunc.c: Likewise.
42278 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42280         [BZ #13601]
42281         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42282         header is not read in.
42284 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42286         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42287         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42288         directly.  Pass built executable to script as
42289         $(built-program-cmd).
42290         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42291         $testprogram without using LD_LIBRARY_PATH and $ldso.
42293         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42294         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42295         $(rtld-installed-name).
42296         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42297         (rtld_installed_name): Likewise.
42298         (library_path): Likewise.
42299         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42300         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42301         $(run-program-prefix) to tst-tables.sh.
42302         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42303         it to run tst-table-from and tst-table-to.
42304         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42305         Pass it to tst-table.sh.
42306         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42307         $(run-program-prefix) to tst-gettext.sh.
42308         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42309         tst-translit.sh.
42310         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42311         tst-gettext2.sh.
42312         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42313         to run tst-gettext.
42314         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42315         to run tst-gettext2.
42316         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42317         to run tst-translit.
42318         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42319         $(run-program-prefix) to tst-mtrace.sh.
42320         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42321         to run tst-mtrace.
42322         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42323         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42324         $(rtld-installed-name).
42325         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42326         (rtld_installed_name): Likewise.
42327         (run_program_prefix): New variable.  Use it to run wordexp-test.
42329         * Makeconfig (ARCH): Remove all definitions.
42330         (machine): Likewise.
42331         [ARCH]: Remove conditional code.
42332         [!objdir]: Give error.
42333         [!objdir] (objpfx): Remove.
42334         [!objdir] (common-objpfx): Likewise.
42335         [!objdir] (common-objdir): Likewise.
42336         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42337         AC_CONFIG_FILES call.
42338         * configure: Regenerated.
42340         [BZ #13888]
42341         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42342         or TMPDIR.
42343         (testout): Likewise.
42345         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42346         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42347         $(rtld-installed-name).
42348         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42349         (rtld_installed_name): Likwise.
42350         (runit): Remove function.
42351         (run_getconf): New variable,  Use it for running getconf binary.
42353 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42355         [BZ #14716]
42356         * string/test-memmem.c (check_result): New function.
42357         (do_one_test): Use it.
42358         (check1): New function.
42359         (test_main): Use it.
42361 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42363         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42365 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42367         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42368         (_G_LSEEK64): Likewise.
42369         (_G_MMAP64): Likewise.
42370         (_G_FSTAT64): Likewise.
42371         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42372         (_G_LSEEK64): Likewise.
42373         (_G_MMAP64): Likewise.
42374         (_G_FSTAT64): Likewise.
42375         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42376         unconditional.  Call __mmap64 directly.
42377         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42378         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42379         __lseek64 directly.
42380         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42381         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42382         __mmap64 directly.
42383         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42384         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42385         __lseek64 directly.
42386         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42387         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42388         __lseek64 directly.
42389         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42390         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42391         __lseek64 directly.
42392         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42393         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42394         __fxstat64 directly.
42395         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42396         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42397         unconditional.
42398         (freopen64) [!_G_OPEN64]: Remove conditional code.
42399         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42400         unconditional.
42401         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42402         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42403         unconditional.
42404         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42405         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42406         unconditional.
42407         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42408         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42409         unconditional.
42410         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42411         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42412         unconditional.
42413         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42414         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42415         unconditional.
42416         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42417         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42418         unconditional.
42419         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42421 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42423         [BZ #12140]
42424         * manual/memory.texi (Malloc Tunable Parameters): Add note
42425         about free list pointers overwriting some perturb bytes.
42426         Wording suggested by Roland McGrath.
42428 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42430         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42431         (lgamma_test): Likewise.
42432         (tgamma_test): Likewise.
42434 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42436         [BZ #14700]
42437         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42438         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42440 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42442         * NEWS: Mention BZ #14716.
42443         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42444         when removing AVAILABLE1_USES_J macro.
42446 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42448         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42449         (__bswap_64): __uint64_t for unsigned 64-bit int.
42451 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42453         * include/string.h (memmem): Declare libc hidden alias.
42454         * string/memmem.c (memmem): Define libc hidden alias.
42455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42456         __read, __close instead of open, read, close.
42458 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42461         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42462         global and hidden.
42463         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42464         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42465         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42466         Likewise.
42467         (__rawmemchr_sse2): Likewise.
42468         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42469         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42470         (__strchr_sse2): Likewise.
42471         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42472         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42473         (__strcasecmp_sse2): Likewise.
42474         (__strncasecmp_sse2): Likewise.
42475         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42476         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42477         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42478         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42479         (__strrchr_sse2): Likewise.
42480         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42481         ifunc-impl-list.c.
42482         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42483         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42484         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42485         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42486         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42487         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42490         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42491         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42492         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42493         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42494         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42495         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42496         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42497         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42498         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42499         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42500         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42501         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42502         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42503         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42504         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42505         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42506         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42507         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42508         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42509         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42510         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42511         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42513         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42514         global and hidden.
42515         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42516         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42517         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42518         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42519         Likewise.
42520         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42521         Likewise.
42522         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42523         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42524         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42525         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42526         ifunc-impl-list.c.
42527         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42528         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42529         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42530         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42531         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42533         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42534         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42535         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42536         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42537         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42538         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42539         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42540         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42541         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42542         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42543         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42544         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42545         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42546         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42547         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42548         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42550         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42551         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42552         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42553         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42554         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42555         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42556         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42557         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42558         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42559         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42560         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42561         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42562         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42563         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42564         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42567         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42569         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42570         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42571         * include/ifunc-impl-list.h: New file.
42572         * misc/ifunc-impl-list.c: Likewise.
42573         * misc/Makefile (routines): Add ifunc-impl-list.
42574         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42575         * string/test-string.h: Include <ifunc-impl-list.h>.
42576         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42577         TEST_NAME]: New variables.
42578         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42579         are defined.
42580         (test_init): Call __libc_ifunc_impl_list to initialize
42581         func_list if TEST_IFUNC and TEST_NAME are defined.
42583         * string/Makefile (strop-tests): Add bcopy and bzero.
42584         * string/test-bcopy.c: New file.
42585         * string/test-bzero.c: Likewise.
42586         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42587         defined.
42588         * string/test-memset.c: Support bzero test if TEST_BZERO is
42589         defined.
42590         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42591         __libc_memmove.
42592         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42593         __libc_memset.
42594         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42595         of memset.
42597 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42599         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42600         * configure: Regenerated.
42602         * Makeconfig (+link-static-before-libc): Don't include
42603         $(link-static-libc).
42605         * libio/libio.h (_IO_pos_t): Remove.
42607 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42609         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42610         McGrath.
42612 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42614         * crypt/crypt-entry.c: Include fips-private.h.
42615         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42616         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42617         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42618         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42620 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42622         * crypt/crypt-private.h: Include stdbool.h.
42623         (_ufc_setup_salt_r): Return bool.
42624         * crypt/crypt-entry.c: Include errno.h.
42625         (__crypt_r): Return NULL with EINVAL for bad salt.
42626         * crypt/crypt_util.c (bad_for_salt): New.
42627         (_ufc_setup_salt_r): Check that salt is long enough and within
42628         the specified alphabet.
42629         * crypt/badsalttest.c: New file.
42630         * crypt/Makefile (tests): Add it.
42631         ($(objpfx)badsalttest): New.
42633 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42635         * NEWS: Add entry for BZ #14602.
42637 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42639         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42640         type-generic.
42641         * math/libm-test.inc: Update comment listing what functions and
42642         macros are tested.
42643         (isgreater_test): New function.
42644         (isgreaterequal_test): Likewise.
42645         (isless_test): Likewise.
42646         (islessequal_test): Likewise.
42647         (islessgreater_test): Likewise.
42648         (isunordered_test): Likewise.
42649         (main): Call the new functions.
42651 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42653         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42654         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42655         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42656         * sysdeps/i386/configure: Regenerated.
42657         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42658         * sysdeps/mach/configure: Regenerated.
42659         * sysdeps/mach/hurd/configure: Regenerated.
42660         * sysdeps/powerpc/configure: Regenerated.
42661         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42662         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42663         * sysdeps/s390/s390-32/configure: Regenerated.
42664         * sysdeps/s390/s390-64/configure: Regenerated.
42665         * sysdeps/sh/configure: Regenerated.
42666         * sysdeps/sparc/configure: Regenerated.
42667         * sysdeps/unix/sysv/linux/configure: Regenerated.
42668         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42669         * sysdeps/x86_64/configure: Regenerated.
42671         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42672         defined.  Don't check if MAP is NULL.
42674 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42676         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42677         (_G_stat64): Likewise.
42678         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42679         (_G_stat64): Likewise.
42680         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42681         instead of struct _G_stat64.
42682         * libio/fileops.c (mmap_remap_check): Likewise.
42683         (decide_maybe_mmap): Likewise.
42684         (_IO_new_file_seekoff): Likewise.
42685         (_IO_file_stat): Likewise.
42686         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42687         _G_off64_t.
42688         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42689         instead of struct _G_stat64.
42690         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42692 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42694         [BZ #14602]
42695         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42696         Replace with ...
42697         (CHECK_EOL): New macro.
42698         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42699         CHECK_EOL.
42700         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42701         Replace with CHECK_EOL.
42702         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42703         Replace with CHECK_EOL.
42705 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42707         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42708         type-generic.
42709         * math/libm-test.inc: Update comment listing what functions and
42710         macros are tested.
42711         (finite_test): New function.
42712         (isinf_test): Likewise.
42713         (isnan_test): Likewise.
42714         (fpclassify_test): Test subnormal input.
42715         (isfinite_test): Likewise.
42716         (isnormal_test): Likewise.
42717         (main): Call the new functions.
42719 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42721         [BZ #14660]
42722         * Makerules (%.dynsym): Force C locale when running
42723         $(OBJDUMP) --dynamic-syms.
42725 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42727         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42728         <stdint.h>.
42730 2012-10-06  David S. Miller  <davem@davemloft.net>
42732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42733         upper 32-bits of the length value in %o2 since we use branch-on-register
42734         tests which consider the entire 64-bit register.
42736 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42738         * string/test-strstr.c (check2): Add a test for page boundary.
42740 2012-10-05  David S. Miller  <davem@davemloft.net>
42742         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42743         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42744         file.
42745         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42746         sysdep_routines.
42747         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42748         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42749         and bzero when HWCAP_SPARC_CRYPTO is present.
42751 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42753         [BZ #14602]
42754         * string/test-strstr.c (check2): New function.
42755         (test_main): Call check2.
42757         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42758         and bug-strchr1.
42759         * string/bug-strcasestr1.c (do_test): Moved to ...
42760         * string/test-strcasestr.c (check1): Here.  New function.
42761         (do_one_test): Break out result checking code into ...
42762         (check_result): This.  New function.
42763         (do_one_test): Call check_result.
42764         (test_main): Call check1.
42765         * string/bug-strchr1.c (do_test): Moved to ...
42766         * string/test-strchr.c (check1): Here.  New function.
42767         (do_one_test): Break out result checking code into ...
42768         (check_result): This.  New function.
42769         (do_one_test): Call check_result.
42770         (test_main): Call check1.
42771         * string/bug-strstr1.c (main): Moved to ...
42772         * string/test-strstr.c (check1): Here.  New function.
42773         (do_one_test): Break out result checking code into ...
42774         (check_result): This.  New function.
42775         (do_one_test): Call check_result.
42776         (test_main): Call check1.
42777         * string/bug-strcasestr1.c: Removed.
42778         * string/bug-strchr1.c: Likewise.
42779         * string/bug-strstr1.c: Likewise.
42781         * elf/Makefile (dl-routines): Add hwcaps.
42782         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42783         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42784         (_dl_important_hwcaps): Moved to ...
42785         * elf/dl-hwcaps.c: Here.  New file.
42786         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42788         [BZ #14557]
42789         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42790         if IS_IN_rtld isn't defined.
42792         * elf/dl-support.c (_dl_sysinfo_map): New.
42793         Include "get-dynamic-info.h" and "setup-vdso.h".
42794         (_dl_non_dynamic_init): Call setup_vdso.
42795         * elf/dynamic-link.h: Don't include <assert.h>.
42796         (elf_get_dynamic_info): Moved to ...
42797         * elf/get-dynamic-info.h: Here.  New file.
42798         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42799         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42800         * elf/setup-vdso.h: Here.  New file.
42801         * elf/rtld.c: Include "setup-vdso.h".
42802         (dl_main): Call setup_vdso.
42804 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42806         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42807         creal in comment listing functions tested.  List finite, isinf,
42808         isnan, isless, islessequal, isgreater, isgreaterequal,
42809         islessgreater, isunordered, lgamma_r and pow10 as functions and
42810         macros not tested.  Mention which functions not tested are aliases
42811         for other functions.  Fix typo.  Note that signs of NaNs are not
42812         tested.
42814         * scripts/config.guess: Update from config.git.
42815         * scripts/config.sub: Likewise.
42817 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42819         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42820         * misc/madvise.c (madvise): Renamed to __madvise.
42821         Make madvise a weak alias.
42822         * include/sys/mman.h: Declare __madvise.
42823         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42824         * sysdeps/unix/syscalls.list
42825         (madvise): Make __madvise the strong name, and madvise a weak alias.
42826         * sysdeps/unix/sysv/linux/syscalls.list
42827         (madvise, mmap): Remove redundant entries.
42828         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42829         * malloc/malloc.c (mtrim): Likewise.
42830         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42832 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42834         * sysdeps/mach/hurd/dl-cache.c: File removed.
42835         * config.h.in (USE_LDCONFIG): New #undef.
42836         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42837         * configure: Regenerated.
42838         * elf/Makefile (dl-routines): Add dl-cache only under
42839         [$(use-ldconfig) = yes].
42840         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42841         cache on [USE_LDCONFIG].
42842         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42843         [USE_LDCONFIG].
42844         * elf/rtld.c (dl_main): Likewise.
42846 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42848         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42849         _SC_LEVEL4_CACHE_LINESIZE.
42851 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42853         * sysdeps/unix/bsd/confstr.h: File removed.
42855 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42857         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42858         sys/sdt-config.h.
42860 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42862         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42863         Make 'mapoff' field ElfW(Off) rather than off_t.
42865 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42867         * nscd/Makefile: Remove nscd-cflags and all its users.
42868         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42869         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42871         [BZ #10631]
42872         * malloc.c (malloc_printerr): Clarify error message.
42874 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42876         [BZ #14648]
42877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42878         Set bit_FMA_Usable if FMA is supported.
42879         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42880         macro.
42881         (bit_FMA4_Usable): Updated.
42882         (index_FMA_Usable): New macro.
42883         (CPUID_FMA): Likewise
42884         (HAS_FMA): Defined with bit_FMA_Usable.
42886 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42888         * bits/types.h (__swblk_t): Type removed.
42889         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42890         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42892         (__SWBLK_T_TYPE): Likewise.
42893         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42894         (__SWBLK_T_TYPE): Likewise.
42895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42896         (__SWBLK_T_TYPE): Likewise.
42897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42898         (__SWBLK_T_TYPE): Likewise.
42900 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42901             Honza Horak <hhorak@redhat.com>
42903         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42904         (xdr_mapname): Use YPMAXMAP as maxsize.
42905         (xdr_peername): Use YPMAXPEER as maxsize.
42906         (xdr_keydat): Use YPAXRECORD as maxsize.
42907         (xdr_valdat): Use YPMAXRECORD as maxsize.
42909 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42911         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42913         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42914         * csu/init-first.c: ... here.
42915         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42916         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42917         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42918         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42919         * sysdeps/i386/init-first.c: File removed.
42920         * sysdeps/sh/init-first.c: File removed.
42922 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42924         [BZ #14645]
42925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42926         if x * y might underflow to zero and z is zero.
42927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42929         * math/libm-test.inc (min_subnorm_value): New variable.
42930         (fma_test): Add more tests.
42931         (fma_test_towardzero): Likewise.
42932         (fma_test_downward): Likewise
42933         (fma_test_upward): Likewise.
42934         (initialize): Set min_subnorm_value.
42936 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42938         [BZ #14638]
42939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42940         0 + 0.
42941         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42942         mode for addition resulting in exact zero.
42943         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42945         exact 0 + 0.
42946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42948         * math/libm-test.inc (fma_test): Add more tests.
42949         (fma_test_towardzero): New function.
42950         (fma_test_downward): Likewise.
42951         (fma_test_upward): Likewise.
42952         (main): Call the new functions.
42954 2012-09-28  David S. Miller  <davem@davemloft.net>
42956         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42958 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42960         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42961         instead of SIGALRM.
42963         * sysdeps/gnu/_G_config.h: Moved to ...
42964         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42965         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42966         * sysdeps/generic/_G_config.h: ... here.
42968         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42970         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42972         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42973         Conditionalize target on [libnss_test1.so-version].
42975         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42977         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42978         (elfobjdir): Move out of conditionals.
42980         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42981         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42982         (__nss_lookup_function): Conditionalize label remove_from_tree on
42983         [!DO_STATIC_NSS || SHARED], matching its only use.
42985 2012-09-28  David S. Miller  <davem@davemloft.net>
42987         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42988         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42989         file.
42990         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42991         sysdep_routines.
42992         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42994         when HWCAP_SPARC_CRYPTO is present.
42996 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42998         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43000 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43002         [BZ #6530]
43003         * stdio-common/vfprintf.c (process_string_arg): Revert
43004         2000-07-22 change.
43006 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43008         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43009         for testcase.
43010         * stdio-common/tst-sprintf.c: Include <locale.h>
43011         (main): Test sprintf's handling of incomplete multibyte
43012         characters.
43014 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43016         * elf/dl-runtime.c (VERSYMIDX): Removed.
43017         * elf/dl-version.c (VERSYMIDX): Likewise.
43018         * elf/do-rel.h (VERSYMIDX): Likewise.
43019         (VALIDX): Likewise.
43020         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43021         * elf/rtld.c (VALIDX): Likewise.
43022         (ADDRIDX): Likewise.
43023         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43024         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43025         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43026         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43027         (VALIDX): Likewise.
43028         (ADDRIDX): Likewise.
43030 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43032         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43034 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43036         [BZ #11438]
43037         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43038         to global scope.
43039         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43040         addresses are in the same scope as 192.0.2/24.
43041         * posix/gai.conf: Document new scope table defaults.
43043 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43045         [BZ #5298]
43046         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43047         for ftell.  Compute offsets from write pointers instead.
43048         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43050 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43052         [BZ #14543]
43053         * libio/Makefile (tests): New test case tst-fseek.
43054         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43055         combination works in wide mode.
43056         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43057         state when the external buffer state changes.
43059 2012-09-27  David S. Miller  <davem@davemloft.net>
43061         [BZ #14376]
43062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43063         pass reloc->r_addend in as the 'high' argument to
43064         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43068 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43070         * rt/tst-aio2.c: Include <pthread.h>.
43071         * rt/tst-aio3.c: Likewise.
43073 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43075         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43077 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43079         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43080         contents on [SHARED].
43082 2012-09-26  Marek Polacek  <polacek@redhat.com>
43084         [BZ #14530]
43085         [BZ #13741]
43086         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43087         for C++ and GCC <4.3 as well as for non GCC compilers.
43089 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43093 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43095         * Makefile.in (all, install): Declare with .PHONY.
43096         Reported by Michael Hope <michael.hope@linaro.org>.
43098 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43100         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43101         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43102         system header.
43103         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43104         Likewise.
43105         (sydep_routines): Add the new and the internal functions.
43106         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43107         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43109         (GLIBC_2.17): Add the new function.
43110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43111         (GLIBC_2.17): Likewise.
43112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43113         (GLIBC_2.17): Likewise.
43114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43115         (GLIBC_2.17): Likewise.
43116         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43118 2012-09-25  Alan Modra  <amodra@gmail.com>
43120         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43121         Add release barrier before setting once_control to say
43122         initialisation is done.  Add hints on lwarx.  Use macro in
43123         place of isync.
43124         (clear_once_control): Add release barrier.
43126 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43128         [BZ #13629]
43129         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43130         specially.
43131         * math/s_clog10.c (__clog10): Likewise.
43132         * math/s_clog10f.c (__clog10f): Likewise.
43133         * math/s_clog10l.c (__clog10l): Likewise.
43134         * math/s_clogf.c (__clogf): Likewise.
43135         * math/s_clogl.c (__clogl): Likewise.
43136         * math/Makefile (libm-calls): Add x2y2m1.
43137         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43138         (__x2y2m1): Likewise.
43139         (__x2y2m1l): Likewise.
43140         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43141         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43143         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43144         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43145         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43146         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43147         * sysdeps/i386/fpu/libm-test-ulps: Update.
43148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43150         [BZ #14621]
43151         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43152         int as type of variable DEPTH.
43153         (glob): Use size_t instead of int as type of variables NEWCOUNT
43154         and OLD_PATHC.
43156 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43158         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43159         Add s_sincosf-sse2.
43160         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43161         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43162         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43163         macros for using routine as __sincosf_ia32.
43164         Use macro for function declaration and weak_alias.
43165         * sysdeps/i386/fpu/libm-test-ulps: Update.
43167         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43170         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43171         subnormal argument.
43172         * math/s_cexpf.c (__cexpf): Likewise.
43173         * math/s_csinf.c (__csinf): Likewise.
43174         * math/s_csinhf.c (__csinhf): Likewise.
43175         * math/s_ctanf.c (__ctanf): Likewise.
43176         * math/s_ctanhf.c (__ctanhf): Likewise.
43177         * math/s_ccosh.c (__ccoshf): Likewise.
43178         * math/s_cexp.c (__cexpl): Likewise.
43179         * math/s_csin.c (__csin): Likewise.
43180         * math/s_csinh.c (__csinh): Likewise.
43181         * math/s_ctan.c (__ctan): Likewise.
43182         * math/s_ctanh.c (ctanh): Likewise.
43183         * math/s_ccoshl.c (__ccoshl): Likewise.
43184         * math/s_cexpl.c (__cexpl): Likewise.
43185         * math/s_csinl.c (__csinl): Likewise.
43186         * math/s_csinhl.c (__csinhl): Likewise.
43187         * math/s_ctanl.c (__ctanl): Likewise.
43188         * math/s_ctanhl.c (__ctanhl): Likewise.
43190 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43192         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43193         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43194         (_IO_off_t): Define to __off_t, not _G_off_t.
43195         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43196         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43197         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43198         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43199         type of __dummy and __dummy2 fields.
43200         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43201         (_G_ssize_t): Likewise.
43202         (_G_off_t): Likewise.
43203         (_G_pid_t): Likewise.
43204         (_G_uid_t): Likewise.
43205         (_G_wchar_t): Likewise.
43206         (_G_wint_t): Likewise.
43207         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43208         (_G_ssize_t): Likewise.
43209         (_G_off_t): Likewise.
43210         (_G_pid_t): Likewise.
43211         (_G_uid_t): Likewise.
43212         (_G_wchar_t): Likewise.
43213         (_G_wint_t): Likewise.
43214         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43215         (_G_ssize_t): Likewise.
43216         (_G_off_t): Likewise.
43217         (_G_pid_t): Likewise.
43218         (_G_uid_t): Likewise.
43219         (_G_wchar_t): Likewise.
43220         (_G_wint_t): Likewise.
43222 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43224         * malloc/arena.c: Include malloc-sysdep.h.
43225         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43226         is sufficient to shrink the heap or an unmap is needed.
43227         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43228         new function check_may_shrink_heap.
43229         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43230         new function check_may_shrink_heap.
43232 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43234         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43235         comments.
43237 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43239         * catgets/test-gencat.sh: Add "set -e".
43240         * elf/tst-pathopt.sh: Likewise.
43241         * grp/tst_fgetgrent.sh: Likewise.
43242         * iconvdata/run-iconv-test.sh: Likewise.
43243         * intl/tst-gettext.sh: Likewise.
43244         * intl/tst-gettext2.sh: Likewise.
43245         * intl/tst-gettext4.sh: Likewise.
43246         * intl/tst-gettext6.sh: Likewise.
43247         * intl/tst-translit.sh: Likewise.
43248         * io/ftwtest-sh: Likewise.
43249         * libio/test-freopen.sh: Likewise.
43250         * malloc/tst-mtrace.sh: Likewise.
43251         * posix/globtest.sh: Likewise.
43252         * posix/tst-getconf.sh: Likewise.
43253         * posix/wordexp-tst.sh: Likewise.
43254         * stdio-common/tst-printf.sh: Likewise.
43255         * stdio-common/tst-unbputc.sh: Likewise.
43256         * stdlib/tst-fmtmsg.sh: Likewise.
43257         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43258         * catgets/Makefile: Do not specify -e option when running
43259         testsuite shell scripts.
43260         * elf/Makefile: Likewise.
43261         * grp/Makefile: Likewise.
43262         * iconvdata/Makefile: Likewise.
43263         * intl/Makefile: Likewise.
43264         * io/Makefile: Likewise.
43265         * libio/Makefile: Likewise.
43266         * malloc/Makefile: Likewise.
43267         * posix/Makefile: Likewise.
43268         * stdio-common/Makefile: Likewise.
43269         * stdlib/Makefile: Likewise.
43270         * sysdeps/x86_64/Makefile: Likewise.
43272         * io/ftwtest-sh: Add copyright header.
43273         * posix/globtest.sh: Likewise.
43274         * posix/tst-getconf.sh: Likewise.
43275         * posix/wordexp-tst.sh: Likewise.
43276         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43278 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43280         [BZ #13679]
43281         * Makeconfig (+link): Defined as $(+link-static) if
43282         $(build-shared) isn't yes.
43283         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43284         isn't yes.
43285         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43287         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43289         [BZ #14562]
43290         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43291         new chunk size with MALLOC_ALIGN_MASK.
43293 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43295         [BZ #5044]
43296         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43297         <rounding-mode.h>.
43298         (__printf_fphex): Determine rounding using get_rounding_mode and
43299         round_away.
43300         * stdio-common/tst-printf-round.c (struct hex_test): New
43301         structure.
43302         (hex_tests): New variable.
43303         (test_hex_in_one_mode): New function.
43304         (do_test): Also run tests for hex float output.
43306 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43308         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43309         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43310         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43311         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43312         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43313         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43314         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43315         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43317 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43319         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43320         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43321         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43322         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43324 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43326         [BZ #14579]
43327         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43328         mode only.
43329         * elf/tst-rtld-load-self.sh: New test.
43330         * elf/Makefile: Run it.
43332 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43334         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43335         (tst-writev-ENV): Remove.
43336         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43338 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43340         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43342 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43344         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43345         unconditional.
43346         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43347         Likewise.
43348         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43349         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43350         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43351         Likewise.
43353 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43355         [BZ #14587]
43356         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43357         * config.make.in (have-cpp-asm-debuginfo): Removed.
43358         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43359         * configure: Regenerated.
43361 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43363         [BZ #5044]
43364         * stdio-common/printf_fp.c: Include <stdbool.h> and
43365         <rounding-mode.h>.
43366         (___printf_fp): Determine rounding using get_rounding_mode and
43367         round_away.
43368         * stdio-common/tst-printf-round.c: New file.
43369         * stdio-common/Makefile (tests): Add tst-printf-round.
43370         (link-libm): New variable.
43371         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43373 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43375         [BZ #14576]
43376         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43377         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43378         Likewise.
43379         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43380         Likewise.
43382 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43384         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43385         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43386         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43387         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43389 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43391         [BZ #14518]
43392         * include/rounding-mode.h: New file.
43393         * sysdeps/generic/get-rounding-mode.h: Likewise.
43394         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43395         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43396         (MAX_VALUE): New macro.
43397         (MIN_VALUE): Likewise.
43398         (overflow_value): New function.
43399         (underflow_value): Likewise.
43400         (round_and_return): Use overflow_value and underflow_value to
43401         determine return values in overflow and underflow cases.  Use
43402         round_away to determine rounding depending on rounding mode.
43403         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43404         determine return values in overflow and underflow cases.
43405         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43406         (struct test_results): New structure.
43407         (struct test): Use struct test_results to store expected results
43408         for all rounding modes.
43409         (TEST): Include expected results for all rounding modes.
43410         (test_in_one_mode): New function.
43411         (do_test): Use test_in_one_mode to compute and check results.
43412         Check results for all rounding modes.
43413         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43414         $(link-libm).
43416 2012-12-09  Allan McRae  <allan@archlinux.org>
43418         * sysdeps/i386/fpu/libm-test-ulps: Update
43420 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43422         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43423         (_G_int32_t): Likewise.
43424         (_G_uint16_t): Likewise.
43425         (_G_uint32_t): Likewise.
43426         (_G_HAVE_BOOL): Likewise.
43427         (_G_HAVE_ATEXIT): Likewise.
43428         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43429         (_G_HAVE_IO_FILE_OPEN): Likewise.
43430         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43431         (_G_int32_t): Likewise.
43432         (_G_uint16_t): Likewise.
43433         (_G_uint32_t): Likewise.
43434         (_G_HAVE_BOOL): Likewise.
43435         (_G_HAVE_ATEXIT): Likewise.
43436         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43437         (_G_HAVE_IO_FILE_OPEN): Likewise.
43438         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43439         (_G_int32_t): Likewise.
43440         (_G_uint16_t): Likewise.
43441         (_G_uint32_t): Likewise.
43442         (_G_HAVE_BOOL): Likewise.
43443         (_G_HAVE_ATEXIT): Likewise.
43444         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43445         (_G_HAVE_IO_FILE_OPEN): Likewise.
43447 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43449         * csu/libc-tls.c: Update copyright years.
43451 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43453         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43454         [!_G_USING_THUNKS]: Remove conditional code.
43455         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43456         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43458         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43459         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43460         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43461         (_G_VTABLE_LABEL_PREFIX): Likewise.
43462         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43463         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43464         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43465         (_G_VTABLE_LABEL_PREFIX): Likewise.
43466         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43467         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43468         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43469         (_G_VTABLE_LABEL_PREFIX): Likewise.
43470         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43472 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43474         * libio/Makefile: Include ../Makeconfig before tests.
43475         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43476         only if $(build-shared) is yes.
43478         * iconv/gconv_db.c: Update copyright years.
43480 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43482         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43483         unwind info if defined PIC. Fix special cases description.
43484         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43486         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43487         DP_HI_MASK entry.
43488         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43490 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43492         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43494         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43495         is NULL.
43497         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43498         (LDLIBS-tst-chk4): This.
43499         (LDFLAGS-tst-chk5): Renamed to ...
43500         (LDLIBS-tst-chk5): This.
43501         (LDFLAGS-tst-chk6): Renamed to ...
43502         (LDLIBS-tst-chk6): This.
43503         (LDFLAGS-tst-lfschk4): Renamed to ...
43504         (LDLIBS-tst-lfschk4): This.
43505         (LDFLAGS-tst-lfschk5): Renamed to ...
43506         (LDLIBS-tst-lfschk5): This.
43507         (LDFLAGS-tst-lfschk6): Renamed to ...
43508         (LDLIBS-tst-lfschk6): This.
43510         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43511         on $(common-objpfx)soversions.mk.
43513 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #10014]
43516         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43517         example host name.
43519 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43521         * malloc/arena.c (arena_get_retry): New function that gets
43522         another arena for the caller to try its request on.
43523         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43524         current arena cannot fulfill the request.
43525         (__libc_memalign): Likewise.
43526         (__libc_memalign): Likewise.
43527         (__libc_pvalloc): Likewise.
43528         (__libc_calloc): Likewise.
43530 2012-09-05  John Tobey  <john.tobey@gmail.com>
43532         [BZ #13542]
43533         * manual/arith.texi (Operations on Complex): Fix description
43534         of carg branch cut.
43536 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43538         [BZ #10014]
43539         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43540         host name.
43542         [BZ #10038]
43543         * manual/memory.texi (Memory): Make order of menu items match
43544         order of sections.
43546 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43548         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43549         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43550         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43552 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43554         * csu/libc-tls.c (static_dtv): Renamed to ...
43555         (_dl_static_dtv): This.  Make it global.
43556         (_dl_initial_dtv): Removed.
43557         (__libc_setup_tls): Updated.
43558         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43559         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43560         DL_INITIAL_DTV.
43562 2012-09-06  Petr Machata  <pmachata@redhat.com>
43564         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43565         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43566         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43567         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43569 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43571         [BZ #14545]
43572         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43573         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43574         freeing dtv[-1].
43576 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43578         [BZ #14544]
43579         * Makeconfig (link-static-before-libc): Replace $(+prector)
43580         with $(+prectorT).
43581         (link-static-after-libc): Replace $(+postctor) with
43582         $(+postctorT).
43583         (link-bounded): Replace $(+prector)/$(+postctor) with
43584         $(+prectorT)/$(+postctorT).
43585         (+prectorT): New macro.
43586         (+postctorT): Likewise.
43588 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43590         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43591         (round_str): Handle values above the maximum for IBM long double
43592         as inexact.
43593         * stdlib/tst-strtod-round.c (tests): Regenerated.
43595 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43597         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43598         assembler flag.
43599         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43600         zarch_nohighgprs around the zarch optimized routines.
43601         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43602         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43604         for zarch.
43606 2012-09-05  David S. Miller  <davem@davemloft.net>
43608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43610         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43611         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43612         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43613         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43614         entries.
43616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43618         * malloc/arena.c: Fold copyright years.
43619         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43621 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43623         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43625 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43627         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43629 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43631         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43632         change internal state upon failure.
43634 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43636         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43637         * malloc/memusage.c (mmap): Likewise.
43638         (mmap64, mremap): Likewise.  Adjust name in comment.
43640 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43642         * libio/fileops.c: Fix typos in comments.
43643         * libio/oldfileops.c: Likewise.
43644         * libio/wfileops.c: Likewise.
43646 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43648         [BZ #1349]
43649         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43650         (tst-malloc-usable-ENV): Set environment for test case.
43651         * malloc/hooks.c (malloc_check_get_size): New function to get
43652         requested size.
43653         * malloc/malloc.c (musable): Use malloc_check_get_size.
43654         * malloc/tst-malloc-usable.c: New test case.
43656 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43658         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43660 2012-09-05  Allan McRae  <allan@archlinux.org>
43662         [BZ #13966]
43663         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43664         determine header location.
43665         * configure: Regenerated.
43667 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43669         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43670         float format.
43671         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43672         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43673         format.
43674         (test): Regenerate.
43676 2012-09-04  David S. Miller  <davem@davemloft.net>
43678         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43679         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43680         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43682 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43684         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43685         failures.
43687         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43689 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43691         [BZ #9914]
43692         * libio/iogetdelim.c: Include <limits.h>.
43693         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43694         + len + 1 would overflow.
43696 2012-09-03  Andreas Jaeger  <aj@suse.de>
43698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43699         * sysdeps/i386/fpu/libm-test-ulps: Update.
43701 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43703         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43704         Add s_sinf-sse2, s_conf-sse2.
43706         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43707         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43708         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43709         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43711         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43712         for using routine as __sinf_ia32.
43713         Use macro for function declaration and weak_alias.
43714         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43715         for using routine as __cosf_ia32.
43716         Use macro for function declaration and weak_alias.
43718         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43719         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43721         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43722         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43725         * math/libm-test.inc (cos_test): Add more test cases.
43726         (sin_test): Likewise.
43727         (sincos_test): Likewise.
43729 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43732         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43733         hidden.
43734         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43736 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43738         [BZ #14538]
43739         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43740         first element of the GOT.
43741         (elf_machine_load_address): Return the difference between
43742         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43744 2012-09-01  Allan McRae  <allan@archlinux.org>
43746         [BZ #13412]
43747         * configure.in (AWK): Require gawk version 3.0 or later.
43748         * configure: Regenerated.
43750 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43752         * sysdeps/unix/sysv/linux/kernel-features.h
43753         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43755         [__NR_clock_getres]: Make code unconditional.
43756         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43757         (clock_getcpuclockid): Remove code left unreachable by removal of
43758         conditionals.
43759         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43760         code unconditional.
43761         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43762         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43763         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43764         Make code unconditional.
43765         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43766         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43767         * sysdeps/unix/sysv/linux/clock_settime.c
43768         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43769         conditional code.
43770         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43771         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43773 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43775         [BZ #14476]
43776         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43777         scripts/test-installation.pl.
43779         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43780         and $ld_so_version if it is set.
43782 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43784         [BZ #14516]
43785         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43786         failure if reading from procfs failed.
43787         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43789 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43791         * sysdeps/unix/sysv/linux/kernel-features.h
43792         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43793         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43794         Remove conditional code.
43795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43796         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43797         Remove conditional code.
43798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43799         * sysdeps/unix/sysv/linux/i386/fxstat.c
43800         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43802         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43803         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43805         * sysdeps/unix/sysv/linux/i386/lxstat.c
43806         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43808         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43809         Remove conditional code.
43810         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43811         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43812         Remove conditional code.
43813         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43814         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43815         <kernel-features.h>.
43816         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43817         Remove.
43818         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43819         Remove conditional code.
43820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43821         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43822         Remove conditional.
43824 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43826         [BZ #5400]
43827         * NEWS: Add fixed bug number.
43829 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43831         [BZ #14519]
43832         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43833         underflowing exponent in case of negative sign.
43834         * stdlib/tst-strtod-round-data: Add more tests.
43835         * stdlib/tst-strtod-round.c (tests): Regenerated.
43837         [BZ #3479]
43838         * stdlib/strtod_l.c (NDIG): Remove.
43839         (HEXNDIG): Likewise.
43840         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43841         smallest representable value.
43842         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43843         lie within an exact representation of 1/2 ulp of the result.
43844         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43845         unconditionally.
43846         (TENS_P9_IDX): Define unconditionally.
43847         (TENS_P9_SIZE): Likewise.
43848         (TENS_P10_IDX): Likewise.
43849         (TENS_P10_SIZE): Likewise.
43850         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43851         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43852         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43853         entries for 10^2^13 and 10^2^14.
43854         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43855         (TENS_P13_IDX): Define.
43856         (TENS_P13_SIZE): Likewise.
43857         (TENS_P14_IDX): Likewise.
43858         (TENS_P14_SIZE): Likewise.
43859         (_fpioconst_pow10): Change array size to
43860         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43861         unconditional.
43862         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43863         1024]: Add entries for 10^2^13 and 10^2^14.
43864         [LAST_POW10 > _LAST_POW10]: Remove #error.
43865         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43866         (_fpioconst_pow10): Change array size to
43867         FPIOCONST_POW10_ARRAY_SIZE.
43868         * stdlib/gen-fpioconst.c: New file.
43869         * stdlib/gen-tst-strtod-round.c: Likewise.
43870         * stdlib/tst-strtod-round-data: Likewise.
43871         * stdlib/tst-strtod-round.c: Likewise.
43872         * stdlib/Makefile (tests): Add tst-strtod-round.
43874         [BZ #14459]
43875         * stdlib/strtod_l.c: Include <stdint.h>.
43876         (NDEBUG): Do not define.
43877         (round_and_return): Change EXPONENT parameter to type intmax_t.
43878         Rearrange calculations to avoid internal overflow possibilities.
43879         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43880         Rearrange calculations to avoid internal overflow possibilities.
43881         Assert that number fits inside MPNSIZE limbs.
43882         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43883         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43884         calculations and add assertions to avoid internal overflow
43885         possibilities.  Add casts to avoid signed/unsigned operations.
43886         * stdlib/tst-strtod-overflow.c: New file.
43887         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43889 2012-08-25  Marek Polacek  <polacek@redhat.com>
43891         * time/time.h: Fix some typos in comments.
43893 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43895         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43896         * posix/tst-rfc3484-2.c: Likewise.
43897         * posix/tst-rfc3484-3.c: Likewise.
43899 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43901         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43902         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43904 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43906         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43907         #include of fxstatat64.c.
43909 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43911         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43912         * shadow/getspent_r.c: Likewise.
43913         * shadow/getspnam.c: Likewise.
43914         * shadow/getspnam_r.c: Likewise.
43915         * gshadow/getsgent.c: Likewise.
43916         * gshadow/getsgent_r.c: Likewise.
43917         * gshadow/getsgnam.c: Likewise.
43918         * gshadow/getsgnam_r.c: Likewise.
43919         * inet/getnetbyad.c: Likewise.
43920         * inet/getnetbyad_r.c: Likewise.
43921         * inet/getnetbynm.c: Likewise.
43922         * inet/getnetbynm_r.c: Likewise.
43923         * inet/getnetent.c: Likewise.
43924         * inet/getnetent_r.c: Likewise.
43925         * inet/getproto.c: Likewise.
43926         * inet/getproto_r.c: Likewise.
43927         * inet/getprtent.c: Likewise.
43928         * inet/getprtent_r.c: Likewise.
43929         * inet/getprtname.c: Likewise.
43930         * inet/getprtname_r.c: Likewise.
43931         * inet/getrpcbyname.c: Likewise.
43932         * inet/getrpcbyname_r.c: Likewise.
43933         * inet/getrpcbynumber.c: Likewise.
43934         * inet/getrpcbynumber_r.c: Likewise.
43935         * inet/getrpcent.c: Likewise.
43936         * inet/getrpcent_r.c: Likewise.
43937         * inet/getaliasent.c: Likewise.
43938         * inet/getaliasent_r.c: Likewise.
43939         * inet/getaliasname.c: Likewise.
43940         * inet/getaliasname_r.c: Likewise.
43941         * nscd/getgrgid_r.c: Likewise.
43942         * nscd/getgrnam_r.c: Likewise.
43943         * nscd/gethstbyad_r.c: Likewise.
43944         * nscd/gethstbynm3_r.c: Likewise.
43945         * nscd/getpwnam_r.c: Likewise.
43946         * nscd/getpwuid_r.c: Likewise.
43947         * nscd/getsrvbynm_r.c: Likewise.
43948         * nscd/getsrvbypt_r.c: Likewise.
43949         * nscd/gai.c: Likewise.
43951         * configure.in (build_nscd): New substituted variable, set
43952         by --disable-build-nscd and defaults to $use_nscd.
43953         * configure: Regenerated.
43954         * config.make.in (build-nscd): New substituted variable.
43955         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43956         Change conditional to require [$(build-nscd) = yes] as well.
43957         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43959         [BZ# 13696]
43960         * configure.in (use_nscd): New substituted variable, set by
43961         --disable-nscd.  If enabled, define USE_NSCD.
43962         * configure: Regenerated.
43963         * config.h.in: Add USE_NSCD.
43964         * config.make.in (use-nscd): New substituted variable.
43965         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43966         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43967         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43968         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43969         (CFLAGS-getgrnam_r.c): Likewise.
43970         (CFLAGS-initgroups.c): Likewise.
43971         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43972         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43973         Variables removed.
43974         * inet/getnetgrent_r.c
43975         (nscd_setnetgrent): New function, broken out of ...
43976         (setnetgrent): ... here.  Call it.
43977         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43978         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43979         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43980         * nscd/Makefile (routines, aux): Move definitions after include of
43981         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43982         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43983         Conditionalize on [USE_NSCD].
43984         (is_nscd, nscd_init_cb): Likewise.
43985         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43986         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43987         * nss/nss_db/db-init.c: Likewise.
43988         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43989         [USE_NSCD].
43990         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43991         (make_request): Use it.
43992         (cache_valid_p): New function.
43993         (__check_pf): Use it.
43994         * NEWS: Add item for --disable-nscd.
43996 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43998         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43999         to support sed >= 4.2.1-20-ga9bf076.
44000         * configure: Regenerated.
44002 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44004         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44005         Conditionalize whole body on [IREL].
44007 2012-08-22  Jeff Law <law@redhat.com>
44009         [BZ #14505]
44010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44011         if the family is PF_UNSPEC.
44013 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44015         * Makerules (lib-version): Rename from V.
44016         (install-lib-nosubdir): Change V to lib-version.
44018 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44020         [BZ #14252]
44021         * powerpc32/power6/wcschr.c: New file.
44022         * powerpc32/power6/wcscpy.c: New file.
44023         * powerpc32/power6/wcsrchr.c: New file.
44024         * powerpc64/power6/wcschr.c: New file.
44025         * powerpc64/power6/wcscpy.c: New file.
44026         * powerpc64/power6/wcsrchr.c: New file.
44028 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44030         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44031         (two_way_short_needle): Use it.
44032         * string/strstr.c (AVAILABLE1_USES_J): Define.
44033         * string/strcasestr.c: Likewise.
44035         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44036         array references.
44037         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44039         [BZ #11607]
44040         * NEWS: Add an entry.
44041         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44042         define their defaults.
44043         (two_way_short_needle): Detect end-of-string on-the-fly.
44044         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44045         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44046         * string/bug-strcasestr1.c: New test.
44047         * string/Makefile: Run it.
44049 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44051         [BZ #11607]
44052         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44053         the first character.
44055 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44057         * csu/elf-init.c (__libc_csu_irel): Function removed.
44058         * csu/libc-start.c (apply_irel): New function.
44059         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44061 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44063         * sysdeps/unix/sysv/linux/kernel-features.h
44064         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44065         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44066         <kernel-features.h>.
44067         [__NR_fadvise64_64]: Make code unconditional.
44068         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44069         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44070         !__NR_fadvise64_64)]: Likewise.
44071         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44072         !__NR_fadvise64_64))]: Likewise.
44073         [__NR_fadvise64]: Make code unconditional.
44074         [!__NR_fadvise64]: Remove conditional code.
44075         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44076         <kernel-features.h>.
44077         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44078         unconditional.
44079         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44080         conditional code.
44081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44082         not include <kernel-features.h>.
44083         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44084         unconditional.
44085         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44086         conditional code.
44087         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44088         include <kernel-features.h>.
44089         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44090         unconditional.
44091         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44092         conditional code.
44094 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44096         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44097         slight instruction rearrangements per scrollpipe analysis.
44098         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44100 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44102         * manual/syslog.texi (syslog; vsyslog, closelog):
44103         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44104         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44106         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44107         DSOCAPS to match condition on defining it.
44109 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44111         * sysdeps/unix/sysv/linux/kernel-features.h
44112         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44114         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44115         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44117         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44118         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44120         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44121         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44123         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44124         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44126         * sysdeps/unix/sysv/linux/kernel-features.h
44127         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44128         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44129         unconditional.
44130         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44131         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44132         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44133         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44134         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44135         Make code unconditional.
44136         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44137         (__mmap64) [!__NR_mmap2]: Likewise.
44138         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44139         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44140         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44141         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44142         [__NR_mmap2]: Make code unconditional.
44143         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44144         (__mmap64) [!__NR_mmap2]: Likewise.
44146 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44148         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44150 2012-08-18  Andreas Jaeger  <aj@suse.de>
44152         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44154 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44156         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44157         * include/unistd.h (__have_sock_cloexec): Likewise.
44158         (__have_pipe2): Likewise.
44159         (__have_dup3): Likewise.
44161 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44163         [BZ #9685]
44164         * include/unistd.h (__have_pipe2): Change define into an extern int.
44165         (__have_dup3): Likewise.
44166         * socket/have_sock_cloexec.c: Include fcntl.h.
44167         (__have_pipe2): New variable.
44168         (__have_dup3): Likewise.
44170 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44172         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44174 2012-08-17  Marek Polacek  <polacek@redhat.com>
44176         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44177         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44179 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44181         * configure.in: Add AC_SUBST for sysheaders.
44182         * configure: Regenerated.
44183         * config.make.in (sysheaders): New substituted variable.
44185         * sysdeps/unix/mkfifo.c: Moved ...
44186         * sysdeps/posix/mkfifo.c: ... here.
44187         * sysdeps/unix/mkfifoat.c: Moved ...
44188         * sysdeps/posix/mkfifoat.c: ... here.
44190         * sysdeps/unix/utime.c: Moved ...
44191         * sysdeps/posix/utime.c: ... here.
44193         * sysdeps/unix/time.c: Moved ...
44194         * sysdeps/posix/time.c: ... here.
44195         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44196         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44198         * sysdeps/unix/nice.c: Moved ...
44199         * sysdeps/posix/nice.c: ... here.
44201         * sysdeps/unix/alarm.c: Moved ...
44202         * sysdeps/posix/alarm.c: ... here.
44204         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44206 2012-08-17  Jeff Law <law@redhat.com>
44208         * intl/Makefile (codeset_mo): New variable.
44209         ($(codeset_mo)): New target.
44210         (tst-codeset.out): Depend on that.  Remove explicit rule.
44211         (tst-gettext3.out, tst-gettext5.out): Likewise.
44212         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44213         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44214         * intl/tst-codeset.sh: Remove.
44215         * intl/tst-gettext3.sh: Likewise.
44216         * intl/tst-gettext5.sh: Likewise.
44218 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44220         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44221         * sysdeps/unix/syscalls.list: ... here.
44223         * sysdeps/posix/getaddrinfo.c
44224         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44225         (gaiconf_init, gaiconf_reload): Use them.
44226         [!_STATBUF_ST_NSEC]
44227         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44228         Define using time_t rather than struct timespec.
44230         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44231         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44232         Macros removed.
44233         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44234         [!NO_THREADS].
44235         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44236         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44237         Likewise.
44239         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44240         __libc_cleanup_push argument.
44242         * bits/param.h: New file.
44243         * misc/sys/param.h: New file.
44244         * include/sys/param.h: New file.
44245         * misc/Makefile (headers): Add bits/param.h.
44246         * sysdeps/generic/sys/param.h: File removed.
44247         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44248         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44249         * sysdeps/mach/hurd/bits/param.h: New file.
44250         * sysdeps/mach/hurd/sys/param.h: File removed.
44252         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44253         last change.
44255         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44256         [_IO_MTSAFE_IO].
44257         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44258         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44259         New macros.
44261         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44262         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44263         rather than -D_IO_MTSAFE_IO conditionally.
44264         * stdio-common/Makefile (CPPFLAGS): Likewise.
44265         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44266         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44267         Use $(libio-mtsafe).
44268         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44269         of -D_IO_MTSAFE_IO.
44270         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44271         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44272         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44273         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44274         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44275         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44276         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44277         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44278         (CFLAGS-fread_u_chk.c): Likewise.
44279         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44280         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44281         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44282         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44283         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44284         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44285         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44286         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44287         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44289         * libio/Makefile: Test [$(libc-reentrant) = yes]
44290         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44292         * Makeconfig
44293         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44294         * sysdeps/pthread/configure: File removed.
44295         * sysdeps/pthread/Makeconfig: New file.
44296         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44297         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44299 2012-08-16  Gary Benson  <gbenson@redhat.com>
44301         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44302         unmapping the first object in a namespace.
44304 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44306         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44307         (__internal_setnetgrent): ... this.  Add internal_function to
44308         definition.  Add libc_hidden_def.
44309         (setnetgrent): Update caller.
44310         (internal_endnetgrent): Renamed to ...
44311         (__internal_endnetgrent): ... this.  Add internal_function to
44312         definition.  Add libc_hidden_def.
44313         (endnetgrent): Update caller.
44314         (internal_getnetgrent_r): Renamed to ...
44315         (__internal_getnetgrent_r): ... this.  Add internal_function to
44316         definition.  Add libc_hidden_def.
44317         (__getnetgrent_r): Update caller.
44318         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44320 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44322         * stdlib/longlong.h: Update from GCC.
44324 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44326         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44327         on _QL, which is set by umul_ppmm but never used.
44328         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44329         variables, which are set by GMP macros but never used.
44330         * stdio-common/_itowa.c (_itowa): Likewise.
44331         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44332         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44334 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44336         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44337         struct La_sh_regs is not constant.
44338         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44339         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44340         and struct La_sparc64_regs are not constant.
44342 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44344         * sysdeps/unix/sysv/linux/kernel-features.h
44345         (__ASSUME_POSIX_TIMERS): Remove.
44346         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44348         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44349         Make code unconditional.
44350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44351         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44352         Make code unconditional.
44353         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44354         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44355         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44356         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44357         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44358         Make code unconditional.
44359         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44360         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44361         (__libc_missing_posix_timers): Remove.
44363 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44365         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44366         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44368         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44370         * elf/dl-sym.c: Include <stdlib.h>.
44372         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44373         constants, which avoids warnings in 32-bit builds.
44375         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44376         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44378         * misc/lseek.c: File moved to ...
44379         * io/lseek.c: ... here.
44381         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44383         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44384         shifting LEN more than 31 bits at once.
44386 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44388         [BZ #14195]
44389         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44390         segmentation fault for a case of two empty input strings.
44391         * string/test-strncasecmp.c (check1): Renamed to...
44392         (bz12205): ...this.
44393         (bz14195): Add new testcase for two empty input strings and N > 0.
44394         (test_main): Call new testcase, adapt for renamed function.
44396 2012-08-15  Andreas Jaeger  <aj@suse.de>
44398         [BZ #14090]
44399         * crypt/md5test2.c: New test, based on test supplied by Serge
44400         Belyshev <belyshev@depni.sinp.msu.ru>.
44401         * crypt/Makefile (xtests): Add md5test-giant..
44402         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44404 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44406         [BZ #14090]
44407         * crypt/md5.c (md5_process_block): Don't assume the buffer
44408         length is less than 2**32.
44409         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44410         length is less than 2**64.
44412 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44414         * string/str-two-way.h: Include <sys/param.h>.
44415         (MAX): Macro removed.
44417         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44418         Move #define and #undef of memmove to just before and after
44419         including <string.h>.
44421         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44422         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44423         and after including <string.h>.  Move declarations of
44424         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44425         to before #include "string/memmove.c".
44427         * include/dirent.h: Declare __getdirentries.
44429         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44430         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44432 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44434         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44435         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44436         * sysdeps/i386/configure: Regenerated.
44437         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44438         STABS_CURRENT_FILE, and STABS_FUN.
44439         (END): Remove call to STABS_FUN_END.
44440         (STABS_CURRENT_FILE1): Delete.
44441         (STABS_CURRENT_FILE): Likewise.
44442         (STABS_FUN): Likewise.
44443         (STABS_FUN_END): Likewise.
44444         (STABS_FUN2): Likewise.
44445         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44446         * sysdeps/x86_64/configure: Regenerated.
44448 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44450         * elf/dl-open.c: Include <atomic.h>.
44451         * elf/dl-lookup.c: Likewise.
44453 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44455         * sysdeps/unix/sysv/linux/kernel-features.h
44456         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44457         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44458         unconditionally.
44459         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44460         unconditionally.
44461         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44462         condition on __ASSUME_CLONE_THREAD_FLAGS.
44464 2012-08-14  Andreas Jaeger  <aj@suse.de>
44466         * sysdeps/i386/fpu/libm-test-ulps: Update.
44468 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44470         * include/atomic.h (atomic_exchange_and_add): Split into ...
44471         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44472         New atomic macros.
44474 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44478 2012-08-13  Jeff Law <law@redhat.com>
44480         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44481         null byte in the output string.
44483 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44485         * sysdeps/unix/sysv/linux/kernel-features.h
44486         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44487         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44488         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44489         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44490         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44491         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44492         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44494 2012-08-09  Jeff Law <law@redhat.com>
44496         [BZ #13939]
44497         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44498         When avoid_arena is set, don't retry in the that arena.  Pick the
44499         next one, whatever it might be.
44500         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44501         (arena_lock): Pass in new parameter to arena_get2.
44502         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44503         arena_get2.
44504         (__libc_malloc): Unify retrying after main arena failure with
44505         __libc_memalign version.
44506         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44508 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44510         [BZ #14166]
44511         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44512         to __redirect_strstr.
44513         (__strstr_sse42): Use typeof __redirect_strstr.
44514         (__strstr_ia32): Likewise.
44515         (__libc_strstr): New prototype.
44516         (strstr): Renamed to ...
44517         (__libc_strstr): This.
44518         (strstr): New strong alias of __libc_strstr.
44519         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44520         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44521         __redirect_time.
44522         Include <time.h>.
44523         (__libc_time): New prototype.
44524         (time_ifunc): Replace time with __libc_time.
44525         (time): New strong alias and hidden definition of __libc_time.
44526         (__GI_time): Remove strong alias.
44527         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44528         Include <stddef.h>.
44529         (memmove): Redefined to __redirect_memmove.
44530         (__memmove_sse2): Use typeof __redirect_memmove.
44531         (__memmove_ssse3): Likewise.
44532         (__memmove_ssse3_back): Likewise.
44533         (__libc_memmove): New prototype.
44534         (memmove): Renamed to ...
44535         (__libc_memmove): This.
44536         (memmove): New strong alias of __libc_memmove.
44538 2012-08-08  Mark Salter  <msalter@redhat.com>
44540         * elf/elf.h
44541         (R_MN10300_TLS_GD): Define.
44542         (R_MN10300_TLS_LD): Likewise.
44543         (R_MN10300_TLS_LDO): Likewise.
44544         (R_MN10300_TLS_GOTIE): Likewise.
44545         (R_MN10300_TLS_IE): Likewise.
44546         (R_MN10300_TLS_LE): Likewise.
44547         (R_MN10300_TLS_DTPMOD): Likewise.
44548         (R_MN10300_TLS_DTPOFF): Likewise.
44549         (R_MN10300_TLS_TPOFF): Likewise.
44550         (R_MN10300_SYM_DIFF): Likewise.
44551         (R_MN10300_ALIGN): Likewise.
44552         (R_MN10300_NUM): Update.
44554 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44557         Remove.
44559 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44561         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44563         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44564         sysdeps/unix -> sysdeps/posix move.
44565         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44567 2012-08-07      Allan McRae     <allan@archlinux.org>
44569         [BZ #14303]
44570         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44571         (SUNOS_CPP): Likewise.
44572         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44573         not found.
44574         (open_input): Call CPP using execvp.
44576 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44578         * sysdeps/unix/sysv/linux/kernel-features.h
44579         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44580         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44581         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44582         (__ASSUME_WAITID_SYSCALL): Likewise.
44583         * sysdeps/unix/sysv/linux/dl-execstack.c
44584         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44585         code unconditional.
44586         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44587         conditional code.
44588         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44589         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44590         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44591         code.
44592         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44593         unconditional.
44594         [__ASSUME_WAITID_SYSCALL]: Likewise.
44595         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44597 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44599         * sysdeps/unix/closedir.c: Renamed to ...
44600         * sysdeps/posix/closedir.c: ... here.
44601         * sysdeps/unix/dirfd.c: Renamed to ...
44602         * sysdeps/posix/dirfd.c: ... here.
44603         * sysdeps/unix/dirstream.h: Renamed to ...
44604         * sysdeps/posix/dirstream.h: ... here.
44605         * sysdeps/unix/fdopendir.c: Renamed to ...
44606         * sysdeps/posix/fdopendir.c: ... here.
44607         * sysdeps/unix/opendir.c: Renamed to ...
44608         * sysdeps/posix/opendir.c: ... here.
44609         * sysdeps/unix/readdir.c: Renamed to ...
44610         * sysdeps/posix/readdir.c: ... here.
44611         * sysdeps/unix/readdir_r.c: Renamed to ...
44612         * sysdeps/posix/readdir_r.c: ... here.
44613         * sysdeps/unix/rewinddir.c: Renamed to ...
44614         * sysdeps/posix/rewinddir.c: ... here.
44615         * sysdeps/unix/seekdir.c: Renamed to ...
44616         * sysdeps/posix/seekdir.c: ... here.
44617         * sysdeps/unix/telldir.c: Renamed to ...
44618         * sysdeps/posix/telldir.c: ... here.
44619         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44620         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44621         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44622         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44624         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44625         * bits/fcntl.h: ... here.
44627         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44628         not 0.
44629         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44630         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44631         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44632         (struct flock): Move l_start, l_len to the beginning.
44633         Use __pid_t for l_pid.
44634         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44635         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44636         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44637         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44638         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44639         [__USE_LARGEFILE64] (struct flock64): New type.
44640         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44642         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44643         * bits/dirent.h: ... here.
44645         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44646         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44648 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44651         Change from 2.6.0 to 2.6.16.
44652         * sysdeps/unix/sysv/linux/configure: Regenerated.
44653         * sysdeps/unix/sysv/linux/kernel-features.h
44654         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44655         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44656         version.
44657         (__ASSUME_UTIMES): Likewise.
44658         (__ASSUME_CLONE_STOPPED): Remove.
44659         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44660         architectures, not kernel version.
44661         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44662         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44663         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44664         (__ASSUME_WAITID_SYSCALL): Likewise.
44665         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44666         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44667         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44668         refer to older versions.
44670 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44672         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44673         Define alphasort64 as an alias.
44674         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44675         Define versionsort64 as an alias.
44676         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44677         Define scandir64 as an alias.
44678         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44679         Define scandirat64 as an alias.
44680         * dirent/alphasort64.c (alphasort64):
44681         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44682         * dirent/versionsort64.c: Likewise.
44683         * dirent/scandir64.c: Likewise.
44684         * dirent/scandirat64.c: Likewise.
44685         * sysdeps/wordsize-64/alphasort.c: File removed.
44686         * sysdeps/wordsize-64/alphasort64.c: File removed.
44687         * sysdeps/wordsize-64/scandir.c: File removed.
44688         * sysdeps/wordsize-64/scandir64.c: File removed.
44689         * sysdeps/wordsize-64/scandirat.c: File removed.
44690         * sysdeps/wordsize-64/scandirat64.c: File removed.
44691         * sysdeps/wordsize-64/versionsort.c: File removed.
44692         * sysdeps/wordsize-64/versionsort64.c: File removed.
44693         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44694         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44695         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44696         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44697         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44698         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44699         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44702         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44704         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44706         [defined __arch64__ || defined __sparcv9]
44707         (__INO_T_MATCHES_INO64_T): New macro.
44708         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44709         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44710         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44711         * sysdeps/unix/sysv/linux/bits/dirent.h
44712         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44713         (_DIRENT_MATCHES_DIRENT64): New macro.
44715         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44716         Define lockf64 as an alias.
44717         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44718         Define fseeko64 as an alias.
44719         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44720         Define ftello64 as an alias.
44721         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44722         Define _IO_fgetpos64 and fgetpos64 as aliases.
44723         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44724         Define _IO_fsetpos64 and fsetpos64 as aliases.
44725         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44726         Conditionalize body on this.
44727         * libio/fseeko64.c: Likewise.
44728         * libio/ftello64.c: Likewise.
44729         * libio/iofgetpos64.c: Likewise.
44730         * libio/iofsetpos64.c: Likewise.
44731         * sysdeps/wordsize-64/lockf.c: File removed.
44732         * sysdeps/wordsize-64/lockf64.c: File removed.
44733         * sysdeps/wordsize-64/fseeko.c: File removed.
44734         * sysdeps/wordsize-64/fseeko64.c: File removed.
44735         * sysdeps/wordsize-64/ftello.c: File removed.
44736         * sysdeps/wordsize-64/ftello64.c: File removed.
44737         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44738         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44739         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44740         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44741         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44742         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44743         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44745         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44747         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44748         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44749         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44750         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44752         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44754         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44756         [defined __arch64__ || defined __sparcv9]
44757         (__OFF_T_MATCHES_OFF64_T): New macro.
44758         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44759         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44761         (__OFF_T_MATCHES_OFF64_T): New macro.
44763 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44765         * stdlib/secure-getenv.c (__secure_getenv): Replace
44766         GLIBC_2_16 with GLIBC_2_17.
44768 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44770         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44771         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44773 2012-08-03  David S. Miller  <davem@davemloft.net>
44775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44777 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44780         Remove.
44781         (__ASSUME_CORRECT_SI_PID): Likewise.
44782         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44783         (__ASSUME_TMPFS_NAME): Likewise.
44784         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44785         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44786         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44787         (HAVE_AUX_SECURE): Make definition unconditional.
44788         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44789         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44791 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44793         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44794         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44795         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44796         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44797         __eloop_threshold instead of SYMLOOP_MAX.
44799         * sysdeps/generic/eloop-threshold.h: New file.
44800         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44801         of MAXSYMLINKS.
44802         * elf/chroot_canon.c (chroot_canon): Likewise.
44804 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44806         [BZ #13717]
44807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44808         Change to 2.6.0 everywhere.
44809         * sysdeps/unix/sysv/linux/configure: Regenerated.
44810         * sysdeps/unix/sysv/linux/kernel-features.h
44811         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44812         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44813         kernel versions.
44814         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44815         (__ASSUME_FUTEX_REQUEUE): Remove.
44816         (__ASSUME_STATFS64): Define unconditionally.
44817         (__ASSUME_AT_SECURE): Likewise.
44818         (__ASSUME_CORRECT_SI_PID): Likewise.
44819         (__ASSUME_TGKILL): Define without depending on kernel version for
44820         i386.
44821         (__ASSUME_UTIMES): Likewise.
44822         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44823         kernel version.
44824         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44825         (__ASSUME_TMPFS_NAME): Likewise.
44826         * README: Update reference to Linux kernel versions.
44828 2012-08-02  Marek Polacek  <polacek@redhat.com>
44830         [BZ# 14150]
44831         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44832         libc_cv_asm_type_prefix with %.
44833         * configure: Regenerated.
44834         * include/libc-symbols.h: Remove comment about
44835         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44836         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44837         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44838         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44839         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44840         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44841         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44842         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44843         * elf/tst-unique2mod1.c: Likewise.
44844         * elf/tst-unique1mod2.c: Likewise.
44845         * elf/tst-unique1mod1.c: Likewise.
44846         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44847         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44848         Replace ASM_TYPE_DIRECTIVE with .type.
44849         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44850         * sysdeps/i386/sysdep.h: Likewise.
44851         * sysdeps/x86_64/sysdep.h: Likewise.
44852         * sysdeps/sh/sysdep.h: Likewise.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44854         Do not define ASM_TYPE_DIRECTIVE.
44855         * sysdeps/powerpc/sysdep.h: Likewise.
44856         * sysdeps/powerpc/powerpc32/sysdep.h:
44857         Replace ASM_TYPE_DIRECTIVE with .type.
44858         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44859         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44860         * sysdeps/i386/fpu/e_powf.S: Likewise.
44861         * sysdeps/i386/fpu/e_expl.S: Likewise.
44862         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44863         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44864         * sysdeps/i386/fpu/e_pow.S: Likewise.
44865         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44866         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44867         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44868         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44869         * sysdeps/i386/fpu/e_log2.S: Likewise.
44870         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44871         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44872         * sysdeps/i386/fpu/e_powl.S: Likewise.
44873         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44874         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44875         * sysdeps/i386/fpu/e_logl.S: Likewise.
44876         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44877         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44878         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44879         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44880         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44881         * sysdeps/i386/fpu/e_log.S: Likewise.
44882         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44883         * sysdeps/i386/fpu/e_logf.S: Likewise.
44884         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44885         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44886         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44887         * sysdeps/i386/fpu/e_log10.S: Likewise.
44888         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44889         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44890         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44891         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44892         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44893         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44894         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44895         * sysdeps/i386/i686/strtok.S: Likewise.
44896         * sysdeps/i386/i386-mcount.S: Likewise.
44897         * sysdeps/i386/strtok.S: Likewise.
44898         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44899         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44900         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44901         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44902         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44903         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44904         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44905         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44906         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44907         * sysdeps/x86_64/_mcount.S: Likewise.
44908         * sysdeps/x86_64/strtok.S: Likewise.
44909         * sysdeps/sh/_mcount.S: Likewise.
44911 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44913         * libio/iofopen.c: Include <fcntl.h>.
44914         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44915         (_IO_fopen64, fopen64): Define as aliases.
44916         * libio/iofopen64.c: Include <fcntl.h>.
44917         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44918         Conditionalize body on this.
44919         * sysdeps/wordsize-64/iofopen.c: File removed.
44920         * sysdeps/wordsize-64/iofopen64.c: File removed.
44922 2012-08-01  Marek Polacek  <polacek@redhat.com>
44924         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44925         Use dlfcn directly instead of a variable.
44926         (binfmt-subdir): Do not define.
44927         (dlfcn): Likewise.
44929 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44932         Remove all definitions.
44933         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44934         <kernel-features.h>.
44935         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44936         (miss_F_GETOWN_EX): Remove all definitions.
44937         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44938         macro definition.
44939         [!__ASSUME_FCNTL64]: Remove conditional code.
44940         [__ASSUME_FCNTL64]: Make code unconditional.
44941         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44942         <kernel-features.h>.
44943         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44944         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44945         (lockf64) [__NR_fcntl64]: Make code unconditional.
44946         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44948         * sysdeps/unix/sysv/linux/kernel-features.h
44949         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44950         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44951         Make code unconditional.
44952         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44953         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44955         [__NR_vfork]: Make code unconditional.
44956         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44957         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44959         [__NR_vfork]: Make code unconditional.
44960         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44961         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44963 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44965         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44966         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44968         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44969         Define mkstemp64 as an alias.
44970         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44971         Define mkstemps64 as an alias.
44972         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44973         Define mkostemp64 as an alias.
44974         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44975         Define mkostemps64 as an alias.
44976         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44977         Conditionalize body on this.
44978         * misc/mkostemp64.c: Likewise.
44979         * misc/mkostemps64.c: Likewise.
44980         * misc/mkstemps64.c: Likewise.
44981         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44982         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44983         * sysdeps/wordsize-64/mkostemp.c: File removed.
44984         * sysdeps/wordsize-64/mkstemp.c: File removed.
44985         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44986         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44987         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44988         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44990         [BZ #14138]
44991         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44992         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44993         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44994         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44996         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44997         compat_symbol macros from <shlib-compat.h> rather than the underlying
44998         default_symbol_version and symbol_version macros, so that DEFAULT
44999         lines in shlib-versions are respected.
45000         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45002 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45004         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45005         Declare with warn_unused_result.
45006         (setgid, setregid, setegid, setresgid): Likewise.
45007         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45008         Likewise.
45009         * WUR-REPORT: Remove set*id functions.
45011 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45013         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45015 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45017         [BZ #10191]
45018         * include/sys/socket.h (__libc_accept, __libc_accept4):
45019         Add attribute_hidden.
45020         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45022         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45023         use of PTR_MANGLE.
45024         * inet/getnetgrent_r.c (setup): Likewise.
45026         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45028 2012-07-31  David S. Miller  <davem@davemloft.net>
45030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45032 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45034         [BZ #13629]
45035         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45036         value between 1.0 and 2.0 and smaller part has absolute value less
45037         than 1.0.
45038         * math/s_clog10.c (__clog10): Likewise.
45039         * math/s_clog10f.c (__clog10f): Likewise.
45040         * math/s_clog10l.c (__clog10l): Likewise.
45041         * math/s_clogf.c (__clogf): Likewise.
45042         * math/s_clogl.c (__clogl): Likewise.
45043         * math/libm-test.inc (clog_test): Add more tests.
45044         (clog10_test): Likewise.
45045         * sysdeps/i386/fpu/libm-test-ulps: Update.
45046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45048 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45050         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45051         Exit with zero in case no suitable GID is found, and write a
45052         message to standard error.
45054 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45056         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45057         rather than to 1.
45058         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45059         (MAXPATHLEN): Removed.
45060         (NOGROUP, NODEV): New macros.
45061         (setbit, clrbit, isset, isclr): New macros.
45062         (howmany, roundup, powerof2): New macros.
45063         (DEV_BSIZE): New macro.
45065         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45066         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45068         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45069         definition on [!__NO_LONG_DOUBLE_MATH].
45071         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45072         PTR_MANGLE and PTR_DEMANGLE.
45074         * socket/accept4.c (accept4): Rename to __libc_accept4.
45075         Define accept4 as a weak alias.
45077         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45078         on [_DIRENT_HAVE_D_TYPE].
45079         * io/ftw.c (ftw_dir): Likewise.
45081         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45083         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45085         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45086         Use the BSD numbers rather than the arbitrary ones we had.
45087         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45088         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45089         (SIGXCPU, SIGXFSZ): New macros.
45090         (_NSIG): Now 32.
45092         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45093         initializer on [_LIBC_REENTRANT].
45095         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45096         definitions inside [_POSIX_MAPPED_FILES].
45098         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45100         * dirent/opendir.c: Include <fcntl.h>.
45102         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45103         (__libc_getspecific): Likewise.
45104         (__libc_key_create): Likewise.
45106         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45107         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45108         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45109         (tmpfile64): Define as alias.
45110         * sysdeps/wordsize-64/tmpfile.c: File removed.
45111         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45112         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45113         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45115         * stdio-common/vfscanf.c: Include <stdbool.h>.
45116         * nss/makedb.c: Likewise.
45117         * stdio-common/_i18n_number.h: Likewise.
45118         * argp/argp-help.c: Likewise.
45119         * posix/wordexp.c: Likewise.
45120         * sysdeps/posix/spawni.c: Likewise.
45121         * nss/nss_files/files-initgroups.c: Likewise.
45122         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45123         * nss/nss_files/files-initgroups.c: Likewise.
45124         * nss/nss_db/db-netgrp.c: Likewise.
45125         * nss/nss_db/db-initgroups.c: Likewise.
45126         * io/fchmodat.c: Include <sys/stat.h>.
45128         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45129         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45131         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45132         [HAVE_MMAP].
45134         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45135         Add multiple inclusion protection.
45137 2012-07-27  David S. Miller  <davem@davemloft.net>
45139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45141 2012-07-27  Gary Benson  <gbenson@redhat.com>
45143         [BZ #14298]
45144         * elf/rtld.c: Include <stap-probe.h>.
45145         (dl_main): Added static probes "init_start" and "init_complete".
45146         * elf/dl-load.c: Include <stap-probe.h>.
45147         (lose): Take new parameter "nsid".
45148         Added static probe "map_failed".
45149         (_dl_map_object_from_fd): Pass namespace id to lose.
45150         Added static probe "map_start".
45151         (open_verify): Pass namespace id to lose.
45152         * elf/dl-open.c: Include <stap-probe.h>.
45153         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45154         and "reloc_complete".
45155         * elf/dl-close.c: Include <stap-probe.h>.
45156         (_dl_close_worker): Added static probes "unmap_start" and
45157         "unmap_complete".
45158         * elf/rtld-debugger-interface.txt: New file documenting the above.
45160 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45162         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45163         rather than a string variable.
45164         * sunrpc/rpc_main.c (h_output): Likewise.
45165         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45167 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45169         * inet/check_native.c: New file.
45171 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45173         [BZ #13629]
45174         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45175         if larger part has absolute value 1.0.
45176         * math/s_clog10.c (__clog10): Likewise.
45177         * math/s_clog10f.c (__clog10f): Likewise.
45178         * math/s_clog10l.c (__clog10l): Likewise.
45179         * math/s_clogf.c (__clogf): Likewise.
45180         * math/s_clogl.c (__clogl): Likewise.
45181         * math/libm-test.inc (clog_test): Add more tests.
45182         (clog10_test): Likewise.
45183         * sysdeps/i386/fpu/libm-test-ulps: Update.
45184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45186         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45187         (pltexit): Likewise.
45188         (La_regs): Likewise.
45189         (La_retval): Likewise.
45190         (int_retval): Likewise.
45191         Update #error for removed macros to refer only to definitions in
45192         tst-audit.h.
45193         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45194         macro.
45195         (pltexit): Likewise.
45196         (La_regs): Likewise.
45197         (La_retval): Likewise.
45198         (int_retval): Likewise.
45199         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45200         macro.
45201         (pltexit): Likewise.
45202         (La_regs): Likewise.
45203         (La_retval): Likewise.
45204         (int_retval): Likewise.
45205         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45206         macro.
45207         (pltexit): Likewise.
45208         (La_regs): Likewise.
45209         (La_retval): Likewise.
45210         (int_retval): Likewise.
45211         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45212         macro.
45213         (pltexit): Likewise.
45214         (La_regs): Likewise.
45215         (La_retval): Likewise.
45216         (int_retval): Likewise.
45217         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45218         macro.
45219         (pltexit): Likewise.
45220         (La_regs): Likewise.
45221         (La_retval): Likewise.
45222         (int_retval): Likewise.
45223         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45224         macro.
45225         (pltexit): Likewise.
45226         (La_regs): Likewise.
45227         (La_retval): Likewise.
45228         (int_retval): Likewise.
45229         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45230         macro definitions in tst-audit.h.
45231         * sysdeps/i386/tst-audit.h: New file.
45232         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45233         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45234         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45235         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45236         * sysdeps/sh/tst-audit.h: Likewise.
45237         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45238         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45239         * sysdeps/x86_64/tst-audit.h: Likewise.
45241 2012-07-26  Andreas Jaeger  <aj@suse.de>
45243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45244         ptrace.
45246         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45247         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45248         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45249         PTRACE_O_MASK.
45250         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45251         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45252         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45254         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45255         value.
45257         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45258         _sigsys.
45259         (si_call_addr, si_syscall, si_arch): Define new macro.
45260         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45261         _sigsys.
45262         (si_call_addr, si_syscall, si_arch): Define new marcro.
45263         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45264         _sigsys.
45265         (si_call_addr, si_syscall, si_arch): Define new macro.
45266         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45267         _sigsys.
45268         (si_call_addr, si_syscall, si_arch): Define new macro.
45270 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45272         [BZ #13717]
45273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45274         Change to 2.4.21 where previously 2.4.1.
45275         * sysdeps/unix/sysv/linux/configure: Regenerated.
45276         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45277         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45278         Linux kernel version.
45279         (__ASSUME_STD_AUXV): Remove.
45280         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45281         kernel version.
45282         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45283         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45284         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45285         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45286         (__ASSUME_NETLINK_SUPPORT): Likewise.
45287         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45288         (__no_netlink_support): Remove conditional definition.
45289         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45290         Remove.
45291         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45292         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45293         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45294         (if_nameindex_ioctl): Remove.
45295         (if_nameindex_netlink): Do not handle __no_netlink_support.
45296         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45297         code.
45298         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45299         Remove conditional code.
45300         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45301         code.
45302         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45303         unconditional.
45304         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45305         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45306         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45307         Remove.
45308         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45309         [!__ASSUME_STD_AUXV]: Remove conditional code.
45310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45311         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45312         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45314         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45315         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45316         code.
45317         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45319         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45320         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45321         conditional code.
45322         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45324         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45325         code.
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45327         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45328         conditional code.
45329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45330         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45331         code unconditional.
45332         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45333         conditional code.
45334         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45335         unconditional.
45336         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45337         conditional code.
45338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45339         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45340         unconditional.
45341         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45342         conditional code.
45343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45344         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45345         code unconditional.
45346         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45347         conditional code.
45348         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45349         unconditional.
45350         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45351         conditional code.
45352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45353         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45354         code unconditional.
45355         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45356         conditional code.
45357         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45358         unconditional.
45359         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45360         conditional code.
45362 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45364         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45365         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45366         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45367         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45368         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45369         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45370         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45371         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45372         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45373         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45374         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45375         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45376         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45377         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45378         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45379         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45380         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45381         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45382         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45384         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45385         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45386         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45388 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45390         * Versions.def: Add GLIBC_2.17.
45391         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45392         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45393         Introduce __libc_secure_getenv.
45394         * stdlib/Versions (2.17): Add secure_getenv
45395         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45396         * stdlib/secure-getenv.c: Rename __secure_getenv to
45397         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45398         symbol __secure_getenv for GLIBC_2.0.
45399         * stdlib/tst-secure-getenv.c: New.
45400         * stdlib/Makefile (tests): Add testcase.
45401         * manual/startup.texi (Environment Access): Document
45402         secure_getenv.
45403         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45404         __libc_secure_getenv.
45405         * inet/ruserpass.c (ruserpass): Likewise.
45406         * malloc/mtrace.c (mtrace): Likewise.
45407         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45408         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45409         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45410         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45411         HAVE_SECURE_GETENV.
45412         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45413         __secure_getenv to __libc_secure_getenv.
45414         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45416         Likewise.
45417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45418         Likewise.
45419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45427 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45429         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45430         (struct La_i86_retval): Likewise.
45431         (struct La_x86_64_regs): Likewise.
45432         (struct La_x86_64_retval): Likewise.
45433         (struct La_x32_regs): Likewise.
45434         (struct La_x32_retval): Likewise.
45435         (struct La_ppc32_regs): Likewise.
45436         (struct La_ppc32_retval): Likewise.
45437         (struct La_ppc64_regs): Likewise.
45438         (struct La_ppc64_retval): Likewise.
45439         (struct La_sh_regs): Likewise.
45440         (struct La_sh_retval): Likewise.
45441         (struct La_s390_32_regs): Likewise.
45442         (struct La_s390_32_retval): Likewise.
45443         (struct La_s390_64_regs): Likewise.
45444         (struct La_s390_64_retval): Likewise.
45445         (struct La_sparc32_regs): Likewise.
45446         (struct La_sparc32_retval): Likewise.
45447         (struct La_sparc64_regs): Likewise.
45448         (struct La_sparc64_retval): Likewise.
45449         (struct audit_ifaces): Remove architecture-specific pltenter and
45450         pltexit members.
45451         * sysdeps/i386/ldsodefs.h: New file.
45452         * sysdeps/powerpc/ldsodefs.h: Likewise.
45453         * sysdeps/s390/ldsodefs.h: Likewise.
45454         * sysdeps/sh/ldsodefs.h: Likewise.
45455         * sysdeps/sparc/ldsodefs.h: Likewise.
45456         * sysdeps/x86_64/ldsodefs.h: Likewise.
45458 2012-07-25  Marek Polacek  <polacek@redhat.com>
45460         [BZ #6808]
45461         * math/libm-test.inc (yn_test): Add another test.
45462         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45463         to ERANGE when the result is +-Inf.
45464         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45465         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45466         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45469 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45471         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45472         equal to 0.
45473         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45474         clock_t.
45475         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45477 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45479         * configure.in <sysdeps resolving>: Correct printing
45480         Implies_before.
45481         * configure: Regenerate.
45483 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45485         * math/w_ilogb.c: Include <limits.h>.
45486         * math/w_ilogbl.c: Likewise.
45488 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45490         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45491         va_copy.  Document allowing for unavailable va_copy only as
45492         pre-C99 compatibility.
45493         * manual/string.texi (Copying and Concatenation): Use va_copy
45494         instead of __va_copy in concat example.
45496 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45498         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45499         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45500         it if not null.
45502         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45503         with O_NOLINK passed to __file_name_lookup.
45505         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45506         with O_NOLINK passed to __file_name_lookup.
45508         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45509         negative N or less than NGIDS.
45511         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45512         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45513         enough.  Use memcpy instead of strncpy.
45515 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45517         * elf/Makefile (check-data): Remove.
45518         (localplt.data): New vpath directive.
45519         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45520         instead of $(check-data).
45521         * scripts/data/localplt-generic.data: Move to ...
45522         * sysdeps/generic/localplt.data: ... here.
45523         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45524         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45525         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45527         ... here.
45528         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45530         ... here.
45531         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45533         ... here.
45534         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45536         ... here.
45537         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45539         ... here.
45540         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45542         ... here.
45544 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45546         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45547         PPC32 and PPC64 files.
45548         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45549         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45551 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45553         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45554         __makecontext_ret to ...
45555         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45556         ... here and call exit if uc_link is NULL.  New file.
45557         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45558         __makecontext_ret.S.
45559         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45560         __makecontext_ret to ...
45561         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45562         ... here and call exit if uc_link is NULL.  New file.
45563         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45564         __makecontext_ret.S.
45566 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45568         * elf/elf.h (R_390_IRELATIVE): New definition.
45569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45570         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45571         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45572         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45573         (elf_machine_lazy_rel): Likewise.
45574         * sysdeps/s390/dl-irel.h: New file.
45575         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45576         * sysdeps/s390/s390-64/memset.S: New asm code.
45577         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45578         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45579         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45580         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45581         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45582         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45583         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45584         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45585         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45586         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45587         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45588         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45589         * sysdeps/s390/s390-32/memset.S: New asm code.
45590         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45592 2012-07-17  Marek Polacek  <polacek@redhat.com>
45594         [BZ #14349]
45595         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45596         * sysdeps/s390/s390-64/configure.in: Likewise.
45597         * sysdeps/sparc/configure.in: Likewise.
45598         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45599         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45600         * sysdeps/i386/configure.in: Likewise.
45601         * sysdeps/x86_64/configure.in: Likewise.
45602         * sysdeps/sh/configure.in: Likewise.
45603         * sysdeps/s390/s390-32/configure: Regenerated.
45604         * sysdeps/s390/s390-64/configure: Likewise.
45605         * sysdeps/x86_64/configure: Likewise.
45606         * sysdeps/sh/configure: Likewise.
45607         * sysdeps/powerpc/powerpc64/configure: Likewise.
45608         * sysdeps/powerpc/powerpc32/configure: Likewise.
45609         * sysdeps/sparc/configure: Likwise.
45610         * sysdeps/i386/configure: Likewise.
45612         * elf/dl-open.c: Comment fixes.
45614 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45616         * Makefile [CXX] (check-data): Remove.
45617         [CXX] (c++-types.data): New vpath directive.
45618         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45619         vpath.  Do not allow for C++ type data being missing.
45620         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45621         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45622         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45623         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45624         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45625         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45626         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45628         ... here.
45629         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45631         ... here.
45632         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45634         ... here.
45635         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45637         ... here.
45638         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45640         ... here.
45641         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45643         ... here.
45644         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45646         ... here.
45647         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45650         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45651         definitions to architecture-specific files.
45652         (TLS_IE): Likewise.
45653         (TLS_LD): Likewise.
45654         (TLS_GD): Likewise.
45655         * sysdeps/i386/tls-macros.h: New file.
45656         * sysdeps/powerpc/tls-macros.h: Likewise.
45657         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45658         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45659         * sysdeps/sh/tls-macros.h: Likewise.
45660         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45661         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45662         * sysdeps/x86_64/tls-macros.h: Likewise.
45664 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45666         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45667         zero value for regular exit case.
45669         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45670         (__start_context): Preserve zero value for regular exit case.
45672 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45673             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45675         * manual/setjmp.texi (setcontext): Clarify normal process
45676         termination when uc_link is the null pointer.
45677         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45678         exit call.
45680 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45682         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45683         preprocessor.  Test for each exception mask separately.
45685 2012-07-16  Andreas Jaeger  <aj@suse.de>
45687         * po/ru.po: Update from translation team.
45689 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45691         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45692         equal to 0.
45693         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45694         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45695         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45696         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45699 2012-07-13  Andreas Jaeger  <aj@suse.de>
45701         * po/fr.po: Update from translation team.
45703 2012-07-12  Marek Polacek  <polacek@redhat.com>
45705         [BZ #14173]
45706         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45707         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45708         loop condition.
45710 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45712         [BZ #13717]
45713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45714         Change to 2.4.1 where previously 2.4.0.
45715         * sysdeps/unix/sysv/linux/configure: Regenerated.
45716         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45717         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45718         version.
45719         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45720         (__ASSUME_AT_CLKTCK): Remove.
45721         (__ASSUME_AT_PAGESIZE): Likewise.
45722         (__ASSUME_AT_XID): Likewise.
45723         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45724         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45725         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45726         unconditionally.
45727         (HAVE_AUX_PAGESIZE): Likewise.
45728         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45729         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45730         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45732 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45734         [BZ #14307]
45735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45736         the temporary buffer used to invoke __gethostbyname2_r,
45737         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45738         host_data / struct gaih_addrtuple.
45739         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45740         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45741         header file nss/nsswitch.h.
45742         * nss/nsswitch.h (global scope): Add definition of implementation
45743         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45744         resolv/nss_dns/dns-host.c).
45746 2012-07-11  Andreas Jaeger  <aj@suse.de>
45748         * po/fr.po: Update from translation team.
45750         * po/sv.po: Update from translation team
45751         * po/fr.po: Another update from translation team.
45753 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45756         for subnormals or multiply small sinh result by itself.
45757         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45760 2012-07-11  David S. Miller  <davem@davemloft.net>
45762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45764 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45766         [BZ #14347]
45767         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45768         (INTERNAL_MARK): Shift it here.
45770 2012-07-10  Marek Polacek  <polacek@redhat.com>
45772         [BZ #14151]
45773         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45774         libc_cv_asm_global_directive with .globl.
45775         * configure: Regenerated.
45776         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45777         with .globl.
45778         * sysdeps/i386/configure: Regenerated.
45779         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45780         with .globl.
45781         * sysdeps/x86_64/configure: Regenerated.
45782         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45783         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45784         * elf/tst-unique2mod2.c: Likewise.
45785         * elf/tst-unique2mod1.c: Likewise.
45786         * elf/tst-unique1mod2.c: Likewise.
45787         * elf/tst-unique1mod1.c: Likewise.
45788         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45789         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45790         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45791         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45792         * sysdeps/mach/sysdep.h: Likewise.
45793         * sysdeps/i386/sysdep.h: Likewise.
45794         * sysdeps/i386/i386-mcount.S: Likewise.
45795         * sysdeps/x86_64/_mcount.S: Likewise.
45796         * sysdeps/x86_64/sysdep.h: Likewise.
45797         * sysdeps/sh/_mcount.S: Likewise.
45798         * sysdeps/sh/sysdep.h: Likewise.
45799         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45800         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45801         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45802         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45803         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45804         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45805         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45806         * locale/localeinfo.h: Likewise.
45807         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45808         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45810 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45812         [BZ #14336]
45813         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45814         system".
45815         * manual/message.texi (The Uniforum approach): Likewise.
45816         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45817         (glibc iconv Implementation): Likewise.
45819 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45821         [BZ #14337]
45822         * math/s_clog.c (__clog): Avoid scaling a value down where that
45823         could result in underflow.
45824         * math/s_clog10.c (__clog10): Likewise.
45825         * math/s_clog10f.c (__clog10f): Likewise.
45826         * math/s_clog10l.c (__clog10l): Likewise.
45827         * math/s_clogf.c (__clogf): Likewise.
45828         * math/s_clogl.c (__clogl): Likewise.
45829         * math/libm-test.inc (clog_test): Add more tests.
45830         (clog10_test): Likewise.
45831         * sysdeps/i386/fpu/libm-test-ulps: Update.
45832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45834 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45836         [BZ #14283]
45837         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45838         by 7 not 8 to examine high bit of fractional part.
45840         [BZ #14042]
45841         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45842         for call to __mcount_internal.
45843         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45844         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45845         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45847 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45849         [BZ #14154]
45850         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45851         approximation for values within 0x1p-13f of an odd multiple of
45852         pi/4.
45853         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45854         exception.  Add more tests.
45855         * sysdeps/i386/fpu/libm-test-ulps: Update.
45857         [BZ #6778]
45858         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45859         inputs and return -1 for them.  Do not check for +Inf in case not
45860         reachable for +Inf.
45861         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45862         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45863         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45864         and return -1 for them.  Do not check for +Inf in case not
45865         reachable for +Inf.
45866         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45867         define.
45868         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45869         and return -1 for them.  Do not check for +Inf in case not
45870         reachable for +Inf.
45871         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45872         spurious underflow.
45873         * sysdeps/i386/fpu/libm-test-ulps: Update.
45874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45876 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45878         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45880 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45882         [BZ #14157]
45883         [BZ #14331]
45884         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45885         could result in spurious underflow.  Scale down values above
45886         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45887         * math/s_csqrtf.c (__csqrtf): Likewise.
45888         * math/s_csqrtl.c (__csqrtl): Likewise.
45889         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45890         spurious underflow.
45891         * sysdeps/i386/fpu/libm-test-ulps: Update.
45892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45894 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45896         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45897         xopen-msg.sed.
45898         * catgets/xopen-msg.awk: New file.
45899         * catgets/xopen-msg.sed: Removed.
45901         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45902         po2text.sed.
45903         * intl/po2test.awk: New file.
45904         * intl/po2test.sed: Removed.
45906 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45908         [BZ #14328]
45909         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45910         or multiply small sinh result by itself.
45911         * math/s_ctanf.c (__ctanf): Likewise.
45912         * math/s_ctanh.c (__ctanh): Likewise.
45913         * math/s_ctanhf.c (__ctanhf): Likewise.
45914         * math/s_ctanhl.c (__ctanhl): Likewise.
45915         * math/s_ctanl.c (__ctanl): Likewise.
45916         * math/libm-test.inc (ctan_test_tonearest): New function.
45917         (ctan_test_towardzero): Likewise.
45918         (ctan_test_downward): Likewise.
45919         (ctan_test_upward): Likewise.
45920         (ctanh_test_tonearest): Likewise.
45921         (ctanh_test_towardzero): Likewise.
45922         (ctanh_test_downward): Likewise.
45923         (ctanh_test_upward): Likewise.
45924         (main): Call these new functions.
45925         * sysdeps/i386/fpu/libm-test-ulps: Update.
45926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45928 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45930         * .gitignore: Delete /ports entry.
45932 2012-07-03  Andreas Jaeger  <aj@suse.de>
45934         * po/bg.po: Update from translation team.
45935         * po/cs.po: Likewise.
45936         * po/de.po: Likewise.
45937         * po/hr.po: Likewise.
45938         * po/nl.pl: Likewise.
45939         * po/pl.po: Likewise.
45940         * po/vi.po: Likewise.
45942 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45944         * Makeconfig [!+link] (+link-before-libc): New variable.
45945         [!+link] (+link-after-libc): Likewise.
45946         [!+link] (+link-tests): Likewise.
45947         [!+link] (+link): Define in terms of $(+link-before-libc) and
45948         $(+link-after-libc).
45949         [!+link-static] (+link-static-before-libc): New variable.
45950         [!+link-static] (+link-static-after-libc): Likewise.
45951         [!+link-static] (+link-static-tests): Likewise.
45952         [!+link-static] (+link-static): Define in terms of
45953         $(+link-static-before-libc) and $(+link-static-after-libc).
45954         [build-shared] (link-libc-before-gnulib): New variable.
45955         [build-shared] (link-libc-tests): Likewise.
45956         [build-shared] (link-libc): Define in terms of
45957         $(link-libc-before-gnulib).
45958         [!build-shared] (link-libc-tests): New variable.
45959         (link-libc-static-tests): New variable.
45960         [!gnulib] (gnulib-arch): New variable.
45961         [!gnulib] (gnulib-tests): Likewise.
45962         [!gnulib] (static-gnulib-arch): Likewise.
45963         [!gnulib] (static-gnulib-tests): Likewise.
45964         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45965         Define with "=" instead of ":=".
45966         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45967         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45968         * Rules (binaries-all-notests): New variable.
45969         (binaries-all-tests): Likewise.
45970         (binaries-static-notests): Likewise.
45971         (binaries-static-tests): Likewise.
45972         (binaries-all): Define using $(binaries-all-notests) and
45973         $(binaries-all-tests).
45974         (binaries-static): Define using $(binaries-static-notests) and
45975         $(binaries-static-tests).
45976         (binaries-shared-tests): New variable.
45977         (binaries-shared-notests): Likewise.
45978         (binaries-shared): Remove variable.
45979         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45980         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45981         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45982         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45983         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45984         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45985         * elf/Makefile (sln-modules): New variable.
45986         (extra-objs): Add $(sln-modules:=.o).
45987         (ldconfig-modules): Add static-stubs.
45988         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45989         * elf/static-stubs.c: New file.
45991         [BZ #14283]
45992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45993         by 7 not 8 to examine high bit of fractional part.  Use volatile
45994         variables when splitting into final array of floats if
45995         __FLT_EVAL_METHOD__ != 0.
45996         * math/libm-test.inc (cos_test): Add another test.
45997         (sin_test): Likewise.
45998         * sysdeps/i386/fpu/libm-test-ulps: Update.
46000         [BZ #14273]
46001         * math/libm-test.inc (cosh_test): Add more tests.
46003         * version.h (RELEASE): Set to "development".
46004         (VERSION): Set to "2.16.90".
46006 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46008         * NEWS: Update copyright. Remove last-updated date.
46009         Mention math library bug fixes and timezone data changes.
46010         * README: Mention GNU/Hurd, x32, and HPPA support status.
46012 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46014         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46016 2012-06-27  Andreas Jaeger  <aj@suse.de>
46018         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46020 2012-06-25  Andreas Jaeger  <aj@suse.de>
46022         * sysdeps/s390/fpu/libm-test-ulps: Update.
46024 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46025             Thomas Schwinge  <thomas@codesourcery.com>
46027         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46028         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46029         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46030         fanotify_mark.
46032 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46034         * sysdeps/mach/start.c: Remove file.
46035         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46036         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46037         * sysdeps/sh/init-first.c: Likewise.
46039         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46040         registers for frame unwinding purposes, add CFI directives.
46041         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46042         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46043         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46044         Likewise.
46046         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46047         __fortify_fail returning.
46048         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46050         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46051         sysdeps/sh/____longjmp_chk.S.
46052         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46053         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46054         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46055         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46057         * sysdeps/sh/abort-instr.h: New file.
46058         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46059         process in case exit returns.
46061         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46062         initialize the GOT register before use.
46064         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46065         calculation of ARGC > 4.
46067         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46068         meaningful names to some local labels.
46070 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46071             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46073         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46074         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46075         (__arch_compare_and_exchange_val_16_acq): Likewise.
46076         (__arch_compare_and_exchange_val_32_acq): Likewise.
46077         (atomic_exchange_and_add): Fix gUSA sequence.
46078         (atomic_add): Likewise.
46079         (atomic_add_negative): Likewise.
46080         (atomic_add_zero): Likewise.
46081         (atomic_bit_test_set): Likewise.
46083 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46085         [BZ #13579]
46086         * include/link.h (struct link_map): Add l_free_initfini.
46087         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46088         l_initfini.
46089         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46090         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46091         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46092         set.
46094 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46096         * configure.in: Use AC_LANG_SOURCE.
46097         * configure: Regenerate.
46099 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46101         * configure.in (libc_cv_localstatedir): New substituted variable.
46102         * configure: Regenerated.
46103         * config.make.in (localstatedir): New variable, substituted from
46104         libc_cv_localstatedir.
46105         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46106         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46107         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46108         * sysdeps/gnu/configure: Regenerated.
46110 2012-06-21  Jeff Law  <law@redhat.com>
46112         [BZ #14277]
46113         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46114         free.  Simplify list management for _LIBC case.
46116 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46118         [BZ #14273]
46119         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46120         Clear sign bit of 64-bit integer value before comparing against
46121         overflow value.
46123         * sysdeps/mach/configure: Regenerated.
46125 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46127         [BZ #14278]
46128         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46130 2012-06-21  Jeff Law  <law@redhat.com>
46132         [BZ #13882]
46133         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46134         uint16_t for elements in the "seen" array to avoid char overflows.
46135         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46136         * elf/dl-open.c (dl_open_worker): Likewise.
46138 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46140         * scripts/list-sources.sh: Scan PORTS for translations.
46141         * po/libc.pot: Regenerated.
46143 2012-06-21  Andreas Jaeger  <aj@suse.de>
46145         [BZ #12194]
46146         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46147         warning.
46148         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46149         * bits/byteswap-16.h (__bswap_16): Likewise.
46150         * bits/byteswap.h (__bswap_constant_16): Likewise.
46152 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46154         [BZ #14117]
46155         * sysdeps/i386/fpu_control.h: Removed.
46156         * sysdeps/x86_64/fpu_control.h: Moved to ...
46157         * sysdeps/x86/fpu_control.h: Here.
46159         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46160         (_FPU_SETCW): Likewise.
46162 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46164         [BZ #14117]
46165         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46166         * sysdeps/x86/fpu/bits/mathinline.h: This.
46167         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46169         [BZ #14050]
46170         [BZ #14117]
46171         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46172         functions if __x86_64__ is defined.
46174 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46176         * string/endian.h: Add !__ASSEMBLER__ condition for including
46177         conversion interfaces.
46179 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46181         [BZ #14241]
46182         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46183         of ABS(x) in calculating zero to negative powers other than odd
46184         integers.
46185         * math/libm-test.inc (pow_test): Add more tests.
46187 2012-06-15  Andreas Jaeger  <aj@suse.de>
46189         * manual/contrib.texi (Contributors): Update entry of Liubov
46190         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46191         Machado Filho.
46193 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46195         * string/string.h: Add __wur to GNU version of strerror_r.
46197 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46199         [BZ #14229]
46200         * string/Makefile (tests): Add tst-strtok_r.
46201         * string/tst-strtok_r.c: New file.
46202         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46203         RAX_LP/RDX_LP on SAVE_PTR.
46205 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46207         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46209 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46211         * libm_test.inc (csqrt_test): Allow more spurious underflow
46212         exceptions.
46213         (j0_test): Likewise.
46214         (j1_test): Likewise.
46215         (y0_test): Likewise.
46216         (y1_test): Likewise.
46218 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46220         * po/Makefile (libc.pot): Use UTF-8 charset.
46222 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46224         [BZ #14210]
46225         Suppress sign-conversion warning from FD_SET.
46226         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46227         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46228         not unsigned long int.
46229         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46231 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46233         [BZ #14050]
46234         [BZ #14117]
46235         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46236         __extern_always_inline instead of __extern_inline.
46237         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46238         (__signbit): Likewise.
46239         (__signbitl): Support C++ namespace.
46240         (lrintf): New inline function.
46241         (lrint): Likewise.
46242         (llrintf): Likewise.
46243         (llrint): Likewise.
46244         (fmaxf): Likewise.
46245         (fmax): Likewise.
46246         (fminf): Likewise.
46247         (fmin): Likewise.
46248         (rint): Likewise.
46249         (rintf): Likewise.
46250         (ceil): Likewise.
46251         (ceilf): Likewise.
46252         (floor): Likewise.
46253         (floorf): Likewise.
46254         (nearbyint): Likewise.
46255         (nearbyintf): Likewise.
46257 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46260         non-default versions.
46262 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46264         [BZ #14218]
46265         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46267 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46269         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46270         (FE_UPWARD, FE_DOWNWARD): Don't define.
46271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46272         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46274         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46275         reading it.
46276         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46277         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46279 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46281         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46283         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46286 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46288         [BZ #14117]
46289         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46290         * sysdeps/i386/fpu/Implies: New file.
46291         * sysdeps/x86_64/fpu/Implies: Likewise.
46292         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46293         * sysdeps/x86/fpu/bits/fenv.h: This.
46295         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46296         __SSE_MATH__.
46298 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46300         [BZ #14134]
46301         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46302         character 0xffff that matches the last element of the
46303         conversion table.
46305 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46308         fmodl commit.
46310 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46313         values higher than 25.6283.
46315 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46318         subnormal exponent extraction and add some __builtin_expect.
46319         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46320         Fix for subnormal mantissa calculation.
46322 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46324         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46325         cpu2 is -1 and errno is not ENOSYS.
46327 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46329         [BZ #14117]
46330         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46331         * sysdeps/x86/bits/string.h: This.
46332         * sysdeps/x86_64/bits/string.h: Removed.
46334         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46335         if not compiling for x86-64, but compiling for >= i486.
46337         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46338         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46340         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46341         New macro from Linux kernel 3.4.0.
46342         (FP_XSTATE_MAGIC2): Likewise.
46343         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46344         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46345         (struct _fpx_sw_bytes): New struct.
46346         (struct _xsave_hdr): Likewise.
46347         (struct _ymmh_state): Likewise.
46348         (struct _xstate): Likewise.
46350         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46351         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46352         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46353         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46354         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46355         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46357         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46358         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46359         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46360         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46361         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46362         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46364 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46366         [BZ #13743]
46367         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46368         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46369         (sysdep_headers): Include sys/platform/ppc.h.
46370         * sysdeps/powerpc/test-gettimebase.c: Test for
46371         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46372         * manual/Makefile (appendices): Include platform.texi.
46373         * manual/contrib.texi (Contributors): Update @node pointers.
46374         * manual/maint.texi (Maintenance): Likewise.
46375         (Platform): New node.
46376         * manual/platform.texi: New file.  Document the new features.
46378 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46379             Jakub Jelinek  <jakub@redhat.com>
46381         [BZ #14188]
46382         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46383         where __builtin_expect is unavailable.
46385 2012-06-03  David S. Miller  <davem@davemloft.net>
46387         * stdlib/longlong.h: Updated from GCC.
46389 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46391         [BZ #14042]
46392         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46393         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46394         __mcount_internal.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46396         (GLIBC_2.16): Likewise.
46398 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46400         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46402 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46405         (default-abi): New variable.
46406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46407         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46408         variable.
46409         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46410         Likewise.
46411         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46412         Likewise.
46413         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46414         Likewise.
46416         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46417         definition.  Document in comment.
46419 2012-06-01  David S. Miller  <davem@davemloft.net>
46421         * stdlib/longlong.h: Updated from GCC.
46423 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46425         [BZ #14117]
46426         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46427         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46428         sys/debugreg.h sys/io.h here.
46429         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46430         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46431         sys/io.h.
46432         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46433         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46434         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46435         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46436         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46437         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46439         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46440         Define only if __x86_64__ is defined.
46442 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46444         [BZ #14048]
46445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46446         Use int64_t for variable i.
46447         * math/libm-test.inc (fmod_test): Add more tests.
46449         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46450         z computation is not scheduled after fetestexcept.
46451         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46452         Use math_force_eval instead of asm to ensure calculation scheduled
46453         before exception test.
46454         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46455         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46457 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46460         computation is not scheduled after fetestexcept.
46462 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46464         [BZ #14117]
46465         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46466         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46468 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46470         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46471         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46473 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46475         [BZ #14117]
46476         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46477         <bits/wordsize.h>.
46478         (__WCHAR_MIN): Support __WORDSIZE == 64.
46479         (__WCHAR_MAX): Likewise.
46481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46482         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46484         [BZ #14183]
46485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46486         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46488         [BZ #14117]
46489         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46490         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46492         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46493         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46495         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46496         Defined to 1 if __x86_64__ isn't defined.
46497         (_STAT_VER_LINUX_OLD): New.
46498         (st_atime): Remove duplicate.
46499         (st_mtime): Likewise.
46500         (st_ctime): Likewise.
46502 2012-05-31  David S. Miller  <davem@davemloft.net>
46504         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46505         entries.
46507 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46509         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46510         gen-libm-test.pl.
46512         [BZ #14132]
46513         * elf/dl-reloc.c: Include <_itoa.h>.
46514         (_dl_reloc_bad_type): Remove use of INTUSE.
46515         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46516         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46517         * stdio-common/psiginfo.c (psiginfo): Likewise.
46518         * stdio-common/psignal.c (psignal): Likewise.
46519         * string/strsignal.c (strsignal): Likewise.
46520         * include/signal.h (_sys_siglist): Declare hidden proto.
46521         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46522         INTVARDEF with libc_hidden_data_def.
46523         * stdio-common/itoa-udigits.c: Likewise.
46524         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46525         (_itoa_lower_digits_internal): Remove declaration.
46526         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46527         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46528         (_sys_sigabbrev_internal): Remove aliases.
46529         (_sys_siglist): Define hidden alias.
46531 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46534         bits/sysctl.h.
46536 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46538         [BZ #14117]
46539         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46540         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46542         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46543         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46544         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46545         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46546         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46547         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46549         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46550         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46551         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46553         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46554         with __addr.
46555         (insw): Likewise.
46556         (insl): Likewise.
46557         (outsb): Likewise.
46558         (outsw): Likewise.
46559         (outsl): Likewise.
46561         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46562         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46563         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46565         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46566         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46567         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46568         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46569         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46570         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46572         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46573         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46575         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46576         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46578         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46580         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46582         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46583         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46584         to ...
46585         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46587         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46588         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46589         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46591         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46592         for x86-64.
46593         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46595 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46597         * math/math.h (M_El): Use two more decimal places.
46598         (M_LOG2El): Likewise.
46599         (M_LOG10El): Likewise.
46600         (M_LN2l): Likewise.
46601         (M_LN10l): Likewise.
46602         (M_PIl): Likewise.
46603         (M_PI_2l): Likewise.
46604         (M_PI_4l): Likewise.
46605         (M_1_PIl): Likewise.
46606         (M_2_PIl): Likewise.
46607         (M_2_SQRTPIl): Likewise.
46608         (M_SQRT2l): Likewise.
46609         (M_SQRT1_2l): Likewise.
46611 2012-05-31  David S. Miller  <davem@davemloft.net>
46613         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46614         values between float registers.
46615         * sysdeps/sparc/sparc64/memset.S: Likewise.
46616         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46618 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46620         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46621         -D_FORTIFY_SOURCE=1.
46622         (CPPFLAGS-tst-longjmp_chk.c): Define.
46623         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46624         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46625         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46626         CFLAGS-tst-wchar-h.c.
46628 2012-05-31  Marek Polacek  <polacek@redhat.com>
46630         [BZ #14132]
46631         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46632         __endmntent_internal): Remove declaration.
46633         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46634         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46635         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46637 2012-05-30  David S. Miller  <davem@davemloft.net>
46639         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46640         (___Q_simulate_exceptions): Use real FP ops rather than writing
46641         into the %fsr.
46642         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46643         Likewise.
46645 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46647         [BZ #14117]
46648         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46649         * sysdeps/x86/bits/xtitypes.h: This.
46651         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46652         * sysdeps/x86/bits/wordsize.h: This.
46654         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46655         * sysdeps/x86/bits/huge_vall.h: This.
46657         * sysdeps/i386/bits/select.h: Removed.
46658         * sysdeps/x86_64/bits/select.h: Renamed to ...
46659         * sysdeps/x86/bits/select.h: This.
46661         * sysdeps/i386/bits/setjmp.h: Removed.
46662         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46663         * sysdeps/x86/bits/setjmp.h: This.
46665         * sysdeps/i386/bits/mathdef.h: Removed.
46666         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46667         * sysdeps/x86/bits/mathdef.h: This.
46669 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46671         [BZ #14132]
46672         * include/sys/socket.h (__connect_internal)
46673         (__libc_sa_len_internal): Remove declaration.
46674         (__connect, __libc_sa_len): Declare hidden_proto.
46675         (SA_LEN): Remove use of INTUSE.
46676         * socket/connect.c: Add libc_hidden_def.
46677         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46678         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46679         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46680         alias.
46681         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46682         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46683         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46684         of adding _internal alias.
46686 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46688         [BZ #14117]
46689         * sysdeps/i386/bits/link.h: Removed.
46690         * sysdeps/i386/bits/linkmap.h: Likewise.
46691         * sysdeps/x86_64/bits/link.h: Renamed to ...
46692         * sysdeps/x86/bits/link.h: This.
46693         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46694         * sysdeps/x86/bits/linkmap.h: This.
46696         * sysdeps/i386/bits/endian.h: Removed.
46697         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46698         * sysdeps/x86/bits/endian.h: This.
46700         * sysdeps/i386/bits/byteswap.h: Removed.
46701         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46702         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46703         * sysdeps/x86/bits/byteswap.h: This.
46704         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46705         * sysdeps/x86/bits/byteswap-16.h: This.
46706         * sysdeps/i386/Implies: Add x86.
46707         * sysdeps/x86_64/Implies: Likewise.
46709 2012-05-30  David S. Miller  <davem@davemloft.net>
46711         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46712         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46713         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46714         (FP_TRAPPING_EXCEPTIONS): Define.
46715         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46716         (FP_TRAPPING_EXCEPTIONS): Define.
46717         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46718         subnormals only when inexact has been signalled or underflow
46719         exceptions are enabled.
46720         (_FP_PACK_CANONICAL): Likewise.
46722 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46724         [BZ #14183]
46725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46726         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46728 2012-05-30  Richard Henderson  <rth@twiddle.net>
46730         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46731         with #ifndef NOT_IN_libc.
46733         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46734         marked to avoid plt entry.
46736 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46738         [BZ #14112]
46739         * Makeconfig (default-abi): New macro.
46740         (abi-includes): Likewise.
46741         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46742         $(abi-$(default-abi)-lib-soname) for soname if defined.
46743         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46744         abi-variants.
46745         * Makefile (installed-stubs): Likewise.
46746         * include/stubs-biarch.h: Removed.
46747         * scripts/lib-names.awk: Only handle one library at a time.
46748         * scripts/soversions.awk: Remove WORDSIZE support.
46749         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46750         entries.
46751         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46752         Removed.
46753         (syscall-list-default-condition): Likewise.
46754         (syscall-list-default-condition): Likewise.
46755         (syscall-list-includes): Likewise.
46756         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46757         syscall-list-* with abi-*.  Handle undefined abi-variants.
46758         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46759         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46760         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46761         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46762         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46763         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46764         Removed.
46765         (syscall-list-32-options): Likewise.
46766         (syscall-list-32-condition): Likewise.
46767         (syscall-list-64-options): Likewise.
46768         (syscall-list-64-condition): Likewise.
46769         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46770         macro.
46771         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46772         Renamed to ...
46773         (abi-*): This.
46774         (abi-64-ld-soname): New macro.
46775         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46776         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46777         Renamed to ...
46778         (abi-*): This.
46779         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46780         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46782 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46784         * sysdeps/unix/sysv/linux/kernel-features.h
46785         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46786         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46787         include <kernel-features.h>.
46788         [!__NR_ftruncate64]: Remove conditional code.
46789         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46790         [__NR_ftruncate64]: Make code unconditional.
46791         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46792         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46793         include <kernel-features.h>.
46794         [!__NR_ftruncate64]: Remove conditional code.
46795         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46796         [__NR_ftruncate64]: Make code unconditional.
46797         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46799         include <kernel-features.h>.
46800         [!__NR_ftruncate64]: Remove conditional code.
46801         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46802         [__NR_ftruncate64]: Make code unconditional.
46803         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46805         include <kernel-features.h>.
46806         [!__NR_ftruncate64]: Remove conditional code.
46807         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46808         [__NR_ftruncate64]: Make code unconditional.
46809         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46811         * configure.in (libc_cv_fpie): Weaken to a compile test using
46812         LIBC_TRY_CC_OPTION.
46813         * configure: Regenerated.
46815 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46821         Refreshed.
46822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46828         Refreshed.
46830 2012-05-27  David S. Miller  <davem@davemloft.net>
46832         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46833         (___Q_zero): New.
46834         (__Q_simulate_exceptions): Return void.  Change to simulate
46835         exceptions by writing into the %fsr.
46836         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46837         (__Qp_handle_exceptions): Likewise.
46838         (numbers): Delete.
46839         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46840         __Qp_handle_exceptions.
46841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46842         __Qp_handle_exceptions.
46843         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46844         as unused and give dummy FP_RND_NEAREST initializer.
46845         (FP_INHIBIT_RESULTS): Define.
46846         (___Q_simulate_exceptions): Update declaration.
46847         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46848         formatting.
46849         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46850         as unused and give dummy FP_RND_NEAREST initializer.
46851         (__Qp_handle_exceptions): Update declaration.
46852         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46853         formatting.
46855 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46857         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46858         the temporary FPU control word.
46859         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46860         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46861         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46862         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46863         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46864         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46865         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46867         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46868         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46869         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46871 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46873         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46874         fields.
46876 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46878         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46879         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46880         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46881         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46882         Likewise.
46883         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46884         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46885         Likewise.
46887 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46889         * po/h.po: Update from translation team.
46891 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46893         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46895         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46896         handling of denormals.
46897         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46898         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46899         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46900         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46902         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46903         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46904         Likewise.
46906 2012-05-26  Marek Polacek  <polacek@redhat.com>
46908         [BZ #14152]
46909         * math/libm-test.inc (fma_test): Don't always expect underflow
46910         exception.
46912 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46914         [BZ #12416]
46915         * elf/tst-execstack.c: Include stackinfo.h.
46916         (do_test): Adjust test case to ensure that pthread_getattr_np
46917         behaviour remains the same after marking stack executable.
46919 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46921         * sysdeps/unix/sysv/linux/kernel-features.h
46922         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46923         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46924         kernel-features.h.
46925         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46926         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46927         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46928         kernel-features.h.
46929         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46930         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46932 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46934         * configure.in: Define the default includes to being none.
46935         * configure: Regenerated.
46937 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46939         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46940         * sysdeps/x86_64/setjmp.S: Likewise.
46941         * sysdeps/i386/bsd-setjmp.S: Likewise.
46942         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46943         * sysdeps/i386/setjmp.S: Likewise.
46944         * sysdeps/i386/__longjmp.S: Likewise.
46945         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46946         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46948         * include/stap-probe.h: New file.
46949         * configure.in: Handle --enable-systemtap.
46950         * configure: Regenerated.
46951         * config.h.in (USE_STAP_PROBE): New #undef.
46952         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46953         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46954         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46956 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46958         [BZ #13717]
46959         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46960         to 2.4.0 where earlier.
46961         * sysdeps/unix/sysv/linux/configure: Regenerated.
46962         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46963         <kernel-features.h>.
46964         [__ASSUME_32BITUIDS]: Make code unconditional.
46965         [!__ASSUME_32BITUIDS]: Remove conditional code.
46966         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46967         <kernel-features.h>.
46968         [__ASSUME_32BITUIDS]: Make code unconditional.
46969         [!__ASSUME_32BITUIDS]: Remove conditional code.
46970         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46971         [__ASSUME_32BITUIDS]: Make code unconditional.
46972         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46973         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46974         <kernel-features.h>.
46975         [__ASSUME_32BITUIDS]: Make code unconditional.
46976         [!__ASSUME_32BITUIDS]: Remove conditional code.
46977         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46978         <kernel-features.h>.
46979         [__ASSUME_32BITUIDS]: Make code unconditional.
46980         [!__ASSUME_32BITUIDS]: Remove conditional code.
46981         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46982         <kernel-features.h>.
46983         [__ASSUME_32BITUIDS]: Make code unconditional.
46984         [!__ASSUME_32BITUIDS]: Remove conditional code.
46985         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46986         <kernel-features.h>.
46987         [__ASSUME_32BITUIDS]: Make code unconditional.
46988         [!__ASSUME_32BITUIDS]: Remove conditional code.
46989         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46990         <kernel-features.h>.
46991         [__ASSUME_32BITUIDS]: Make code unconditional.
46992         [!__ASSUME_32BITUIDS]: Remove conditional code.
46993         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46994         <kernel-features.h>.
46995         [__ASSUME_32BITUIDS]: Make code unconditional.
46996         [!__ASSUME_32BITUIDS]: Remove conditional code.
46997         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46998         <kernel-features.h>.
46999         [__ASSUME_32BITUIDS]: Make code unconditional.
47000         [!__ASSUME_32BITUIDS]: Remove conditional code.
47001         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47002         <kernel-features.h>.
47003         [__ASSUME_32BITUIDS]: Make code unconditional.
47004         [!__ASSUME_32BITUIDS]: Remove conditional code.
47005         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47006         <kernel-features.h>.
47007         [__ASSUME_32BITUIDS]: Make code unconditional.
47008         [!__ASSUME_32BITUIDS]: Remove conditional code.
47009         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47010         <kernel-features.h>.
47011         [__ASSUME_32BITUIDS]: Make code unconditional.
47012         [!__ASSUME_32BITUIDS]: Remove conditional code.
47013         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47014         <kernel-features.h>.
47015         [__NR_setresgid] (__setresgid): Do not declare.
47016         [__ASSUME_32BITUIDS]: Make code unconditional.
47017         [!__ASSUME_32BITUIDS]: Remove conditional code.
47018         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47019         <kernel-features.h>.
47020         [__NR_setresuid] (__setresuid): Do not declare.
47021         [__ASSUME_32BITUIDS]: Make code unconditional.
47022         [!__ASSUME_32BITUIDS]: Remove conditional code.
47023         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47024         <kernel-features.h>.
47025         [__ASSUME_32BITUIDS]: Make code unconditional.
47026         [!__ASSUME_32BITUIDS]: Remove conditional code.
47027         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47028         <kernel-features.h>.
47029         [__ASSUME_32BITUIDS]: Make code unconditional.
47030         [!__ASSUME_32BITUIDS]: Remove conditional code.
47031         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47032         <kernel-features.h>.
47033         [__ASSUME_32BITUIDS]: Make code unconditional.
47034         [!__ASSUME_32BITUIDS]: Remove conditional code.
47035         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47036         <kernel-features.h>.
47037         [__ASSUME_32BITUIDS]: Make code unconditional.
47038         [!__ASSUME_32BITUIDS]: Remove conditional code.
47039         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47040         <kernel-features.h>.
47041         [__ASSUME_32BITUIDS]: Make code unconditional.
47042         [!__ASSUME_32BITUIDS]: Remove conditional code.
47043         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47044         <kernel-features.h>.
47045         [__ASSUME_32BITUIDS]: Make code unconditional.
47046         [!__ASSUME_32BITUIDS]: Remove conditional code.
47047         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47048         <kernel-features.h>.
47049         [__ASSUME_32BITUIDS]: Make code unconditional.
47050         [!__ASSUME_32BITUIDS]: Remove conditional code.
47051         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47052         <kernel-features.h>.
47053         [__ASSUME_32BITUIDS]: Make code unconditional.
47054         [!__ASSUME_32BITUIDS]: Remove conditional code.
47055         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47056         <kernel-features.h>.
47057         [__ASSUME_32BITUIDS]: Make code unconditional.
47058         [!__ASSUME_32BITUIDS]: Remove conditional code.
47059         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47060         <kernel-features.h>.
47061         [__ASSUME_32BITUIDS]: Make code unconditional.
47062         [!__ASSUME_32BITUIDS]: Remove conditional code.
47063         * sysdeps/unix/sysv/linux/kernel-features.h
47064         (__ASSUME_SETRESUID_SYSCALL): Remove.
47065         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47066         (__ASSUME_32BITUIDS): Likewise.
47067         (__ASSUME_LDT_WORKS): Likewise.
47068         (__ASSUME_O_DIRECTORY): Likewise.
47069         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47070         architecture but not kernel version.
47071         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47072         (__ASSUME_MMAP2_SYSCALL): Likewise.
47073         (__ASSUME_STAT64_SYSCALL): Likewise.
47074         (__ASSUME_IPC64): Likewise.
47075         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47076         <kernel-features.h>.
47077         [__ASSUME_32BITUIDS]: Make code unconditional.
47078         [!__ASSUME_32BITUIDS]: Remove conditional code.
47079         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47080         <kernel-features.h>.
47081         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47082         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47083         132096]: Remove conditional code.
47084         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47085         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47086         <kernel-features.h>.
47087         [__ASSUME_32BITUIDS]: Make code unconditional.
47088         [!__ASSUME_32BITUIDS]: Remove conditional code.
47089         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47090         <kernel-features.h>.
47091         [__ASSUME_32BITUIDS]: Make code unconditional.
47092         [!__ASSUME_32BITUIDS]: Remove conditional code.
47093         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47094         <kernel-features.h>.
47095         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47096         unconditional.
47097         (__setresgid): Do not declare.
47098         [__ASSUME_32BITUIDS]: Make code unconditional.
47099         [!__ASSUME_32BITUIDS]: Remove conditional code.
47100         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47101         <kernel-features.h>.
47102         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47103         unconditional.
47104         (__setresuid): Do not declare.
47105         [__ASSUME_32BITUIDS]: Make code unconditional.
47106         [!__ASSUME_32BITUIDS]: Remove conditional code.
47107         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47108         <kernel-features.h>.
47109         [__ASSUME_32BITUIDS]: Make code unconditional.
47110         [!__ASSUME_32BITUIDS]: Remove conditional code.
47111         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47112         <kernel-features.h>.
47113         [__ASSUME_32BITUIDS]: Make code unconditional.
47114         [!__ASSUME_32BITUIDS]: Remove conditional code.
47116 2012-05-25  Richard Henderson  <rth@twiddle.net>
47118         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47119         dl_hwcap to ifunc resolver.
47120         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47121         elf_ifunc_invoke.
47122         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47123         dl_hwcap to ifunc resolver.
47124         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47126 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47128         [BZ #14153]
47129         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47130         for |x| <= 2**-26, not 2**-57.
47131         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47132         exception.
47134 2012-05-24  Jeff Law  <law@redhat.com>
47136         * stdio-common/Makefile (tests): Add bug25.
47137         * stdio-common/bug25.c: New test.
47139 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47141         [BZ #13576]
47142         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47143         multiple of MALLOC_ALIGNMENT in size.
47144         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47146 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47148         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47149         Require >= 256.
47150         (FILENAME_MAX): Use macro-int-constant.
47151         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47152         (_IOFBF): Use macro-int-constant.
47153         (_IOLBF): Likewise.
47154         (_IONBF): Likewise.
47155         (SEEK_CUR): Likewise.
47156         (SEEK_END): Likewise.
47157         (SEEK_SET): Likewise.
47158         (TMP_MAX): Likewise.
47159         (EOF): Use macro-int-constant.  Require < 0.
47160         (NULL): Use macro-constant.  Require == 0.
47161         (stdin): Require type to be FILE *.
47162         (stdout): Likewise.
47163         (stderr): Likewise.
47164         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47165         macro-int-constant.
47166         (EXIT_SUCCESS): Likewise.
47167         (NULL): Use macro-constant.  Require == 0.
47168         (RAND_MAX): Use macro-int-constant.
47169         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47170         [C99-based standards] (strtof): Require function.
47171         [C99-based standards] (strtold): Likewise.
47172         [C99-based standards] (strtoll): Likewise.
47173         [C99-based standards] (strtoull): Likewise.
47174         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47175         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47176         [ISO || ISO99 || ISO11] (math.h): Likewise.
47177         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47178         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47181 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47183         [BZ #14132]
47184         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47185         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47186         * intl/dgettext.c (DCGETTEXT): Likewise.
47187         * intl/gettext.c (DCGETTEXT): Likewise.
47188         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47189         * posix/regex_internal.h (gettext): Likewise.
47190         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47191         Remove declaration.
47192         * include/argz.h (__argz_count_internal)
47193         (__argz_stringify_internal): Remove declaration.
47194         (__argz_count, __argz_stringify): Declare hidden proto.
47195         * intl/dcgettext.c: Remove use of INTDEF.
47196         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47197         * string/argz-stringify.c: Likewise.
47198         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47199         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47200         Declare hidden proto.
47201         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47202         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47203         Declare hidden proto.
47204         * include/stdio.h (__asprintf_internal): Don't declare.
47205         (__asprintf): Don't define as macro.  Declare hidden proto.
47206         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47207         (__fsetlocking): Declare hidden proto.
47208         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47209         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47210         hidden proto.
47211         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47212         (_IO_setlinebuf): Remove use of INTUSE.
47213         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47214         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47215         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47216         Remove declaration.
47217         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47218         (_IO_do_flush): Remove use of INTUSE.
47219         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47220         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47221         (_IO_adjust_column, _IO_least_wmarker)
47222         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47223         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47224         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47225         (_IO_default_doallocate, _IO_wdefault_doallocate)
47226         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47227         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47228         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47229         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47230         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47231         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47232         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47233         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47234         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47235         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47236         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47237         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47238         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47239         proto.
47240         (_IO_flush_all_internal, _IO_adjust_column_internal)
47241         (_IO_default_uflow_internal, _IO_default_finish_internal)
47242         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47243         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47244         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47245         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47246         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47247         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47248         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47249         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47250         (_IO_file_close_internal, _IO_file_close_it_internal)
47251         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47252         (_IO_file_init_internal, _IO_file_attach_internal)
47253         (_IO_file_fopen_internal, _IO_file_read_internal)
47254         (_IO_file_sync_internal, _IO_file_seek_internal)
47255         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47256         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47257         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47258         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47259         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47260         (_IO_list_all_internal, _IO_link_in_internal)
47261         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47262         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47263         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47264         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47265         (_IO_do_write_internal, _IO_padn_internal)
47266         (_IO_getline_info_internal, _IO_getline_internal)
47267         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47268         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47269         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47270         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47271         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47272         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47273         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47274         with libc_hidden_ver, remove use of INTUSE.
47275         * libio/genops.c: Likewise.
47276         * libio/freopen.c: Likewise.
47277         * libio/freopen64.c: Likewise.
47278         * libio/iofclose.c: Likewise.
47279         * libio/iofdopen.c: Likewise.
47280         * libio/iofflush.c: Likewise.
47281         * libio/iofflush_u.c: Likewise.
47282         * libio/iofgets.c: Likewise.
47283         * libio/iofgets_u.c: Likewise.
47284         * libio/iofopen.c: Likewise.
47285         * libio/iofopncook.c: Likewise.
47286         * libio/iofread.c: Likewise.
47287         * libio/iofread_u.c: Likewise.
47288         * libio/ioftell.c: Likewise.
47289         * libio/iofwrite.c: Likewise.
47290         * libio/iogetline.c: Likewise.
47291         * libio/iogets.c: Likewise.
47292         * libio/iogetwline.c: Likewise.
47293         * libio/iopadn.c: Likewise.
47294         * libio/iopopen.c: Likewise.
47295         * libio/ioseekoff.c: Likewise.
47296         * libio/ioseekpos.c: Likewise.
47297         * libio/iosetbuffer.c: Likewise.
47298         * libio/iosetvbuf.c: Likewise.
47299         * libio/ioungetc.c: Likewise.
47300         * libio/ioungetwc.c: Likewise.
47301         * libio/iovdprintf.c: Likewise.
47302         * libio/iovsprintf.c: Likewise.
47303         * libio/iovsscanf.c: Likewise.
47304         * libio/memstream.c: Likewise.
47305         * libio/obprintf.c: Likewise.
47306         * libio/oldfileops.c: Likewise.
47307         * libio/oldiofclose.c: Likewise.
47308         * libio/oldiofdopen.c: Likewise.
47309         * libio/oldiofopen.c: Likewise.
47310         * libio/oldiopopen.c: Likewise.
47311         * libio/oldstdfiles.c: Likewise.
47312         * libio/putc.c: Likewise.
47313         * libio/setbuf.c: Likewise.
47314         * libio/setlinebuf.c: Likewise.
47315         * libio/stdfiles.c: Likewise.
47316         * libio/strops.c: Likewise.
47317         * libio/vasprintf.c: Likewise.
47318         * libio/vscanf.c: Likewise.
47319         * libio/vsnprintf.c: Likewise.
47320         * libio/vswprintf.c: Likewise.
47321         * libio/wfiledoalloc.c: Likewise.
47322         * libio/wfileops.c: Likewise.
47323         * libio/wgenops.c: Likewise.
47324         * libio/wmemstream.c: Likewise.
47325         * libio/wstrops.c: Likewise.
47326         * libio/__fpurge.c: Likewise.
47327         * libio/__fsetlocking.c: Likewise.
47328         * assert/assert.c: Likewise.
47329         * debug/fgets_chk.c: Likewise.
47330         * debug/fgets_u_chk.c: Likewise.
47331         * debug/fread_chk.c: Likewise.
47332         * debug/fread_u_chk.c: Likewise.
47333         * debug/gets_chk.c: Likewise.
47334         * debug/obprintf_chk.c: Likewise.
47335         * debug/vasprintf_chk.c: Likewise.
47336         * debug/vdprintf_chk.c: Likewise.
47337         * debug/vsnprintf_chk.c: Likewise.
47338         * debug/vsprintf_chk.c: Likewise.
47339         * malloc/mtrace.c: Likewise.
47340         * misc/error.c: Likewise.
47341         * misc/syslog.c: Likewise.
47342         * stdio-common/asprintf.c: Likewise.
47343         * stdio-common/fxprintf.c: Likewise.
47344         * stdio-common/getw.c: Likewise.
47345         * stdio-common/isoc99_fscanf.c: Likewise.
47346         * stdio-common/isoc99_scanf.c: Likewise.
47347         * stdio-common/isoc99_vfscanf.c: Likewise.
47348         * stdio-common/isoc99_vscanf.c: Likewise.
47349         * stdio-common/isoc99_vsscanf.c: Likewise.
47350         * stdio-common/printf-prs.c: Likewise.
47351         * stdio-common/printf_fp.c: Likewise.
47352         * stdio-common/printf_fphex.c: Likewise.
47353         * stdio-common/printf_size.c: Likewise.
47354         * stdio-common/putw.c: Likewise.
47355         * stdio-common/scanf.c: Likewise.
47356         * stdio-common/sprintf.c: Likewise.
47357         * stdio-common/tmpfile.c: Likewise.
47358         * stdio-common/vfprintf.c: Likewise.
47359         * stdio-common/vfscanf.c: Likewise.
47360         * stdlib/strfmon_l.c: Likewise.
47361         * sunrpc/openchild.c: Likewise.
47362         * sunrpc/xdr_stdio.c: Likewise.
47363         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47364         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47366 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47368         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47370         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47371         in the third column, to generate for the shared library an IFUNC
47372         that uses _dl_vdso_vsym.
47373         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47374         * Makeconfig (object-suffixes-noshared): New variable.
47376         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47377         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47378         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47379         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47381         [BZ #14132]
47382         * include/sys/time.h (__gettimeofday): Remove macro.
47383         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47384         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47385         Remove INTDEF.
47386         (__gettimeofday): Add libc_hidden_def.
47387         (gettimeofday): Add libc_hidden_weak.
47388         * sysdeps/mach/gettimeofday.c: Likewise.
47389         * sysdeps/posix/gettimeofday.c: Likewise.
47390         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47391         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47393         (__gettimeofday_internal): Remove strong_alias.
47394         (__gettimeofday): Add libc_hidden_def.
47395         (gettimeofday): Add libc_hidden_weak.
47396         * sysdeps/unix/syscalls.list (gettimeofday):
47397         Remove __gettimeofday_internal alias.
47399 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47400             H.J. Lu  <hongjiu.lu@intel.com>
47402         [BZ #12495]
47403         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47404         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47405         (largebin_index_32_big): New.
47406         (largebin_index): Use it for 16-byte alignment.
47407         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47408         correction with front_misalign.
47410 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47414         Likewise.
47415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47416         Likewise.
47417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47418         Likewise.
47419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47420         Likewise.
47421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47422         Likewise.
47423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47424         Likewise.
47425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47426         Likewise.
47427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47428         Likewise.
47429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47430         Likewise.
47431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47432         Likewise.
47433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47434         Likewise.
47435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47436         Likewise.
47438         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47439         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47441 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47443         [BZ #10846]
47444         [BZ #14036]
47445         * math/libm-test.inc (exp_test): Add test from bug 14036.
47446         (pow_test): Add test from bug 10846.
47448         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47449         and other flags.
47450         (special_function): Do not include flags in test name.
47451         (parse_args): Likewise.
47452         * sysdeps/i386/fpu/libm-test-ulps: Update.
47453         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47454         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47455         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47458         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47459         exceptions.
47460         * math/libm-test.inc ("Philosophy"): Update comment about
47461         exception testing.
47462         (UNDERFLOW_EXCEPTION): New macro.
47463         (UNDERFLOW_EXCEPTION_OK): Likewise.
47464         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47465         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47466         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47467         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47468         (INVALID_EXCEPTION_OK): Update value.
47469         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47470         (OVERFLOW_EXCEPTION_OK): Likewise.
47471         (IGNORE_ZERO_INF_SIGN): Likewise.
47472         (test_exceptions): Handle underflow exceptions.
47473         (acos_test): Update for underflow exception expectations.
47474         (cexp_test): Likewise.
47475         (clog_test): Likewise.
47476         (clog10_test): Likewise.
47477         (csqrt_test): Likewise.
47478         (ctan_test): Likewise.
47479         (ctanh_test): Likewise.
47480         (exp_test): Likewise.
47481         (exp10_test): Likewise.
47482         (exp2_test): Likewise.
47483         (expm1_test): Likewise.
47484         (fma_test): Likewise.
47485         (j0_test): Likewise.
47486         (jn_test): Likewise.
47487         (nexttoward_test): Likewise.
47488         (pow_test): Likewise.
47489         (scalbn_test): Likewise.
47490         (scalbln_test): Likewise.
47491         (tan_test): Likewise.
47492         (y1_test): Likewise.
47493         * sysdeps/i386/fpu/libm-test-ulps: Update.
47494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47496 2012-05-23  David S. Miller  <davem@davemloft.net>
47498         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47499         (__libc_sigaction): Remove unused local variables.
47501 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47503         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47505 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47507         mktime: avoid signed integer overflow
47508         * time/mktime.c (__mktime_internal): Do not mishandle the case
47509         where diff == INT_MIN.
47511         mktime: simplify computation of average
47512         * time/mktime.c (ranged_convert): Use new time_t_avg function
47513         instead of rolling our own (probably-slower) code.
47515         mktime: do not assume signed right shift propagates sign bit
47516         * time/mktime.c (isdst_differ): New static function.
47517         (__mktime_internal): No need to normalize tm_isdst now.
47518         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47519         tm_isdst values.
47521         mktime: merge another wrapv change from gnulib
47522         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47523         from some compilers.
47525         mktime: remove incorrect attempt at unusual arithmetics
47526         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47527         The code didn't really work on such machines anyway.
47528         (TYPE_MINIMUM): Assume two's complement.
47529         (twos_complement_arithmetic): Verify that long_int and time_t
47530         are two's complement (or unsigned, in the latter case).
47532         mktime: check signed shifts on long_int and time_t, too
47533         * time/mktime.c (SHR): Check that shifts work as desired
47534         on the types long_int and time_t too, as SHR is used on
47535         such types.
47537         mktime: do not assume 'long' is wide enough
47538         * time/mktime.c (verify): Move decl up.
47539         (long_int): New type.
47540         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47541         to remove assumption in the code that 'long' is wide enough to
47542         store year values.  This assumption is not true on x32 and on
47543         some non-glibc platforms.
47545         mktime: merge wrapv change from gnulib
47546         * time/mktime.c (WRAPV): New macro.
47547         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47548         (guess_time_tm, __mktime_internal): Do not assume that signed
47549         integer overflow wraps around; modern compilers generate code
47550         where this assumption is no longer valid.
47552 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47554         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47555         Replace "jmp L(pseudo_end)" with "ret".
47556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47557         Likewise.
47559 2012-05-23  Andreas Jaeger  <aj@suse.de>
47561         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47562         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47564 2012-05-23  Andreas Jaeger  <aj@suse.de>
47565             Maximilian Attems  <max@stro.at>
47567         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47568         New macros.
47570 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47572         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47573         code so that pseudo_end is just ret and the stack pointer is
47574         correct also for static library in error case.
47576 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47578         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47579         move to syscalls.list.
47580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47585         * manual/install.texi (Running make install): Do not mention Linux
47586         kernel version for which pt_chown is not needed.
47587         (Linux): Do not mention problems with nscd with 2.0 kernels.
47588         * INSTALL: Regenerated.
47590 2012-05-23  Andreas Jaeger  <aj@suse.de>
47592         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47593         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47594         macro.
47595         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47596         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47597         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47598         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47599         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47600         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47601         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47602         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47603         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47604         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47605         * sysdeps/unix/sysv/linux/bits/in.h
47606         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47608 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47610         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47611         (PREPARE_VERSION): Just use assert instead, it will be elided
47612         under [NDEBUG] anyway.
47614 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47616         * sysdeps/unix/sysv/linux/Makefile: Include
47617         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47618         (sysdep_routines): Remove sysctl.
47619         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47620         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47621         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47622         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47623         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47625 2012-05-22  Andreas Jaeger  <aj@suse.de>
47627         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47628         that pseudo_end is just ret and the stack pointer is correct also
47629         for static library in error case.
47631 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47633         [BZ #14122]
47634         * nss/nsswitch.c (defconfig_entries): New variable.
47635         (__nss_database_lookup): Don't leak defconfig entries.
47636         (nss_parse_service_list): Don't leak on error paths.
47637         (free_database_entries): New function.
47638         (free_defconfig): New function.
47639         (free_mem): Move common code to free_database_entries.
47641 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47643         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47644         Add arch_prctl.
47645         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47647         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47648         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47650         New macro.
47651         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47652         (INTERNAL_SYSCALL_TYPES): Likewise.
47653         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47654         (LOAD_REGS_TYPES_[1-6]): Likewise.
47655         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47656         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47658 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47660         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47661         copysignl for GLIBC_2_0.
47662         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47663         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47665         logbl for GLIBC_2_0.
47666         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47667         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47669 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47672         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47674         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47675         Use "neg %eax".
47677         * time/mktime.c: Update copyright years.
47679 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47681         mktime: merge comment-quoting-style change from gnulib
47682         * time/mktime.c: Quote 'like this' in comments.
47683         The GNU coding standards suggest that we no longer quote `like this',
47684         as "`" and "'" are typically rendered asymmetrically nowadays.
47685         The typical gnulib style is to quote 'like this' when quoting
47686         code, and "like this" when quoting English.
47688         * time/mktime.c (compile-command): Add "-I.".
47690         mktime: merge mktime-internal.h change from gnulib
47691         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47693         mktime: merge time_r change from gnulib
47694         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47696         mktime: merge DEBUG change from gnulib
47697         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47698         case system <time.h> has a #define.
47700         mktime: merge <sys/types.h> change from gnulib
47701         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47702         since <time.t> is now guaranteed to define time_t.
47704         mktime: merge HAVE_CONFIG_H change from gnulib
47705         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47707 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47710         Use "neg %eax".
47712         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47713         __rlim_t cast.
47714         (struct rusage): Use anonymous union to pad each field to
47715         __syscall_slong_t.
47717 2012-05-21  David S. Miller  <davem@davemloft.net>
47719         * Makefules (o-iterator): Remove .s cases.
47720         (compile-command.s): Delete.
47721         (COMPILE.s): Delete.
47722         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47724 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47726         * configure.in (libc_cv_predef_stack_protector): Only consider
47727         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47728         * configure: Regenerated.
47730 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47733         New macro.  Use R*LP on int and pointer.
47734         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47735         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47736         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47737         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47739         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47740         [__WORDSIZE_TIME64_COMPAT32] instead of
47741         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47742         (struct utmp): Likewise.
47743         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47744         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47745         Renamed to ...
47746         (__WORDSIZE_TIME64_COMPAT32): This.
47747         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47748         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47749         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47750         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47751         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47752         (__WORDSIZE_TIME64_COMPAT32): New macro.
47754 2012-05-21  Andreas Jaeger  <aj@suse.de>
47756         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47757         only if [SHARED]. Add prototype for __wcschr_ia32.
47759 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47761         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47762         of %rbp unmolested in the jmp_buf while mangling the low bits.
47763         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47764         unmolested high bits of %rbp while demangling the low bits.
47765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47767 2012-05-21  Andreas Jaeger  <aj@suse.de>
47769         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47770         * sunrpc/svc_simple.c: Use it for registerrpc.
47771         * sunrpc/xcrypt.c: Use it for passwd2des.
47773         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47775 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47777         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47778         Don't define if [__SYSCALL_WORDSIZE != 32].
47779         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47780         New macro.
47782 2012-05-21  Bruno Haible  <bruno@clisp.org>
47783             Andreas Jaeger  <aj@suse.de>
47785         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47786         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47787         inptr and inend for must_buffer_ch.
47788         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47789         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47790         * stdio-common/Makefile (tests): Remove bug15.
47791         (bug15-ENV): Remove macro.
47792         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47793         anymore.
47795 2012-05-19  Andreas Jaeger  <aj@suse.de>
47796             Roland McGrath  <roland@hack.frob.com>
47798         * manual/contrib.texi: Completely rewritten. It contains now an
47799         alphabetical list of contributors and their contributions.
47801 2012-05-21  Richard Henderson  <rth@twiddle.net>
47803         * misc/getauxval.c (__getauxval): Use unsigned long int.
47804         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47805         (getauxval): Use unsigned long int.
47807 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47809         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47811 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47813         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47814         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47815         __alignof__ (long double).
47817 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47821 2012-05-20  Richard Henderson  <rth@twiddle.net>
47823         * misc/getauxval.c: New file.
47824         * misc/sys/auxv.h: New file.
47825         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47826         (routines): Add getauxval.
47827         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47828         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47829         * elf/dl-sysdep.c (_dl_auxv): Remove.
47830         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47831         * elf/dl-support.c (_dl_auxv): New variable.
47832         (_dl_aux_init): Initialize it.
47833         * manual/startup.texi (Auxiliary Vector): New node.
47834         * sysdeps/generic/bits/hwcap.h: New file.
47835         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47836         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47837         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47838         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47839         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47840         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47842         Update.
47843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47852 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47856 2012-05-19  David S. Miller  <davem@davemloft.net>
47858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47860 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47862         [BZ #14123]
47863         * math/s_ccosh.c: Include <float.h>
47864         (__ccosh): Avoid internal overflow calculating sinh and cosh
47865         values before multiplying by sin and cos values.
47866         * math/s_ccoshf.c: Likewise.
47867         * math/s_ccoshl.c: Likewise.
47868         * math/s_csin.c: Likewise.
47869         * math/s_csinf.c: Likewise.
47870         * math/s_csinl.c: Likewise.
47871         * math/s_csinh.c: Likewise.
47872         * math/s_csinhf.c: Likewise.
47873         * math/s_csinhl.c: Likewise.
47874         * math/libm-test.inc (ccos_test): Add more tests.
47875         (ccosh_test): Likewise.
47876         (csin_test): Likewise.
47877         (csinh_test): Likewise.
47878         * sysdeps/i386/fpu/libm-test-ulps: Update.
47879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47881 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47883         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47884         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47886         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47888 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47890         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47891         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47892         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47893         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47894         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47895         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47896         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47897         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47898         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47899         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47900         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47901         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47902         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47903         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47904         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47905         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47906         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47907         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47908         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47909         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47910         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47911         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47912         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47913         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47914         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47915         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47916         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47917         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47918         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47919         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47920         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47922 2012-05-18  Andreas Jaeger  <aj@suse.de>
47924         * csu/.gitignore: Delete.
47926 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47928         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47929         (timex): Use __syscall_slong_t.
47931 2012-05-18  Andreas Jaeger  <aj@suse.de>
47932             Carlos O'Donell  <carlos_odonell@mentor.com>
47934         * manual/install.texi (Configuring and compiling): Update
47935         description about files modified in the source directory.
47936         * INSTALL: Regenerated.
47938 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47940         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47941         value.  Use "or" to set return value to -1.
47942         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47943         negate return value.
47945 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47947         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47948         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47949         failure if the compiler has Graphite support disabled.
47950         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47951         Likewise.
47952         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47953         (CFLAGS-memmove.c): Likewise.
47954         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47955         Likewise.
47957 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47959         * sysdeps/x86_64/x32/_itoa.h: New file.
47961         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47962         getdents system call only if kernel and user dirents have the
47963         same d_ino and d_off.
47965         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47966         LLONG_MAX != LONG_MAX.
47967         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47968         (_fitoa_word): Likewise.
47970         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47971         years.
47972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47973         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47974         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47976         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47977         include <bits/wordsize.h>.  Check __x86_64__ instead of
47978         __WORDSIZE.
47979         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47980         if __x86_64__ is defined.  Use anonymous union on fpstate.
47982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47983         anonymous union.
47985 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47987         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47988         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47989         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47990         Refer to _rtld_local_ro instead of _rtld_global_ro.
47991         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47992         Likewise.
47993         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47994         Likewise.
47995         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47996         Likewise.
47997         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47998         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47999         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48001         * sysdeps/powerpc/powerpc32/dl-machine.c
48002         (__elf_machine_runtime_setup) [PROF]: Don't reference
48003         _dl_prof_resolve.
48005 2012-05-18  Andreas Jaeger  <aj@suse.de>
48007         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48008         function only available for GCCs before 3.4 since GCC 3.4
48009         introduced a builtin.
48010         (lrint): Likewise.
48011         (llrintf): Likewise.
48012         (llrint): Likewise.
48013         (fmaxf): Likewise.
48014         (fmax): Likewise.
48015         (fminf): Likewise.
48016         (fmin): Likewise.
48017         (rint): Likewise.
48018         (rintf): Likewise.
48019         (nearbyint): Likewise.
48020         (nearbyintf): Likewise.
48021         (ceil): Likewise.
48022         (ceilf): Likewise.
48023         (floor): Likewise.
48024         (floorf): Likewise.
48026 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48028         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48029         on both fields and cast pointer to __syscall_ulong_t.
48031         * bits/types.h (__fsword_t): New type.
48032         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48033         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48035         (__FSWORD_T_TYPE): Likewise.
48036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48037         (__FSWORD_T_TYPE): Likewise.
48038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48039         (__FSWORD_T_TYPE): Likewise.
48040         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48041         (__FSWORD_T_TYPE): Likewise.
48042         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48043         __SWORD_TYPE with __fsword_t.
48044         (statfs64): Likewise.
48046 2012-05-17  David S. Miller  <davem@davemloft.net>
48048         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48050 2012-05-17  Andreas Jaeger  <aj@suse.de>
48052         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48053         warning.
48055 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48057         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48059 2012-05-17  Andreas Jaeger  <aj@suse.de>
48061         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48062         when it is used.
48064 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48066         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48068 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48070         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48071         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48073 2012-05-17  Andreas Jaeger  <aj@suse.de>
48074             Carlos O'Donell  <carlos_odonell@mentor.com>
48076         [BZ #14059]
48077         * sysdeps/x86_64/multiarch/init-arch.h
48078         (bit_YMM_Usable): Rename to...
48079         (bit_AVX_Usable): ... this.
48080         (bit_FMA4_Usable): New macro.
48081         (bit_XMM_state): New macro.
48082         (bit_YMM_state): New macro.
48083         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48084         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48085         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48086         (CPUID_OSXSAVE): New macro.
48087         (CPUID_AVX): New macro.
48088         (CPUID_FMA4): New macro.
48089         (index_YMM_Usable): Rename to...
48090         (index_AVX_Usable): ... this.
48091         (HAS_AVX): Use HAS_ARCH_FEATURE.
48092         (HAS_FMA4): Likewise.
48093         (HAS_YMM_USABLE): Remove.
48094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48095         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48096         are present.
48097         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48098         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48099         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48100         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48101         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48103 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48105         * math/libm-test.c: Support platforms without multiple rounding modes.
48106         * math/bug-nextafter.c: Support platforms without FP exceptions.
48107         * math/bug-nexttoward.c: Likewise.
48108         * math/test-fenv.c: Likewise.
48109         * math/test-misc.c: Likewise.
48110         * stdlib/bug-getcontext.c: Likewise.
48112 2012-05-17  Andreas Jaeger  <aj@suse.de>
48114         * manual/examples/search.c (critter_cmp): Change signature to
48115         avoid warnings.
48116         * manual/string.texi (Collation Functions): Likewise.
48118 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48120         * bits/types.h: Fold copyright years.
48121         * bits/typesizes.h: Likewise.
48122         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48123         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48125         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48126         * time/time.h: Likewise.
48128 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48130         [BZ #208]
48131         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48132         in instead of returning them.  Return void.
48133         (__libc_mallinfo): Accumulate over all arenas.
48134         (__malloc_stats): Adjust for change in int_mallinfo interface.
48136 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48138         [BZ #10375]
48139         * configure.in (NM): Add AC_CHECK_TOOL for it.
48140         (libc_extra_cflags): New substituted variable.
48141         Check for -fstack-protector being used implicitly.
48142         * configure: Regenerated.
48143         * config.make.in (config-extra-cflags): New variable,
48144         gets @libc_extra_cflags@.
48145         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48147         [BZ #10375]
48148         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48149         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48150         * configure: Regenerated.
48151         * config.make.in (CPPUNDEFS): New substituted variable.
48152         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48153         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48154         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48158         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48159         (mq_attr): Use __syscall_slong_t.
48161 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48163         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48164         Check __x86_64__ instead of __WORDSIZE.
48165         (_STAT_VER_LINUX): Likewise.
48166         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48167         __syscall_ulong_t and __syscall_slong_t.
48168         (stat64): Likewise.
48170 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48172         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48176         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48178 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48180         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48181         __syscall_ulong_t.
48183         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48184         include <bits/wordsize.h>.  Check __x86_64__ instead of
48185         __WORDSIZE.
48186         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48187         defined.
48188         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48191         include <bits/wordsize.h>.  Check __x86_64__ instead of
48192         __WORDSIZE.
48193         (user_regs_struct): Use "__extension__ unsigned long long"
48194         instead of "unsigned long" if __x86_64__ is defined.
48195         (user): Likewise.  Pad after pointer field if __ILP32__ is
48196         defined.
48198 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48200         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48201         versions 5 to 9.
48202         * configure: Regenerated.
48203         * manual/install.texi (texinfo): Increase version requirement to
48204         4.5 or later.
48205         * INSTALL: Regenerated.
48207         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48209 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48211         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48213         * sysdeps/x86_64/x32/ffs.c: New file.
48215         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48216         __syscall_ulong_t.
48217         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48218         defined.  Use __syscall_ulong_t.
48219         (shminfo): Use __syscall_ulong_t.
48220         (shm_info): Likewise.
48222         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48223         __syscall_ulong_t.
48225         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48226         <bits/wordsize.h>.
48227         (msgqnum_t): Use __syscall_ulong_t.
48228         (msglen_t): Likewise.
48229         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48230         __syscall_ulong_t.
48232         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48233         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48235         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48237         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48238         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48240         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48241         __syscall_slong_t.
48243         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48244         include <bits/wordsize.h>.  Check __x86_64__ instead of
48245         __WORDSIZE.
48247         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48248         "unsigned long long int" if __x86_64__ is defined.
48249         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48251         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48252         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48253         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48255         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48256         <stdint.h>.
48257         (GET_PC): Cast to uintptr_t first.
48258         (GET_FRAME): Likewise.
48259         (GET_STACK): Likewise.
48261         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48267         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48268         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48269         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48270         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48272         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48273         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48274         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48275         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48276         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48277         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48278         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48279         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48280         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48281         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48282         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48283         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48284         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48285         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48286         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48287         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48288         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48289         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48291 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48293         * Makerules (+depfiles): Also collect depfiles from .oS in
48294         $(extra-objs).
48295         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48296         .oS, $(libnldbl-routines)).
48298         * Makerules (native-compile-mkdep-flags): Define.
48299         * sunrpc/Makefile (extra-objs): Add $(addprefix
48300         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48301         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48302         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48303         calling $(make-target-directory).
48305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48307         * bits/types.h (__snseconds_t): Removed.
48308         * time/time.h (struct timespec): Replace __snseconds_t with
48309         __syscall_slong_t.
48310         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48311         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48312         Likewise.
48313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48314         (__SNSECONDS_T_TYPE): Likewise.
48315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48316         (__SNSECONDS_T_TYPE): Likewise.
48317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48318         (__SNSECONDS_T_TYPE): Likewise.
48320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48322         * sysdeps/mach/hurd/bits/typesizes.h
48323         (__SYSCALL_SLONG_TYPE): New macro.
48324         (__SYSCALL_ULONG_TYPE): Likewise.
48326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48328         * bits/types.h (__syscall_slong_t): New type.
48329         (__syscall_ulong_t): Likewise.
48331         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48332         (__SYSCALL_ULONG_TYPE): Likewise.
48333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48334         (__SYSCALL_SLONG_TYPE): Likewise.
48335         (__SYSCALL_ULONG_TYPE): Likewise.
48336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48337         (__SYSCALL_SLONG_TYPE): Likewise.
48338         (__SYSCALL_ULONG_TYPE): Likewise.
48339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48340         (__SYSCALL_SLONG_TYPE): Likewise.
48341         (__SYSCALL_ULONG_TYPE): Likewise.
48343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48345         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48346         Add sigaltstack-offsets.sym.
48347         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48348         <sigaltstack-offsets.h>.
48349         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48350         longjmp_msg pointer.
48351         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48352         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48353         signal stack.
48354         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48356 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48358         * elf/stackguard-macros.h: Remove file.
48359         * sysdeps/generic/stackguard-macros.h: New file.
48360         * sysdeps/i386/stackguard-macros.h: Likewise.
48361         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48362         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48363         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48364         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48365         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48366         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48367         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48368         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48369         <elf/stackguard-macros.h>.
48371         [BZ #14109]
48372         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48373         __aligned__ in attribute.
48374         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48375         (gregset_t): Likewise.
48377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48379         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48380         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48381         * sysdeps/x86_64/x32/Implies-after: New file.
48383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48385         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48386         and access return value for _dl_profile_fixup.  Use R10_LP to
48387         load frame size.
48389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48391         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48395         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48396         * sysdeps/x86_64/x32/sysdep.h: New file.
48398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48400         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48401         * sysdeps/x86_64/setjmp.S: Likewise.
48403 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48405         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48406         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48407         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48408         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48409         remove unused global constant.
48411 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48413         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48414         include of <not-cancel.h>.
48416 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48418         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48420 2012-05-15  Jeff Law  <law@redhat.com>
48421             Andreas Jaeger  <aj@suse.de>
48423         [BZ #13594]
48424         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48425         out from...
48426         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48427         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48428         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48429         code changing __hst_map_handle.map.
48431 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48433         * configure.in (sysnames): Look for Implies-before and Implies-after
48434         files.
48435         * configure: Regenerated.
48437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48439         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48440         8-byte data alignment with LP_SIZE alignment.
48442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48444         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48445         into R10_LP.
48447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48449         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48454         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48455         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48456         Likewise.
48457         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48461         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48462         (stackinfo_sub_sp): Likewise.
48464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48467         RAX_LP.
48469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48472         into R*_LP.
48474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48476         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48477         sizes into R*_LP.
48479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48481         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48485         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48486         into R11_LP and load __x86_64_shared_cache_size_half into
48487         R8_LP.
48489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48491         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48492         R8_LP.
48494 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48497         logb for POWER7.
48498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48499         logbf for POWER7.
48500         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48501         logbl for POWER7.
48502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48503         powerpc32/power7/fpu/s_logb.c via #include.
48504         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48505         powerpc32/power7/fpu/s_logbf.c via #include.
48506         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48507         powerpc32/power7/fpu/s_logbl.c via #include.
48509 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48511         * README.libm: Remove file.
48513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48515         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48516         count for x32.  Use R*_LP and omit operand-size suffix.
48518 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48520         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48521         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48522         * sysdeps/x86_64/x32/shlib-versions: New file.
48524 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48526         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48527         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48528         Use _dl_fatal_printf instead.
48530 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48532         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48533         set if not set by the user.  Do not allow for being unset.
48534         * sysdeps/unix/sysv/linux/configure: Regenerated.
48536 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48538         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48539         the `q' suffix from lea and replace .quad with ASM_ADDR.
48541 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48544         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48545         instead of $17.
48546         (PTR_DEMANGLE): Likewise.
48548 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48550         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48551         (LP_OP): Likewise.
48552         (ASM_ADDR): Likewise.
48553         (RAX_LP): Likewise.
48554         (RBP_LP): Likewise.
48555         (RBX_LP): Likewise.
48556         (RCX_LP): Likewise.
48557         (RDI_LP): Likewise.
48558         (RSI_LP): Likewise.
48559         (RSP_LP): Likewise.
48560         (R8_LP): Likewise.
48561         (R9_LP): Likewise.
48562         (R10_LP): Likewise.
48563         (R10_LP): Likewise.
48564         (R11_LP): Likewise.
48565         (R12_LP): Likewise.
48566         (R13_LP): Likewise.
48567         (R14_LP): Likewise.
48568         (R15_LP): Likewise.
48570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48572         * sysdeps/x86_64/x32/dl-machine.h: New file.
48574 2012-05-14  Andreas Jaeger  <aj@suse.de>
48576         * manual/Makefile (subdir): Remove export of subdir.
48577         (all): Remove target.
48578         (.PHONY): Remove all from list.
48579         (mkinstalldirs): Remove.
48580         (.PHONY): Remove installdirs from list.
48581         ($(inst_infodir)/libc.info): Use make-target-directory.
48582         (installdirs): Remove.
48583         (subdir_%): Remove.
48584         (glibc-targets): Remove.
48585         (lib): Remove.
48586         (stubs): Remove.
48587         ($(objpfx)stubs ../po/manual.pot): Remove.
48588         ($(objpfx)stamp%): Remove.
48589         (make-target-directory): Remove.
48590         (subdir_install): Remove.
48591         (routines): Remove.
48592         (aux): Remove.
48593         (sources): Remove.
48594         (objects): Remove.
48595         (headers): Remove.
48597         [BZ #13750]
48598         * manual/.gitignore: Remove, it's not needed anymore.
48599         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48600         all files in it.
48601         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48602         directory.
48603         (texis): Renamed to $(objpfx)texis.
48604         (texis-path): New, contains path to generated files.
48605         (chapters.%): Use texis-path for complete path, add extra argument
48606         libc-texinfo.sh.
48607         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48608         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48609         (summary,texi, stamp-summary): Use complete path of
48610         files. Generate files in build dir.
48611         (dir-add.texi): Build in build dir.
48612         (libm-err.texi,stamp-libm-err): Likewise.
48613         (version.texi, stamp-version): Likewise.
48614         (.%c.texi): Likewise.
48615         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48616         (mostlyclean): Remove target.
48617         (realclean): Remove target.
48618         (generated): Add new variable with contents from mostlyclean and
48619         realclean, remove entries duplicated in common-mostlyclean, add
48620         stamp-libm-err and stamp-version.
48621         (generated-dirs): Add libc directory.
48622         ($(inst_infodir)/libc.info): Install files from build dir.
48624         * manual/install.texi (Configuring and compiling): Adjust since
48625         the info files are not part of the tar ball anymore.
48627 2012-05-14  Andreas Jaeger  <aj@suse.de>
48629         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48630         variable.
48632 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48634         [BZ #13717]
48635         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48636         to 2.2.0 where earlier.
48637         * sysdeps/unix/sysv/linux/configure: Regenerated.
48638         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48639         Remove conditional code.
48640         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48641         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48642         Remove conditional code.
48643         [!__NR_lchown]: Likewise.
48644         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48645         [__NR_lchown]: Likewise.
48646         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48647         comment referencing __ASSUME_LCHOWN_SYSCALL.
48648         * sysdeps/unix/sysv/linux/i386/sigaction.c
48649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48651         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48652         Remove conditional code.
48653         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48654         (__protocol_available): Remove #if 0 code.
48655         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48656         conditional code.
48657         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48658         * sysdeps/unix/sysv/linux/kernel-features.h
48659         (__ASSUME_GETCWD_SYSCALL): Don't define.
48660         (__ASSUME_REALTIME_SIGNALS): Likewise.
48661         (__ASSUME_PREAD_SYSCALL): Likewise.
48662         (__ASSUME_PWRITE_SYSCALL): Likewise.
48663         (__ASSUME_POLL_SYSCALL): Likewise.
48664         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48665         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48666         non-SPARC.
48667         (__ASSUME_SIOCGIFNAME): Don't define.
48668         (__ASSUME_MSG_NOSIGNAL): Likewise.
48669         (__ASSUME_SENDFILE): Define unconditionally.
48670         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48671         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48672         conditional code.
48673         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48674         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48675         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48676         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48677         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48678         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48679         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48681         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48684         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48687         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48688         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48690         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48693         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48694         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48696         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48699         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48704         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48705         Remove conditional code.
48706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48707         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48708         Remove conditional code.
48709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48710         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48711         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48712         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48713         Remove conditional code.
48714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48715         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48716         Remove conditional code.
48717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48718         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48719         Remove conditional code.
48720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48721         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48722         Remove conditional code.
48723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48724         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48725         Remove conditional code.
48726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48727         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48730         * sysdeps/unix/sysv/linux/sigaction.c
48731         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48732         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48733         * sysdeps/unix/sysv/linux/sigpending.c
48734         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48735         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48736         * sysdeps/unix/sysv/linux/sigprocmask.c
48737         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48738         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48739         * sysdeps/unix/sysv/linux/sigsuspend.c
48740         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48741         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48742         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48743         (__libc_missing_rt_sigs): Remove.
48744         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48745         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48746         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48747         Remove conditional code.
48748         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48749         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48750         return 1.
48751         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48752         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48753         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48754         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48756 2012-05-14  Andreas Jaeger  <aj@suse.de>
48758         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48759         it's not used in glibc.
48760         (__coshm1): Likewise.
48761         (__acosh1p): Likewise.
48762         (__sgn): Likewise.
48764         * manual/string.texi (Copying and Concatenation): Add missing
48765         variable in concat example.
48766         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48770         [BZ #14103]
48771         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48772         __builtin_clzl with __builtin_clzll.
48774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48776         [BZ #14104]
48777         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48778         libc_freeres_ptr.
48780 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48782         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48783         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48784         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48785         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48787 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48789         * NEWS: Update ia64 info.
48791 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48793         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48794         used as bcopy.
48796 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48798         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48799         * sysdeps/unix/syscalls.list (dup3): Likewise.
48800         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48801         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48803 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48805         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48806         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48808 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48810         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48811         thread pointer.
48812         (TLS_IE): Use mov/add instead of movq/addq to load thread
48813         pointer.
48814         (TLS_GD_PREFIX): New.
48815         (TLS_GD): Use it.
48817 2012-05-11  David S. Miller  <davem@davemloft.net>
48819         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48820         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48821         (_FPU_SETCW): Likewise.
48823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48825         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48826         is 32-byte aligned.
48828 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48830         [BZ #11837]
48831         * iconvdata/gb18030.c: Update tables.
48832         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48833         characters specially.
48834         (BODY for TO_LOOP): Add encoding of missing ranges.
48836 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48838         [BZ #13673]
48839         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48840         * sysdeps/mach/hurd/dup3.c: Likewise.
48841         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48842         * sysdeps/powerpc/memmove.c:: Likewise.
48844 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48846         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48847         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48851         * elf/elf.h (R_X86_64_RELATIVE64): New.
48852         (R_X86_64_NUM): Updated.
48853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48854         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48855         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48856         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48857         tst-quad1pie tst-quad2pie
48858         (modules-names): Add tst-quadmod1 tst-quadmod2.
48859         ($(objpfx)tst-quad1): New dependency.
48860         ($(objpfx)tst-quad2): Likewise.
48861         ($(objpfx)tst-quad1pie): Likewise.
48862         ($(objpfx)tst-quad2pie): Likewise.
48863         * sysdeps/x86_64/tst-quad1.c: New file.
48864         * sysdeps/x86_64/tst-quad1pie.c: New file.
48865         * sysdeps/x86_64/tst-quad2.c: Likewise.
48866         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48867         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48868         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48869         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48870         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48874         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48875         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48876         * streams/stropts.h (t_scalar_t): Define type.
48878         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48879         (_PATH_PRESERVE): Set to "/var/lib".
48880         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48882         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48883         instead of int.
48885         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48886         if __dir_mkfile succeeded.
48888         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48889         checking for _hurd_dtablesize.  Unlock it right after having
48890         finished _hurd_dtable allocation.
48892 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48894         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48895         * sysdeps/mach/hurd/configure: Regenerated.
48896         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48897         special-casing to...
48898         * sysdeps/gnu/configure.in: ... this new file.
48899         * sysdeps/unix/sysv/linux/configure: Regenerated.
48900         * sysdeps/gnu/configure: New generated file.
48902         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48903         for Linux: use nsec instead of usec, as well as:
48904         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48905         members of type struct timespec.
48906         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48907         New macros.
48908         (struct stat64): Likewise.
48909         (_STATBUF_ST_NSEC): New macro.
48910         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48912         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48913         __strtoul_internal rather than strtoul.
48915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48917         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48918         and reject them.
48920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48922         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48923         which preserves existing values.
48924         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48928         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48929         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48930         greater than FD_SETSIZE.
48932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48934         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48935         allocated, call __vm_protect to finish enabling the existing space, and
48936         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48937         allocate the remainder.
48939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48941         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48942         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48946         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48947         sysdeps/mach/hurd/readlink.c.
48949         * posix/tst-sysconf.c (posix_options): Only use
48950         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48951         _POSIX_SYNCHRONIZED_IO when they are defined
48952         * sysdeps/mach/hurd/bits/posix_opt.h:
48953         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48954         (_XOPEN_REALTIME): Undefine macro.
48955         (_XOPEN_REALTIME_THREADS): Undefine macro.
48956         (_XOPEN_SHM): Undefine macro.
48957         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48958         macro to -1.
48959         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48960         macro to -1.
48961         (_POSIX_ASYNC_IO): Undefine macro.
48962         (_POSIX_PRIORITIZED_IO): Undefine macro.
48963         (_POSIX_SPIN_LOCKS): Define macro to -1.
48965         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48966         SA_NODEFER, SA_RESETHAND.
48967         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48968         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48969         F_DUPFD_CLOEXEC.
48971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48973         * elf/Makefile (pldd-modules): Define unconditionally.
48975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48977         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48979 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48981         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48982         Return ENOENT when name is empty.
48983         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48987         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48989         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48993         Fix mlock in all cases except non-readable pages.
48994         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48995         instead of VM_PROT_ALL as parameter to __vm_wire function.
48997         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48998         (__mkdir): When path is `/', just fail with EEXIST.
48999         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49003         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49004         <sys/uio.h> (for writev).
49005         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49006         and <sys/param.h> (for MIN).
49008 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49010         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49011         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49012         if interrupted.
49014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49016         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49017         Depend on against $(link-rpcuserlibs).
49019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49021         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49022         (__libc_stack_end): Do not use attribute_relro.
49023         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49024         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49025         to libthread-provided value.
49026         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49027         attribute_relro.
49029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49031         [BZ #3748]
49032         * bits/libc-lock.h (__libc_once_get): New macro.
49033         * sysdeps/mach/bits/libc-lock.h: Likewise.
49034         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49036         instead of using implementation details.
49038         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49039         * libio/freopen.c: Likewise.
49040         * libio/freopen64.c: Likewise.
49041         * misc/syslog.c: Likewise.
49042         * nscd/connections.c: Likewise.
49043         * nscd/netgroupcache.c: Likewise.
49044         * sysdeps/posix/getcwd.c: Likewise.
49046 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49048         * math/w_ilogbf.c: Add #include <limits.h>.
49050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49052         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49053         path instead of returning without unlocking.
49055         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49056         immediate-write ioctls.
49057         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49061         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49062         __builtin_frame_address instead of making assumptions about the
49063         location of the return address relative to DATA.  Force early load of
49064         the return address.
49065         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49066         __builtin_frame_address.
49068         dup3 for GNU Hurd.
49069         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49070         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49071         implement dup3 and do some further code clean-ups.
49072         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49073         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49077         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49079         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49080         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49081         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49082         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49083         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49084         d->port.lock.
49086         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49087         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49088         when handler == SIG_ERR, not when handler != SIG_ERR.
49090 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49092         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49093         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49094         definitions.
49096         accept4 for GNU Hurd.
49097         * include/sys/socket.h (__libc_accept4): New prototype.
49098         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49099         to implement __libc_accept4.
49100         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49101         __libc_accept4.
49102         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49104         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49105         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49106         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49107         signal-defines.sym.
49109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49111         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49115         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49116         assertion on O_CLOEXEC flag.
49117         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49118         * hurd/intern-fd.c: Likewise.
49119         * hurd/port2fd.c: Likewise.
49121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49123         [BZ #3906]
49124         * bits/in.h (IPV6_PKTINFO): Define new macro.
49125         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49127 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49129         [BZ #13954]
49130         [BZ #13955]
49131         [BZ #13956]
49132         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49134         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49135         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49137         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49138         * math/libm-test.inc (logb_test) : Additional logb tests.
49140 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49141             Andreas Jaeger  <aj@suse.de>
49143         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49144         * configure: Regenerated.
49145         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49146         * config.make.in (link-obsolete-rpc): New substituted variable.
49147         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49148         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49149         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49150         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49151         so that libc.a contains the symbols.
49152         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49153         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49154         * sunrpc/auth_none.c: Likewise.
49155         * sunrpc/auth_unix.c: Likewise.
49156         * sunrpc/authdes_prot.c: Likewise.
49157         * sunrpc/authuxprot.c: Likewise.
49158         * sunrpc/clnt_gen.c: Likewise.
49159         * sunrpc/clnt_perr.c: Likewise.
49160         * sunrpc/clnt_raw.c: Likewise.
49161         * sunrpc/clnt_simp.c: Likewise.
49162         * sunrpc/clnt_tcp.c: Likewise.
49163         * sunrpc/clnt_udp.c: Likewise.
49164         * sunrpc/clnt_unix.c: Likewise.
49165         * sunrpc/des_crypt.c: Likewise.
49166         * sunrpc/des_soft.c: Likewise.
49167         * sunrpc/get_myaddr.c: Likewise.
49168         * sunrpc/key_call.c: Likewise.
49169         * sunrpc/key_prot.c: Likewise.
49170         * sunrpc/netname.c: Likewise.
49171         * sunrpc/pm_getmaps.c: Likewise.
49172         * sunrpc/pm_getport.c: Likewise.
49173         * sunrpc/pmap_clnt.c: Likewise.
49174         * sunrpc/pmap_prot.c: Likewise.
49175         * sunrpc/pmap_prot2.c: Likewise.
49176         * sunrpc/pmap_rmt.c: Likewise.
49177         * sunrpc/publickey.c: Likewise.
49178         * sunrpc/rpc_cmsg.c: Likewise.
49179         * sunrpc/rpc_common.c: Likewise.
49180         * sunrpc/rpc_dtable.c: Likewise.
49181         * sunrpc/rpc_prot.c: Likewise.
49182         * sunrpc/rpc_thread.c: Likewise.
49183         * sunrpc/rtime.c: Likewise.
49184         * sunrpc/svc.c: Likewise.
49185         * sunrpc/svc_auth.c: Likewise.
49186         * sunrpc/svc_raw.c: Likewise.
49187         * sunrpc/svc_run.c: Likewise.
49188         * sunrpc/svc_tcp.c: Likewise.
49189         * sunrpc/svc_udp.c: Likewise.
49190         * sunrpc/svc_unix.c: Likewise.
49191         * sunrpc/svcauth_des.c: Likewise.
49192         * sunrpc/xcrypt.c: Likewise.
49193         * sunrpc/xdr.c: Likewise.
49194         * sunrpc/xdr_array.c: Likewise.
49195         * sunrpc/xdr_float.c: Likewise.
49196         * sunrpc/xdr_intXX_t.c: Likewise.
49197         * sunrpc/xdr_mem.c: Likewise.
49198         * sunrpc/xdr_rec.c: Likewise.
49199         * sunrpc/xdr_ref.c: Likewise.
49200         * sunrpc/xdr_sizeof.c: Likewise.
49201         * sunrpc/xdr_stdio.c: Likewise.
49203 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49206         change.  Update copyright years.
49208 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49210         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49212 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49213             Joseph Myers  <joseph@codesourcery.com>
49214             Paul Pluzhnikov  <ppluzhnikov@google.com>
49216         [BZ #14012]
49217         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49218         requiring rpcgen.
49219         [cross-compiling] (extra-libs): Likewise.
49220         [cross-compiling] (extra-libs-others): Likewise.
49221         [cross-compiling] (librpcsvc-routines): Likewise.
49222         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49223         [cross-compiling] (omit-deps): Likewise.
49224         (sunrpc-CPPFLAGS): New variable.
49225         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49226         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49227         (cross-rpcgen-objs): New variable.
49228         (extra-objs): Append $(cross-rpcgen-objs).
49229         ($(cross-rpcgen-objs)): New rule.
49230         ($(objpfx)cross-rpcgen): Likewise.
49231         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49232         comment.
49233         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49234         ($(objpfx)x%.stmp): Likewise.
49235         * sunrpc/proto.h [IS_IN_build] (_): Define.
49236         [IS_IN_build] (_libc_intl_domainname): Likewise.
49238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49241         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49242         and R_X86_64_TPOFF64.
49244 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49246         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49247         sysdeps/unix/sysv/syscalls.list.
49248         (stime): Likewise.
49249         (utime): Likewise.
49250         * sysdeps/unix/sysv/syscalls.list: Remove file.
49252 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49254         [BZ #3440]
49255         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49256         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49257         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49258         (__LC_IDENTIFICATION): Make these macros useful in #if
49259         expressions, as required by C99.
49261 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49263         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49264         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49265         after this.
49267 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49269         * stdlib/longlong.h: Updated from GCC.
49271 2012-05-09  Andreas Jaeger  <aj@suse.de>
49273         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49274         default is first entry.
49275         (run_mode): Set type.
49276         (main): Remove informal message about syslog.
49277         (options): Fix typo.
49279         [BZ #14053]
49280         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49281         to asm.
49282         (lrint): Likewise.
49283         (llrintf): Likewise.
49284         (llrint): Likewise.
49285         (rint): Likewise.
49286         (rintf): Likewise.
49287         (nearbyint): Likewise.
49288         (nearbyintf): Likewise.
49290 2012-05-09  Andreas Jaeger  <aj@suse.de>
49291             Pedro Alves  <palves@redhat.com>
49293         * nscd/nscd.c (run_mode): Use enum.
49294         (main): Cleanup coding style issue.
49296 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49297             Andreas Jaeger  <aj@suse.de>
49299         * nscd/nscd.c (go_background): Replaced with...
49300         (run_mode): ... this.
49301         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49302         (options): Add -F --foreground.
49303         (main): Implement it.
49304         (parse_opt): Parse it.
49306 2012-05-09  Andreas Jaeger  <aj@suse.de>
49308         [BZ #14083]
49309         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49310         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49311         -Wconversion warning.
49312         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49313         Likewise.
49315 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49317         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49318         == 0.
49319         (LC_ALL): Use macro-int-constant.
49320         (LC_COLLATE): Likewise.
49321         (LC_CTYPE): Likewise.
49322         (LC_MESSAGES): Likewise.
49323         (LC_MONETARY): Likewise.
49324         (LC_NUMERIC): Likewise.
49325         (LC_TIME): Likewise.
49326         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49327         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49328         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49329         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49330         Specify type.
49331         [C99-based standards] (float_t): Expect type.
49332         [C99-based standards] (double_t): Expect type.
49333         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49334         type.
49335         [C99-based standards] (HUGE_VALL): Likewise.
49336         [C99-based standards] (INFINITY): Likewise.
49337         [C99-based standards] (NAN): Likewise.
49338         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49339         [C99-based standards] (FP_NAN): Likewise.
49340         [C99-based standards] (FP_NORMAL): Likewise.
49341         [C99-based standards] (FP_SUBNORMAL): Likewise.
49342         [C99-based standards] (FP_ZERO): Likewise.
49343         [C99-based standards] (FP_FAST_FMA): Use
49344         optional-macro-int-constant.  Specify type.  Require == 1.
49345         [C99-based standards] (FP_FAST_FMAF): Likewise.
49346         [C99-based standards] (FP_FAST_FMAL): Likewise.
49347         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49348         [C99-based standards] (FP_ILOGBNAN): Likewise.
49349         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49350         Specify type.
49351         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49352         [C99-based standards] (math_errhandling): Specify type.
49353         [ISO99 || ISO11] (signgam): Do not allow.
49354         [non-C99-based standards] (copysignf): Do not allow.
49355         [non-C99-based standards] (exp2f): Likewise.
49356         [non-C99-based standards] (log2f): Likewise.
49357         [non-C99-based standards] (modff): Allow.
49358         [non-C99-based standards] (erff): Do not allow.
49359         [non-C99-based standards] (erfcf): Likewise.
49360         [non-C99-based standards] (gammaf): Likewise.
49361         [non-C99-based standards] (hypotf): Likewise.
49362         [non-C99-based standards] (j0f): Likewise.
49363         [non-C99-based standards] (j1f): Likewise.
49364         [non-C99-based standards] (jnf): Likewise.
49365         [non-C99-based standards] (lgammaf): Likewise.
49366         [non-C99-based standards] (tgammaf): Likewise.
49367         [non-C99-based standards] (y0f): Likewise.
49368         [non-C99-based standards] (y1f): Likewise.
49369         [non-C99-based standards] (ynf): Likewise.
49370         [non-C99-based standards] (isnanf): Likewise.
49371         [non-C99-based standards] (acoshf): Likewise.
49372         [non-C99-based standards] (asinhf): Likewise.
49373         [non-C99-based standards] (atanhf): Likewise.
49374         [non-C99-based standards] (cbrtf): Likewise.
49375         [non-C99-based standards] (expm1f): Likewise.
49376         [non-C99-based standards] (ilogbf): Likewise.
49377         [non-C99-based standards] (log1pf): Likewise.
49378         [non-C99-based standards] (logbf): Likewise.
49379         [non-C99-based standards] (nextafterf): Likewise.
49380         [non-C99-based standards] (remainderf): Likewise.
49381         [non-C99-based standards] (rintf): Likewise.
49382         [non-C99-based standards] (scalbf): Likewise.
49383         [non-C99-based standards] (copysignl): Likewise.
49384         [non-C99-based standards] (exp2l): Likewise.
49385         [non-C99-based standards] (log2l): Likewise.
49386         [non-C99-based standards] (modfl): Allow.
49387         [non-C99-based standards] (erfl): Do not allow.
49388         [non-C99-based standards] (erfcl): Likewise.
49389         [non-C99-based standards] (gammal): Likewise.
49390         [non-C99-based standards] (hypotl): Likewise.
49391         [non-C99-based standards] (j0l): Likewise.
49392         [non-C99-based standards] (j1l): Likewise.
49393         [non-C99-based standards] (jnl): Likewise.
49394         [non-C99-based standards] (lgammal): Likewise.
49395         [non-C99-based standards] (tgammal): Likewise.
49396         [non-C99-based standards] (y0l): Likewise.
49397         [non-C99-based standards] (y1l): Likewise.
49398         [non-C99-based standards] (ynl): Likewise.
49399         [non-C99-based standards] (isnanl): Likewise.
49400         [non-C99-based standards] (acoshl): Likewise.
49401         [non-C99-based standards] (asinhl): Likewise.
49402         [non-C99-based standards] (atanhl): Likewise.
49403         [non-C99-based standards] (cbrtl): Likewise.
49404         [non-C99-based standards] (expm1l): Likewise.
49405         [non-C99-based standards] (ilogbl): Likewise.
49406         [non-C99-based standards] (log1pl): Likewise.
49407         [non-C99-based standards] (logbl): Likewise.
49408         [non-C99-based standards] (nextafterl): Likewise.
49409         [non-C99-based standards] (remainderl): Likewise.
49410         [non-C99-based standards] (rintl): Likewise.
49411         [non-C99-based standards] (scalbl): Likewise.
49412         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49413         [non-C99-based standards] (FP_*): Do not allow.
49414         [C99-based standards] (FP_*): Change to
49415         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49416         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49417         allow.
49418         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49419         (SIG_ERR): Likewise.
49420         [X/Open-based standards] (SIG_HOLD): Likewise.
49421         (SIG_IGN): Likewise.
49422         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49423         positive value.
49424         (SIGFPE): Likewise.
49425         (SIGILL): Likewise.
49426         (SIGINT): Likewise.
49427         (SIGSEGV): Likewise.
49428         (SIGTER): Likewise.
49429         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49430         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49431         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49432         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49433         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49434         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49435         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49436         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49437         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49438         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49439         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49440         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49441         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49442         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49443         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49444         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49445         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49446         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49447         [X/Open-based standards] (SIGTRAP): Likewise.
49448         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49449         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49450         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49451         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49452         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49453         allow.
49455 2012-05-08  Ian Wienand  <ianw@vmware.com>
49457         [BZ #14080]
49458         * time/tzset.c (__tzset_parse_tz): Update default rules for
49459         daylight time changes in the Energy Policy Act of 2005.
49461 2012-05-09  Andreas Jaeger  <aj@suse.de>
49463         [BZ #13983]
49464         * elf/ldconfig.c (parse_conf): Change string to make clear that
49465         ldconfig only issued a warning if ld.so.conf does not exist.
49467 2012-05-08  David S. Miller  <davem@davemloft.net>
49469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49470         movxtod instead of popping the value on the stack.
49472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49474 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49476         * config.h.in: Add HAVE_ARM_PCS_VFP.
49478 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49480         [BZ #13979]
49481         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49482         checking but the checks are disabled for any reason.
49484 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49486         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49487         and ELF64_R_TYPE with ELFW(R_TYPE).
49489 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49491         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49492         (ulimit): Likewise.
49494         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49495         (settimeofday): Likewise.
49497 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49499         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49500         a struct th_u2 inside the union, and move tu_block/tu_code into
49501         a new th_u3 union of tu_block/tu_code inside of that.  Move
49502         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49503         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49504         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49505         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49506         (th_stuff): Change to th_u1.tu_stuff.
49507         (th_data): Define.
49508         (th_msg): Change to th_u1.th_u2.tu_data.
49510 2012-05-07  David S. Miller  <davem@davemloft.net>
49512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49514         [BZ #14074]
49515         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49516         (SETUP_PIC_REG): Use it.
49517         (SETUP_PIC_REG_LEAF): Use it.
49519 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49521         [BZ #13885]
49522         [BZ #13923]
49523         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49524         USE_AS_EXPM1L.
49525         (EXPL_FINITE): Likewise.
49526         (FLDLOG): Likewise.
49527         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49528         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49529         e_expl.S.
49530         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49531         USE_AS_EXPM1L.
49532         (EXPL_FINITE): Likewise.
49533         (FLDLOG): Likewise.
49534         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49535         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49536         e_expl.S.
49537         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49538         test of -max_value argument for long double.
49539         * sysdeps/i386/fpu/libm-test-ulps: Update.
49540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49542 2012-05-06  David S. Miller  <davem@davemloft.net>
49544         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49545         quad soft-float symbols whose references which are compiler
49546         generated.
49547         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49549 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49551         [BZ #13884]
49552         [BZ #13914]
49553         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49554         USE_AS_EXP10L.
49555         (EXPL_FINITE): Likewise.
49556         (FLDLOG): Likewise.
49557         (c0): Likewise.
49558         (c1): Likewise.
49559         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49560         Adjust comments for base varying.
49561         (__expl_finite): Change alias to EXPL_FINITE.
49562         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49563         e_expl.S.
49564         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49565         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49566         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49567         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49568         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49569         USE_AS_EXP10L.
49570         (EXPL_FINITE): Likewise.
49571         (FLDLOG): Likewise.
49572         (c0): Likewise.
49573         (c1): Likewise.
49574         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49575         Adjust comments for base varying.
49576         (__expl_finite): Change alias to EXPL_FINITE.
49577         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49578         tests for bugs.
49579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49581         [BZ #14064]
49582         * math/libm-test.inc (check_float_internal): Correct ulp
49583         calculation for subnormal expected results.
49585 2012-05-06  Andreas Jaeger  <aj@suse.de>
49587         * Makeconfig (+math-flags): New, set to -frounding-math.
49588         (+cflags): Add +math-flags so that all of glibc gets compiled with
49589         it.
49591         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49593 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49595         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49596         Disable one test.
49598         [BZ #13787]
49599         [BZ #13922]
49600         [BZ #14036]
49601         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49602         (__ieee754_expl): Allow for and saturate large arguments.
49603         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49604         (u_threshold): Likewise.
49605         (__exp): Call __ieee754_exp before checking for overflow and
49606         underflow.
49607         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49608         (u_threshold): Likewise.
49609         (__expf): Call __ieee754_expf before checking for overflow and
49610         underflow.
49611         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49612         (u_threshold): Likewise.
49613         (__expl): Call __ieee754_expl before checking for overflow and
49614         underflow.
49615         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49616         (__ieee754_expl): Allow for and saturate large arguments.
49617         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49618         missing overflow exception on overflow.
49619         (expm1_test): Do not allow missing overflow exception on overflow.
49621         * sysdeps/i386/fpu/e_expl.c: Move to ...
49622         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49623         rather than using inline asm.
49624         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49625         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49626         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49628         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49629         (nice): Likewise.
49630         (poll): Likewise.
49631         (signal): Likewise.
49632         (time): Likewise.
49633         (times): Likewise.
49635 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49637         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49638         sysdeps/unix/common/syscalls.list.
49639         (fchmod): Likewise.
49640         (fchown): Likewise.
49641         (ftruncate): Likewise.
49642         (getrusage): Likewise.
49643         (gettimeofday): Likewise.
49644         (setpgid): Likewise.
49645         (setregid): Likewise.
49646         (setreuid): Likewise.
49647         (sigaction): Likewise.
49648         (truncate): Likewise.
49649         (vhangup): Likewise.
49650         * sysdeps/unix/common/syscalls.list: Remove file.
49651         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49652         * sysdeps/unix/sysv/linux/Implies: Likewise.
49654 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49656         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49658         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49659         Moved to ...
49660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49661         Here.
49662         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49663         to ...
49664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49665         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49666         to ...
49667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49668         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49669         to ...
49670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49671         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49672         to ...
49673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49674         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49675         to ...
49676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49677         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49678         to ...
49679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49680         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49681         to ...
49682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49683         Here.
49684         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49685         to ...
49686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49687         Here.
49688         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49689         to ...
49690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49691         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49692         Moved to ...
49693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49694         Here.
49695         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49696         to ...
49697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49701         * sysdeps/unix/common/bits/dirent.h: Remove file.
49702         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49704         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49705         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49706         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49707         * sysdeps/unix/bsd/isatty.c: Likewise.
49708         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49709         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49710         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49712 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49714         [BZ #13563]
49715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49716         long double comparison inaccuracies.
49717         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49720 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49722         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49727         [BZ #14049]
49728         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49729         nonzero digits before rounding a hex value.
49730         * stdlib/tst-strtod.c (tests): Add another test.
49732 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49734         * sysdeps/s390/fpu/libm-test-ulps: Update.
49736 2012-05-03  Andreas Jaeger  <aj@suse.de>
49738         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49739         does not get optimized out.
49740         (malloc_opt_barrier): New.
49742 2012-05-03  Andreas Jaeger  <aj@suse.de>
49743             Roland McGrath  <roland@hack.frob.com>
49745         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49746         intermediate file deletion.
49747         (generated): Add .symlist files.
49749 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49751         [BZ #13775]
49752         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49753         Redirect under this condition.
49754         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49755         [__USE_GNU] (__dprintf_chk): Not under this condition.
49756         [__USE_GNU] (__vdprintf_chk): Likewise.
49757         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49758         under this condition.
49759         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49760         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49761         [__USE_XOPEN2K8] (vdprintf): Likewise.
49762         [__USE_GNU] (__dprintf_chk): Not under this condition.
49763         [__USE_GNU] (__vdprintf_chk): Likewise.
49764         [__USE_GNU] (dprintf): Likewise.
49765         [__USE_GNU] (vdprintf): Likewise.
49767 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49769         * elf/Makefile (common-generated): Set this instead of generated for
49770         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49771         $(all-built-dso)-derived lists.
49773 2012-05-03  Andreas Jaeger  <aj@suse.de>
49775         * sysdeps/i386/fpu/libm-test-ulps: Update.
49777         * FAQ: Removed.
49778         * FAQ.in: Likewise.
49779         * scripts/gen-FAQ.pl: Likewise.
49780         * manual/install.texi (Installation): Point to online location of
49781         FAQ.
49782         * Makefile (files-for-dist): Remove FAQ.
49783         (FAQ): Remove.
49785 2012-05-02  Allan McRae  <allan@archlinux.org>
49787         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49788         (LDFLAGS-reldepmod5.so): Likewise.
49789         (LDFLAGS-reldep6mod1.so): Likewise.
49790         (LDFLAGS-reldep6mod4.so): Likewise.
49791         (LDFLAGS-reldep8mod3.so): Likewise.
49792         (LDFLAGS-unload4mod1.so): Likewise.
49793         (LDFLAGS-unload4mod2.so): Likewise.
49794         (LDFLAGS-tst-initorder): Likewise.
49795         (LDFLAGS-tst-initordera2.so): Likewise.
49796         (LDFLAGS-tst-initordera3.so): Likewise.
49797         (LDFLAGS-tst-initordera4.so): Likewise.
49798         (LDFLAGS-tst-initorderb2.so): Likewise.
49799         (LDFLAGS-noload): Likewise.
49800         (LDFLAGS-next): Likewise.
49801         (LDFLAGS-order2mod1.so): Likewise.
49802         (LDFLAGS-order2mod2.so): Likewise.
49803         (LDFLAGS-tst-initorder2): Likewise.
49804         (LDFLAGS-tst-initorder2a.so): Likewise.
49805         (LDFLAGS-tst-initorder2b.so): Likewise.
49806         (LDFLAGS-tst-initorder2c.so): Likewise.
49807         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49809 2012-05-02  David S. Miller  <davem@davemloft.net>
49811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49813 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49815         [BZ #14055]
49816         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49818 2012-05-02  Andreas Jaeger  <aj@suse.de>
49820         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49821         since we manipulate rounding mode.
49822         (CPPFLAGS-test-idouble.c): Likewise.
49823         (CPPFLAGS-test-ifloat.c): Likewise.
49824         (CFLAGS-test-ldouble.c): Likewise.
49825         (CFLAGS-test-double.c): Likewise.
49826         (CFLAGS-test-float.c): Likewise.
49827         (CFLAGS-test-misc.c): Likewise.
49828         (CFLAGS-test-test-fenv.c): Likewise.
49830 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49832         [BZ #2550]
49833         [BZ #2570]
49834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49835         comparisons to determine direction to adjust input.
49837 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49839         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49840         output to the target.
49842         * scripts/localplt.awk: New file.
49843         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49844         (check-localplt-CFLAGS): Variable removed.
49845         ($(all-built-dso:=.jmprel)): New static pattern rule.
49846         (generated): Add those targets.
49847         (localplt-built-dso): New variable.
49848         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49850         * elf/check-localplt.c: File removed.
49852         * scripts/check-execstack.awk: New file.
49853         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49854         (check-execstack-CFLAGS): Variable removed.
49855         ($(objpfx)check-execstack.h): Target removed.
49856         ($(objpfx)execstack-default): New target.
49857         (generated): Add that instead of check-execstack.h.
49858         ($(all-built-dso:=.phdr)): New static pattern rule.
49859         (generated): Add those targets.
49860         * elf/check-execstack.c: File removed.
49862         * scripts/check-textrel.awk: New file.
49863         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49864         (check-textrel-CFLAGS): Variable removed.
49865         (all-built-dso): Use := to define.o
49866         ($(all-built-dso:=.dyn)): New static pattern rule.
49867         (generated): Add those targets.
49868         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49869         * config.make.in (READELF): New substituted variable.
49870         * elf/check-textrel.c: File removed.
49872 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49874         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49875         allow.
49876         * conform/data/ctype.h-data [C99-based standards] (isblank):
49877         Expect function.
49878         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49879         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49881         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49882         Specify type.  Require positive value.
49883         (EILSEQ): Likewise.
49884         (ERANGE): Likewise.
49885         [ISO || POSIX] (EILSEQ): Do not expect.
49886         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49887         Specify type.  Require positive value.
49888         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49889         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49890         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49891         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49892         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49893         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49894         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49895         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49896         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49897         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49898         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49899         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49900         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49901         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49902         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49903         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49904         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49905         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49906         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49907         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49908         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49909         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49910         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49911         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49912         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49913         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49914         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49915         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49916         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49935         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49937         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49938         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49939         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49940         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49941         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49942         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49943         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49944         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49945         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49946         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49947         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49948         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49949         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49950         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49951         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49952         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49953         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49954         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49955         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49956         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49957         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49958         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49959         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49960         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49961         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49962         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49963         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49964         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49965         Require >= 2.
49966         (FLT_ROUNDS): Expect as macro, not constant.
49967         (FLT_MANT_DIG): Use macro-int-constant.
49968         (DBL_MANT_DIG): Likewise.
49969         (LDBL_MANT_DIG): Likewise.
49970         (FLT_DIG): Likewise.
49971         (DBL_DIG): Likewise.
49972         (LDBL_DIG): Likewise.
49973         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49974         (DBL_MIN_EXP): Likewise.
49975         (LDBL_MIN_EXP): Likewise.
49976         (FLT_MAX_EXP): Use macro-int-constant.
49977         (DBL_MAX_EXP): Likewise.
49978         (LDBL_MAX_EXP): Likewise.
49979         (FLT_MAX_10_EXP): Likewise.
49980         (DBL_MAX_10_EXP): Likewise.
49981         (LDBL_MAX_10_EXP): Likewise.
49982         (FLT_MAX): Use macro-constant.
49983         (DBL_MAX): Likewise.
49984         (LDBL_MAX): Likewise.
49985         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49986         (DBL_EPSILON): Likewise.
49987         (LDBL_EPSILON): Likewise.
49988         (FLT_MIN): Likewise.
49989         (DBL_MIN): Likewise.
49990         (LDBL_MIN): Likewise.
49991         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49992         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49993         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49994         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49995         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49996         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49997         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49998         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49999         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50000         [ISO11] (FLT_TRUE_MIN): Likewise.
50001         [ISO11] (LDBL_TRUE_MIN): Likewise.
50002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50003         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50004         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50005         (SCHAR_MAX): Likewise.
50006         (UCHAR_MAX): Likewise.
50007         (CHAR_MIN): Likewise.
50008         (CHAR_MAX): Likewise.
50009         (MB_LEN_MAX): Use macro-int-constant.
50010         (SHRT_MIN): Use macro-int-constant.  Specify type.
50011         (SHRT_MAX): Likewise.
50012         (USHRT_MAX): Likewise.
50013         (INT_MAX): Likewise.
50014         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50015         bound negative.
50016         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50017         bound with "U".
50018         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50019         bound with "L".
50020         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50021         bound negative.  Suffix upper bound with "L".
50022         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50023         bound with "UL".
50024         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50025         Specify type.
50026         [C99-based standards] (LLONG_MAX): Likewise.
50027         [C99-based standards] (ULLONG_MAX): Likewise.
50028         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50029         == 0.
50030         [ISO11] (max_align_t): Require type.
50031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50033         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50034         from $CFLAGS, without defining away __attribute__ calls.
50035         (checknamespace): Use $CFLAGS_namespace.
50037         * conform/conformtest.pl (@keywords): Only include C99 keywords
50038         for standards based on C99 or C11.
50040         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50041         Disable tests.
50042         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50043         UNIX98]: Likewise.
50045         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50046         usability of symbols in #if.
50048         * conform/conformtest.pl: If macro or constant types start
50049         "promoted:", expect the symbol to be of the following type
50050         promoted by the integer promotions.
50052         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50053         in one place.  Also handle "macro-constant".
50055         * conform/conformtest.pl: Only accept expected macro values with
50056         "==".  Parse all "macro" lines in one place.
50057         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50059         * conform/conformtest.pl: Handle braced types on "constant" lines
50060         instead of handling "typed-constant".
50061         * conform/data/signal.h-data: Use "constant" instead of
50062         "typed-constant".
50064         * conform/conformtest.pl: Handle "optional-" at start of lines in
50065         one place rather than duplicating several cases.  Handle each
50066         format of "macro" line with initial "optional-".
50068         * conform/conformtest.pl: Only accept expected constant or
50069         optional-constant values with "==".  Parse all "constant" lines in
50070         one place.  Parse all "optional-constant" lines in one place.
50071         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50072         * conform/data/fmtmsg.h-data: Likewise.
50073         * conform/data/netinet/in.h-data: Likewise.
50074         * conform/data/tar.h-data: Likewise.
50075         * conform/data/limits.h-data: Use "==" form on "constant" and
50076         "optional-constant" lines.
50078         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50079         Use -std=c99 for XOPEN2K.
50080         (@knownproblems): Remove.
50081         (newtoken): Don't check %isknown.
50083         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50084         Do not expect macro.
50085         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50086         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50087         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50088         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50089         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50090         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50091         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50092         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50093         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50094         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50095         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50096         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50097         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50098         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50099         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50100         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50101         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50102         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50103         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50104         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50105         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50106         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50107         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50108         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50109         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50110         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50111         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50112         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50113         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50114         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50115         [XPG3] (acosh): Likewise.
50116         [XPG3] (asinh): Likewise.
50117         [XPG3] (atanh): Likewise.
50118         [XPG3] (cbrt): Likewise.
50119         [XPG3] (expm1): Likewise.
50120         [XPG3] (ilogb): Likewise.
50121         [XPG3] (log1p): Likewise.
50122         [XPG3] (logb): Likewise.
50123         [XPG3] (nextafter): Likewise.
50124         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50125         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50126         [XPG3] (remainder): Likewise.
50127         [XPG3] (rint): Likewise.
50128         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50129         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50132         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50134         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50135         [UNIX98 || XOPEN2K] (scalb): Expect.
50136         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50137         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50138         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50139         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50140         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50141         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50142         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50143         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50144         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50145         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50146         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50147         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50148         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50149         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50150         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50151         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50152         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50154         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50155         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50156         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50164         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50165         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50166         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50239         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50240         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50248         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50249         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50250         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50251         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50252         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50264         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50265         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50274         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50275         _XOPEN_SOURCE_EXTENDED for XPG4.
50277         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50279         * Makeconfig (localtime): Remove variable.
50280         (inst_localtime-file): Likewise.
50282 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50285         Update.
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50287         Update.
50288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50289         Update.
50290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50291         Update.
50292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50293         Update.
50294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50295         Update.
50296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50297         Update.
50298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50299         Update.
50300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50301         Update.
50303 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50305         [BZ #2550]
50306         [BZ #2570]
50307         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50308         comparisons to determine direction to adjust input.
50309         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50310         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50311         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50312         Likewise.
50313         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50314         Likewise.
50315         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50316         Likewise.
50317         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50318         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50319         Likewise.
50320         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50321         Likewise.
50322         * math/libm-test.inc (nexttoward_test): Add more tests.
50324 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50326         [BZ #14040]
50327         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50328         in version GLIBC_2.1, not GLIBC_2.0.
50329         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50330         Likewise.
50332 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50334         [BZ #13942]
50335         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50336         (1 - x) * (1 + x).
50337         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50338         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50339         * math/libm-test.inc (acos_test): Add more tests.
50340         (asin_test): Likewise.
50341         * sysdeps/i386/fpu/libm-test-ulps: Update.
50342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50344         [BZ #14034]
50345         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50346         of square root.
50347         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50348         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50349         * math/libm-test.inc (acos_test_tonearest): New function.
50350         (acos_test_towardzero): Likewise.
50351         (acos_test_downward): Likewise.
50352         (acos_test_upward): Likewise.
50353         (asin_test_tonearest): Likewise.
50354         (asin_test_towardzero): Likewise.
50355         (asin_test_downward): Likewise.
50356         (asin_test_upward): Likewise.
50357         (main): Call the new functions.
50358         * sysdeps/i386/fpu/libm-test-ulps: Update.
50359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50361         [BZ #13884]
50362         [BZ #13924]
50363         * math/e_exp10.c: Include <float.h>.
50364         (__ieee754_exp10): Handle underflow here rather than multiplying
50365         large negative argument by M_LN10.
50366         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50367         of __ieee754_expf.
50368         * math/e_exp10l.c: Include <float.h>.
50369         (__ieee754_exp10l): Handle underflow here rather than multiplying
50370         large negative argument by M_LN10l.
50371         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50372         spurious overflow exception on underflow.
50374 2012-04-29  Marek Polacek  <polacek@redhat.com>
50376         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50377         (__fortify_function): New macro.
50378         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50379         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50380         __extern_always_inline.
50381         * libio/bits/stdio2.h: Likewise.
50382         * libio/bits/stdio.h: Likewise.
50383         * string/string.h: Likewise.
50384         * string/bits/string3.h: Likewise.
50385         * include/stdio.h: Likewise.
50386         * stdlib/bits/stdlib.h: Likewise.
50387         * stdlib/stdlib.h: Likewise.
50388         * rt/bits/mqueue2.h: Likewise.
50389         * rt/mqueue.h: Likewise.
50390         * posix/bits/unistd.h: Likewise.
50391         * posix/unistd.h: Likewise.
50392         * io/bits/poll2.h: Likewise.
50393         * io/bits/fcntl2.h: Likewise.
50394         * io/fcntl.h: Likewise.
50395         * io/sys/poll.h: Likewise.
50396         * misc/bits/syslog.h: Likewise.
50397         * misc/bits/syslog-ldbl.h: Likewise.
50398         * misc/sys/syslog.h: Likewise.
50399         * socket/bits/socket2.h: Likewise.
50400         * socket/sys/socket.h: Likewise.
50401         * debug/tst-chk1.c: Likewise.
50402         * wcsmbs/bits/wchar2.h: Likewise.
50403         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50404         * wcsmbs/wchar.h: Likewise.
50406 2012-04-29  Andreas Jaeger  <aj@suse.de>
50408         * Makerules (tests): Remove enable-check-abi protection.
50409         (check-abi-warn): Remove.
50410         (check-abi-%): Remove check-abi-warn usage.
50412         * configure.in: Remove check-abi configure option.
50413         * configure: Regenerated.
50414         * config.make.in (enable-check-abi): Remove.
50416 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50418         [BZ #14033]
50419         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50420         double functions to double *_finite functions.
50422         [BZ #13941]
50423         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50424         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50425         LDBL_MIN_EXP.
50426         * stdio-common/Makefile (tests): Add tst-sprintf3.
50427         * stdio-common/tst-sprintf3.c: New file.
50429         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50430         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50432 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50434         * conform/conformtest.pl: Remove duplicate typed-constant
50435         handling.
50437 2012-04-28  David S. Miller  <davem@davemloft.net>
50439         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50440         (check-abi-%): Remove AWK script prerequisite and explicit
50441         abilist directory.
50442         (check-abi): Rewrite to just diff the symlist with the abilist.
50443         (config-tls, config-abi-config): Delete, no longer used.
50444         (update-abi-%): Remove AWK script and explicit abilist directory.
50445         (update-abi): Rewrite to simply compare and conditionally copy the
50446         symlist and the sysdep abilist file.  Remove update-abi-config
50447         checks.
50448         * abilist/ld.abilist: Remove.
50449         * abilist/libBrokenLocale.abilist: Remove.
50450         * abilist/libanl.abilist: Remove.
50451         * abilist/libcrypt.abilist: Remove.
50452         * abilist/libdl.abilist: Remove.
50453         * abilist/librt.abilist: Remove.
50454         * abilist/libthread_db.abilist: Remove.
50455         * abilist/libutil.abilist: Remove.
50456         * scripts/extract-abilist.awk: Remove.
50457         * scripts/merge-abilist.awk: Remove.
50458         * sysdeps/generic/libcidn.abilist: New file.
50459         * sysdeps/generic/libnss_compat.abilist: New file.
50460         * sysdeps/generic/libnss_db.abilist: New file.
50461         * sysdeps/generic/libnss_dns.abilist: New file.
50462         * sysdeps/generic/libnss_files.abilist: New file.
50463         * sysdeps/generic/libnss_hesiod.abilist: New file.
50464         * sysdeps/generic/libnss_nis.abilist: New file.
50465         * sysdeps/generic/libnss_nisplus.abilist: New file.
50466         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50467         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50468         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50469         file.
50470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50471         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50472         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50473         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50474         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50475         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50476         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50477         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50478         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50479         file.
50480         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50481         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50482         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50483         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50484         file.
50485         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50486         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50487         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50488         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50489         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50490         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50491         file.
50492         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50493         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50494         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50495         file.
50496         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50498         New file.
50499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50500         New file.
50501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50502         New file.
50503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50504         New file.
50505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50506         New file.
50507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50508         New file.
50509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50510         New file.
50511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50512         New file.
50513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50514         New file.
50515         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50516         New file.
50517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50518         New file.
50519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50520         New file.
50521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50522         New file.
50523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50524         file.
50525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50526         New file.
50527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50528         New file.
50529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50530         file.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50532         New file.
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50534         New file.
50535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50536         file.
50537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50538         New file.
50539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50540         New file.
50541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50542         New file.
50543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50544         New file.
50545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50546         New file.
50547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50548         New file.
50549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50551         file.
50552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50553         New file.
50554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50555         file.
50556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50557         file.
50558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50559         file.
50560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50561         file.
50562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50563         file.
50564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50565         New file.
50566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50567         file.
50568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50569         file.
50570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50571         New file.
50572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50573         file.
50574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50576         file.
50577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50578         New file.
50579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50580         file.
50581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50582         file.
50583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50584         file.
50585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50586         file.
50587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50588         file.
50589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50590         New file.
50591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50594         file.
50595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50596         New file.
50597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50598         file.
50599         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50600         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50601         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50602         file.
50603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50604         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50605         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50606         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50607         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50609         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50610         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50611         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50612         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50615         file.
50616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50617         New file.
50618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50619         file.
50620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50621         file.
50622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50623         file.
50624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50625         file.
50626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50627         file.
50628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50629         New file.
50630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50631         New file.
50632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50633         file.
50634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50635         New file.
50636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50637         file.
50638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50640         file.
50641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50642         New file.
50643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50644         file.
50645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50646         file.
50647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50648         file.
50649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50650         file.
50651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50652         file.
50653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50654         New file.
50655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50656         New file.
50657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50658         file.
50659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50660         New file.
50661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50662         file.
50664 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50666         * conform/conformtest.pl: Fix typo in handling typed-constant from
50667         allow-header.
50669 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50671         * README: Cut down references to pre-2.6 Linux kernels and
50672         Linuxthreads.  Update lists of configurations in libc and ports
50673         and sort alphabetically.  Say "or newer" with Linux kernel version
50674         requirements.
50676         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50678 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50680         [BZ #887]
50681         * math/libm-test.inc (logb_test_downward): New test to expose
50682         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50683         rounding mode.
50685 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50687         [BZ #14027]
50688         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50689         to be done.
50690         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50691         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50693 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50695         * sysdeps/unix/i386/brk.S: Remove file.
50696         * sysdeps/unix/i386/dl-brk.S: Likewise.
50697         * sysdeps/unix/i386/pipe.S: Likewise.
50698         * sysdeps/unix/i386/sigreturn.S: Likewise.
50699         * sysdeps/unix/i386/syscall.S: Likewise.
50700         * sysdeps/unix/i386/vfork.S: Likewise.
50701         * sysdeps/unix/i386/wait.S: Likewise.
50703         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50704         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50706         * configure.in (arm*-none*): Do not allow without
50707         --enable-hacker-mode.
50708         (netbsd*): Remove case setting base_os.
50709         (386bsd*): Likewise.
50710         (freebsd*): Likewise.
50711         (bsdi*): Likewise.
50712         (osf*): Likewise.
50713         (sunos*): Likewise.
50714         (ultrix*): Likewise.
50715         (newsos*): Likewise.
50716         (dynix*): Likewise.
50717         (*bsd*): Likewise.
50718         (sysv*): Likewise.
50719         (isc*): Likewise.
50720         (esix*): Likewise.
50721         (sco*): Likewise.
50722         (minix*): Likewise.
50723         (irix4*): Likewise.
50724         (irix6*): Likewise.
50725         (solaris[2-9]*): Likewise.
50726         (none): Likewise.
50727         * configure: Regenerated.
50729 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50731         [BZ #11521]
50732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50733         overflow or cancellation in calculating denominator.
50734         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50735         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50736         down expression to avoid unexpected rounding in newer GCCs.
50737         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50739 2012-04-26  David S. Miller  <davem@davemloft.net>
50741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50742         long-double compat symbols.
50743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50757 2012-04-25  David S. Miller  <davem@davemloft.net>
50759         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50760         HWCAP_* values only after the memory barriers have been defined.
50761         (atomic_full_barrier): Define.
50762         (atomic_read_barrier): Define.
50763         (atomic_write_barrier): Define.
50765 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50767         * shlib-versions: Add libgcc_s version information.
50768         * sysdeps/generic/libgcc_s.h: Remove.
50769         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50770         libgcc_s.h.
50771         * sysdeps/gnu/unwind-resume.c: Likewise.
50772         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50774 2012-04-25  David S. Miller  <davem@davemloft.net>
50776         * sysdeps/unix/sparc/brk.S: Delete.
50777         * sysdeps/unix/sparc/dl-brk.S: Delete.
50778         * sysdeps/unix/sparc/pipe.S: Delete.
50779         * sysdeps/unix/sparc/sysdep.S: Delete.
50780         * sysdeps/unix/sparc/sysdep.h: Delete.
50781         * sysdeps/unix/sparc/vfork.S: Delete.
50782         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50783         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50784         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50785         (ret_ERRVAL, r0, r1, MOVE): Define.
50786         (JUMPTARGET): Remove.
50787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50788         sysdeps/unix/sparc/sysdep.h
50789         (ENTRY, END): Remove.
50790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50792 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50794         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50795         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50796         -DIS_IN_build.
50798         * timezone/README: Update upstream location and email address for
50799         tzcode and tzdata.
50800         * timezone/zdump.c: Update from tzcode 2012b.
50801         * timezone/zic.c: Likewise.
50803         * configure.in (libc_cv_as_needed): Remove test.
50804         * configure: Regenerated.
50805         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50806         conditional definition.
50807         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50808         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50809         * config.make.in (have-as-needed): Remove variable.
50811 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50812             Paul Pluzhnikov  <ppluzhnikov@google.com>
50814         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50815         strings correctly.
50817 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50819         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50820         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50821         * sysdeps/sh/strlen.S: Likewise.
50823 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50825         * sysdeps/unix/fork.S: Remove file.
50826         * sysdeps/unix/i386/fork.S: Likewise.
50827         * sysdeps/unix/sparc/fork.S: Likewise.
50829         * sysdeps/unix/system.c: Remove file.
50830         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50832         * sysdeps/unix/getegid.S: Remove file.
50833         * sysdeps/unix/geteuid.S: Likewise.
50835 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50837         * scripts/check-localplt.awk: New file.
50838         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50839         of diff.
50840         * scripts/data/localplt-generic.data: Add a comment.
50842         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50843         NODE when __dir_mkfile failed.
50844         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50845         Reported by Ludovic Courtès <ludo@gnu.org>.
50847 2012-04-24  Andreas Jaeger  <aj@suse.de>
50849         * Makerules (common-clean): Also remove gen-as-const-headers
50850         files.
50852 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50854         * Makerules (native-compile): Do not change working directory for
50855         build.  Use $(OUTPUT_OPTION) in command.
50856         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50858 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50860         [BZ #13886]
50861         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50862         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50863         * math/libm-test.inc (floor_test): Add more tests.
50864         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50866 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50868         * sysdeps/unix/getdents.c: Remove file.
50869         * sysdeps/unix/sysv/getdents.c: Likewise.
50870         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50872         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50873         sysdeps/unix/mman/syscalls.list.
50874         (mmap): Likewise.
50875         (mprotect): Likewise.
50876         (msync): Likewise.
50877         (munmap): Likewise.
50878         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50879         * sysdeps/unix/mman/syscalls.list: Remove.
50880         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50882         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50883         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50884         * configure: Regenerated.
50885         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50886         $(libgcc_s_suffix).
50887         * config.make.in (libgcc_s_suffix): Remove variable.
50889 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50891         * sysdeps/unix/sysv/gethostname.c: Move to ...
50892         * sysdeps/posix/gethostname.c: ... here.
50894         * sysdeps/unix/execve.S: Remove file.
50896         * sysdeps/unix/_exit.S: Remove file.
50898 2012-04-23  Andreas Jaeger  <aj@suse.de>
50900         [BZ #13739]
50901         * manual/Makefile: Remove make dist support, there's no
50902         need for a stand-alone documentation tar ball.
50903         (TEXI2DVI): Define always, it's not in Makeconfig.
50904         (dist): Removed.
50905         (tar-it): Removed.
50906         (edition): Removed.
50907         (glibc-doc-$(edition).tar): Removed
50908         (%.Z): Removed.
50909         (%.gz): Removed.
50910         (%.uu): Removed.
50911         (ETAGS): Remove, it's in Makeconfig.
50912         (move-if-change): Remove, it's in Makeconfig.
50914 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50916         [BZ #13970]
50917         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50918         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50919         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50920         (strtod_l, strtof_l, strtold_l): Remove __wur.
50921         It is not necessarily an error to ignore strtol's return value.
50922         One can reliably look at the stored endptr to decide whether
50923         the number had valid syntax.
50925 2012-04-21  Andreas Jaeger  <aj@suse.de>
50927         [BZ #13739]
50928         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50930 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50932         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50933         * sysdeps/unix/sysv/Versions: Remove file.
50935 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50937         [BZ #13927]
50938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50940 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50942         [BZ #7064]
50943         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50944         version from __vm86.
50946 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50948         * sysdeps/unix/common/lxstat.c: Remove file.
50949         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50951         * sysdeps/unix/sysv/Makefile: Remove file.
50953         * sysdeps/unix/sysv/direct.h: Remove file.
50955         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50956         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50957         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50958         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50959         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50960         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50961         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50963         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50965         * sysdeps/unix/xmknod.c: Remove file.
50966         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50968         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50970         * sysdeps/unix/sysv/i386/time.S: Remove file.
50972         * sysdeps/unix/fxstat.c: Remove file.
50973         * sysdeps/unix/xstat.c: Likewise.
50974         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50976         * sysdeps/unix/sysv/sigaction.c: Remove file.
50978         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50979         (sysdep_headers): Remove variable.
50980         [termio.h not in sysdep_headers] (generated): Likewise.
50981         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50982         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50983         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50984         * sysdeps/unix/sysv/tcflow.c: Likewise.
50985         * sysdeps/unix/sysv/tcflush.c: Likewise.
50986         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50987         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50988         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50989         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50990         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50992         * sysdeps/unix/siglist.c: Remove file.
50994         * sysdeps/unix/getppid.S: Remove file.
50996         * sysdeps/unix/mkdir.c: Remove file.
50997         * sysdeps/unix/rmdir.c: Likewise.
50999 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51001         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51002         ERR_MAX value.
51003         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51004         errlist-compat value.
51006 2012-04-18  David S. Miller  <davem@davemloft.net>
51008         * sysdeps/generic/memcopy.h (reg_char): Delete.
51009         * debug/strcat_chk.c: Use char, not reg_char.
51010         * debug/strcpy_chk.c: Likewise.
51011         * debug/strncat_chk.c: Likewise.
51012         * debug/strncpy_chk.c: Likewise.
51013         * string/memchr.c: Likewise.
51014         * string/memrchr.c: Likewise.
51015         * string/rawmemchr.c: Likewise.
51016         * string/strcat.c: Likewise.
51017         * string/strchr.c: Likewise.
51018         * string/strchrnul.c: Likewise.
51019         * string/strcmp.c: Likewise.
51020         * string/strcpy.c: Likewise.
51021         * string/strncat.c: Likewise.
51022         * string/strncmp.c: Likewise.
51023         * string/strncpy.c: Likewise.
51025 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51027         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51028         __builtin_memcopy is called when src and dest ranges are known to not
51029         overlap.
51031 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51034         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51035         fwd_align_merge macro call.
51036         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51037         bwd_align_merge macro call.
51038         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51040 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51042         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51043         bwd_align_merge macros.
51044         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51045         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51046         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51048 2012-04-18  David S. Miller  <davem@davemloft.net>
51050         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51052 2012-04-18  Andreas Jaeger  <aj@suse.de>
51054         [BZ# 6794]
51055         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51056         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51057         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51059         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51060         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51061         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51063         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51064         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51065         Adjust for changed ldbl-128 files.
51067         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51068         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51069         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51071 2012-04-17  David S. Miller  <davem@davemloft.net>
51073         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51075 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51077         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51078         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51079         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51080         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51081         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51082         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51084 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51086         [BZ #6794]
51087         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51088         * math/libm-test.inc: Add ilogb errno and exception tests.
51089         * math/w_ilogb.c: New file: ilogb wrapper.
51090         * math/w_ilogbf.c: New file: ilogbf wrapper.
51091         * math/w_ilogbl.c: New file: ilogbl wrapper.
51092         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51093         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51094         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51095         exception being thrown with 0.0 as argument.
51096         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51097         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51098         exception being thrown with 0.0 as argument.
51099         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51100         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51101         exception being thrown with 0.0 as argument.
51102         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51103         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51104         exception being thrown with 0.0 as argument.
51105         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51106         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51107         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51108         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51109         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51110         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51111         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51112         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51113         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51115 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51117         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51118         with altivec.
51120 2012-04-16  Marek Polacek  <polacek@redhat.com>
51122         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51124 2012-04-16  Marek Polacek  <polacek@redhat.com>
51126         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51127         operands of fdivp instruction.
51129 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51131         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51132         * elf/tst-auditmod3b.c: Likewise.
51133         * elf/tst-auditmod4b.c: Likewise.
51134         * elf/tst-auditmod5b.c: Likewise.
51135         * elf/tst-auditmod6b.c: Likewise.
51136         * elf/tst-auditmod6c.c: Likewise.
51137         * elf/tst-auditmod7b.c: Likewise.
51138         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51139         * sysdeps/x86_64/preconfigure.in: Likewise.
51140         * sysdeps/x86_64/preconfigure: Regenerated.
51142 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51144         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51145         __ILP32__.
51147 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51150         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51152 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51154         [BZ #13973]
51155         * locale/iso-639.def: Fix gl language name. Spotted by
51156         Yaron Shahrabani.
51158 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51160         [BZ #2074]
51161         * libio/libio.h (__io_write_fn): Update comment.
51163 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51165         [BZ #2074]
51166         * stdio.texi (Hook Functions): The user provided writer function
51167         is not allowed to return -1.
51169 2012-04-11  David S. Miller  <davem@davemloft.net>
51171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51173 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51175         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51176         Add a leading slash to rtkaio.
51178 2012-04-11  Jim Meyering  <meyering@redhat.com>
51180         [BZ #11959]
51181         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51182         It is not necessarily an error to ignore fwrite's return
51183         value.  One can reliably use ferror to test for errors after
51184         the fact.
51186 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51188         * bits/types.h (__snseconds_t): New type.
51189         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51191         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51193         (__SNSECONDS_T_TYPE): Likewise.
51194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51195         (__SNSECONDS_T_TYPE): Likewise.
51196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51197         (__SNSECONDS_T_TYPE): Likewise.
51199 2012-04-10  Andreas Jaeger  <aj@suse.de>
51201         [BZ #2636]
51202         * manual/time.texi (Processor Time): Return type of times is
51203         elapsed real time since an arbitrary point in the past.
51204         (CPU Time): Move CLK_TCK from here...
51205         (Processor Time): ...to here.  Correct description.
51206         * manual/conf.texi (Constants for Sysconf): Correct description of
51207         _SC_CLK_TCK.
51209 2012-04-10  David S. Miller  <davem@davemloft.net>
51211         [BZ #13967]
51212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51213         where the is a gap between DT_REL(A) and DT_JMPREL.
51215 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51217         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51218         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51219         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51221 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51223         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51224         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51225         (dl_main): Handle --inhibit-cache.
51226         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51227         _dl_inhibit_cache.
51228         * elf/dl-load.c (_dl_map_object): Use it.
51229         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51231 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51233         [BZ #13872]
51234         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51235         (__ieee754_powl): Saturate large exponents rather than testing for
51236         overflow of y*log2(x).
51237         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51238         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51239         exceptions.
51241         [BZ #11521]
51242         * math/s_ctan.c: Include <float.h>.
51243         (__ctan): Avoid internal overflow or cancellation in calculating
51244         denominator.
51245         * math/s_ctanf.c: Likewise.
51246         * math/s_ctanl.c: Likewise.
51247         * math/s_ctanh.c: Likewise.
51248         * math/s_ctanhf.c: Likewise.
51249         * math/s_ctanhl.c: Likewise.
51250         * math/libm-test.inc (ctan_test): Add more tests.
51251         (ctanh_test): Likewise.
51252         * sysdeps/i386/fpu/libm-test-ulps: Update.
51253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51255 2012-04-09  Andreas Jaeger  <aj@suse.de>
51257         [BZ #6894]
51258         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51259         is an optional BSD extension.
51261         [BZ #10254]
51262         * manual/stdio.texi (Opening Streams): Document additional fopen
51263         parameters.
51265 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51267         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51268         %eax without telling the compiler.
51270 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51272         [BZ # 13963]
51273         * manual/install.texi: Use sourceware.org.
51275 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51277         [BZ #13873]
51278         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51279         (__ieee754_pow): Generate overflow and underflow using huge*huge
51280         and tiny*tiny rather than just returning constant infinity or zero
51281         for large exponents.
51282         * math/libm-test.inc (pow_test): Require overflow exceptions for
51283         applicable cases of large exponents.
51285         [BZ #706]
51286         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51287         (__ieee754_pow): Use iterative multiplication algorithm only for
51288         integer exponents with absolute value below 1024.  Check for odd
51289         integer exponents when using algorithm for real exponents.
51290         * math/libm-test.inc (pow_test): Add more tests.
51291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51293 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51295         [BZ #13705]
51296         * math/libm-test.inc (exp_test): Do not allow overflow exception
51297         on underflow test.
51299 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51301         [BZ #13705]
51302         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51303         instead of __kernel_standard_f.
51305 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51307         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51308         * sysdeps/x86_64/memset_chk.S: Likewise.
51310 2012-04-08  Andreas Jaeger  <aj@suse.de>
51312         [BZ #10153]
51313         * manual/startup.texi (Environment Access): Describe return value
51314         for putenv and setenv.
51316         [BZ #6895]
51317         * manual/filesys.texi (Directory Entries): Add description for
51318         DT_LNK.
51320         [BZ #6890]
51321         * manual/filesys.texi (Directory Entries): Clarify that it's file
51322         system not operating system in the description of DT_UNKNOWN.
51324         [BZ #6578]
51325         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51327 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51329         [BZ #6649]
51330         * manual/llio.texi (Opening and Closing Files): Add cross
51331         reference to explain mode argument.
51333 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51335         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51336         * sysdeps/x86_64/memset_chk.S: Likewise.
51338 2012-04-07  David S. Miller  <davem@davemloft.net>
51340         * elf/elf.h (R_SPARC_WDISP10): Define.
51341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51342         R_SPARC_SIZE32.
51343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51344         R_SPARC_SIZE64 and R_SPARC_H34.
51346 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51348         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51349         conditions and remove no longer applicable assertion.
51351 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51353         * bits/byteswap.h: Include <features.h>.
51354         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51355         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51357 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51359         * bits/byteswap.h (__bswap_16): Removed.
51360         Include <bits/byteswap-16.h> to get __bswap_16.
51361         * sysdeps/i386/bits/byteswap.h: Likewise.
51362         * sysdeps/s390/bits/byteswap.h: Likewise.
51363         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51364         * bits/byteswap-16.h: New file.
51365         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51366         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51367         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51368         * string/Makefile (headers): Add bits/byteswap-16.h.
51370 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51372         [BZ #13895]
51373         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51374         extra indirection.
51375         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51376         * nss/tst-nss-static.c: New.
51378 2012-04-06  Robert Millan  <rmh@gnu.org>
51380         [BZ #6486]
51381         * manual/llio.texi (File Position Primitive): lseek
51382         refers to WHENCE when it really means OFFSET.
51384 2012-04-06  Andreas Jaeger  <aj@suse.de>
51386         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51387         strncmp declarations.
51389         * abilist/libc.abilist: Add __poll and __ppoll.
51391 2012-04-05  David S. Miller  <davem@davemloft.net>
51393         * scripts/check-local-headers.sh: Accept a host triplet in the
51394         path matched by the exclude regexp.
51396         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51397         definition.
51398         * sysdeps/powerpc/powerpc32/dl-machine.h
51399         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51400         * sysdeps/s390/s390-32/dl-machine.h
51401         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51402         * sysdeps/sparc/sparc32/dl-machine.h
51403         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51404         * sysdeps/sparc/sparc64/dl-machine.h
51405         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51407         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51408         lazy binding.
51409         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51410         undefined symbol errors.
51412         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51413         DT_NEEDED entries.
51415 2012-04-05  Michael Matz  <matz@suse.de>
51417         [BZ #13592]
51418         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51420 2012-04-05  Andreas Jaeger  <aj@suse.de>
51422         [BZ #13908]
51423         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51424         comment.
51426 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51428         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51429         which ROUND is no valid rounding mode.
51431 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51433         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51434         read again.
51435         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51437 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51439         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51440         an exception using FPU order intentionally.
51442 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51444         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51445         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51446         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51447         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51449 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51451         [BZ #12340]
51452         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51453         EINVAL when BUFLEN is too smal.
51455 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51457         [BZ #13553]
51458         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51459         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51461 2012-04-03  Andreas Jaeger  <aj@suse.de>
51463         [BZ #13938]
51464         * manual/setjmp.texi (System V contexts): Fix sentence.
51466         [BZ #13926]
51467         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51468         New macro for this case.
51469         [!__GNUC__] (__bswap_64): New inline function for this case.
51470         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51471         * bits/byteswap.h: Likewise.
51472         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51473         ull, guard with __GLIBC_HAVE_LONG_LONG.
51475         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51476         __GLIBC_HAVE_LONG_LONG.
51478         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51479         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51481 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51483         [BZ #13691]
51484         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51485         inptr and inend, rather than using last_ch.
51487 2012-04-02  David S. Miller  <davem@davemloft.net>
51489         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51490         * stdio-common/printf-parse.h (read_int): Change return type to
51491         'int', return -1 on INT_MAX overflow.
51492         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51493         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51494         overflows INT_MAX.  Check for overflow of in-format-string precision
51495         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51496         SIZE_MAX not INT_MAX for integer overflow test.
51497         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51498         skip the construct in the format string but do not record anything.
51499         * stdio-common/bug22.c: Adjust to test both width/prevision
51500         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51501         explicitly for proper errno values.
51503 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51505         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51506         CHAR_MAX.
51507         * string/test-strcmp.c [! WIDE]: Likewise.
51508         * time/tst-mktime2.c: Likewise for INT_MAX.
51509         * string/test-string.h: #include <sys/param.h> for MIN.
51511         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51512         * sysdeps/i386/init-first.c (init): Likewise.
51513         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51514         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51515         * sysdeps/sh/init-first.c (init): Likewise.
51517 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51519         * po/ru.po: Update from translation team.
51520         * po/vi.po: Likewise.
51522 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51524         * resolv/nss_dns/dns-host.c: Merge copyright years.
51526 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51529         Optimize memcpy with prefetch if
51530         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51531         src, dst pointers have unequal 16 byte alignments.
51533 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51535         [BZ #13928]
51536         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51537         from a CNAME entry and return the minimum ttl for the query.
51538         (gaih_getanswer_slice): Likewise.
51540 2012-03-30  Jeff Law  <law@redhat.com>
51542         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51543         due to long keys.
51544         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51545         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51547         * resolv/nss_dns/dns-host.c: Update copyright year.
51549 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51551         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51552         requests to save a system call.  Fix check that all bytes are sent.
51554         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51555         comments for sendmmsg.
51557 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51559         [BZ #13691]
51560         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51561         with only 1 character between 0x0041 and 0x01b0.
51562         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51563         * wcsmbs/tst-mbsnrtowcs.c: New file.
51565 2012-03-29  David S. Miller  <davem@davemloft.net>
51567         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51568         small copies by hand.
51570 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51572         [BZ #13761]
51573         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51574         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51575         group memberships.
51577 2012-03-28  David S. Miller  <davem@davemloft.net>
51579         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51580         that branches into memcpy.
51581         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51582         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51583         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51584         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51585         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51586         bits.
51587         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51588         implementation too.
51589         * sysdeps/sparc/mempcpy.S: New file.
51591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51592         the IFUNC routine in the libc case.
51593         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51595         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51596         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51597         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51598         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51599         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51600         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51601         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51602         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51604         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51605         loop to 256 bytes instead of 64 bytes and fix test signedness.
51607         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51608         * sysdeps/sparc/sparc32/Makefile: rather than here...
51609         * sysdeps/sparc/sparc64/Makefile: and here.
51611 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51613         * malloc/mallocbug.c: Avoid warnings about unused variables.
51615 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51617         [BZ #13760]
51618         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51619         in the right place. Discard and retry query if response is
51620         larger than input buffer size.
51622 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51624         [BZ #369]
51625         [BZ #2678]
51626         [BZ #3866]
51627         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51628         x for large integer exponent.
51629         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51630         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51631         sign of result as needed afterwards.
51632         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51633         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51634         result for underflowing pow the same as for overflow.
51635         (__kernel_standard_l): Handle powl overflow and underflow here
51636         rather than calling __kernel_standard.
51637         * math/libm-test.inc (pow_test): Add more tests.
51639         [BZ #3868]
51640         [BZ #13879]
51641         [BZ #13910]
51642         [BZ #13911]
51643         [BZ #13912]
51644         [BZ #13913]
51645         [BZ #13915]
51646         [BZ #13916]
51647         [BZ #13917]
51648         [BZ #13918]
51649         [BZ #13919]
51650         [BZ #13920]
51651         [BZ #13921]
51652         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51653         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51654         (__kernel_standard_l): New function.
51655         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51656         __kernel_standard.
51657         * math/w_acosl.c (__acosl): Likewise.
51658         * math/w_asinl.c (__asinl): Likewise.
51659         * math/w_atan2l.c (__atan2l): Likewise.
51660         * math/w_atanhl.c (__atanhl): Likewise.
51661         * math/w_coshl.c (__coshl): Likewise.
51662         * math/w_exp10l.c (__exp10l): Likewise.
51663         * math/w_exp2l.c (__exp2l): Likewise.
51664         * math/w_fmodl.c (__fmodl): Likewise.
51665         * math/w_hypotl.c (__hypotl): Likewise.
51666         * math/w_j0l.c (__j0l, __y0l): Likewise.
51667         * math/w_j1l.c (__j1l, __y1l): Likewise.
51668         * math/w_jnl.c (__jnl, __ynl): Likewise.
51669         * math/w_lgammal.c (__lgammal): Likewise.
51670         * math/w_log10l.c (__log10l): Likewise.
51671         * math/w_log2l.c (__log2l): Likewise.
51672         * math/w_logl.c (__logl): Likewise.
51673         * math/w_powl.c (__powl): Likewise.
51674         * math/w_remainderl.c (__remainderl): Likewise.
51675         * math/w_scalbl.c (sysv_scalbl): Likewise.
51676         * math/w_sinhl.c (__sinhl): Likewise.
51677         * math/w_sqrtl.c (__sqrtl): Likewise.
51678         * math/w_tgammal.c (__tgammal): Likewise.
51679         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51680         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51681         * math/libm-test.inc (acos_test): Add more tests.
51682         (acosh_test): Likewise.
51683         (asin_test): Likewise.
51684         (atanh_test): Likewise.
51685         (exp_test): Likewise.
51686         (exp10_test): Likewise.
51687         (exp2_test): Likewise.
51688         (expm1_test): Likewise.
51689         (lgamma_test): Likewise.
51690         (log_test): Likewise.
51691         (log10_test): Likewise.
51692         (log1p_test): Likewise.
51693         (log2_test): Likewise.
51694         (pow_test): Do not allow some spurious overflow exceptions.
51695         (sqrt_test): Add more tests.
51696         (tgamma_test): Likewise.
51697         (y0_test): Likewise.
51698         (y1_test): Likewise.
51699         (yn_test): Likewise.
51701 2012-03-27  Anton Blanchard  <anton@samba.org>
51703         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51704         MAP_HUGETLB.
51705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51706         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51709 2012-03-27  David S. Miller  <davem@davemloft.net>
51711         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51713         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51714         have-as-vis3 check.
51716 2012-03-27  Andreas Jaeger  <aj@suse.de>
51718         * sysdeps/x86_64/elf/configure.in: Moved to ...
51719         * sysdeps/x86_64/configure.in: ... here.
51720         * sysdeps/x86_64/elf/start.S: Moved to ...
51721         * sysdeps/x86_64/start.S: ... here.
51722         * sysdeps/x86_64/elf/configure: Delete.
51724         * sysdeps/x86_64/configure.in: Merge contents from
51725         sysdeps/i386/configure.in (without i686 check).
51727         * sysdeps/i386/elf/Versions: Merge into ...
51728         * sysdeps/i386/Versions: ... this.
51729         * sysdeps/i386/elf/Versions: Delete file.
51730         * sysdeps/i386/elf/start.S: Moved to ...
51731         * sysdeps/i386/start.S: ...here.
51732         * sysdeps/i386/elf/configure.in: Merge into...
51733         * sysdeps/i386/configure.in: ...here.
51734         * sysdeps/i386/elf/configure.in: Delete file.
51735         * sysdeps/i386/elf/configure: Delete file.
51737         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51738         * debug/backtracesyms.c: ... here.
51739         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51740         * debug/backtracesymsfd.c: ... here.
51741         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51742         * sysdeps/generic/ifunc-sel.h: ... here.
51744         * sysdeps/unix/i386/start.c: Delete file.
51745         * sysdeps/unix/sparc/start.c: Delete file.
51746         * sysdeps/unix/start.c: Delete file.
51748         * sysdeps/sh/elf/configure.in: Moved to ...
51749         * sysdeps/sh/configure.in: ... here.
51750         * sysdeps/sh/elf/start.S: Moved to ...
51751         * sysdeps/sh/start.S: ... here.
51752         * sysdeps/sh/elf/configure: Delete file.
51754         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51755         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51756         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51757         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51758         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51759         * sysdeps/powerpc/powerpc64/start.S: here.
51760         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51761         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51762         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51763         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51764         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51766         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51767         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51768         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51769         * sysdeps/powerpc/powerpc32/start.S: ... here.
51770         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51771         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51772         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51774         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51775         * sysdeps/powerpc/ifunc-sel.h: ... here.
51776         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51777         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51779         * sysdeps/sparc/elf/configure.in: Moved to ...
51780         * sysdeps/sparc/configure.in: ... here.
51781         * sysdeps/sparc/elf/configure: Delete file.
51782         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51783         * sysdeps/sparc/sparc32/start.S: ... here.
51784         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51785         * sysdeps/sparc/sparc64/start.S: ... here.
51786         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51787         * sysdeps/sparc/sparc32/Makefile: ... this.
51788         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51789         * sysdeps/sparc/sparc64/Makefile: ... this.
51791         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51792         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51793         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51794         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51795         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51796         * sysdeps/s390/s390-32/setjmp.S: ... here.
51797         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51798         * sysdeps/s390/s390-32/configure.in: ... here.
51799         * sysdeps/s390/s390-32/elf/configure: Delete file.
51800         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51801         * sysdeps/s390/s390-32/start.S: ... here.
51803         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51804         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51805         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51806         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51807         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51808         * sysdeps/s390/s390-64/setjmp.S: ... here.
51809         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51810         * sysdeps/s390/s390-64/configure.in: ... here
51811         * sysdeps/s390/s390-64/elf/configure: Delete file.
51812         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51813         * sysdeps/s390/s390-64/start.S: ... here.
51814         * sysdeps/s390/s390-64/elf/configure: Delete.
51816         * configure.in: Remove support for elf directories in sysdeps.
51818         * configure: Regenerated.
51819         * sysdeps/i386/configure: Regenerated.
51820         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51821         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51822         * sysdeps/s390/s390-32/configure: Regenerated.
51823         * sysdeps/s390/s390-64/configure: Regenerated.
51824         * sysdeps/sh/configure: Regenerated.
51825         * sysdeps/sparc/configure: Regenerated.
51826         * sysdeps/x86_64/configure: Regenerated.
51828 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51833         denormal result into account.
51835 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51837         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51838         Reported by Allan McRae <allan@archlinux.org>.
51840 2012-03-23  Jeff Law  <law@redhat.com>
51842         * nss/getnssent.c (__nss_getent): Fix typo.
51844 2012-03-23  David S. Miller  <davem@davemloft.net>
51846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51848 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51850         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51851         to pad to uint64_t for each field.
51852         (dl_tls_index): Replace unsigned long with uint64_t.
51854 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51855         Paul Pluzhnikov  <ppluzhnikov@google.com>
51857         [BZ #6528]
51858         * grp/Makefile (otherlibs): Don't set it.
51859         * inet/Makefile (otherlibs): Likewise.
51860         * login/Makefile (otherlibs): Likewise.
51861         * nscd/Makefile (otherlibs): Likewise.
51862         * posix/Makefile (otherlibs): Likewise.
51863         * pwd/Makefile (otherlibs): Likewise.
51864         * rt/Makefile (otherlibs): Likewise.
51865         * sunrpc/Makefile (otherlibs): Likewise.
51866         * nss/Makefile (otherlibs): Likewise.
51867         Add libnss_files to routines and static-only-routines.
51868         ($(objpfx)getent): Remove rule.
51869         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51870         static-only-routines.
51872 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51874         [BZ #13892]
51875         * math/s_cexp.c: Include <float.h>.
51876         (__cexp): Handle exp result overflowing not necessarily
51877         overflowing both real and imaginary parts of result.
51878         * math/s_cexpf.c: Likewise.
51879         * math/s_cexpl.c: Likewise.
51880         * math/libm-test.inc (cexp_test): Add more tests.
51881         * sysdeps/i386/fpu/libm-test-ulps: Update.
51882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51886         * include/link.h (ELFW): New macro.
51887         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51888         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51892         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51893         with uint64_t.
51895 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51897         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51898         declaration.
51899         (struct La_x32_retval): Likewise.
51901 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51903         * sysdeps/x86_64/preconfigure.in: New file.
51904         * sysdeps/x86_64/preconfigure: New generated file.
51906 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51908         [BZ #13824]
51909         * math/e_exp2l.c: Include <float.h>.
51910         (__ieee754_exp2l): Handle overflow and underflow cases
51911         separately.  Only pass fractional part of argument to
51912         __ieee754_expl.
51913         * math/libm-test.inc (exp2_test): Add more tests.
51915         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51916         negating x to take absolute value.
51917         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51918         Likewise.
51919         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51920         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51921         Likewise.
51922         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51923         computing low part if x was negated.
51924         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51926 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51928         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51929         la_x32_gnu_pltexit.
51930         (pltexit): Cast int_retval to ptrdiff_t.
51931         * elf/tst-auditmod3b.c: Likewise.
51932         * elf/tst-auditmod4b.c: Likewise.
51933         * elf/tst-auditmod5b.c: Likewise.
51934         * elf/tst-auditmod6b.c: Likewise.
51935         * elf/tst-auditmod6c.c: Likewise.
51936         * elf/tst-auditmod7b.c: Likewise.
51938         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51939         and x32_gnu_pltexit.
51941         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51942         __ELF_NATIVE_CLASS.
51943         (La_x32_regs): New macro.
51944         (La_x32_retval): Likewise.
51945         (la_x32_gnu_pltenter): New function prototype.
51946         (la_x32_gnu_pltexit): Likewise.
51948 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51951         exponent.
51953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51955         * configure.in (libc_cv_cc_nofma): Check for option to disable
51956         generation of FMA instructions.
51957         * configure: Regenerate.
51958         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51959         * sysdeps/ieee754/dbl-64/Makefile: New file.
51960         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51961         Remove brandred-fma4.
51962         (CFLAGS-brandred-fma4.c): Remove.
51963         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51964         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51965         define.
51966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51967         define.
51969 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51971         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51972         LLONG_MAX != LONG_MAX.
51973         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51974         (_fitoa_word): Likewise.
51975         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51976         LLONG_MAX != LONG_MAX.
51977         * stdio-common/_itowa.h: Include <_itoa.h>.
51978         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51979         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51980         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51981         only if not defined.
51982         (_ITOA_WORD_TYPE): Likewise.
51983         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51984         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51986 2012-03-21  David S. Miller  <davem@davemloft.net>
51988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51992         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51993         of x86_64 when setting libc_cv_slibdir, libdir and
51994         libc_cv_localedir.
51995         * sysdeps/unix/sysv/linux/configure: Regenerated.
51997 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51999         * manual/lang.texi (Old Varargs): Remove section.
52000         (How Variadic): Update menu.
52001         (va_start): Do not mention varargs.h.
52003 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52004             Joseph Myers  <joseph@codesourcery.com>
52006         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52007         link test.
52008         * configure: Regenerated.
52010 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52012         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52013         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52014         conformtest.pl
52016 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52018         * NOTES: Remove.
52019         * Makefile (files-for-dist): Remove NOTES.
52020         (NOTES): Remove rule.
52021         * README: Don't refer to NOTES.
52022         * manual/creature.texi: Don't include macros.texi.
52023         * manual/intro.texi (creature.texi): Remove comment referring to
52024         NOTES.
52026         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52027         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52028         * configure: Regenerated.
52029         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52030         LIBC_TRY_CC_OPTION.
52031         (libc_cv_as_i686): Likewise.
52032         (libc_cv_cc_avx): Likewise.
52033         (libc_cv_cc_sse2avx): Likewise.
52034         (libc_cv_cc_fma4): Likewise.
52035         (libc_cv_cc_novzeroupper): Likewise.
52036         * sysdeps/i386/configure: Regenerated.
52038         [BZ #13883]
52039         * sysdeps/i386/fpu/s_cexp.S: Remove.
52040         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52041         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52042         * math/libm-test.inc (cexp_test): Add more tests.
52043         * sysdeps/i386/fpu/libm-test-ulps: Update.
52044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52046 2012-03-21  Allan McRae  <allan@archlinux.org>
52048         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52050 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52052         [BZ #13871]
52053         * math/w_exp2.c: Do not include <float.h>.
52054         (o_threshold, u_threshold): Remove.
52055         (__exp2): Calculate result before checking finiteness and calling
52056         __kernel_standard.
52057         * math/w_exp2f.c: Likewise.
52058         * math/w_exp2l.c: Likewise.
52059         * math/libm-test.inc (exp2_test): Require overflow exception for
52060         1e6 input.
52062         [BZ #3866]
52063         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52064         range of signed 64-bit integers before using fistpll.  Remove
52065         checks for whether integers fit in mantissa bits.
52066         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52067         the range of signed 32-bit integers before using fistpl.  Remove
52068         checks for whether integers fit in mantissa bits.
52069         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52070         (__ieee754_powl): Test for y outside the range of signed 64-bit
52071         integers before using fistpll.  Reduce 64-bit values to 63-bit
52072         ones as needed.
52073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52074         divide-by-zero is raised for zero to large negative powers.
52075         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52076         (__ieee754_powl): Test for y outside the range of signed 64-bit
52077         integers before using fistpll.  Reduce 64-bit values to 63-bit
52078         ones as needed.
52079         * math/libm-test.inc (pow_test): Add more tests.
52081 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52083         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52084         <stdio-common/_itoa.h>.
52085         * debug/segfault.c: Likewise.
52086         * elf/dl-cache.c: Likewise.
52087         * elf/dl-minimal.c: Likewise.
52088         * elf/dl-misc.c: Likewise.
52089         * elf/dl-sysdep.c: Likewise.
52090         * elf/dl-version.c: Likewise.
52091         * elf/rtld.c: Likewise.
52092         * hurd/hurdsock.c: Likewise.
52093         * hurd/lookup-retry.c: Likewise.
52094         * malloc/malloc.c: Likewise.
52095         * malloc/mtrace.c: Likewise.
52096         * nscd/nscd_getgr_r.c: Likewise.
52097         * nscd/nscd_getpw_r.c: Likewise.
52098         * nscd/nscd_getserv_r.c: Likewise.
52099         * posix/getopt_init.c: Likewise.
52100         * posix/wordexp.c: Likewise.
52101         * stdio-common/_itoa.c: Likewise.
52102         * stdio-common/printf_fphex.c: Likewise.
52103         * stdio-common/vfprintf.c: Likewise.
52104         * string/_strerror.c: Likewise.
52105         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52106         * sysdeps/i386/i686/hp-timing.h: Likewise.
52107         * sysdeps/mach/_strerror.c: Likewise.
52108         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52109         * sysdeps/mach/hurd/sethostid.c: Likewise.
52110         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52111         * sysdeps/mach/xpg-strerror.c: Likewise.
52112         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52113         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52114         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52115         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52116         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52117         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52118         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52119         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52120         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52121         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52122         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52123         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52124         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52125         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52126         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52127         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52128         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52129         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52130         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52131         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52132         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52134         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52136         * stdio-common/_itoa.h: Moved to ...
52137         * sysdeps/generic/_itoa.h: Here.
52139         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52141         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52142         instead of "_itoa.h" and "_itowa.h".
52143         * stdio-common/vfprintf.: Likewise.
52145 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52147         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52148         <bits/wordsize.h>.
52149         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52150         (__signbit): Likwise.
52151         (llrintf): Likwise.
52152         (llrint): Likwise.
52154 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52156         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52157         __WORDSIZE != 64.
52159 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52161         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52162         OVERFLOW_EXCEPTION_OK.
52163         * math/libm-test.inc ("Philosophy"): Update comment about
52164         exception testing.
52165         (OVERFLOW_EXCEPTION): Define.
52166         (OVERFLOW_EXCEPTION_OK): Likewise.
52167         (INVALID_EXCEPTION_OK): Renumber.
52168         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52169         (IGNORE_ZERO_INF_SIGN): Likewise.
52170         (test_exceptions): Handle FE_OVERFLOW.
52171         (exp10_test): Expect overflow exceptions.
52172         (exp2_test): Likewise.
52173         (expm1_test): Likewise.
52174         (nextafter_test): Likewise.
52175         (pow_test): Likewise.
52176         (scalbn_test): Likewise.
52177         (scalbln_test): Likewise.
52179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52181         * sysdeps/x86_64/bits/atomic.h
52182         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52183         64bit integer.
52184         (atomic_exchange_acq): Likewise.
52185         (__arch_exchange_and_add_body): Likewise.
52186         (__arch_add_body): Likewise.
52187         (atomic_add_negative): Likewise.
52188         (atomic_add_zero): Likewise.
52190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52192         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52193         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52195 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52197         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52198         Check __x86_64__ instead of __WORDSIZE.
52200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52202         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52204 2012-03-19  David S. Miller  <davem@davemloft.net>
52206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52208         * sysdeps/sparc/fpu/fenv_private.h: New file.
52209         * sysdeps/sparc/fpu/math_private.h: Use it.
52210         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52211         Remove.
52212         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52213         (libc_feholdexcept_setroundl): Remove.
52214         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52215         Remove.
52216         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52217         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52221         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52222         int64_t instead of long int.
52223         (INSERT_WORDS64): Likwise.
52225 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52227         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52228         _Unwind_GetCFA return to _Unwind_Ptr first.
52230 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52232         [BZ #13629]
52233         * math/s_clog.c: Include <float.h>.
52234         (__clog): Scale large or subnormal inputs.
52235         * math/s_clogf.c: Likewise.
52236         * math/s_clogl.c: Likewise.
52237         * math/s_clog10.c: Include <float.h>.
52238         (M_LOG10_2): Define.
52239         (__clog10): Scale large or subnormal inputs.
52240         * math/s_clog10f.c: Likewise.
52241         * math/s_clog10l.c: Likewise.
52242         * math/libm-test.inc (clog_test): Add more tests.
52243         (clog10_test): Likewise.
52244         * sysdeps/i386/fpu/libm-test-ulps: Update.
52245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52247         [BZ #11451]
52248         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52249         x and y.
52250         * math/libm-test.inc (atan2_test): Add another test.
52252         * Makerules (common-objdir-compile): Remove.
52253         * sysdeps/unix/Makefile (config-generated): Do not add
52254         $(unix-generated) to variable.
52255         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52256         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52257         Remove rule.
52258         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52259         Likewise.
52260         [generic bits/local_lim.h] (before-compile): Do not append to
52261         variable.
52262         [generic bits/local_lim.h] (common-generated): Likewise.
52263         [generic sys/param.h] (before-compile): Do not append to variable.
52264         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52265         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52266         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52267         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52268         include.
52269         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52270         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52271         [generic sys/param.h] ($(addprefix
52272         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52273         [generic sys/param.h] (common-generated): Do not append to
52274         variable.
52275         [generic sys/param.h] (sysdep_headers): Likewise.
52276         [generic bits/errno.h] (before-compile): Do not append to
52277         variable.
52278         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52279         rule.
52280         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52281         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52282         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52283         [generic bits/errno.h] (common-generated): Do not append to
52284         variable.
52285         [generic bits/ioctls.h] (before-compile): Do not append to
52286         variable.
52287         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52288         rule.
52289         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52290         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52291         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52292         rule.
52293         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52294         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52295         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52296         [generic bits/ioctls.h] (common-generated): Do not append to
52297         variable.
52298         [generic sys/syscall.h] (syscall.h): Remove variable.
52299         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52300         rule.
52301         [generic sys/syscall.h] (before-compile): Do not append to
52302         variable.
52303         [generic sys/syscall.h] (common-generated): Likewise.
52304         * sysdeps/unix/errnos-tmpl.c: Remove file.
52305         * sysdeps/unix/errnos.awk: Likewise.
52306         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52307         * sysdeps/unix/ioctls.awk: Likewise.
52308         * sysdeps/unix/mk-local_lim.c: Likewise.
52309         * sysdeps/unix/snarf-ioctls: Likewise.
52311 2012-03-19  Richard Henderson  <rth@twiddle.net>
52313         * sysdeps/i386/fpu/fenv_private.h: New file.
52314         * sysdeps/i386/fpu/math_private.h: Use it.
52315         (math_opt_barrier, math_force_eval): Remove.
52316         (libc_feholdexcept_setround_53bit): Remove.
52317         (libc_feupdateenv_53bit): Remove.
52318         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52319         (math_opt_barrier, math_force_eval): Remove.
52320         (libc_feholdexcept): Remove.
52321         (libc_feholdexcept_setround): Remove.
52322         (libc_fetestexcept, libc_fesetenv): Remove.
52323         (libc_feupdateenv_test): Remove.
52324         (libc_feupdateenv, libc_feholdsetround): Remove.
52325         (libc_feresetround): Remove.
52327         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52328         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52330         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52331         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52332         (libc_feupdateenv_testl): New.
52333         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52334         (libc_feupdateenv_testf): New.
52335         (libc_feupdateenv): Use libc_feupdateenv_test.
52336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52337         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52339         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52340         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52341         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52342         (libc_feresetround_noex): New.
52343         (libc_feresetround_noexf): New.
52344         (libc_feresetround_noexl): New.
52345         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52346         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52347         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52348         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52349         SET_RESTORE_ROUND.
52350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52352         (__cos): Likewise.
52353         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52354         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52355         SET_RESTORE_ROUND_NOEX.
52356         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52357         SET_RESTORE_ROUND_NOEXF.
52358         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52359         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52360         (libc_feholdsetroundf): New.
52361         (libc_feresetround, libc_feresetroundf): New.
52363         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52364         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52365         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52367         * sysdeps/generic/math_private.h: Include <fenv.h>.
52368         (default_libc_feholdexcept): New.
52369         (default_libc_feholdexcept_setround): New.
52370         (default_libc_fesetenv, default_libc_feupdateenv): New.
52371         (libc_feholdexcept): Only define if undefined.
52372         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52373         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52374         (libc_feholdexcept_setroundl): Likewise.
52375         (libc_feholdexcept_setround_53bit): Likewise.
52376         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52377         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52378         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52379         (libc_feupdateenv_53bit): Likewise.
52380         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52381         (libc_feholdexcept): Convert from macro to inline function.
52382         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52383         (libc_fesetenv, libc_feupdateenv): Likewise.
52385         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52386         not previously defined.
52387         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52388         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52389         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52390         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52391         * sysdeps/ieee754/flt-32/math_private.h: New file.
52392         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52393         math_private.h below SET_FLOAT_WORD.
52394         (__isnan, __isinf_ns, __finite): Remove.
52395         (__isnanf, __isinf_nsf, __finitef): Remove.
52397 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52401 2012-03-17  David S. Miller  <davem@davemloft.net>
52403         [BZ #6471]
52404         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52405         for 2.16.
52407 2012-03-16  David S. Miller  <davem@davemloft.net>
52409         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52410         warnings.
52412         [BZ #6471]
52413         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52414         properly.
52415         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52416         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52417         sysdep_routines when subdir is sysvipc.
52418         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52419         __getshmlba helper.
52421         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52423 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52425         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52426         [__LP64__].
52428 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52430         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52431         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52432         (__lround): Renamed to ...
52433         (__llround): This.  Replace long int with long long int.
52434         Define lround functions as aliases of llround functions.
52435         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52437 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52439         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52440         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52441         adresses to uintptr_t.  Replace "long int" and "unsigned long
52442         int" with "greg_t" on va_arg.
52444 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52446         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52447         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52449         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52450         Move e_machine check before EI_CLASS check.  Handle x32
52451         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52452         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52453         SKIP_EM_IA_64 and include
52454         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52456         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52457         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52458         (add_system_dir): New macro.
52460         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52461         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52463 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52465         [BZ #2551]
52466         [BZ #2552]
52467         [BZ #2553]
52468         [BZ #2554]
52469         [BZ #2562]
52470         [BZ #2563]
52471         [BZ #2565]
52472         [BZ #2566]
52473         [BZ #2576]
52474         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52475         (y0): Likewise.
52476         * math/w_j0f.c (j0f): Likewise.
52477         (y0f): Likewise.
52478         * math/w_j0l.c (__j0l): Likewise.
52479         (__y0l): Likewise.
52480         * math/w_j1.c (j1): Likewise.
52481         (y1): Likewise.
52482         * math/w_j1f.c (j1f): Likewise.
52483         (y1f): Likewise.
52484         * math/w_j1l.c (__j1l): Likewise.
52485         (__y1l): Likewise.
52486         * math/w_jn.c (jn): Likewise.
52487         (yn): Likewise.
52488         * math/w_jnf.c (jnf): Likewise.
52489         (ynf): Likewise.
52490         * math/w_jnl.c (__jnl): Likewise.
52491         (__ynl): Likewise.
52492         * math/libm-test.inc (j0_test): Add more tests.
52493         (j1_test): Likewise.
52494         (jn_test): Likewise.  Add trailing semicolon to existing test.
52495         (y0_test): Likewise.
52496         (y1_test): Likewise.
52497         * sysdeps/i386/fpu/libm-test-ulps: Update.
52498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52500         [BZ #13851]
52501         [BZ #13854]
52502         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52503         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52504         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52505         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52506         (__tanl): Set errno for infinite argument.
52507         * sysdeps/i386/fpu/mptan.c: Remove.
52508         * sysdeps/i386/fpu/s_tan.S: Likewise.
52509         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52510         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52511         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52512         * math/libm-test.inc (tan_test): Add more tests and enable more
52513         tests for double and long double.
52514         * sysdeps/i386/fpu/libm-test-ulps: Update.
52515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52517 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52519         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52520         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52522 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52524         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52525         * configure.in: Use it for both main tree and add-ons.
52526         * configure: Regenerated.
52528 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52530         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52532 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52534         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52535         in comment.
52537         [BZ #13851]
52538         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52539         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52541         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52542         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52543         infinite argument.
52544         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52546         != 0 for prec == 2.
52547         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52548         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52549         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52550         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52551         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52552         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52553         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52554         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52555         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52556         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52557         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52558         * math/libm-test.inc (cos_test): Add more tests and enable more
52559         tests for long double.
52560         (sin_test): Likewise.
52561         (sincos_test): Likewise.
52562         * sysdeps/i386/fpu/libm-test-ulps: Update.
52563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52565 2012-03-16  David S. Miller  <davem@davemloft.net>
52567         * sysdeps/sparc/fpu/math_private.h: New file.
52569 2012-03-15  David S. Miller  <davem@davemloft.net>
52571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52572         file.
52573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52575         file.
52576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52582         sysdep routines.
52583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52585         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52586         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52588         * sysdeps/sparc/sparc-ifunc.h: New file.
52589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52590         sparc-ifunc.h
52591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52593         Likewise.
52594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52595         Likewise.
52596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52600         Likewise.
52601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52606         Likewise.
52607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52608         Likewise.
52609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52616         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52627         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52629         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52631         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52634 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52636         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52637         scaling.
52638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52640 2012-03-15  Andreas Jaeger  <aj@suse.de>
52642         [BZ #13852]
52643         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52644         ieee754/flt-32 implementation for sin, cos and sincos.
52645         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52646         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52647         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52648         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52649         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52650         ieee754/flt-32 implementation for tan.
52652         * math/libm-test.inc (cos_test): Enable some large input tests for
52653         float as well
52654         (sin_test): Likewise.
52655         (sincos_test): Likewise.
52656         (tan_test): Add tests for large input.
52658         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660 2012-03-15  Andreas Jaeger  <aj@suse.de>
52662         [BZ #13658]
52663         * math/libm-test.inc (cos_test): Add more test cases.
52664         (sin_test): Likewise.
52665         (sincos_test): Likewise.
52667 2012-03-15  Andreas Jaeger  <aj@suse.de>
52669         [BZ #13837]
52670         * math/libm-test.inc (cos_test): Add a test case for large input
52671         value.
52672         (sin_test): Likewise.
52673         (sincos_test): Likewise.
52675 2012-03-15  Andreas Jaeger  <aj@suse.de>
52676             Joseph Myers  <joseph@codesourcery.com>
52678         [BZ #13658]
52679         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52680         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52681         * sysdeps/i386/fpu/branred.c: Likewise.
52682         * sysdeps/i386/fpu/dosincos.c: Likewise.
52683         * sysdeps/i386/fpu/mpa.c: Likewise.
52684         * sysdeps/i386/fpu/s_cos.S: Likewise.
52685         * sysdeps/i386/fpu/s_sin.S: Likewise.
52686         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52687         * sysdeps/i386/fpu/sincos32.c: Likewise.
52689         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52690         Define.
52691         (libc_feupdateenv_53bit): Define.
52692         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52693         Define.
52694         (libc_feupdateenv_53bit): Define.
52696         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52697         53 bit (without extend i386 double precision).
52699         * math/libm-test.inc (sincos_test): Add tests for large input.
52700         (sin): Likewise.
52701         (cos): Likewise.
52703         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52705 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52709 2012-03-15  David S. Miller  <davem@davemloft.net>
52711         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52712         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52713         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52714         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52727         file.
52728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52730         file.
52731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52733         file.
52734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52736         file.
52737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52739         fmin/fmax sysdep routines.
52740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52742 2012-03-14  David S. Miller  <davem@davemloft.net>
52744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52748         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52749         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52750         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52751         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52759         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52760         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52761         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52762         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52763         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52764         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52765         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52766         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52767         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52768         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52769         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52770         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52771         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52773         routines.
52774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52775         file.
52776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52778         file.
52779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52781         file.
52782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52784         file.
52785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52787         file.
52788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52790         file.
52791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52792         file.
52793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52794         file.
52795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52796         file.
52797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52798         New file.
52799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52800         file.
52801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52802         file.
52803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52805         file.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52808         file.
52809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52811         file.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52814         VIS3 routines.
52816         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52817         New file.
52819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52821         * sysdeps/sparc/configure.in: New file.
52822         * sysdeps/sparc/configure: Generate.
52823         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52824         * configure: Regenerate.
52825         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52826         * config.make.in (have-as-vis3): New.
52827         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52828         available use -Av9d instead of -Av9a.
52829         * sysdeps/sparc/sparc64/Makefile: Likewise.
52830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52832         New file.
52833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52834         file.
52835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52836         New file.
52837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52838         file.
52839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52840         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52841         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52842         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52843         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52845         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52846         fzeros/fnegs to load 0x80000000 into a float register instead of
52847         using the stack.
52848         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52850 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52853         bits/syscall.h.
52854         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52855         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52856         ($(inst_includedir)/bits/syscall.h): Remove rule.
52857         ($(objpfx)bits/syscall.d): Include instead of
52858         $(objpfx)syscall-list.d.
52859         (generated): Change syscall-list.h and syscall-list.d to
52860         bits/syscall.h and bits/syscall.d.
52862 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52864         [BZ #13846]
52865         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52867 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52869         [BZ #13841]
52870         * math/s_csqrt.c: Include <float.h>.
52871         (__csqrt): Scale large or subnormal inputs.
52872         * math/s_csqrtf.c: Likewise.
52873         * math/s_csqrtl.c: Likewise.
52874         * math/libm-test.inc (csqrt_test): Add more tests.
52875         * sysdeps/i386/fpu/libm-test-ulps: Update.
52876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52878         [BZ #13840]
52879         * math/libm-test.inc (hypot_test): Add more tests.
52881 2012-03-13  David S. Miller  <davem@davemloft.net>
52883         [BZ #13840]
52884         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52885         double-precision for the calculation instead of scaling.
52887 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52889         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52890         manipulate bits before adding and subtracting TWO52[sx].
52891         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52892         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52893         Likewise.
52894         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52896 2012-03-13  David S. Miller  <davem@davemloft.net>
52898         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52899         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52901         rtld-global-offsets.h
52902         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52904         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52905         large parameters.
52907         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52909         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52910         'err' in the ifdef scope in which it is actually used.
52912         * nss/nss_db/db-init.c: Include string.h
52914 2012-03-12  David S. Miller  <davem@davemloft.net>
52916         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52917         masking out of the most significant byte of random value used.
52918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52919         Fix coding style in previous change.
52921         * sysdeps/unix/sysv/linux/kernel-features.h
52922         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52923         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52924         expression.
52925         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52926         later.
52928 2012-03-11  David S. Miller  <davem@davemloft.net>
52930         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52931         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52932         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52933         for 'resultvar' otherwise things get truncated on 64-bit.
52935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52936         Fix masking out of the most significant byte of random value used.
52938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52940 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52944 2012-03-09  David S. Miller  <davem@davemloft.net>
52946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52947         variables with appropriate CPP guards.
52948         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52949         from the frame pointer, not the stack pointer.  Correct layout
52950         comments.  Fix test on resulting framesize and the management of
52951         the outregs buffer for pltexit.  Preserve floating point return
52952         values across _dl_call_pltexit call.
52953         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52954         framesize and the management of the outregs buffer for pltexit.
52955         Preserve floating point return values across _dl_call_pltexit
52956         call.
52957         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52958         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52959         (la_sparc64_gnu_pltexit): New functions.
52960         (print_exit): Fix format string for return register value.
52962 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52964         * sunrpc/Makefile (others): Add rpcgen.
52965         ($(objpfx)rpcgen): Remove special build rule and dependency on
52966         libc.
52967         * sunrpc/rpcgen.c: New file.
52969 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52971         [BZ #13673]
52972         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52973         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52974         * sysdeps/i386/crti.S: Likewise.
52975         * sysdeps/i386/crtn.S: Likewise.
52976         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52977         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52978         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52979         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52980         * sysdeps/sh/crti.S: Likewise.
52981         * sysdeps/sh/crtn.S: Likewise.
52982         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52984         [BZ #13673]
52985         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52986         with URL.
52987         * locale/programs/locfile-kw.gperf: Likewise.
52988         * locale/programs/charmap-kw.h: Regenerated.
52989         * locale/programs/locfile-kw.h: Likewise.
52991         [BZ #13673]
52992         * intl/plural.y: Replace FSF snail mail address with URL.
52993         * intl/plural.c: Regenerated.
52995 2012-03-09  Richard Henderson  <rth@twiddle.net>
52997         * include/math_private.h: Remove file.
52998         * math/math_private.h: Move file ...
52999         * sysdeps/generic/math_private.h: ... here.
53001         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53002         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53003         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53005         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53006         and <math_private.h>.
53007         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53008         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53009         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53010         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53011         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53032         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53033         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53036         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53037         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53038         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53039         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53040         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53085         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53086         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53087         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53088         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53090         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53095         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53096         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53097         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53098         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53100         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53101         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53102         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53103         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53104         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53105         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53106         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53107         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53108         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53109         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53110         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53111         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53112         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53113         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53114         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53115         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53116         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53117         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53118         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53119         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53120         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53121         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53122         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53123         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53124         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53125         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53126         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53127         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53128         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53129         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53130         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53131         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53132         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53133         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53134         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53135         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53136         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53137         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53138         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53139         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53140         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53141         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53142         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53143         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53144         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53145         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53146         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53147         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53148         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53149         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53150         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53151         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53152         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53153         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53154         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53155         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53156         * sysdeps/ieee754/k_standard.c: Likewise.
53157         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53158         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53159         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53160         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53161         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53162         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53163         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53164         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53165         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53166         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53167         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53168         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53169         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53170         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53171         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53172         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53173         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53174         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53175         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53176         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53177         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53179         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53180         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53182         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53183         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53184         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53185         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53234         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53236         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53237         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53238         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53242         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53243         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53244         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53248         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53249         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53250         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53251         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53260         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53261         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53264         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53266         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53267         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53268         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53269         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53270         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53272         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53276         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53277         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53279         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53280         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53281         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53282         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53283         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53284         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53285         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53287         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53289         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53290         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53291         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53292         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53295         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53297         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53298         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53301         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53303         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53305         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53306         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53307         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53308         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53311         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53312         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53313         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53317         * sysdeps/ieee754/s_lib_version.c: Likewise.
53318         * sysdeps/ieee754/s_matherr.c: Likewise.
53319         * sysdeps/ieee754/s_signgam.c: Likewise.
53320         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53321         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53322         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53323         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53324         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53325         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53326         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53327         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53328         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53329         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53330         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53331         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53332         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53333         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53334         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53335         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53336         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53337         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53338         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53339         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53340         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53342 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53344         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53345         * sunrpc/rpc_main.c: Likewise.
53346         * sunrpc/rpc_svcout.c: Likewise.
53348 2012-03-09  David S. Miller  <davem@davemloft.net>
53350         * include/math_private.h: New file.
53352 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53354         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53355         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53356         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53357         from <bits/socket_type.h>.
53358         (enum __socket_type): Don't define here.
53359         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53361         bits/socket_type.h.
53363         [BZ #13566]
53364         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53365         checking __USE_GNU.
53367         * Makerules ($(inst_includedir)/%.h): New rule.
53368         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53369         (install-others): Remove variable setting.
53370         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53372 2012-03-08  Richard Henderson  <rth@twiddle.net>
53374         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53375         from macro to inline function; merge with the
53376         !__LIBC_INTERNAL_MATH_INLINES version.
53377         (__ieee754_sqrtf): Likewise.
53379         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53380         to inline function.
53381         (__rintf, __floor, __floorf): Likewise.
53383         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53384         macro to inline function.
53385         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53387         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53388         not <math/math_private.h>.
53390 2012-03-08  David S. Miller  <davem@davemloft.net>
53392         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53393         copyright year.
53394         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53396 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53398         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53399         normalization.
53400         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53401         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53403 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53405         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53406         be defined individually, they must be defined as a block.  Define
53407         S for printing a string instead of hidint the different by using a
53408         macro for adding the 'l'.
53409         * stdio-common/tst-fphex-wide.c: Adjust.
53411 2012-03-07  Marek Polacek  <polacek@redhat.com>
53413         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53415 2012-03-08  Marek Polacek  <polacek@redhat.com>
53417         [BZ #13806]
53418         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53419         * stdio-common/tst-fphex.c: Define a few macros to make the
53420         test reusable.  Use them.
53421         * stdio-common/tst-fphex-wide.c: New file.
53423 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53425         [BZ #6911]
53426         * manual/macros.texi (gnusystems): New macro.
53427         (nongnusystems): Likewise.
53428         (gnulinuxhurdsystems): Likewise.
53429         (gnuhurdsystems): Likewise..
53430         (gnulinuxsystems): Likewise.
53431         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53432         variants of the GNU system, not "GNU system".
53433         * manual/conf.texi: Likewise.
53434         * manual/errno.texi: Likewise.  Update example of errno macro
53435         expansion.
53436         * manual/filesys.texi: Likewise.
53437         (getumask): Document as specific to GNU/Hurd.
53438         * manual/install.texi: Likewise.  Reword some references to
53439         GNU/Linux.
53440         * manual/intro.texi: Likewise.
53441         * manual/io.texi: Likewise.
53442         (File Name Portability): Detail which constraints are inapplicable
53443         to all GNU systems and which are only inapplicable to GNU/Hurd.
53444         * manual/job.texi: Likewise.
53445         * manual/llio.texi: Likewise.
53446         (O_NOCTTY): Document as present on GNU/Linux.
53447         * manual/maint.texi: Likewise.
53448         * manual/memory.texi: Likewise.
53449         * manual/pattern.texi: Likewise.
53450         * manual/pipe.texi: Likewise.
53451         * manual/process.texi: Likewise.
53452         * manual/resource.texi: Likewise.
53453         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53454         child on GNU/Hurd.
53455         * manual/setjmp.texi: Likewise.
53456         * manual/signal.texi: Likewise.
53457         * manual/startup.texi: Likewise.
53458         * manual/stdio.texi: Likewise.
53459         * manual/terminal.texi: Likewise.
53460         (ONLCR): Document as POSIX.
53461         (OXTABS): Document availability on GNU/Linux as XTABS.
53462         (ONOEOT): Document availability separately from other bits.
53463         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53464         * manual/time.texi: Likewise.
53465         * manual/users.texi: Likewise.
53466         * INSTALL: Regenerated.
53467         * sysdeps/gnu/errlist.c: Regenerated.
53469         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53470         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53471         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53472         puts.
53473         * configure: Regenerated.
53475 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53477         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53478         default includes instead of AC_HEADER_CHECK.
53479         * sysdeps/i386/configure: Regenerated.
53481         [BZ #10716]
53482         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53483         * math/s_cacoshf.c (__cacoshf): Likewise.
53484         * math/s_cacoshl.c (__cacoshl): Likewise.
53485         * math/s_casinh.c (__casinh): Set signs of result from argument.
53486         * math/s_casinhf.c (__casinhf): Likewise.
53487         * math/s_casinhl.c (__casinhl): Likewise.
53488         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53489         (casinh_test): Add more tests.
53490         * sysdeps/i386/fpu/libm-test-ulps: Update.
53491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53493 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53495         * po/zh_TW.po: Update from translation team.
53497         * login/Makefile (distribute): Remove variable.
53498         * catgets/Makefile: Likewise.
53499         * mach/Makefile: Likewise.
53500         * malloc/Makefile: Likewise.
53501         * misc/Makefile: Likewise.
53502         * iconv/Makefile: Likewise.
53503         * nscd/Makefile: Likewise.
53504         * hurd/Makefile: Likewise.
53505         * manual/Makefile: Likewise.
53506         * locale/Makefile: Likewise.
53507         * intl/Makefile: Likewise.
53508         * conform/Makefile: Likewise.
53509         * nss/Makefile: Likewise.
53510         * time/Makefile: Likewise.
53511         * soft-fp/Makefile: Likewise.
53512         * dirent/Makefile: Likewise.
53513         * gmon/Makefile: Likewise.
53514         * po/Makefile: Likewise.
53515         * rt/Makefile: Likewise.
53516         * socket/Makefile: Likewise.
53517         * math/Makefile: Likewise.
53518         * signal/Makefile: Likewise.
53519         * debug/Makefile: Likewise.
53520         * elf/Makefile: Likewise.
53521         * timezone/Makefile: Likewise.
53522         * stdlib/Makefile: Likewise.
53523         * iconvdata/Makefile: Likewise.
53524         * sunrpc/Makefile: Likewise.
53525         * io/Makefile: Likewise.
53526         * argp/Makefile: Likewise.
53527         * inet/Makefile: Likewise.
53528         * hesiod/Makefile: Likewise.
53529         * grp/Makefile: Likewise.
53530         * csu/Makefile: Likewise.
53531         * wctype/Makefile: Likewise.
53532         * crypt/Makefile: Likewise.
53533         * libio/Makefile: Likewise.
53534         * string/Makefile: Likewise.
53535         * nis/Makefile: Likewise.
53536         * resolv/Makefile: Likewise.
53537         * stdio-common/Makefile: Likewise.
53538         * wcsmbs/Makefile: Likewise.
53539         * dlfcn/Makefile: Likewise.
53540         * posix/Makefile: Likewise.
53542         [BZ #6959]
53543         * timezone/Makefile: Don't install timezone files, just the programs
53544         and scripts.
53546 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53548         * nss/databases.def: Add missing gshadow entry.
53550         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53552 2012-03-06  Marek Polacek  <polacek@redhat.com>
53554         [BZ #13726]
53555         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53556         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53557         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53558         * stdio-common/tst-long-dbl-fphex.c: New file.
53560 2012-03-06  David S. Miller  <davem@davemloft.net>
53562         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53563         (set_obp_int): New function.
53564         (get_obp_int): New function.
53565         (__get_clockfreq_via_dev_openprom): Likewise.
53566         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53567         Avoid unused variable warnings on 'val' and use builtin_expect.
53568         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53569         __builtin_expect.
53570         (INLINE_CLONE_SYSCALL): Likewise.
53572 2012-03-05  David S. Miller  <davem@davemloft.net>
53574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53576 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53580         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53581         only for |x| >= 40.
53582         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53584 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53586         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53587         Replace gettimeofday with __vdso_gettimeofday.
53589         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53590         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53591         __vdso_clock_gettime and __vdso_getcpu.
53593         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53594         time with __vdso_time.
53596 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53598         * manual/lang.texi (size_t): Note types to which size_t may be
53599         equivalent with the GNU C Library, but do not describe when
53600         differences between them are significant.
53602 2012-03-05  Andreas Jaeger  <aj@suse.de>
53604         * sysdeps/i386/fpu/libm-test-ulps: Update.
53606 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53608         [BZ #3976]
53609         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53610         (__ieee754_pow): Save and restore rounding mode and use
53611         round-to-nearest for main computations.
53612         * math/libm-test.inc (pow_test_tonearest): New function.
53613         (pow_test_towardzero): Likewise.
53614         (pow_test_downward): Likewise.
53615         (pow_test_upward): Likewise.
53616         (main): Call the new functions.
53617         * sysdeps/i386/fpu/libm-test-ulps: Update.
53618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53620         [BZ #3976]
53621         * math/libm-test.inc (cosh_test_tonearest): New function.
53622         (cosh_test_towardzero): Likewise.
53623         (cosh_test_downward): Likewise.
53624         (cosh_test_upward): Likewise.
53625         (sinh_test_tonearest): Likewise.
53626         (sinh_test_towardzero): Likewise.
53627         (sinh_test_downward): Likewise.
53628         (sinh_test_upward): Likewise.
53629         (main): Call the new functions.
53630         * sysdeps/i386/fpu/libm-test-ulps: Update.
53631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53633 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53635         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53636         default stack guard is set in last bytes.
53637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53639 2012-03-05  Kees Cook  <keescook@chromium.org>
53641         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53643         [BZ #13656]
53644         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53645         possibly allocate from heap instead of stack.
53646         * stdio-common/bug-vfprintf-nargs.c: New file.
53647         * stdio-common/Makefile (tests): Add nargs overflow test.
53649 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53653 2012-03-03  Marek Polacek  <polacek@redhat.com>
53655         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53656         * math/math_private.h: Likewise.
53657         * stdlib/tst-strtod.c: Likewise.
53658         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53659         * sysdeps/x86_64/bits/atomic.h: Likewise.
53661 2012-03-02  David S. Miller  <davem@davemloft.net>
53663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53667         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53668         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53669         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53670         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53672 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53674         [BZ #13792]
53675         * manual/examples/README: New file, says the example source files
53676         can be used under GPL>=2.
53677         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53678         line containing just "*/".
53679         * manual/examples/add.c: Add copyright header (GPL>=2).
53680         * manual/examples/argp-ex1.c: Likewise.
53681         * manual/examples/argp-ex2.c: Likewise.
53682         * manual/examples/argp-ex3.c: Likewise.
53683         * manual/examples/argp-ex4.c: Likewise.
53684         * manual/examples/atexit.c: Likewise.
53685         * manual/examples/db.c: Likewise.
53686         * manual/examples/dir.c: Likewise.
53687         * manual/examples/dir2.c: Likewise.
53688         * manual/examples/execinfo.c: Likewise.
53689         * manual/examples/filecli.c: Likewise.
53690         * manual/examples/filesrv.c: Likewise.
53691         * manual/examples/fmtmsgexpl.c: Likewise.
53692         * manual/examples/genpass.c: Likewise.
53693         * manual/examples/inetcli.c: Likewise.
53694         * manual/examples/inetsrv.c: Likewise.
53695         * manual/examples/isockad.c: Likewise.
53696         * manual/examples/longopt.c: Likewise.
53697         * manual/examples/memopen.c: Likewise.
53698         * manual/examples/memstrm.c: Likewise.
53699         * manual/examples/mkfsock.c: Likewise.
53700         * manual/examples/mkisock.c: Likewise.
53701         * manual/examples/mygetpass.c: Likewise.
53702         * manual/examples/pipe.c: Likewise.
53703         * manual/examples/popen.c: Likewise.
53704         * manual/examples/rprintf.c: Likewise.
53705         * manual/examples/search.c: Likewise.
53706         * manual/examples/select.c: Likewise.
53707         * manual/examples/setjmp.c: Likewise.
53708         * manual/examples/sigh1.c: Likewise.
53709         * manual/examples/sigusr.c: Likewise.
53710         * manual/examples/stpcpy.c: Likewise.
53711         * manual/examples/strdupa.c: Likewise.
53712         * manual/examples/strftim.c: Likewise.
53713         * manual/examples/strncat.c: Likewise.
53714         * manual/examples/subopt.c: Likewise.
53715         * manual/examples/swapcontext.c: Likewise.
53716         * manual/examples/termios.c: Likewise.
53717         * manual/examples/testopt.c: Likewise.
53718         * manual/examples/testpass.c: Likewise.
53719         * manual/examples/timeval_subtract.c: Likewise.
53721         [BZ #13792]
53722         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53723         function to ...
53724         * manual/timeval_subtract.c.texi: ... here, new file.
53726 2012-03-02  David S. Miller  <davem@davemloft.net>
53728         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53730 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53732         [BZ #3976]
53733         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53734         (__sin): Save and restore rounding mode and use round-to-nearest
53735         for all computations.
53736         (__cos): Save and restore rounding mode and use round-to-nearest
53737         for all computations.
53738         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53739         <fenv.h>.
53740         (tan): Save and restore rounding mode and use round-to-nearest for
53741         all computations.
53742         * math/libm-test.inc (cos_test_tonearest): New function.
53743         (cos_test_towardzero): Likewise.
53744         (cos_test_downward): Likewise.
53745         (cos_test_upward): Likewise.
53746         (sin_test_tonearest): Likewise.
53747         (sin_test_towardzero): Likewise.
53748         (sin_test_downward): Likewise.
53749         (sin_test_upward): Likewise.
53750         (tan_test_tonearest): Likewise.
53751         (tan_test_towardzero): Likewise.
53752         (tan_test_downward): Likewise.
53753         (tan_test_upward): Likewise.
53754         (main): Call the new functions.
53755         * sysdeps/i386/fpu/libm-test-ulps: Update.
53756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53758         [BZ #10135]
53759         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53760         small n, then large n, before computing and testing k+n.
53761         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53762         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53763         Likewise.
53764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53765         Likewise.
53766         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53767         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53772         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53773         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53774         * math/libm-test.inc (scalbn_test): Add more tests.
53775         (scalbln_test): Likewise.
53777         * manual/filesys.texi (mode_t): Describe constraints on size and
53778         signedness, not exact equivalence to a particular type.
53779         (ino_t): Likewise.
53780         (ino64_t): Likewise.
53781         (dev_t): Likewise.
53782         (nlink_t): Likewise.
53783         (blkcnt_t): Likewise.
53784         (blkcnt64_t): Likewise.
53785         * manual/llio.texi (off_t): Likewise.
53787         [BZ #3976]
53788         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53789         (__ieee754_exp): Save and restore rounding mode and use
53790         round-to-nearest for all computations.
53791         * math/libm-test.inc (exp_test_tonearest): New function.
53792         (exp_test_towardzero): Likewise.
53793         (exp_test_downward): Likewise.
53794         (exp_test_upward): Likewise.
53795         (main): Call the new functions.
53796         * sysdeps/i386/fpu/libm-test-ulps: Update.
53797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53799 2012-03-01  Chris Demetriou  <cgd@google.com>
53801         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53802         have predictable order.
53804 2012-03-01  David S. Miller  <davem@davemloft.net>
53806         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53808         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53809         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53810         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53811         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53813         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53814         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53815         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53817         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53818         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53819         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53820         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53821         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53825         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53826         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53827         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53829         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53830         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53831         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53832         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53833         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53834         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53835         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53836         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53837         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53838         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53839         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53840         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53842         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53843         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53845         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53846         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53847         * sysdeps/sparc/elf/configure: Regenerated.
53849 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53851         * configure.in (AS, LD): Require binutils 2.20 or later.
53852         * configure: Regenerated.
53853         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53854         as required minimum version.
53855         * INSTALL: Regenerated.
53857         [BZ #2541]
53858         [BZ #4108]
53859         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53860         before squaring exponent.
53861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53862         bottom long double and 27 bits of top long double before squaring
53863         exponent.
53864         * math/libm-test.inc (erfc_test): Add more tests.
53865         * sysdeps/i386/fpu/libm-test-ulps: Update.
53866         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53869 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53871         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53872         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53873         containing bit-fields.
53874         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53875         * soft-fp/single.h (_FP_UNION_S): Likewise.
53876         * soft-fp/double.h (_FP_UNION_D): Likewise.
53878 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53880         [BZ #13786]
53881         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53882         not include ../strcmp.S.
53883         [USE_AS_STRNCASECMP_L]: Likewise.
53884         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53885         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53886         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53887         (__strncasecmp_l_ia32): Define as alias to
53888         __strncasecmp_l_nonascii.
53890         [BZ #5794]
53891         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53892         * sysdeps/i386/fpu/libm-test-ulps: Update.
53893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53895         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53898 2012-02-29  Jeff Law  <law@redhat.com>
53900         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53901         out of bounds read.
53903 2012-02-29  Marek Polacek  <polacek@redhat.com>
53905         [BZ #13706]
53906         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53907         * elf/Makefile: Add rules to run tst-unused-dep.out.
53909 2012-02-28  David S. Miller  <davem@davemloft.net>
53911         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53912         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53914         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53915         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53916         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53918 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53920         * math/libm-test.inc (llround_test): Move one test from
53921         lround_test.  Use TEST_f_L in moved test.
53922         (lround_test): Move misplaced test to llround_test.  Add testcase
53923         from bug 2561.
53925 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53927         * sysdeps/x86_64/fpu/e_expf.S: New file.
53928         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53930 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53932         [BZ #13637]
53933         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53934         of remain_len that may cause incomplete multi-byte character and
53935         false match.
53936         * posix/bug-regex33.c: New file.
53937         * posix/Makefile (tests): Add bug-regex33.
53939 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53941         * manual/macros.texi: New file.
53942         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53943         * manual/libc.texinfo: Include macros.texi.
53944         * manual/creatute.texi: Likewise.
53945         * manual/install.texi: Likewise.
53946         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53947         @glibcadj{} in references to the GNU C Library.
53948         * manual/charset.texi: Likewise.
53949         * manual/conf.texi: Likewise.
53950         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53951         when not using those macros.
53952         * manual/creature.texi: Likewise.
53953         * manual/crypt.texi: Likewise.
53954         * manual/errno.texi: Likewise.
53955         * manual/filesys.texi: Likewise.
53956         * manual/header.texi: Likewise.
53957         * manual/install.texi: Likewise.
53958         * manual/intro.texi: Likewise.
53959         * manual/io.texi: Likewise.
53960         * manual/job.texi: Likewise.
53961         * manual/lang.texi: Likewise.
53962         * manual/libc.texiinfo: Likewise.
53963         * manual/llio.texi: Likewise.
53964         * manual/locale.texi: Likewise.
53965         * manual/maint.texi: Likewise.
53966         * manual/math.texi: Likewise.
53967         * manual/memory.texi: Likewise.
53968         * manual/message.texi: Likewise.
53969         * manual/nss.texi: Likewise.
53970         * manual/pattern.texi: Likewise.
53971         * manual/process.texi: Likewise.
53972         * manual/resource.texi: Likewise.
53973         * manual/search.texi: Likewise.
53974         * manual/setjmp.texi: Likewise.
53975         * manual/signal.texi: Likewise.
53976         * manual/socket.texi: Likewise.
53977         * manual/startup.texi: Likewise.
53978         * manual/stdio.texi: Likewise.
53979         * manual/string.texi: Likewise.
53980         * manual/sysinfo.texi: Likewise.
53981         * manual/syslog.texi: Likewise.
53982         * manual/terminal.texi: Likewise.
53983         * manual/time.texi: Likewise.
53984         * manual/users.texi: Likewise.
53985         * INSTALL: Regenerated.
53986         * NOTES: Regenerated.
53987         * sysdeps/gnu/errlist.c: Regenerated.
53989 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53991         * include/dirent.h: Include <dirstream.h> before
53992         <dirent/dirent.h>.
53994 2012-02-28  David S. Miller  <davem@davemloft.net>
53996         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53997         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53998         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53999         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54001 2012-02-27  David S. Miller  <davem@davemloft.net>
54003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54005         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54006         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54009         frame pointer instead of stack pointer relative arg slot.
54010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54011         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54012         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54014 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54016         [BZ #3992]
54017         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54019 2012-02-27  David S. Miller  <davem@davemloft.net>
54021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54025         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54026         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54027         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54028         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54030 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54032         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54033         later.  Allow versions 5-9.
54034         * configure: Regenerated.
54035         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54036         required minimum version and 4.6 as recommended version.  Do not
54037         mention bugs in GCC 2.7 and 2.8.
54038         * INSTALL: Regenerated.
54040 2012-02-27  David S. Miller  <davem@davemloft.net>
54042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54046         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54047         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54048         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54049         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54051         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54052         manipulate bits before adding and subtracting TWO112[sx].
54053         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54055 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54057         [BZ #13775]
54058         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54059         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54060         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54061         being in POSIX, because they are in 1003.1-2008.
54063         * rt/tst-aio.c: Include <fcntl.h>.
54064         * rt/tst-aio7.c: Likewise.
54065         * rt/tst-aio64.c: Likewise.
54067         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54069 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54071         * manual/install.texi (--with-headers): Describe headers as
54072         interface headers, not private headers.
54073         (Specific advice for GNU/Linux systems): Describe use of headers
54074         from "make headers_install", not private headers from older
54075         kernels.
54076         * INSTALL: Regenerated.
54077         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54078         Change to 2.6.19.
54079         * sysdeps/unix/sysv/linux/configure: Regenerated.
54081         * manual/llio.texi (fclean): Remove documentation.
54083         * manual/Makefile (libc-texi-generated): New variable.  Include
54084         version.texi.
54085         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54086         $(libc-texi-generated), not duplicated list of files.
54087         (version.texi, stamp-version): New rules.
54088         (realclean): Remove $(libc-texi-generated), not individual files
54089         from that list.  Do not remove dir-add.texinfo.
54090         * manual/libc.texinfo: Comment out uses of edition numbers and
54091         references to printed manual.  Remove last-updated dates.
54092         (EDITION): Comment out.
54093         (ISBN): Likewise.
54094         (VERSION, UPDATED): Remove.
54095         (version.texi): Include.
54097 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54099         * sysdeps/posix/spawni.c: Include <signal.h>.
54100         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54101         * sysdeps/pthread/aio_fsync.c: Likewise.
54103 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54105         * conform/Makefile (tests): Run only when not cross-compiling and
54106         when fast-check is not defined.
54108         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54109         * conform/data/limits.h-data: Fixes for POSIX2008.
54110         * conform/run-conformtest.sh: Run all tests.
54111         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54112         headers.
54113         * include/bits/dlfcn.h: Likewise.
54114         * include/langinfo.h: Likewise.
54115         * include/monetary.h: Likewise.
54116         * include/sys/poll.h: Likewise.
54118         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54119         for __USE_GNU.
54120         * posix/spawn.h: Define __need_sigset_t.
54121         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54122         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54123         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54124         to get sigevent_t only.
54125         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54126         only for __USE_GNU.
54127         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54128         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54129         process_vm_writev only for __USE_GNU.
54130         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54132         * conform/Makefile: For now ignore errors from run-conformtest.
54133         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54134         POSIX to avoid namespace pollution.  Don't prepend headers.
54135         * conform/data/aio.h-data: Fixes for POSIX testing.
54136         * conform/data/fcntl.h-data: Likewise.
54137         * conform/data/glob.h-data: Likewise.
54138         * conform/data/grp.h-data: Likewise.
54139         * conform/data/pthread.h-data: Likewise.
54140         * conform/data/pwd.h-data: Likewise.
54141         * conform/data/signal.h-data: Likewise.
54142         * conform/data/spawn.h-data: Likewise.
54143         * conform/data/stdio.h-data: Likewise.
54144         * conform/data/stdlib.h-data: Likewise.
54145         * conform/data/stropts.h-data: Likewise.
54146         * conform/data/sys/mman.h-data: Likewise.
54147         * conform/data/sys/stat.h-data: Likewise.
54148         * conform/data/sys/types.h-data: Likewise.
54149         * conform/data/sys/wait.h-data: Likewise.
54150         * conform/data/time.h-data: Likewise.
54151         * conform/data/unistd.h-data: Likewise.
54152         * conform/data/utime.h-data: Likewise.
54154         * io/sys/stat.h: fchmod was always in POSIX.
54155         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54156         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54157         * rt/aio.h: Define __need_timespec before including <time.h>.
54158         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54159         struct.  Add forward declaration of pthread_attr_t and use it in
54160         sigevent.
54161         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54162         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54163         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54164         always remove CLK_TCK definition.
54166 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54168         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54170 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54172         * conform/run-conformtest.sh: New file.
54173         * conform/Makefile: Run run-conformtest for tests.
54174         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54175         support.
54177         * conform/data/uchar.h-data: New file.
54178         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54179         * conform/data/arpa/inet.h-data: Likewise.
54180         * conform/data/assert.h-data: Likewise.
54181         * conform/data/complex.h-data: Likewise.
54182         * conform/data/cpio.h-data: Likewise.
54183         * conform/data/ctype.h-data: Likewise.
54184         * conform/data/dirent.h-data: Likewise.
54185         * conform/data/dlfcn.h-data: Likewise.
54186         * conform/data/errno.h-data: Likewise.
54187         * conform/data/fcntl.h-data: Likewise.
54188         * conform/data/float.h-data: Likewise.
54189         * conform/data/fmtmsg.h-data: Likewise.
54190         * conform/data/fnmatch.h-data: Likewise.
54191         * conform/data/ftw.h-data: Likewise.
54192         * conform/data/glob.h-data: Likewise.
54193         * conform/data/grp.h-data: Likewise.
54194         * conform/data/iconv.h-data: Likewise.
54195         * conform/data/inttypes.h-data: Likewise.
54196         * conform/data/langinfo.h-data: Likewise.
54197         * conform/data/libgen.h-data: Likewise.
54198         * conform/data/limits.h-data: Likewise.
54199         * conform/data/locale.h-data: Likewise.
54200         * conform/data/math.h-data: Likewise.
54201         * conform/data/monetary.h-data: Likewise.
54202         * conform/data/mqueue.h-data: Likewise.
54203         * conform/data/ndbm.h-data: Likewise.
54204         * conform/data/net/if.h-data: Likewise.
54205         * conform/data/netdb.h-data: Likewise.
54206         * conform/data/netinet/in.h-data: Likewise.
54207         * conform/data/nl_types.h-data: Likewise.
54208         * conform/data/poll.h-data: Likewise.
54209         * conform/data/pthread.h-data: Likewise.
54210         * conform/data/pwd.h-data: Likewise.
54211         * conform/data/regex.h-data: Likewise.
54212         * conform/data/sched.h-data: Likewise.
54213         * conform/data/search.h-data: Likewise.
54214         * conform/data/semaphore.h-data: Likewise.
54215         * conform/data/setjmp.h-data: Likewise.
54216         * conform/data/signal.h-data: Likewise.
54217         * conform/data/spawn.h-data: Likewise.
54218         * conform/data/stdarg.h-data: Likewise.
54219         * conform/data/stdio.h-data: Likewise.
54220         * conform/data/stdlib.h-data: Likewise.
54221         * conform/data/string.h-data: Likewise.
54222         * conform/data/strings.h-data: Likewise.
54223         * conform/data/stropts.h-data: Likewise.
54224         * conform/data/sys/ipc.h-data: Likewise.
54225         * conform/data/sys/mman.h-data: Likewise.
54226         * conform/data/sys/msg.h-data: Likewise.
54227         * conform/data/sys/resource.h-data: Likewise.
54228         * conform/data/sys/select.h-data: Likewise.
54229         * conform/data/sys/sem.h-data: Likewise.
54230         * conform/data/sys/shm.h-data: Likewise.
54231         * conform/data/sys/socket.h-data: Likewise.
54232         * conform/data/sys/stat.h-data: Likewise.
54233         * conform/data/sys/statvfs.h-data: Likewise.
54234         * conform/data/sys/time.h-data: Likewise.
54235         * conform/data/sys/timeb.h-data: Likewise.
54236         * conform/data/sys/times.h-data: Likewise.
54237         * conform/data/sys/types.h-data: Likewise.
54238         * conform/data/sys/uio.h-data: Likewise.
54239         * conform/data/sys/un.h-data: Likewise.
54240         * conform/data/sys/utsname.h-data: Likewise.
54241         * conform/data/sys/wait.h-data: Likewise.
54242         * conform/data/syslog.h-data: Likewise.
54243         * conform/data/tar.h-data: Likewise.
54244         * conform/data/termios.h-data: Likewise.
54245         * conform/data/utime.h-data: Likewise.
54246         * conform/data/utmpx.h-data: Likewise.
54247         * conform/data/varargs.h-data: Likewise.
54248         * conform/data/wchar.h-data: Likewise.
54249         * conform/data/wctype.h-data: Likewise.
54250         * conform/data/wordexp.h-data: Likewise.
54252         * include/stropts.h: New file.
54253         * include/uchar.h: New file.
54254         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54255         * include/assert.h: Likewise.
54256         * include/ctype.h: Likewise.
54257         * include/dirent.h: Likewise.
54258         * include/dlfcn.h: Likewise.
54259         * include/fcntl.h: Likewise.
54260         * include/fnmatch.h: Likewise.
54261         * include/glob.h: Likewise.
54262         * include/grp.h: Likewise.
54263         * include/libio.h: Likewise.
54264         * include/locale.h: Likewise.
54265         * include/math.h: Likewise.
54266         * include/net/if.h: Likewise.
54267         * include/netdb.h: Likewise.
54268         * include/netinet/in.h: Likewise.
54269         * include/pthread.h: Likewise.
54270         * include/pwd.h: Likewise.
54271         * include/regex.h: Likewise.
54272         * include/sched.h: Likewise.
54273         * include/search.h: Likewise.
54274         * include/setjmp.h: Likewise.
54275         * include/signal.h: Likewise.
54276         * include/stdio.h: Likewise.
54277         * include/stdlib.h: Likewise.
54278         * include/string.h: Likewise.
54279         * include/sys/cdefs.h: Likewise.
54280         * include/sys/mman.h: Likewise.
54281         * include/sys/msg.h: Likewise.
54282         * include/sys/resource.h: Likewise.
54283         * include/sys/select.h: Likewise.
54284         * include/sys/socket.h: Likewise.
54285         * include/sys/stat.h: Likewise.
54286         * include/sys/statvfs.h: Likewise.
54287         * include/sys/time.h: Likewise.
54288         * include/sys/times.h: Likewise.
54289         * include/sys/uio.h: Likewise.
54290         * include/sys/utsname.h: Likewise.
54291         * include/sys/wait.h: Likewise.
54292         * include/termios.h: Likewise.
54293         * include/time.h: Likewise.
54294         * include/ulimit.h: Likewise.
54295         * include/unistd.h: Likewise.
54296         * include/utime.h: Likewise.
54297         * include/wchar.h: Likewise.
54298         * include/wctype.h: Likewise.
54299         * include/wordexp.h: Likewise.
54301         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54303         * time/time.h: TIME_UTC must be a macro.
54304         Make timespec_get available for ISO C11 only as well.
54306 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54308         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54309         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54311 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54313         * configure.in: Use -o not -a in test for unsupported multi-arch.
54315 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54317         * manual/texinfo.tex: Update to version 2012-01-19.16.
54319 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54321         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54323 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54325         [BZ #13738]
54326         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54327         * manual/fdl-1.3.texi: New file.
54328         * manual/fdl-1.1.texi: File removed.
54330         [BZ #13738]
54331         * manual/libc.texinfo (FDL_VERSION): New @set.
54332         Use it for mention of FDL in cover text.
54333         (Documentation License): Use it in @include file name.
54335 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54336             Roland McGrath  <roland@hack.frob.com>
54338         [BZ #5461]
54339         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54340         (not LONG_LONG_MAX and LONG_LONG_MIN.
54341         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54342         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54343         name.
54344         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54346 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54348         [BZ #2547]
54349         [BZ #11365]
54350         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54351         manipulate bits before adding and subtracting TWO23[sx].
54352         * math/libm-test.inc (nearbyint_test): Add more tests.
54354 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54356         [BZ #2548]
54357         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54358         bits before adding and subtracting TWO23[sx].
54359         * math/libm-test.inc (rint_test): Add more tests.
54360         (rint_test_tonearest): Likewise.
54361         (rint_test_towardzero): Likewise.
54362         (rint_test_downward): Likewise.
54363         (rint_test_upward: Likewise.
54365 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54367         [BZ #10110]
54368         * include/stdc-predef.h: New file.  Extracted from features.h.
54369         * include/features.h: Include stdc-predef.h.
54370         * Makefile (headers): Add stdc-predef.h.
54371         * CONFORMANCE (Compiler limitations): Update.
54373 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54375         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54377 2012-02-21  David S. Miller  <davem@davemloft.net>
54379         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54380         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54382 2012-02-20  David S. Miller  <davem@davemloft.net>
54384         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54385         using a normal save/restore sequence, rather than allocating a
54386         dummy stack frame just to store a frame pointer and restore.
54387         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54389 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54391         * manual/install.texi: Fix stray word in line-wrapped comment.
54393 2012-02-20  David S. Miller  <davem@davemloft.net>
54395         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54396         both binutils and gcc support GOTDATA.
54398         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54399         "rd %pc" in the PIC register setup sequences.
54401         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54402         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54403         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54404         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54405         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54410         (SYSCALL_ERROR_HANDLER): Likewise.
54411         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54412         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54413         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54414         (SYSCALL_ERROR_HANDLER): Likewise.
54416         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54417         (HAVE_GCC_GOTDATA): New.
54418         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54419         relocation support in both binutils and gcc.
54420         * sysdeps/sparc/elf/configure: Regenerate.
54422         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54423         * sysdeps/sparc/sparc32/elf/configure: Delete.
54424         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54425         * sysdeps/sparc/sparc64/elf/configure: Delete.
54426         * sysdeps/sparc/elf/configure.in: New file.
54427         * sysdeps/sparc/elf/configure: Generate.
54429         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54430         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54431         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54432         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54433         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54435 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54437         * manual/install.texi: Do not mention specific glibc version
54438         numbers.
54439         * manual/libc.texinfo (VERSION, UPDATED): Update.
54440         (@copying): Use @copyright{} and range of years.
54442 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54444         [BZ #13695]
54445         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54446         [crti.S not in sysdirs] (generated): Do not append.
54447         [crti.S not in sysdirs] (omit-deps): Likewise.
54448         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54449         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54450         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54451         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54452         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54453         Likewise.
54454         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54455         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54456         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54457         * csu/defs.awk: Remove file.
54458         * sysdeps/generic/initfini.c: Likewise.
54459         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54460         variable.
54461         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54462         Likewise.
54464 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54466         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54467         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54468         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54469         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54470         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54471         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54472         <bits/epoll.h>.
54473         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54474         (__EPOLL_PACKED): Define to empty if not defined by
54475         <bits/epoll.h>.
54476         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54478         bits/epoll.h.
54480 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54482         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54483         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54484         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54485         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54486         <bits/timerfd.h>.
54487         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54489         bits/timerfd.h.
54491 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54493         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54494         in C locale.
54495         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54496         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54497         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54500 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54502         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54503         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54505 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54507         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54508         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54509         defined.
54510         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54511         Likewise.
54512         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54513         entry for 2.16.
54515 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54517         * math/w_acos.c: Use non-signaling floating-point comparisons.
54518         * math/w_acosf.c: Likewise.
54519         * math/w_acosh.c: Likewise.
54520         * math/w_acoshf.c: Likewise.
54521         * math/w_acoshl.c: Likewise.
54522         * math/w_acosl.c: Likewise.
54523         * math/w_asin.c: Likewise.
54524         * math/w_asinf.c: Likewise.
54525         * math/w_asinl.c: Likewise.
54526         * math/w_atanh.c: Likewise.
54527         * math/w_atanhf.c: Likewise.
54528         * math/w_atanhl.c: Likewise.
54529         * math/w_exp2.c: Likewise.
54530         * math/w_exp2f.c: Likewise.
54531         * math/w_exp2l.c: Likewise.
54532         * math/w_j0.c: Likewise.
54533         * math/w_j0f.c: Likewise.
54534         * math/w_j0l.c: Likewise.
54535         * math/w_j1.c: Likewise.
54536         * math/w_j1f.c: Likewise.
54537         * math/w_j1l.c: Likewise.
54538         * math/w_jn.c: Likewise.
54539         * math/w_jnf.c: Likewise.
54540         * math/w_log.c: Likewise.
54541         * math/w_log10.c: Likewise.
54542         * math/w_log10f.c: Likewise.
54543         * math/w_log10l.c: Likewise.
54544         * math/w_log2.c: Likewise.
54545         * math/w_log2f.c: Likewise.
54546         * math/w_log2l.c: Likewise.
54547         * math/w_logf.c: Likewise.
54548         * math/w_logl.c: Likewise.
54549         * math/w_sqrt.c: Likewise.
54550         * math/w_sqrtf.c: Likewise.
54551         * math/w_sqrtl.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54554         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54555         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54556         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54558 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54560         [BZ #9739]
54561         * manual/string.texi (strnlen): Use correct parameter name in
54562         equivalent expression.
54564 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54566         [BZ #11174]
54567         * manual/users.texi (seteuid): Consistently use neweuid for
54568         argument name.
54570 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54572         [BZ #13704]
54573         * manual/nss.texi (Services in the NSS configuration): Correct
54574         list of services in example configuration file.
54576 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54578         [BZ #11322]
54579         * manual/arith.texi: Remove statements about negative zero
54580         behaving identically to zero.
54582 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54584         [BZ #5993]
54585         * manual/install.texi: Do not document upgrading from libc5.
54587 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54589         [BZ #4596]
54590         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54592 2012-02-18  David S. Miller  <davem@davemloft.net>
54594         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54595         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54596         %o7 across the call.
54597         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54598         instead.
54599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54600         SETUP_PIC_REG_LEAF.
54601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54602         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54603         * sysdeps/sparc/crtn.S: Likewise.
54605 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54607         * aout/Makefile: Remove.
54609 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54611         [BZ #13058]
54612         * manual/examples/argp-ex1.c (main): Format definition in GNU
54613         style.
54614         * manual/examples/argp-ex2.c (main): Likewise.
54615         * manual/examples/argp-ex3.c (main): Likewise.
54616         * manual/examples/argp-ex4.c (main): Likewise.
54617         * manual/examples/longopt.c (main): Use new-style prototype
54618         definition.
54619         * manual/examples/strncat.c (main): Specify return type and use
54620         (void) for arguments.
54621         * manual/examples/subopt.c (main): Use char **argv argument.
54623 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54625         [BZ #5077]
54626         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54627         rounding modes.
54629 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54631         [BZ #6907]
54632         * manual/string.texi (strchr): Change when strchrnul is
54633         recommended.
54635 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54637         [BZ #174]
54638         * manual/locale.texi (setlocale): Document LOCPATH.
54640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54642         [BZ #10210]
54643         * manual/process.texi (execle): Move @dots{} before last argument.
54645 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54647         [BZ #12047]
54648         * manual/charset.texi (Generic Charset Conversion): Fix typo
54649         (LC_TYPE -> LC_CTYPE).
54651 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54653         [BZ #5805]
54654         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54655         (scalbnf): Likewise.
54656         (scalbnl): Likewise.
54657         (scalbln): Likewise.
54658         (scalblnf): Likewise.
54659         (scalblnl): Likewise.
54660         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54661         (vwarnx): Likewise.
54662         (verr): Likewise.
54663         (verrx): Likewise.
54664         * manual/filesys.texi (telldir): Use braces around return type.
54665         * manual/llio.texi (mmap): Add space after comma.
54666         (mmap64): Likewise.
54667         * manual/math.texi (jn): Use @var{} on parameter names.
54668         (jnf): Likewise.
54669         (jnl): Likewise.
54670         (yn): Likewise.
54671         (ynf): Likewise.
54672         (ynl): Likewise.
54673         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54674         line.
54675         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54676         "...".
54677         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54678         (sched_get_priority_max): Likewise.
54679         * manual/signal.texi (sigvec): Add space after comma.
54680         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54681         names.
54682         (if_indextoname): Likewise.
54683         (if_freenameindex): Likewise.
54684         (sendto): Use ',' instead of '.' in prototype.
54685         * manual/startup.texi (syscall): Use @dots{} instead of literal
54686         "...".
54687         * manual/stdio.texi (__fpending): Separate initial words of
54688         paragraph from @deftypefun line.
54689         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54690         "...".
54691         (vsyslog): Use @var{} on parameter names.
54692         * manual/terminal.texi (stty): Use @var{} on parameter names.
54693         * manual/users.texi (getutmp): Use @var{} on parameter names.
54694         (getutmpx): Likewise.
54696 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54698         [BZ #6884]
54699         * manual/stdio.texi (fopen): Fix typos in description of
54700         ",ccs=STRING".
54702 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54704         [BZ #4026]
54705         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54706         get clock_id definition.
54708 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54710         [BZ #4822]
54711         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54712         (madvise): Cast every argument to void on its own.
54714 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54716         [BZ #9902]
54717         * manual/startup.texi (Exit Status): Fix typo.
54719 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54721         [BZ #10140]
54722         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54723         * manual/examples/argp-ex2.c: Likewise.
54724         * manual/examples/argp-ex3.c: Likewise.
54726 2012-02-16  Richard Henderson  <rth@redhat.com>
54728         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54729         * sysdeps/s390/s390-32/initfini.c: Remove.
54730         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54731         * sysdeps/s390/s390-64/initfini.c: Remove.
54733 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54735         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54736         compiler output for sysdeps/generic/initfini.c.
54737         * sysdeps/sh/elf/initfini.c: Remove file.
54739 2012-02-16  David S. Miller  <davem@davemloft.net>
54741         [BZ #11494]
54742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54744         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54745         * sysdeps/sparc/crti.S: New file.
54746         * sysdeps/sparc/crtn.S: New file.
54747         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54748         * sysdeps/sparc/sparc64/Makefile: Likewise.
54750 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54752         [BZ #3335]
54753         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54755 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54757         [BZ #4822]
54758         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54760         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54761         (write, read, close): Likewise.
54762         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54764 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54766         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54767         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54768         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54769         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54770         <bits/signalfd.h>.
54771         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54773         bits/signalfd.h.
54775 2012-02-14  Marek Polacek  <polacek@redhat.com>
54777         * sysdeps/x86_64/crti.S: New file.
54778         * sysdeps/x86_64/crtn.S: New file.
54779         * sysdeps/x86_64/elf/initfini.c: Remove file.
54781 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54783         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54784         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54785         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54786         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54787         <bits/inotify.h>.
54788         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54790         bits/inotify.h.
54792 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54794         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54795         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54796         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54797         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54798         <bits/eventfd.h>.
54799         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54801         bits/eventfd.h.
54803 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54805         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54806         __feraiseexcept instead of feraiseexcept.
54808         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54809         nanosleep invocations.
54810         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54811         strings, and add error checking for a nanosleep invocations.
54813 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54815         Replace FSF snail mail address with URLs, as per GNU coding standards.
54816         Most of the snail mail addresses were wrong anyway, and omitting
54817         them makes the source code easier to maintain.  Almost all of the
54818         changes are to license notices and to locale LC_IDENTIFICATION
54819         addresses, except for this one:
54820         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54821         not its snail mail address.
54823 2012-02-09  Richard Henderson  <rth@twiddle.net>
54825         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54826         of kernel-features.h.
54828         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54830 2012-02-08  Marek Polacek  <polacek@redhat.com>
54832         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54833         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54834         * sysdeps/gnu/_G_config.h: Likewise.
54835         * sysdeps/generic/_G_config.h: Likewise.
54837 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54839         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54840         tests.
54841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54843         * sysdeps/powerpc/powerpc32/crti.S: New file.
54844         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54845         * sysdeps/powerpc/powerpc64/crti.S: New file.
54846         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54848         * Makeconfig (have-initfini): Don't set.
54849         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54850         * configure.in (nopic_initfini): Don't substitute.
54851         * config.h.in (HAVE_INITFINI): Don't #undef.
54852         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54853         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54855 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54857         Support crti.S and crtn.S provided directly by architectures.
54858         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54859         [crti.S in sysdirs] (omit-deps): Likewise.
54860         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54861         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54862         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54863         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54864         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54865         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54866         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54867         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54868         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54869         compiler output for sysdeps/generic/initfini.c.
54870         * sysdeps/i386/elf/Makefile: Remove file.
54871         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54873 2012-02-07  Marek Polacek  <polacek@redhat.com>
54875         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54876         * sysdeps/gnu/_G_config.h: Likewise.
54877         * sysdeps/mach/hurd/_G_config.h: Likewise.
54879 2012-02-07  Marek Polacek  <polacek@redhat.com>
54881         * math/Makefile (tests): Add tst-CMPLX2.
54882         * math/tst-CMPLX2.c: New file.
54884 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54886         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54888         * math/libm-test.inc (jn_test): Add missing L suffix.
54890 2012-02-06  Marek Polacek  <polacek@redhat.com>
54892         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54893         * sysdeps/i386/fpu/e_powf.S: Likewise.
54894         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54895         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54896         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54897         * sysdeps/i386/fpu/e_pow.S: Likewise.
54898         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54899         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54900         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54901         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54902         * sysdeps/i386/fpu/e_log2.S: Likewise.
54903         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54904         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54905         * sysdeps/i386/fpu/e_powl.S: Likewise.
54906         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54907         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54908         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54909         * sysdeps/i386/fpu/e_logl.S: Likewise.
54910         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54911         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54912         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54913         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54914         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54915         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54916         * sysdeps/i386/fpu/e_log.S: Likewise.
54917         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54918         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54919         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54920         * sysdeps/i386/fpu/e_logf.S: Likewise.
54921         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54922         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54923         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54924         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54925         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54926         * sysdeps/i386/fpu/e_log10.S: Likewise.
54927         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54928         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54929         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54930         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54931         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54932         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54933         * sysdeps/i386/asm-syntax.h: Likewise.
54934         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54936         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54937         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54938         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54939         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54940         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54941         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54942         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54943         * sysdeps/powerpc/sysdep.h: Likewise.
54944         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54945         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54947 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54949         [BZ #411]
54950         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54952 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54954         * sysdeps/i386/sysdep.h: Include <features.h>.
54955         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54956         version.
54958 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54960         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54961         Define.
54962         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54963         LOAD_PIC_REG_STR.
54965 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54967         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54968         (SETUP_PIC_REG): Use GET_PC_THUNK.
54969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54970         macro.
54972 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54974         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54975         for non-PIC compilation.
54976         (SETUP_PIC_REG): Add .p2align directive.
54977         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54978         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54979         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54980         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54981         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54982         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54983         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54984         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54985         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54986         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54987         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54988         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54989         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54990         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54991         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54992         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54993         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54994         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54995         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54996         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54998         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54999         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55000         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55001         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55003         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55004         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55005         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55006         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55007         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55014         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55016         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55019 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55021         * math/tst-CMPLX.c: Include <stdio.h>.
55023 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55025         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55026         float.
55027         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55028         * sysdeps/sparc/bits/mathdef.h: Likewise.
55030 2012-01-31  Marek Polacek  <polacek@redhat.com>
55032         * libio/libio.h: Don't define _PARAMS.
55033         * locale/programs/config.h: Don't define PARAMS.
55034         * stdlib/strtol_l.c: Likewise.
55035         (__strtol_l): Remove PARAMS from the prototype.
55037 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55039         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55040         names.  Just use the correct names.  Remove unnecessary wrapper
55041         functions.
55042         * malloc/arena.c: Likewise.
55043         * malloc/hooks.c: Likewise.
55045         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55046         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55047         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55049 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55051         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55052         into tail calls.
55053         (update_get_addr): New function.
55054         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55055         GET_ADDR_MODULE parameter.
55057 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55059         * crypt/cert.c: Remove __STDC__ conditionals.
55060         * crypt/crypt-entry.c: Likewise.
55061         * crypt/crypt_util.c: Likewise.
55062         * libio/filedoalloc.c: Likewise.
55063         * libio/fileops.c: Likewise.
55064         * libio/genops.c: Likewise.
55065         * libio/iofclose.c: Likewise.
55066         * libio/iofdopen.c: Likewise.
55067         * libio/iofopen.c: Likewise.
55068         * libio/iofopen64.c: Likewise.
55069         * libio/iogetdelim.c: Likewise.
55070         * libio/iopopen.c: Likewise.
55071         * libio/obprintf.c: Likewise.
55072         * libio/oldfileops.c: Likewise.
55073         * libio/oldiofclose.c: Likewise.
55074         * libio/oldiofdopen.c: Likewise.
55075         * libio/oldiofopen.c: Likewise.
55076         * libio/oldiopopen.c: Likewise.
55077         * libio/wfiledoalloc.c: Likewise.
55078         * libio/wgenops.c: Likewise.
55079         * locale/programs/xmalloc.c: Likewise.
55080         * misc/syslog.c: Likewise.
55081         * stdio-common/xbug.c: Likewise.
55082         * string/memchr.c: Likewise.
55083         * string/memcmp.c: Likewise.
55084         * string/memrchr.c: Likewise.
55085         * string/rawmemchr.c: Likewise.
55086         * sysdeps/posix/getcwd.c: Likewise.
55087         * time/strftime_l.c: Likewise.
55089 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55091         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55092         * config.make.in (config-cflags-sse2avx): Define.
55093         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55094         Fix typo.
55096 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55098         * scripts/config.guess: Update from upstream config git repository.
55099         * scripts/config.sub: Likewise.
55101 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55103         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55104         (EM_NUM): Update.
55105         (R_TILEPRO_*, R_TILEGX_*): New macros.
55107         * scripts/firstversions.awk: Fix bug in version range handling.
55109         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55111         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55113         * include/sys/epoll.h: New file.
55114         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55115         libc_hidden_def.
55117 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55119         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55120         Avoid unnecessary __WORDSIZE == 64 test.
55121         (fmaxf): Use VEX format if possible.
55122         (fmax): Likewise.
55123         (fminf): Likewise.
55124         (fmin): Likewise.
55126         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55127         * math/math_private.h: Remove libc_fegetround* and
55128         libc_fesetround*.
55129         * sysdeps/i386/configure.in: Check for -msse2avx.
55130         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55131         also if SSE2AVX is defined.
55132         Remove libc_fegetround* and libc_fesetround*.
55133         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55134         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55135         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55136         of HAS_YMM_USABLE.
55137         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55138         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55139         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55140         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55141         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55143         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55145 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55147         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55148         size is not set.
55149         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55151 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55153         [BZ #13618]
55154         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55155         relocation.
55156         * Makeconfig (libm): Define.
55157         * elf/Makefile: Add rules to build and run tst-relsort1.
55158         * elf/tst-relsort1.c: New file.
55159         * elf/tst-relsort1mod1.c: New file.
55160         * elf/tst-relsort1mod2.c: New file.
55162 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55164         * math/s_ldexp.c: Remove __STDC__ conditionals.
55165         * math/s_ldexpf.c: Likewise.
55166         * math/s_ldexpl.c: Likewise.
55167         * math/s_nextafter.c: Likewise.
55168         * math/s_nexttowardf.c: Likewise.
55169         * math/s_significand.c: Likewise.
55170         * math/s_significandf.c: Likewise.
55171         * math/s_significandl.c: Likewise.
55172         * math/w_jnl.c: Likewise.
55173         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55174         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55175         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55176         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55177         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55179         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55180         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55181         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55182         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55183         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55184         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55185         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55186         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55187         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55188         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55189         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55190         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55192         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55193         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55194         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55195         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55196         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55197         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55198         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55199         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55200         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55201         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55202         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55203         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55204         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55205         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55206         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55207         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55208         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55209         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55210         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55211         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55212         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55213         * sysdeps/ieee754/k_standard.c: Likewise.
55214         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55215         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55216         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55217         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55218         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55219         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55221         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55222         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55223         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55224         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55225         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55226         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55227         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55228         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55230         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55231         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55232         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55233         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55234         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55235         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55236         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55237         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55238         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55239         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55240         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55242         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55246         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55254         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55261         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55262         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55263         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55264         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55265         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55266         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55267         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55268         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55270         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55271         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55272         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55273         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55274         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55275         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55276         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55277         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55278         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55279         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55280         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55281         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55282         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55286         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55287         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55288         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55289         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55290         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55291         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55292         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55293         * sysdeps/ieee754/s_matherr.c: Likewise.
55294         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55295         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55297         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55299 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55301         * crypt/md5.h: Remove __STDC__ conditionals.
55302         * libio/libioP.h: Likewise.
55303         * locale/programs/config.h: Likewise.
55304         * sysdeps/generic/sysdep.h: Likewise.
55305         * sysdeps/i386/asm-syntax.h: Likewise.
55306         * sysdeps/s390/asm-syntax.h: Likewise.
55307         * sysdeps/unix/sysdep.h: Likewise.
55308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55311 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55313         * libio/libio.h: Remove __STDC__ conditionals.
55314         * malloc/obstack.h: Likewise.
55315         * math/complex.h: Likewise.
55316         * math/math.h: Likewise.
55317         * sysdeps/generic/_G_config.h: Likewise.
55318         * sysdeps/gnu/_G_config.h: Likewise.
55319         * sysdeps/mach/hurd/_G_config.h: Likewise.
55320         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55321         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55322         * sysdeps/sparc/bits/mathdef.h: Likewise.
55324 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55326         [BZ #13583]
55327         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55328         Clean up HAS_* macros.
55329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55330         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55331         possible.
55332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55333         HAS_AVX.
55334         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55335         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55336         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55337         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55338         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55340 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55342         * elf/tst-unique3.cc (gets): Remove declaration.
55343         * elf/tst-unique3lib.cc (gets): Likewise.
55344         * elf/tst-unique3lib2.cc (gets): Likewise.
55345         * elf/tst-unique4.cc (gets): Likewise.
55347 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55349         * include/stdio.h: Add C++ protection.  Add gets declarations and
55350         definitions.
55351         * debug/tst-chk1.c: Don't declare gets here.
55352         * stdio-common/tst-gets.c: Likewise.
55354 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55356         * posix/glob: Remove directory.
55358 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55360         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55362 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55364         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55365         of the non-standard EPFNOSUPPORT.
55367 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55369         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55370         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55371         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55373 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55375         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55377 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55379         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55380         transient errors.
55381         * nscd/grpcache.c (cache_addgr): Likewise.
55382         * nscd/hstcache.c (cache_addhst): Likewise.
55383         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55384         * nscd/pwdcache.c (cache_addpw): Likewise.
55385         * nscd/servicescache.c (cache_addserv): Likewise.
55387 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55389         * malloc/malloc.c: Various cleanups.
55390         * malloc/hooks.c: Likewise.
55392         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55393         * stdlib/bug-fmtmsg1.c: New file.
55395         * stdlib/fmtmsg.c (init): Add missing unlock.
55396         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55398 2012-01-12  Marek Polacek  <polacek@redhat.com>
55400         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55401         and _GNU_SOURCE.
55403 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55405         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55406         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55407         macro to ensure uniqueness of label name.
55408         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55409         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55411 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55413         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55415         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55416         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55417         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55418         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55420 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55422         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55424         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55425         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55426         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55428         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55430         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55431         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55432         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55435         * math/bits/math-finite.h: Add ldexp support.
55437 2012-01-10  Marek Polacek  <polacek@redhat.com>
55439         * locale/programs/localedef.h (show_archive_content): Add noreturn
55440         attribute.
55442 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55444         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55446 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55448         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55450         * io/Makefile (headers): Add bits/poll2.h.
55452 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55455         typo #include statement.
55457 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55459         * include/sys/cdefs.h: Define __attribute_alloc_size.
55460         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55461         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55462         * elf/pldd.c: Likewise.
55463         * iconv/iconv_charmap.c: Likewise.
55464         * iconv/iconvconfig.c: Likewise.
55465         * iconv/strtab.c: Likewise.
55466         * locale/programs/locale.c: Likewise.
55467         * locale/programs/localedef.h: Likewise.
55468         * locale/programs/simple-hash.c: Likewise.
55469         * nscd/nscd.h: Likewise.
55470         * nss/makedb.c: Likewise.
55471         * sysdeps/generic/ldconfig.h: Likewise.
55472         * locale/programs/localedef.c: Remove xmalloc prototype.
55473         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55475 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55478         appropriate.
55480 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55482         * math/Makefile (tests): Add tst-CMPLX.
55483         * math/tst-CMPLX.c: New file.
55485         * math/complex.h (CMPLXL): Fix typo.
55487         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55488         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55489         GLIBC_2.16.
55490         * debug/tst-chk1.c: Add poll and ppoll tests.
55491         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55492         * include/sys/poll.h: Add hidden proto for ppoll.
55493         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55494         * sysdeps/mach/hurd/ppoll.c: Likewise.
55495         * io/ppoll.c: Likewise.
55496         * debug/poll_chk.c: New file.
55497         * debug/ppoll_chk.c: New file.
55498         * include/bits/poll2.h: New file.
55499         * io/bits/poll2.h: New file.
55501         [BZ #1350]
55502         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55504         * configure.in: static is always set to yes.  Remove.
55505         * config.make.in: Don't set build-static.
55506         * Makeconfig: Remove use of build-static.
55507         * dlfcn/Makefile: Likewise.
55508         * elf/Makefile: Likewise.
55509         * math/Makefile: Likewise.
55510         * misc/Makefile: Likewise.
55511         * nptl/Makefile: Likewise.
55512         * sysdeps/mach/hurd/Makefile: Likewise.
55514         * configure.in: PWD_P is not used anymore.
55515         * config.make.in: Remove PWD_P entry.
55517         * configure.in: Remove last remnants of RANLIB.
55518         No need to check for signed size_t anymore.
55519         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55520         and IA-64.
55521         Remove __builtin_expect test because we require at least gcc 3.4.
55522         * aclocal.m4: Likewise.
55524         * wcsmbs/mbrtoc16.c: Implement using towc function.
55525         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55526         * wcsmbs/wcsmbsload.c: Likewise.
55527         * iconv/gconv_simple.c: Likewise.
55528         * iconv/gconv_int.h: Likewise.
55529         * iconv/gconv_builtin.h: Likewise.
55530         * iconv/iconv_prog.c: Remove CHAR16 handling.
55532         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55534         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55536         * configure.in: Remove --with-elf and --enable-bounded options.
55537         Dont set base_machine for ia64.  More non-ELF conditions removed.
55538         Remove testing and setting of leading underscore information.
55539         * config.make.in (build-bounded): Set to no.
55540         * config.h.in: Remove NO_UNDERSCORES entry.
55541         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55542         them.
55543         * csu/start.c: Remove !NO_UNDERSCORE code.
55544         * locale/localeinfo.h: Likewise.
55545         * sysdeps/generic/machine-gmon.h: Likewise.
55546         * sysdeps/generic/sysdep.h: Likewise.
55547         * sysdeps/i386/sysdep.h: Likewise.
55548         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55549         * sysdeps/mach/sysdep.h: Likewise.
55550         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55551         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55552         * sysdeps/sh/sysdep.h: Likewise.
55553         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55554         * sysdeps/unix/i386/sysdep.S: Likewise.
55555         * sysdeps/unix/sparc/start.c: Likewise.
55556         * sysdeps/unix/sparc/sysdep.S: Likewise.
55557         * sysdeps/unix/sparc/sysdep.h: Likewise.
55558         * sysdeps/unix/start.c: Likewise.
55559         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55560         * sysdeps/x86_64/sysdep.h: Likewise.
55562 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55564         [BZ #13553]
55565         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55566         for non-gcc.
55567         * argp/argp-fmtstream.h: Use const instead __const.
55568         * argp/argp.h: Likewise.
55569         * assert/assert.h: Likewise.
55570         * bits/fenv.h: Likewise.
55571         * bits/sched.h: Likewise.
55572         * bits/sigset.h: Likewise.
55573         * bits/sigthread.h: Likewise.
55574         * catgets/nl_types.h: Likewise.
55575         * conform/data/pthread.h-data: Likewise.
55576         * crypt/crypt-private.h: Likewise.
55577         * crypt/crypt.h: Likewise.
55578         * crypt/crypt_util.c: Likewise.
55579         * ctype/ctype.h: Likewise.
55580         * debug/execinfo.h: Likewise.
55581         * debug/mbsnrtowcs_chk.c: Likewise.
55582         * debug/mbsrtowcs_chk.c: Likewise.
55583         * debug/wcsnrtombs_chk.c: Likewise.
55584         * debug/wcsrtombs_chk.c: Likewise.
55585         * debug/wcstombs_chk.c: Likewise.
55586         * dirent/dirent.h: Likewise.
55587         * dlfcn/dlfcn.h: Likewise.
55588         * elf/neededtest4.c: Likewise.
55589         * grp/grp.h: Likewise.
55590         * gshadow/gshadow.h: Likewise.
55591         * iconv/gconv.h: Likewise.
55592         * iconv/gconv_int.h: Likewise.
55593         * iconv/gconv_simple.c: Likewise.
55594         * iconv/iconv.h: Likewise.
55595         * iconv/loop.c: Likewise.
55596         * iconv/skeleton.c: Likewise.
55597         * include/aio.h: Likewise.
55598         * include/aliases.h: Likewise.
55599         * include/argz.h: Likewise.
55600         * include/arpa/inet.h: Likewise.
55601         * include/assert.h: Likewise.
55602         * include/dirent.h: Likewise.
55603         * include/dlfcn.h: Likewise.
55604         * include/execinfo.h: Likewise.
55605         * include/fcntl.h: Likewise.
55606         * include/fenv.h: Likewise.
55607         * include/glob.h: Likewise.
55608         * include/grp.h: Likewise.
55609         * include/libintl.h: Likewise.
55610         * include/mntent.h: Likewise.
55611         * include/netdb.h: Likewise.
55612         * include/pwd.h: Likewise.
55613         * include/rpc/netdb.h: Likewise.
55614         * include/sched.h: Likewise.
55615         * include/search.h: Likewise.
55616         * include/shadow.h: Likewise.
55617         * include/signal.h: Likewise.
55618         * include/stdio.h: Likewise.
55619         * include/stdlib.h: Likewise.
55620         * include/string.h: Likewise.
55621         * include/sys/socket.h: Likewise.
55622         * include/sys/stat.h: Likewise.
55623         * include/sys/statfs.h: Likewise.
55624         * include/sys/statvfs.h: Likewise.
55625         * include/sys/syslog.h: Likewise.
55626         * include/sys/time.h: Likewise.
55627         * include/sys/uio.h: Likewise.
55628         * include/time.h: Likewise.
55629         * include/unistd.h: Likewise.
55630         * include/utmp.h: Likewise.
55631         * include/wchar.h: Likewise.
55632         * include/wctype.h: Likewise.
55633         * inet/aliases.h: Likewise.
55634         * inet/arpa/inet.h: Likewise.
55635         * inet/netinet/ether.h: Likewise.
55636         * inet/netinet/in.h: Likewise.
55637         * intl/libintl.h: Likewise.
55638         * io/bits/fcntl2.h: Likewise.
55639         * io/fcntl.h: Likewise.
55640         * io/ftw.h: Likewise.
55641         * io/sys/poll.h: Likewise.
55642         * io/sys/stat.h: Likewise.
55643         * io/sys/statfs.h: Likewise.
55644         * io/sys/statvfs.h: Likewise.
55645         * io/utime.h: Likewise.
55646         * libio/bits/stdio.h: Likewise.
55647         * libio/bits/stdio2.h: Likewise.
55648         * libio/libio.h: Likewise.
55649         * libio/libioP.h: Likewise.
55650         * libio/stdio.h: Likewise.
55651         * locale/lc-ctype.c: Likewise.
55652         * locale/locale.h: Likewise.
55653         * login/utmp.h: Likewise.
55654         * malloc/arena.c: Likewise.
55655         * malloc/malloc.c: Likewise.
55656         * malloc/malloc.h: Likewise.
55657         * malloc/mcheck.c: Likewise.
55658         * malloc/mtrace.c: Likewise.
55659         * math/bits/mathcalls.h: Likewise.
55660         * math/fenv.h: Likewise.
55661         * math/math_private.h: Likewise.
55662         * misc/bits/error.h: Likewise.
55663         * misc/bits/syslog.h: Likewise.
55664         * misc/err.h: Likewise.
55665         * misc/error.h: Likewise.
55666         * misc/fstab.h: Likewise.
55667         * misc/mntent.h: Likewise.
55668         * misc/regexp.h: Likewise.
55669         * misc/search.h: Likewise.
55670         * misc/sgtty.h: Likewise.
55671         * misc/sys/mman.h: Likewise.
55672         * misc/sys/syslog.h: Likewise.
55673         * misc/sys/uio.h: Likewise.
55674         * misc/sys/xattr.h: Likewise.
55675         * misc/ttyent.h: Likewise.
55676         * nis/rpcsvc/ypclnt.h: Likewise.
55677         * nss/nss.h: Likewise.
55678         * posix/bits/unistd.h: Likewise.
55679         * posix/fnmatch.h: Likewise.
55680         * posix/glob.h: Likewise.
55681         * posix/sched.h: Likewise.
55682         * posix/spawn.h: Likewise.
55683         * posix/sys/wait.h: Likewise.
55684         * posix/unistd.h: Likewise.
55685         * posix/wordexp.h: Likewise.
55686         * pwd/pwd.h: Likewise.
55687         * resolv/netdb.h: Likewise.
55688         * resource/sys/resource.h: Likewise.
55689         * rt/aio.h: Likewise.
55690         * rt/bits/mqueue2.h: Likewise.
55691         * rt/mqueue.h: Likewise.
55692         * shadow/shadow.h: Likewise.
55693         * signal/signal.h: Likewise.
55694         * socket/send.c: Likewise.
55695         * socket/sendto.c: Likewise.
55696         * socket/sys/socket.h: Likewise.
55697         * stdio-common/printf.h: Likewise.
55698         * stdlib/bits/stdlib.h: Likewise.
55699         * stdlib/fmtmsg.h: Likewise.
55700         * stdlib/monetary.h: Likewise.
55701         * stdlib/stdlib.h: Likewise.
55702         * stdlib/ucontext.h: Likewise.
55703         * streams/stropts.h: Likewise.
55704         * string/argz.h: Likewise.
55705         * string/bits/string2.h: Likewise.
55706         * string/string.h: Likewise.
55707         * string/strings.h: Likewise.
55708         * sunrpc/rpc/auth.h: Likewise.
55709         * sunrpc/rpc/auth_des.h: Likewise.
55710         * sunrpc/rpc/clnt.h: Likewise.
55711         * sunrpc/rpc/netdb.h: Likewise.
55712         * sunrpc/rpc/pmap_clnt.h: Likewise.
55713         * sunrpc/rpc/xdr.h: Likewise.
55714         * sysdeps/generic/inttypes.h: Likewise.
55715         * sysdeps/generic/net/if.h: Likewise.
55716         * sysdeps/generic/sys/swap.h: Likewise.
55717         * sysdeps/gnu/net/if.h: Likewise.
55718         * sysdeps/gnu/utmpx.h: Likewise.
55719         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55720         * sysdeps/i386/i486/bits/string.h: Likewise.
55721         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55722         * sysdeps/s390/bits/string.h: Likewise.
55723         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55724         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55725         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55726         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55727         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55728         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55729         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55730         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55731         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55732         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55733         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55734         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55735         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55736         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55737         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55738         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55739         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55741         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55742         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55743         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55744         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55745         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55746         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55747         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55748         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55749         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55751         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55752         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55753         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55754         * sysvipc/sys/ipc.h: Likewise.
55755         * sysvipc/sys/msg.h: Likewise.
55756         * sysvipc/sys/sem.h: Likewise.
55757         * sysvipc/sys/shm.h: Likewise.
55758         * termios/termios.h: Likewise.
55759         * time/sys/time.h: Likewise.
55760         * time/time.h: Likewise.
55761         * wcsmbs/bits/wchar2.h: Likewise.
55762         * wcsmbs/uchar.h: Likewise.
55763         * wcsmbs/wchar.h: Likewise.
55764         * wctype/wctype.h: Likewise.
55766         [BZ #13551]
55767         * Makeconfig: Remove all but ELF support including AIX support.
55768         * Makerules: Likewise.
55769         * config.h.in: Likewise.
55770         * config.make.in: Likewise.
55771         * configure: Likewise.
55772         * configure.in: Likewise.
55773         * csu/Makefile: Likewise.
55774         * csu/version.c: Likewise.
55775         * debug/Makefile: Likewise.
55776         * dlfcn/Makefile: Likewise.
55777         * elf/Makefile: Likewise.
55778         * extra-lib.mk: Likewise.
55779         * iconv/Makefile: Likewise.
55780         * include/libc-symbols.h: Likewise.
55781         * include/shlib-compat.h: Likewise.
55782         * resolv/Makefile: Likewise.
55783         * resolv/res_libc.c: Likewise.
55784         * rt/Makefile: Likewise.
55785         * sysdeps/i386/asm-syntax.h: Likewise.
55786         * sysdeps/i386/sysdep.h: Likewise.
55787         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55788         * sysdeps/mach/sysdep.h: Likewise.
55789         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55790         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55791         * sysdeps/s390/asm-syntax.h: Likewise.
55792         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55793         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55794         * sysdeps/sh/sysdep.h: Likewise.
55795         * sysdeps/unix/sparc/sysdep.h: Likewise.
55796         * sysdeps/wordsize-32/divdi3.c: Likewise.
55797         * sysdeps/x86_64/sysdep.h: Likewise.
55799         * argp/Versions: Remove _argp_unlock_xxx.
55801         [BZ #13559]
55802         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55803         * abilist/libBrokenLocale.abilist: Likewise.
55804         * abilist/libanl.abilist: Likewise.
55805         * abilist/libc.abilist: Likewise.
55806         * abilist/libcrypt.abilist: Likewise.
55807         * abilist/libdl.abilist: Likewise.
55808         * abilist/libm.abilist: Likewise.
55809         * abilist/libnsl.abilist: Likewise.
55810         * abilist/libpthread.abilist: Likewise.
55811         * abilist/libresolv.abilist: Likewise.
55812         * abilist/librt.abilist: Likewise.
55813         * abilist/libthread_db.abilist: Likewise.
55814         * abilist/libutil.abilist: Likewise.
55815         * abilist/libnss_db.abilist: New file.
55817         * scripts/abilist.awk: Add support for indirect functions.
55819         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55821         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55823         * shlib-versions: Remove entries for ports architectures.
55825         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55826         files in ports.
55827         * elf/stackguard-macros.h: Remove support for IA-64.
55828         * elf/tst-auditmod1.c: Likewise.
55829         * sysdeps/generic/ldsodefs.h: Likewise.
55831         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55832         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55833         configure files.
55835         [BZ #13552]
55836         * configure.in: Remove --enable-omitfp support.
55837         * FAQ.in: Adjust.
55838         * config.make.in: Likewise.
55839         * Makeconfig: Likewise.
55840         * manual/install.texi: Likewise.
55842         In case anyone cares, the IA-64 architecture could move to ports.
55843         * sysdeps/ia64/*: Removed.
55844         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55845         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55847         [BZ #13555]
55848         * configure.in: Remove entries for unsupported architectures.
55850         [BZ #13533]
55851         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55852         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55853         routines.
55854         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55855         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55856         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55857         fall back to using wcrtomb.
55858         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55859         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55860         renaming.
55861         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55862         * wcsmbs/tst-c16c32-1.c: New file.
55864         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55865         local variable.
55867         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55869         * elf/tst-unique3.cc: Add explicit declaration of gets.
55870         * elf/tst-unique3lib.cc: Likewise.
55871         * elf/tst-unique3lib2.cc: Likewise.
55872         * elf/tst-unique4.cc: Likewise.
55874         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55876 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55878         [BZ #13566]
55879         * assert/assert.h (static_assert): Don't define for C++.
55880         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55881         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55883 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55885         * iconv/loop.c (single loop): Fix assertion in storing of
55886         remaining bytes.
55888         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55890 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55892         * posix/getconf.c: Update copyright year.
55893         * nss/getent.c: Likewise.
55894         * nss/makedb.c: Likewise.
55895         * iconv/iconvconfig.c: Likewise.
55896         * iconv/iconv_prog.c: Likewise.
55897         * elf/ldconfig.c: Likewise.
55898         * elf/pldd.c: Likewise.
55899         * elf/sotruss.ksh: Likewise.
55900         * catgets/gencat.c: Likewise.
55901         * csu/version.c: Likewise.
55902         * elf/ldd.bash.in: Likewise.
55903         * elf/sprof.c (print_version): Likewise.
55904         * locale/programs/locale.c: Likewise.
55905         * locale/programs/localedef.c: Likewise.
55906         * login/programs/pt_chown.c: Likewise.
55907         * nscd/nscd.c (print_version): Likewise.
55908         * debug/xtrace.sh: Likewise.
55909         * malloc/memusage.sh: Likewise.
55910         * malloc/mtrace.pl: Likewise.
55911         * debug/catchsegv.sh: Likewise.
55913 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55915         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55916         pure attribute.
55918 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55920         [BZ #13533]
55921         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55922         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55923         transformations.
55924         * iconv/gconv_int.h: Likewise.
55925         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55926         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55927         from libc for GLIBC_2.16.
55928         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55929         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55930         * wcsmbs/uchar.h: Really define mbstate_t.
55931         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55932         * wcsmbs/c16rtomb.c: New file.
55933         * wcsmbs/mbrtoc16.c: New file.
55934         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55935         for C/POSIX locale.
55936         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55937         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55939         * wcsmbs/wchar.h: Add missing __restrict.
55941 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55943         [BZ #13532]
55944         * time/Makefile (routines): Add timespec_get.
55945         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55946         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55947         timespec for ISO C11.
55948         * time/timespec_get.c: New file.
55949         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55950         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55952         [BZ #13531]
55953         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55954         * stdlib/stdlib.h: Declare aligned_alloc.
55955         * Versions.def: Add GLIBC_2.16 for libc.
55956         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55958         [BZ 13527]
55959         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55960         ISO C11.
55962         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55963         code.
55965         [BZ #13528]
55966         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55968         [BZ #13529]
55969         * assert/assert.h (static_assert): Define.
55971         * version.h: Update for 2.16 development version.
55973         [BZ #13526]
55974         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55975         _ISOC11_SOURCE.
55977         * version.h (RELEASE): Bump for 2.15 release.
55978         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55980         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55981         Patch by Marek Polacek <mpolacek@redhat.com>.
55983         * bits/byteswap.h: Protect long long constants with __extension__.
55984         * sysdeps/i386/bits/byteswap.h: Likewise.
55985         * sysdeps/ia64/bits/byteswap.h: Likewise.
55986         * sysdeps/s390/bits/byteswap.h: Likewise.
55987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55989 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55991         [BZ #13540]
55992         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55993         destination buffer.
55994         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55996 2011-12-23  Marek Polacek  <polacek@redhat.com>
55998         * elf/dl-addr.c (determine_info): Add inline keyword.
55999         * elf/tst-auditmod4b.c (check_avx): Likewise.
56000         * elf/tst-auditmod6b.c (check_avx): Likewise.
56001         * elf/tst-auditmod6c.c (check_avx): Likewise.
56002         * elf/tst-auditmod7b.c (check_avx): Likewise.
56004 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56006         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56007         !__SSE_MATH__.
56009 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56011         [BZ #13540]
56012         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56013         processing for last bytes.
56015 2011-08-06  Bruno Haible  <bruno@clisp.org>
56017         [BZ #13061]
56018         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56019         U+0385, not to U+1FEE.
56021         [BZ #13062]
56022         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56023         entry for U+00A5 U+0301.
56025 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56027         [BZ #13166]
56028         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56029         buffer for the output is too small.
56031         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56032         optimization.
56034         [BZ #13185]
56035         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56036         SSE flags if possible.
56038 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56040         [BZ #13540]
56041         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56042         processing for last bytes.
56044 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56046         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56047         (syscall-list-default-options, syscall-list-default-condition)
56048         (syscall-list-includes): Define.
56049         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56050         list of ABIs and options and #if conditions for each ABI.  Do not
56051         handle common syscalls between ABIs specially.
56052         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56053         Remove.
56054         (syscall-list-variants, syscall-list-32bit-options)
56055         (syscall-list-32bit-condition, syscall-list-64bit-options)
56056         (syscall-list-64bit-condition): Define.
56057         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56058         (syscall-list-variants, syscall-list-32bit-options)
56059         (syscall-list-32bit-condition, syscall-list-64bit-options)
56060         (syscall-list-64bit-condition): Define.
56061         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56062         Remove.
56063         (syscall-list-variants, syscall-list-32bit-options)
56064         (syscall-list-32bit-condition, syscall-list-64bit-options)
56065         (syscall-list-64bit-condition): Define.
56066         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56067         Remove.
56068         (syscall-list-variants, syscall-list-32bit-options)
56069         (syscall-list-32bit-condition, syscall-list-64bit-options)
56070         (syscall-list-64bit-condition): Define.
56072 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56074         * locale/iso-639.def: Add brx entry.
56076         [BZ #13328]
56077         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56078         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56080         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56081         __feraiseexcept_renamed.
56083 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56085         [BZ #13538]
56086         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56087         EPOLLET with unsigned values.
56088         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56089         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56091         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56092         to large cancellation.
56093         * math/s_cacoshf.c: Likewise.
56094         * math/s_cacoshl.c: Likewise.
56096 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56098         [BZ #13305]
56099         [BZ #12786]
56100         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56101         * math/s_cacoshf.c: Likewise.
56102         * math/s_cacoshl.c: Likewise.
56104 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56106         [BZ #13439]
56107         * iconv/gconv.h: Define __GCONV_SWAP.
56108         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56109         * iconvdata/utf-16.c: Likewise.
56110         * iconvdata/utf-32.c: Likewise.
56112 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56114         [BZ #13524]
56115         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56116         numerator after shifting it by one limb.
56118 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56120         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56121         under [__USE_EXTERN_INLINES].
56123 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56125         [BZ #13446]
56126         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56128 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56130         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56131         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56132         optimized code.
56133         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56134         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56135         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56136         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56137         for strncasecmp/strncasecmp_l compilation.
56138         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56139         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56141 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56143         [BZ #13484]
56144         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56145         of __asm__.
56147 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56149         [BZ #13506]
56150         * time/tzfile.c (__tzfile_read): Check values from file header.
56152 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56154         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56155         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56156         * powerpc/powerpc32/dl-start.S: Likewise.
56157         * powerpc/powerpc32/elf/start.S: Likewise.
56158         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56159         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56160         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56161         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56162         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56163         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56164         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56165         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56166         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56167         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56168         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56169         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56170         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56171         * powerpc/powerpc32/memset.S: Likewise.
56172         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56173         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56174         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56175         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56176         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56177         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56178         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56179         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56180         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56181         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56182         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56183         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56184         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56186 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56188         * math/libm-test.inc: Added more nearbyint tests.
56189         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56190         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56191         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56192         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56194 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56196         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56197         FD_CLOEXEC.
56199 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56201         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56202         Add wcscpy-ssse3 wcscpy-c.
56203         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56204         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56205         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56206         * sysdeps/x86_64/wcschr.S: New file.
56207         * sysdeps/x86_64/wcsrchr.S: New file.
56208         * string/test-strcmp.c: Remove checking of wcscmp function for
56209         wrong alignments.
56210         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56211         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56212         wcsrchr-sse2 wcsrchr-c.
56213         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56214         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56215         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56216         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56217         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56218         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56219         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56220         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56221         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56222         * wcsmbc/wcschr.c (WCSCHR): New macro.
56224 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56226         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56227         * wcsmbs/test-wcsrchr.c: New file.
56228         * string/test-strrchr.c: Add wcsrchr support.
56229         (WIDE): New macro.
56230         * wcsmbs/test-wcscpy.c: New file.
56231         * string/test-strcpy.c: Add wcscpy support.
56232         (WIDE): New macro.
56234 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56236         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56237         the inner loop.
56239 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56241         [BZ #13472]
56242         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56244 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56246         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56247         Minor optimizations.
56249         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56250         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56251         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56253 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56255         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56256         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56257         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56258         for gcc to avoid warnings.
56259         * inet/Makefile (tests): Add tst-checks.
56260         * inet/tst-checks.c: New file.
56262         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56263         warning.
56265         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56266         __wmemcmp_sse2.
56268         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56269         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56271         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56273 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56275         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56276         problem.
56278         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56280 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56282         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56283         conditional on GCC version.
56284         (__arch_compare_and_exchange_val_8_acq)
56285         (__arch_compare_and_exchange_val_16_acq)
56286         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56287         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56288         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56290 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56292         * sysdeps/sh/backtrace.c: New file.
56294 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56296         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56297         parenthesis.
56299 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56301         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56302         falling back to utime.
56304 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56306         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56307         expectations for float.
56309 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56311         * locale/weight.h (findidx): Add parameter len.
56312         * locale/weightwc.h (findidx): Likewise.
56313         * posix/fnmatch_loop.c (FCT): Adjust caller.
56314         * posix/regcomp.c (build_equiv_class): Likewise.
56315         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56316         * posix/regexec.c (check_node_accept_bytes): Likewise.
56317         * string/strcoll_l.c (STRCOLL): Likewise.
56318         * string/strxfrm_l.c (STRXFRM): Likewise.
56320 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56322         * Makefile.in: Remove CVSOPT handling.
56323         * configure.in: Remove use of AC_REVISION.
56324         * iconvdata/Makefile (distribute): No need to filter out CVS.
56325         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56326         handling.
56328 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56331         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56332         [USE_AS_STRNCASECMP_L]: Likewise.
56333         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56334         NO_TLS_DIRECT_SEG_REFS.
56335         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56336         Fix argument offsets for non-PIC.
56337         [USE_AS_STRNCASECMP_L]: Likewise.
56338         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56339         NO_TLS_DIRECT_SEG_REFS.
56341 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56343         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56344         O_CLOEXEC.
56345         * locale/loadlocale.c (_nl_load_locale): Likewise.
56347 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56349         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56350         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56351         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56352         (SYSCALL_GETTIME): Set errno on error.
56354         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56355         count references to noai6ai_cached.
56357 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56359         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56361         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56362         FD_CLOEXEC for /proc/self/maps.
56364         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56365         FD_CLOEXEC for /proc/meminfo.
56367         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56368         gai.conf.
56370         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56371         FD_CLOEXEC for given file.
56373         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56375         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56376         FD_CLOEXEC for /etc/hosts.
56377         (_gethtent): Likewise.
56379         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56381         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56382         cancellation and set FD_CLOEXEC for /etc/netgroup.
56384         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56385         reading /etc/publickey.
56387         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56388         allow cancellation when reading /etc/group.
56390         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56391         cancellation.
56392         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56394         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56395         when using data file.
56397         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56399         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56400         (write_nis_obj): Use "c" and "e" in fopen.
56402         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56404         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56406         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56408         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56410         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56411         locale.alias.
56413         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56415         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56417         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56419         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56420         file parsing and set FD_CLOEXEC.
56422 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56424         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56426 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56428         * malloc/arena.c (arena_get2): Don't call reused_arena when
56429         _int_new_arena failed.
56431 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56433         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56434         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56436         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56437         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56438         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56439         to compile strcasecmp and strncasecmp.
56440         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56441         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56445 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56447         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56448         locale-defines.sym to gen-as-const-headers.
56449         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56450         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56451         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56452         to compile strcasecmp and strncasecmp.
56453         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56454         strcasecmp_l and strncasecmp_l.
56455         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56456         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56457         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56458         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56459         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56460         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56461         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56462         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56463         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56464         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56465         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56467 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56469         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56470         result of SYSDEP_GETTIME_CPU to retval.
56471         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56472         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56474         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56475         variable.
56477         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56478         mantissa words.
56479         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56481         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56482         from unused variable.
56484         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56485         DWARF definitions.
56486         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56487         for assembling.
56489         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56490         over namespaces.
56492         * sunrpc/rpc_prot.c (rejected): Fix case value.
56494         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56495         unsigned long long int to avoid warnings in shift.
56497         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56498         of use of trans.
56499         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56500         variable tmp.
56502         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56503         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56504         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56506         * nis/nis_table.c (nis_list): Use variable of correct type for
56507         result of __follow_path call.
56509 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56511         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56512         of math functions ceil, trunc, floor, round, and sqrt, when
56513         avaliable on the platform.
56514         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56515         name clash.
56516         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56517         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56518         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56520 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56522         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56523         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56525 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56527         * include/unistd.h: Fix __readlink return type.
56528         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56530 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56532         * stdlib/ucontext.h: Undo last change for makecontext.
56534 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56536         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56538         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56539         * setjmp/setjmp.h: Mark functions as non-leaf.
56540         * setjmp/bits/setjmp2.h: Likewise.
56541         * stdlib/ucontext.h: Likewise.
56543 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56545         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56546         (reused_arena): Don't check arena limit.
56547         (arena_get2): Atomically check arena limit.
56549 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56551         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56552         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56555         instructions.
56557 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56559         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56560         handler when locking.
56562         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56563         Fix size of allocated buffer.
56565 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56567         [BZ #10103]
56568         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56569         declarations for long double functions.
56570         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56572         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56574 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56576         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56577         installed.
56579         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56580         is disabled.
56582 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56584         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56586 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56588         * include/alloca.h (stackinfo_alloca_round): Define.
56589         (extend_alloca): Use it.
56590         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56591         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56592         here.
56594         * scripts/check-local-headers.sh: Ignore libaudit.h.
56596         * nscd/Makefile (extra-objs): Make recursively expanded.
56598 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56600         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56601         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56603         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56604         * posix/tst-rfc3484-2.c: Likewise.
56605         * posix/tst-rfc3484-3.c: Likewise.
56607         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56608         process_vm_writev.
56609         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56610         process_vm_writev.
56611         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56612         process_vm_writev from libc using GLIBC_2.15 version.
56614         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56616 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56618         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56619         stack usage.
56621 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56623         [BZ #13367]
56624         * nss/getent.c (initgroups_keys): Show error message in case no group
56625         names are given.
56627         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56628         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56629         __bump_nl_timestamp.
56630         * nscd/connections (nscd_init): When host database is served open
56631         netlink socket and request notification about configuration changes.
56632         (main_loop_poll): Track netlink file descriptor and bump timestamp
56633         in case data becomes available.
56634         (main_loop_epoll): Likewise.
56635         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56636         (database_pers_head): Add extra_data fileds.
56637         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56638         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56639         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56640         Adjust caller.
56641         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56642         in6ai data, call __free_in6ai.
56643         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56644         Add -DHAVE_NETLINK.
56645         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56646         interface information.  Reuse previous data if netlink timestamp
56647         is not changed.
56648         (__bump_nl_timestamp): New function.
56649         (__free_in6ai): New function.
56651 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56653         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56654         close_not_cancel_no_status here.
56655         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56657 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56659         [BZ #13276]
56660         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56661         return value.
56663         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56664         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56665         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56667 2011-07-03  Andreas Jaeger  <aj@suse.de>
56669         [BZ #10709]
56670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56671         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56672         * math/libm-test.inc (sin_test): Add test case.
56674 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56676         [BZ #13337]
56677         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56678         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56680         * elf/chroot_canon.c (chroot_canon): Cleanups.
56682         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56684         [BZ #13335]
56685         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56686         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56688         * string/test-strchr.c: Make usable for strchrnul testing.
56689         * string/test-strchrnul.c: New file.
56690         * string/Makefile (strop-tests): Add strchrnul.
56692         * po/it.po: Update from translation team.
56693         * po/es.po: Likewise.
56695 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56697         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56698         the three constants needed as parameters.  Drop the others.
56699         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56700         __m128i_strloadu_tolower.
56701         Create and initialize variable zero and use it in all the places
56702         where _mm_setzero_si128 was used.
56704         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56705         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56706         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56707         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56708         anymore.
56709         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56710         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56711         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56712         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56713         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56714         __mpranred, __mptan.
56715         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56716         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56717         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56718         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56719         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56720         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56721         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56722         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56723         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56725 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56727         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56728         redefine if SHARED.
56729         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56732         wide char related routines to wcsmbs subdir.
56734 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56736         [BZ #13344]
56737         * misc/sys/cdefs.h (__THROWNL): Define.
56738         * posix/unistd.h: Use __THREADNL instead of __THREAD
56739         for memory synchronization functions.
56741 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56743         [BZ #13349]
56744         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56745         doesn't exist.
56746         * manual/stdio.texi (Obstack Streams): Node removed.
56748 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56750         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56751         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56752         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56754         * math/math_private.h (math_force_eval): Allow non-addressable
56755         arguments.
56756         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56758 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56760         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56761         file is not needed.
56763         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56764         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56765         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56766         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56767         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56768         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56769         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56770         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56771         Add AVX variants.
56772         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56773         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56774         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56775         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56776         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56777         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56778         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56779         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56780         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56781         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56782         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56783         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56784         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56785         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56786         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56787         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56788         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56789         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56790         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56792         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56793         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56795         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56796         place.  Use VEX encoding when compiling for AVX.
56798 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56800         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56801         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56803         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56805 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56807         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56808         useless if() expression.
56809         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56810         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56811         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56812         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56816         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56818         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56819         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56820         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56821         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56822         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56823         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56824         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56826         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56827         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56829         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56831 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56833         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56834         condition.
56835         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56837 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56839         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56840         .text section.  Avoid duplicate constants.
56841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56843         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56844         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56845         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56848         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56849         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56850         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56851         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56852         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56853         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56854         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56856         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56857         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56858         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56861         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56862         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56864         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56865         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56866         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56867         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56868         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56869         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56870         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56871         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56872         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56873         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56874         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56875         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56876         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56877         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56878         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56879         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56880         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56881         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56882         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56883         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56884         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56885         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56887 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56889         * sysdeps/x86_64/dla.h: Move to ...
56890         * sysdeps/x86_64/fpu/dla.h: ...here.
56891         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56892         situations.  Use __builtin_fma only for gcc 4.6 and up.
56894         * config.make.in: Add have-mfma4 entry.
56895         * configure.in: Substitute libc_cv_cc_fma4.
56896         * math/Makefile (dbl-only-routines): Add sincostab.
56897         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56898         Use __sincostab not sincos.
56899         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56900         name is a macro.
56901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56905         using __copysign.
56906         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56907         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56908         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56909         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56910         and __inv.
56911         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56912         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56913         __copysign.
56914         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56915         define aliases when function name is a macro.
56916         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56917         sysdeps/ieee754/dbl-64/sincos.tbl.
56918         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56919         fma4-enabled routines.
56920         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56921         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56922         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56923         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56924         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56925         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56926         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56927         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56928         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56929         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56930         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56931         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56932         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56933         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56934         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56935         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56936         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56937         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56938         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56939         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56940         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56941         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56942         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56943         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56944         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56945         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56946         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56947         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56948         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56949         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56951         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56952         rename.
56953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56954         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56958         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56959         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56960         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56962 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56964         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56966 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56968         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56970         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56971         prediction.
56972         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56974         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56975         Remove unused variable magic_bits.
56976         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56978         * string/strnlen.c: Define and use STRNLEN macro.
56979         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56980         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56982         * wcsmbs/wcslen.c: Define and use WCSLEN.
56983         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56984         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56985         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56986         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56987         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56988         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56989         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56991 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56994         strnlen-sse2-no-bsf.
56995         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56996         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56997         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56998         Add strnlen support.
56999         (USE_AS_STRNLEN): New macro.
57000         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57001         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57002         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57003         * sysdeps/x86_64/wcslen.S: New file.
57005 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57007         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57008         XMM-moves are used for copying on small sizes.
57010 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57012         * wcsmbs/Makefile (strop-tests): Add wcschr.
57013         * wcsmbs/test-wcschr.c: New file.
57014         * string/test-strchr.c: Update.
57015         Add wcschr support.
57016         (WIDE): New macro.
57018 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57020         * wcsmbs/Makefile (strop-tests): Add wcslen.
57021         * wcsmbs/test-wcslen.c: New file.
57022         * string/test-strlen.c: Update.
57023         Add wcslen support.
57024         (WIDE): New macro.
57026 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57028         * po/it.po: Update from translation team.
57030 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57032         * sysdeps/x86_64/wcscmp.S: Update.
57033         Fix wrong comparison semantics.
57034         wcscmp shall use signed comparison not unsigned.
57035         Don't use substraction to avoid overflow bug.
57036         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57037         * wcsmbc/wcscmp.c: Likewise.
57038         * string/test-strcmp.c: Likewise.
57039         Add new tests to check cases with negative values.
57041 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57043         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57044         * sysdeps/x86_64/dla.h: ...here.  New file.
57045         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57046         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57052         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57053         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57055 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57058         __ynl_finite aliases.
57060 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57064         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57065         define DLA_FMA.
57066         [DLA_FMA] (EMULV): Use DLA_FMA.
57067         [DLA_FMA] (MUL12): Use EMULV.
57068         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57069         that are not needed.
57070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57076         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57078 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57080         * math/s_nan.c: Undef __nan.
57081         * math/s_nanf.c: Undef __nanf.
57082         * math/s_nanl.c: Undef __nanl.
57083         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57084         "math_private.h".
57086 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57088         * math/s_catan.c: Add branch predictions.
57089         * math/s_catanf.c: Likewise.
57090         * math/s_catanh.c: Likewise.
57091         * math/s_catanhf.c: Likewise.
57092         * math/s_catanhl.c: Likewise.
57093         * math/s_catanl.c: Likewise.
57094         * math/s_cexp.c: Likewise.
57095         * math/s_cexpf.c: Likewise.
57096         * math/s_cexpl.c: Likewise.
57097         * math/s_clog.c: Likewise.
57098         * math/s_clog10.c: Likewise.
57099         * math/s_clog10f.c: Likewise.
57100         * math/s_clog10l.c: Likewise.
57101         * math/s_clogf.c: Likewise.
57102         * math/s_clogl.c: Likewise.
57103         * math/s_csqrt.c: Likewise.
57104         * math/s_csqrtf.c: Likewise.
57105         * math/s_csqrtl.c: Likewise.
57106         * math/s_ctanf.c: Likewise.
57107         * math/s_ctanh.c: Likewise.
57108         * math/s_ctanhf.c: Likewise.
57109         * math/s_ctanhl.c: Likewise.
57110         * math/s_ctanl.c: Likewise.
57112         * math/math_private.h: Define __nan, __nanf, __nanl.
57113         * math/s_cacosh.c: Include <math_private.h>.
57114         * math/s_cacoshl.c: Likewise.
57115         * math/s_casinh.c: Likewise.
57116         * math/s_casinhf.c: Likewise.
57117         * math/s_casinhl.c: Likewise.
57118         * math/s_ccos.c: Rely entire on ccosh.
57119         * math/s_ccosf.c: Rely entire on ccoshf.
57120         * math/s_ccosl.c: Rely entirely on ccoshl.
57121         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57122         Remove tests for FE_INVALID.
57123         * math/s_ccoshf.c: Likewise.
57124         * math/s_ccoshl.c: Likewise.
57125         * math/s_csin.c: Likewise.
57126         * math/s_csinf.c: Likewise.
57127         * math/s_csinh.c Likewise.
57128         * math/s_csinhf.c: Likewise.
57129         * math/s_csinhl.c: Likewise.
57130         * math/s_csinl.c: Likewise.
57131         * math/s_ctan.c: Likewise.
57132         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57133         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57134         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57136 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57139         compilation problems.
57141         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57142         __builtin_expect.
57144 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57146         * sysdeps/i386/configure.in: Test for -mfma4 option.
57147         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57148         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57149         COMMON_CPUID_INDEX_80000001.
57150         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57151         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57152         use it if FMA3 is not supported.
57153         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57155         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57156         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57158 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57160         [BZ #12892]
57161         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57162         it would create a cycle with a link time dependency.
57164 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57166         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57167         instruction.
57168         * string/Makefile (strop-tests): Add rawmemchr.
57169         * string/test-rawmemchr.c: New file.
57171         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57173         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57174         when compiling str{,n}casecmp and when AVX is available.  Hook up
57175         new optimized code in initializers.
57177 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57179         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57180         __feraiseexcept instead of feraiseexcept.
57182 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57184         * math/math_private.h: Define defaults for libc_fetestexcept and
57185         libc_feupdateenv.
57186         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57187         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57188         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57189         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57190         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57191         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57192         libc_fetestexcept and libc_feupdateenv.
57194         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57195         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57196         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57197         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57198         libc_feholdexcept_setround.
57200         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57201         Add s_nearbyint-c and s_nearbyintf-c.
57202         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57203         nearbyintf inlines.
57204         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57205         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57206         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57207         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57209         * math/math_private.h: Define defaults for libc_fegetround,
57210         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57211         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57212         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57213         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57214         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57215         standard functions.
57216         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57217         Remove comments and hacks for old compiler versions.
57218         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57219         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57220         libc_feholdexceptl.
57222 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57224         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57225         (__feraiseexcept_renamed): Add __NTH.
57226         (feraiseexcept): Add __NTH.  Rename local variables to fix
57227         namespace violations.
57229 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57231         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57233         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57235         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57236         recently added interfaces.
57237         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57239         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57240         about macro parameter expansion.
57242         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57243         __NO_MATH_INLINES is defined.  Cleanups.
57245         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57246         and __floorf is target has SSE4.1.
57247         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57248         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57249         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57250         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57252         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57253         name.
57254         (floorf): Likewise.
57256         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57258 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57260         * misc/sys/cdefs.h: Fix last change.
57262         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57263         database lookup.
57265 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57267         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57269         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57270         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57271         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57272         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57273         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57274         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57275         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57276         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57277         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57278         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57279         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57280         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57281         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57282         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57283         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57284         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57285         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57286         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57287         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57288         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57289         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57290         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57292         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57293         ceil, ceilf, floor, floorf.
57295         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57296         Perform IRELATIVE relocations last.
57298         * elf/do-rel.h: Add another parameter nrelative, replacing the
57299         local variable with the same name.  Change name of the function
57300         to end in Rel or Rela (uppercase).
57301         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57302         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57303         elf_dynamic_do_##reloc function.
57305 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57307         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57308         is sufficient, at least on modern CPUs.
57310         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57312         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57313         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57315         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57316         __expl_finite.
57317         * math/bits/math-finite.h: Add entries for exp.
57318         * math/e_expl.c: Add __*_finite alias.
57319         * sysdeps/i386/fpu/e_exp.S: Likewise.
57320         * sysdeps/i386/fpu/e_expf.S: Likewise.
57321         * sysdeps/i386/fpu/e_expl.c: Likewise.
57322         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57323         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57324         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57325         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57326         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57327         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57328         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57330         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57331         is sufficient, at least on modern CPUs.
57333         * ctype/ctype-info.c (__ctype_init): Define.
57334         * include/ctype.h (__ctype_init): Declare.
57335         (__ctype_b_loc): The variable is always initialized.
57336         (__ctype_toupper_loc): Likewise.
57337         (__ctype_tolower_loc): Likewise.
57338         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57339         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57341 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57343         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57345         * configure.in: Also look in $cxxmachine/include for C++ system
57346         headers.
57348 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57350         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57351         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57352         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57353         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57354         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57355         (USE_AS_WMEMCMP): New macro.
57356         Fixing indents.
57357         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57358         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57359         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57360         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57362         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57363         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57364         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57365         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57366         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57367         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57368         (USE_AS_WMEMCMP): New macro.
57369         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57370         * sysdeps/string/test-memcmp.c: Update.
57371         Fix simple_wmemcmp.
57372         Add new tests.
57373         * wcsmbs/wmemcmp.c: Update.
57374         (WMEMCMP): New macro.
57375         Fix overflow bug.
57377 2011-10-12  Andreas Jaeger  <aj@suse.de>
57379         [BZ #13268]
57380         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57382 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57384         * libio/iofwide.c (do_length): Avoid warning.
57386         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57388 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57390         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57392         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57393         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57394         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57395         * sysdeps/i386/i686/fpu/e_log.S: New file.
57396         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57397         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57399         * ctype/ctype.h: Add support for inlined isXXX functions when
57400         compiling C++ code.
57402 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57404         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57406         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57408 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57410         [BZ #13291]
57411         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57413 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57415         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57416         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57417         feraiseexcept.
57419         * sysdeps/x86_64/memrchr.S: Check for zero size.
57421         * string/stratcliff.c: Add memrchr tests.
57423 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57426         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57427         rawmemchr-sse2 rawmemchr-sse2-bsf.
57428         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57429         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57430         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57431         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57432         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57433         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57434         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57435         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57436         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57437         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57438         * string/memrchr.c (MEMRCHR): New macro.
57440 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57442         Add integration with gcc's -ffinite-math-only and optimize wrapper
57443         functions in libm.
57444         * Versions.def: Define GLIBC_2.15 version for libm.
57445         * math/Makefile (headers): Add bits/math-finite.h.
57446         * math/bits/math-finite.h: New file.
57447         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57448         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57449         * math/e_acoshl.c: Add __*_finite alias.
57450         * math/e_acosl.c: Likewise.
57451         * math/e_asinl.c: Likewise.
57452         * math/e_atan2l.c: Likewise.
57453         * math/e_atanhl.c: Likewise.
57454         * math/e_coshl.c: Likewise.
57455         * math/e_exp10.c: Likewise.
57456         * math/e_exp10f.c: Likewise.
57457         * math/e_exp10l.c: Likewise.
57458         * math/e_exp2l.c: Likewise.
57459         * math/e_fmodl.c: Likewise.
57460         * math/e_gammal_r.c: Likewise.
57461         * math/e_hypotl.c: Likewise.
57462         * math/e_j0l.c: Likewise.
57463         * math/e_j1l.c: Likewise.
57464         * math/e_jnl.c: Likewise.
57465         * math/e_lgammal_r.c: Likewise.
57466         * math/e_log10l.c: Likewise.
57467         * math/e_log2l.c: Likewise.
57468         * math/e_logl.c: Likewise.
57469         * math/e_powl.c: Likewise.
57470         * math/e_sinhl.c: Likewise.
57471         * math/e_sqrtl.c: Likewise.
57472         * math/e_scalb.c: Completely rewritten and optimized.
57473         * math/e_scalbf.c: Likewise.
57474         * math/e_scalbl.c: Likewise.
57475         * math/w_acos.c: Likewise.
57476         * math/w_acosf.c: Likewise.
57477         * math/w_acosl.c: Likewise.
57478         * math/w_acosh.c: Likewise.
57479         * math/w_acoshf.c: Likewise.
57480         * math/w_acoshl.c: Likewise.
57481         * math/w_asin.c: Likewise.
57482         * math/w_asinf.c: Likewise.
57483         * math/w_asinl.c: Likewise.
57484         * math/w_atan2.c: Likewise.
57485         * math/w_atan2f.c: Likewise.
57486         * math/w_atan2l.c: Likewise.
57487         * math/w_atanh.c: Likewise.
57488         * math/w_atanhf.c: Likewise.
57489         * math/w_atanhl.c: Likewise.
57490         * math/w_exp10.c: Likewise.
57491         * math/w_exp10f.c: Likewise.
57492         * math/w_exp10l.c: Likewise.
57493         * math/w_fmod.c: Likewise.
57494         * math/w_fmodf.c: Likewise.
57495         * math/w_fmodl.c: Likewise.
57496         * math/w_j0.c: Likewise.
57497         * math/w_j0f.c: Likewise.
57498         * math/w_j0l.c: Likewise.
57499         * math/w_j1.c: Likewise.
57500         * math/w_j1f.c: Likewise.
57501         * math/w_j1l.c: Likewise.
57502         * math/w_jn.c: Likewise.
57503         * math/w_jnf.c: Likewise.
57504         * math/w_log.c: Likewise.
57505         * math/w_logf.c: Likewise.
57506         * math/w_logl.c: Likewise.
57507         * math/w_log10.c: Likewise.
57508         * math/w_log10f.c: Likewise.
57509         * math/w_log10l.c: Likewise.
57510         * math/w_log2.c: Likewise.
57511         * math/w_log2f.c: Likewise.
57512         * math/w_log2l.c: Likewise.
57513         * math/w_pow.c: Likewise.
57514         * math/w_powf.c: Likewise.
57515         * math/w_powl.c: Likewise.
57516         * math/w_remainder.c: Likewise.
57517         * math/w_remainderf.c: Likewise.
57518         * math/w_remainderl.c: Likewise.
57519         * math/w_scalb.c: Likewise.
57520         * math/w_scalbf.c: Likewise.
57521         * math/w_scalbl.c: Likewise.
57522         * math/w_sqrt.c: Likewise.
57523         * math/w_sqrtf.c: Likewise.
57524         * math/w_sqrtl.c: Likewise.
57525         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57526         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57527         used.
57528         * math/math_private.h: Declare __kernel_standard_f.
57529         * math/w_cosh.c: Remove cruft and optimize a bit.
57530         * math/w_coshf.c: Likewise.
57531         * math/w_coshl.c: Likewise.
57532         * math/w_exp2.c: Likewise.
57533         * math/w_exp2f.c: Likewise.
57534         * math/w_exp2l.c: Likewise.
57535         * math/w_hypot.c: Likewise.
57536         * math/w_hypotf.c: Likewise.
57537         * math/w_hypotl.c: Likewise.
57538         * math/w_lgamma.c: Likewise.
57539         * math/w_lgamma_r.c: Likewise.
57540         * math/w_lgammaf.c: Likewise.
57541         * math/w_lgammaf_r.c: Likewise.
57542         * math/w_lgammal.c: Likewise.
57543         * math/w_lgammal_r.c: Likewise.
57544         * math/w_sinh.c: Likewise.
57545         * math/w_sinhf.c: Likewise.
57546         * math/w_sinhl.c: Likewise.
57547         * math/w_tgamma.c: Likewise.
57548         * math/w_tgammaf.c: Likewise.
57549         * math/w_tgammal.c: Likewise.
57550         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57551         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57552         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57553         Minor optimizations.  Pretty printing.  Remove cruft.
57554         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57555         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57556         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57557         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57558         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57559         * sysdeps/i386/fpu/e_asin.S: Likewise.
57560         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57561         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57562         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57563         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57564         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57565         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57566         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57567         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57568         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57569         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57570         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57571         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57572         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57573         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57574         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57575         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57576         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57577         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57578         * sysdeps/i386/fpu/e_log.S: Likewise.
57579         * sysdeps/i386/fpu/e_log10.S: Likewise.
57580         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57581         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57582         * sysdeps/i386/fpu/e_log2.S: Likewise.
57583         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57584         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57585         * sysdeps/i386/fpu/e_logf.S: Likewise.
57586         * sysdeps/i386/fpu/e_logl.S: Likewise.
57587         * sysdeps/i386/fpu/e_pow.S: Likewise.
57588         * sysdeps/i386/fpu/e_powf.S: Likewise.
57589         * sysdeps/i386/fpu/e_powl.S: Likewise.
57590         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57591         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57592         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57593         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57594         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57595         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57596         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57597         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57598         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57599         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57600         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57602         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57603         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57604         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57605         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57606         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57607         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57608         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57609         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57610         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57612         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57613         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57615         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57616         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57617         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57618         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57619         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57620         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57621         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57622         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57623         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57624         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57625         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57626         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57627         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57628         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57629         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57630         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57631         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57632         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57633         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57634         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57635         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57636         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57637         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57638         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57639         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57640         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57641         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57642         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57643         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57644         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57645         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57646         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57647         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57648         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57649         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57650         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57651         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57652         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57654         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57655         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57656         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57657         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57658         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57659         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57660         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57661         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57663         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57664         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57667         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57669         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57677         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57678         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57679         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57680         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57682         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57683         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57684         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57685         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57686         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57687         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57688         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57689         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57690         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57691         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57692         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57693         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57694         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57695         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57696         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57697         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57698         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57699         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57700         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57701         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57702         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57704         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57705         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57706         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57707         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57708         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57709         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57710         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57711         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57712         (__isnanf): Likewise.
57713         (__isinf_ns): Likewise.
57714         (__isinf_nsf): Likewise.
57715         (__finite): Likewise.
57716         (__finitef): Likewise.
57717         (__ieee754_sqrt): Define as macro.
57718         (__ieee754_sqrtf): Define as macro.
57719         (__ieee754_sqrtl): Define as macro.
57720         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57721         inlined copy.
57722         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57723         __FINITE_MATH_ONLY__ consistent.
57724         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57726 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57728         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57729         of rawmemchr.
57731         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57733 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57735         * po/ja.po: Update from translation team.
57737 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57739         * locale/programs/locarchive.c (prepare_address_space): New function.
57740         (create_archive, enlarge_archive, open_archive): Use it.
57742         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57743         inside [SHARED], where it is used.
57745         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57747         * nss/getent.c (netgroup_keys): Remove unused variable.
57748         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57750 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57752         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57753         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57755         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57756         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57757         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57758         * math/Makefile (libm-calls): Add s_isinf_ns.
57759         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57760         * math/multc3.c: Likewise.
57761         * math/s_casin.c: Likewise.
57762         * math/s_casinf.c: Likewise.
57763         * math/s_casinl.c: Likewise.
57764         * math/s_ccos.c: Likewise.
57765         * math/s_ccosf.c: Likewise.
57766         * math/s_ccosl.c: Likewise.
57767         * math/s_ctan.c: Likewise.
57768         * math/s_ctanf.c: Likewise.
57769         * math/s_ctanh.c: Likewise.
57770         * math/s_ctanhf.c: Likewise.
57771         * math/s_ctanhl.c: Likewise.
57772         * math/s_ctanl.c: Likewise.
57773         * math/w_fmod.c: Likewise.
57774         * math/w_fmodf.c: Likewise.
57775         * math/w_fmodl.c: Likewise.
57776         * math/w_remainder.c: Likewise.
57777         * math/w_remainderf.c: Likewise.
57778         * math/w_remainderl.c: Likewise.
57779         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57780         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57781         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57783         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57784         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57785         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57786         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57788         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57789         of the number.
57790         * stdio-common/printf_fphex.c: Likewise.
57791         * stdio-common/printf_size.c: Likewise.
57793         * math/e_exp10.c: Include math_private.h using <...> not "...".
57794         * math/e_exp10f.c: Likewise.
57795         * math/e_exp10l.c: Likewise.
57796         * math/e_exp2l.c: Likewise.
57797         * math/e_j0l.c: Likewise.
57798         * math/e_j1l.c: Likewise.
57799         * math/e_jnl.c: Likewise.
57800         * math/e_lgammal_r.c: Likewise.
57801         * math/e_rem_pio2l.c: Likewise.
57802         * math/e_scalb.c: Likewise.
57803         * math/e_scalbf.c: Likewise.
57804         * math/e_scalbl.c: Likewise.
57805         * math/k_cosl.c: Likewise.
57806         * math/k_sinl.c: Likewise.
57807         * math/k_tanl.c: Likewise.
57808         * math/s_cacoshf.c: Likewise.
57809         * math/s_catan.c: Likewise.
57810         * math/s_catanf.c: Likewise.
57811         * math/s_catanh.c: Likewise.
57812         * math/s_catanhf.c: Likewise.
57813         * math/s_catanhl.c: Likewise.
57814         * math/s_catanl.c: Likewise.
57815         * math/s_ccosh.c: Likewise.
57816         * math/s_ccoshf.c: Likewise.
57817         * math/s_ccoshl.c: Likewise.
57818         * math/s_cexp.c: Likewise.
57819         * math/s_cexpf.c: Likewise.
57820         * math/s_cexpl.c: Likewise.
57821         * math/s_clog.c: Likewise.
57822         * math/s_clog10.c: Likewise.
57823         * math/s_clog10f.c: Likewise.
57824         * math/s_clog10l.c: Likewise.
57825         * math/s_clogf.c: Likewise.
57826         * math/s_clogl.c: Likewise.
57827         * math/s_csin.c: Likewise.
57828         * math/s_csinf.c: Likewise.
57829         * math/s_csinh.c: Likewise.
57830         * math/s_csinhf.c: Likewise.
57831         * math/s_csinhl.c: Likewise.
57832         * math/s_csinl.c: Likewise.
57833         * math/s_csqrt.c: Likewise.
57834         * math/s_csqrtf.c: Likewise.
57835         * math/s_csqrtl.c: Likewise.
57836         * math/s_ctan.c: Likewise.
57837         * math/s_ctanf.c: Likewise.
57838         * math/s_ctanh.c: Likewise.
57839         * math/s_ctanhf.c: Likewise.
57840         * math/s_ctanhl.c: Likewise.
57841         * math/s_ctanl.c: Likewise.
57842         * math/s_ldexp.c: Likewise.
57843         * math/s_ldexpf.c: Likewise.
57844         * math/s_ldexpl.c: Likewise.
57845         * math/s_significand.c: Likewise.
57846         * math/s_significandf.c: Likewise.
57847         * math/s_significandl.c: Likewise.
57848         * math/w_acos.c: Likewise.
57849         * math/w_acosf.c: Likewise.
57850         * math/w_acosh.c: Likewise.
57851         * math/w_acoshf.c: Likewise.
57852         * math/w_acoshl.c: Likewise.
57853         * math/w_acosl.c: Likewise.
57854         * math/w_asin.c: Likewise.
57855         * math/w_asinf.c: Likewise.
57856         * math/w_asinl.c: Likewise.
57857         * math/w_atan2.c: Likewise.
57858         * math/w_atan2f.c: Likewise.
57859         * math/w_atan2l.c: Likewise.
57860         * math/w_atanh.c: Likewise.
57861         * math/w_atanhf.c: Likewise.
57862         * math/w_atanhl.c: Likewise.
57863         * math/w_cosh.c: Likewise.
57864         * math/w_coshf.c: Likewise.
57865         * math/w_coshl.c: Likewise.
57866         * math/w_dremf.c: Likewise.
57867         * math/w_exp10.c: Likewise.
57868         * math/w_exp10f.c: Likewise.
57869         * math/w_exp10l.c: Likewise.
57870         * math/w_exp2.c: Likewise.
57871         * math/w_exp2f.c: Likewise.
57872         * math/w_fmod.c: Likewise.
57873         * math/w_fmodf.c: Likewise.
57874         * math/w_fmodl.c: Likewise.
57875         * math/w_hypot.c: Likewise.
57876         * math/w_hypotf.c: Likewise.
57877         * math/w_hypotl.c: Likewise.
57878         * math/w_j0.c: Likewise.
57879         * math/w_j0f.c: Likewise.
57880         * math/w_j0l.c: Likewise.
57881         * math/w_j1.c: Likewise.
57882         * math/w_j1f.c: Likewise.
57883         * math/w_j1l.c: Likewise.
57884         * math/w_jn.c: Likewise.
57885         * math/w_jnf.c: Likewise.
57886         * math/w_jnl.c: Likewise.
57887         * math/w_lgamma.c: Likewise.
57888         * math/w_lgamma_r.c: Likewise.
57889         * math/w_lgammaf.c: Likewise.
57890         * math/w_lgammaf_r.c: Likewise.
57891         * math/w_lgammal.c: Likewise.
57892         * math/w_lgammal_r.c: Likewise.
57893         * math/w_log.c: Likewise.
57894         * math/w_log10.c: Likewise.
57895         * math/w_log10f.c: Likewise.
57896         * math/w_log10l.c: Likewise.
57897         * math/w_log2.c: Likewise.
57898         * math/w_log2f.c: Likewise.
57899         * math/w_log2l.c: Likewise.
57900         * math/w_logf.c: Likewise.
57901         * math/w_logl.c: Likewise.
57902         * math/w_pow.c: Likewise.
57903         * math/w_powf.c: Likewise.
57904         * math/w_powl.c: Likewise.
57905         * math/w_remainder.c: Likewise.
57906         * math/w_remainderf.c: Likewise.
57907         * math/w_remainderl.c: Likewise.
57908         * math/w_scalb.c: Likewise.
57909         * math/w_scalbf.c: Likewise.
57910         * math/w_scalbl.c: Likewise.
57911         * math/w_sinh.c: Likewise.
57912         * math/w_sinhf.c: Likewise.
57913         * math/w_sinhl.c: Likewise.
57914         * math/w_sqrt.c: Likewise.
57915         * math/w_sqrtf.c: Likewise.
57916         * math/w_sqrtl.c: Likewise.
57917         * math/w_tgamma.c: Likewise.
57918         * math/w_tgammaf.c: Likewise.
57919         * math/w_tgammal.c: Likewise.
57921         * po/ja.po: Update from translation team.
57923 2011-09-29  Andreas Jaeger  <aj@suse.de>
57925         [BZ #13179]
57926         * sunrpc/netname.c (netname2host): Fix logic.
57928         [BZ #6779]
57929         [BZ #6783]
57930         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57931         correctly.
57932         * math/w_remainder.c (__remainder): Likewise.
57933         * math/w_remainderf.c (__remainderf): Likewise.
57934         * math/libm-test.inc (remainder_test): Add test cases.
57936 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57938         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57939         sdiv_qrnnd.
57941 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57943         * string/test-memcmp.c: Avoid unncessary #defines.
57944         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57946 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57948         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57949         Use new sse2 version for core i3 - i7 as it's faster
57950         than sse42 version.
57951         (bit_Prefer_PMINUB_for_stringop): New.
57952         * sysdeps/x86_64/rawmemchr.S: Update.
57953         Replace with faster SSE2 version.
57954         * sysdeps/x86_64/memrchr.S: New file.
57955         * sysdeps/x86_64/memchr.S: Update.
57956         Replace with faster SSE2 version.
57958 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57960         * elf/dl-load.c (lose): Add cast to avoid warning.
57962 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57964         * po/ca.po: Update from translation team.
57966         * inet/getnetgrent_r.c: Hook up nscd.
57967         * nscd/Makefile (routines): Add nscd_netgroup.
57968         (nscd-modules): Add netgroupcache.
57969         (CFLAGS-netgroupcache.c): Define.
57970         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57971         (cache_search): Add const to second parameter.
57972         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57973         INNETGR.
57974         (dbs): Add netgrdb entry.
57975         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57976         (verify_persistent_db): Handle netgrdb.
57977         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57978         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57979         GETFDNETGR.
57980         (netgroup_response_header): Define.
57981         (innetgroup_response_header): Define.
57982         (datahead): Add netgroup_response_header and innetgroup_response_header
57983         elements.
57984         * nscd/nscd.conf: Add entries for netgroup cache.
57985         * nscd/nscd.h (dbtype): Add netgrdb.
57986         (_PATH_NSCD_NETGROUP_DB): Define.
57987         (netgroup_iov_disabled): Declare.
57988         (xmalloc, xcalloc, xrealloc): Move declarations here.
57989         (cache_search): Adjust prototype.
57990         Add netgroup-related prototypes.
57991         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57992         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57993         (__nscd_innetgr): Declare.
57994         * nscd/selinux.c (perms): Use access_vector_t as element type and
57995         add netgroup-related initializers.
57996         * nscd/netgroupcache.c: New file.
57997         * nscd/nscd_netgroup.c: New file.
57998         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57999         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58000         For four parameters use innetgr.
58001         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58002         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58003         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58004         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58006         * nscd/connections.c (register_traced_file): Don't register file
58007         for disabled databases.
58009 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58011         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58013         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58014         from tree and freeing node.
58016 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58018         * nss/nsswitch.c (__nss_database_lookup): Handle
58019         nss_parse_service_list out of memory case.
58021 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58023         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58024         out of memory case.
58026 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58028         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58029         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58030         pass it down.
58031         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58032         elf_machine_rela, elf_machine_lazy_rel.
58033         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58034         (ELF_DYNAMIC_DO_REL): Likewise.
58035         (ELF_DYNAMIC_DO_RELA): Likewise.
58036         (ELF_DYNAMIC_RELOCATE): Likewise.
58037         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58038         to ELF_DYNAMIC_DO_REL.
58039         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58040         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58041         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58042         elf_machine_rela.
58043         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58044         skip_ifunc, don't call ifunc function if non-zero.
58045         (elf_machine_rela): Likewise.
58046         (elf_machine_lazy_rel): Likewise.
58047         (elf_machine_lazy_rela): Likewise.
58048         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58049         (elf_machine_lazy_rel): Likewise.
58050         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58051         Likewise.
58052         (elf_machine_lazy_rel): Likewise.
58053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58054         Likewise.
58055         (elf_machine_lazy_rel): Likewise.
58056         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58057         (elf_machine_lazy_rel): Likewise.
58058         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58059         (elf_machine_lazy_rel): Likewise.
58060         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58061         (elf_machine_lazy_rel): Likewise.
58062         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58063         (elf_machine_lazy_rel): Likewise.
58064         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58065         (elf_machine_lazy_rel): Likewise.
58066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58067         (elf_machine_lazy_rel): Likewise.
58069 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58071         * nss/nss_files/files-init.c (_nss_files_init): Use static
58072         initialization for all the *_traced_file variables.
58074 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58076         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58078 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58080         [BZ #13226]
58081         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58083 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58085         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58086         Reread the line before reparsing it.
58088 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58090         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58092 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58093             Maxim Kuvyrkov  <maxim@codesourcery.com>
58094             Joseph Myers  <joseph@codesourcery.com>
58096         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58097         if needed for __stack_chk_guard.
58099 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58101         * sysdeps/posix/spawni.c (script_execute): Always define it.
58102         It will be optimized away if unused.
58103         (maybe_script_execute): New function.
58104         (__spawni): Call it.
58106         * Makerules: Don't include tls.make.
58107         (config-tls): Always set to thread.
58108         * tls.make.c: File removed.
58110 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58112         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58113         * config.make.in (CPPFLAGS-config): New substituted variable.
58115 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58117         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58119         [BZ #13192]
58120         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58121         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58123 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58125         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58126         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58127         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58128         (CALL_FAIL): Likewise.
58129         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58130         (CALL_FAIL): Macro removed.
58131         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58133 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58135         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58136         for __FINITE_MATH_ONLY__ == 1.
58138 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58140         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58141         __ieee754_sqrt instead of sqrt.
58142         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58143         __ieee754_sqrtf instead of sqrtf.
58144         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58145         __floorf instead of floorf.
58146         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58147         __floorf, __truncf instead of floorf, truncf.
58149 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58151         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58153         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58154         __extern_always_inline.
58155         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58156         32-bit.
58158 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58160         * elf/rtld.c (dl_main): Also relocate in dependency order when
58161         doing symbol dependency testing.
58163 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58165         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58166         Always define `refsym'.
58168 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58170         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58171         (__FD_ELT): Renamed from __FDELT.
58172         * misc/bits/select2.h (__FD_ELT): Likewise.
58173         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58174         __FD_MASK instead of __FDELT, __FDMASK.
58175         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58176         Likewise.
58177         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58178         Likewise.
58180         * elf/Makefile (gen-ldd): Fix pattern.
58182         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58183         (init_tls): Likewise.
58185 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58189 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58191         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58192         `struct cmsghdr *' instead of `void *'.
58193         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58194         Likewise.
58196 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58198         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58199         if non-absolute.
58200         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58201         ldd_rewrite_script.
58203 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58205         * configure.in: Remove --with-tls option.
58206         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58207         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58208         out in case it is missing.
58209         * sysdeps/ia64/elf/configure.in: Likewise.
58210         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58211         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58212         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58213         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58214         * sysdeps/sh/elf/configure.in: Likewise.
58215         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58216         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58217         * sysdeps/x86_64/elf/configure.in: Likewise.
58218         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58219         * sysdeps/mach/hurd/tls.h: Likewise.
58221         [BZ #13067]
58222         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58224         [BZ #13090]
58225         * configure.in: Fix use of AC_INIT.
58227         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58229 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58231         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58232         __set_errno.
58233         * malloc/hooks.c: Likewise.
58235         [BZ #11929]
58236         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58237         variables statically.
58238         (narenas): Initialize.
58239         (list_lock): Initialize.
58240         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58241         initializtion of main_arena and list_lock.  Small cleanups.
58242         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58243         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58244         Add initializers to main_arena and mp_.
58245         (malloc_state): Remove pagesize member.  Change all users to use
58246         GLRO(dl_pagesize).
58248         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58249         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58250         is always initialized.
58252         * malloc/malloc.c: Removed unused configurations and dead code.
58253         * malloc/arena.c: Likewise.
58254         * malloc/hooks.c: Likewise.
58255         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58257         * include/tls.h: Removed.  USE___THREAD must always be defined.
58258         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58259         * elf/dl-libc.c: Likewise.
58260         * elf/dl-tsd.c: Likewise.
58261         * include/errno.h: Likewise.
58262         * include/netdb.h: Likewise.
58263         * include/resolv.h: Likewise.
58264         * inet/herrno-loc.c: Likewise.
58265         * inet/herrno.c: Likewise.
58266         * malloc/arena.c: Likewise.
58267         * malloc/hooks.c: Likewise.
58268         * malloc/malloc.c: Likewise.
58269         * resolv/res-state.c: Likewise.
58270         * resolv/res_libc.c: Likewise.
58271         * sysdeps/i386/dl-machine.h: Likewise.
58272         * sysdeps/ia64/dl-machine.h: Likewise.
58273         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58274         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58275         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58276         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58277         * sysdeps/sh/dl-machine.h: Likewise.
58278         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58279         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58280         * sysdeps/unix/i386/sysdep.S: Likewise.
58281         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58282         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58287         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58291         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58292         * sysdeps/x86_64/dl-machine.h: Likewise.
58293         * tls.make.c: Likewise.
58295         * configure.in: Remove --with-__thread option.  Make tests for
58296         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58297         tls_model attribute fail if no support is available.  Remove
58298         USE_IN_LIBIO.
58299         * Makeconfig: Adjust for dropped configure option.  All features are
58300         now mandatory.
58301         * Makerules: Likewise.
58302         * Versions.def: Likewise.
58303         * argp/argp-fmtstream.c: Likewise.
58304         * argp/argp-fmtstream.h: Likewise.
58305         * argp/argp-help.c: Likewise.
58306         * assert/assert.c: Likewise.
58307         * config.h.in: Likewise.
58308         * config.make.in: Likewise.
58309         * configure: Likewise.
58310         * configure.in: Likewise.
58311         * csu/Versions: Likewise.
58312         * csu/init.c: Likewise.
58313         * elf/tst-audit2.c: Likewise.
58314         * elf/tst-tls10.c: Likewise.
58315         * elf/tst-tls10.h: Likewise.
58316         * elf/tst-tls11.c: Likewise.
58317         * elf/tst-tls12.c: Likewise.
58318         * elf/tst-tls14.c: Likewise.
58319         * elf/tst-tlsmod11.c: Likewise.
58320         * elf/tst-tlsmod12.c: Likewise.
58321         * elf/tst-tlsmod13.c: Likewise.
58322         * elf/tst-tlsmod13a.c: Likewise.
58323         * elf/tst-tlsmod14a.c: Likewise.
58324         * elf/tst-tlsmod15b.c: Likewise.
58325         * elf/tst-tlsmod16a.c: Likewise.
58326         * elf/tst-tlsmod16b.c: Likewise.
58327         * elf/tst-tlsmod7.c: Likewise.
58328         * elf/tst-tlsmod8.c: Likewise.
58329         * elf/tst-tlsmod9.c: Likewise.
58330         * gmon/gmon.c: Likewise.
58331         * grp/fgetgrent_r.c: Likewise.
58332         * grp/putgrent.c: Likewise.
58333         * hurd/fopenport.c: Likewise.
58334         * include/libc-symbols.h: Likewise.
58335         * include/tls.h: Likewise.
58336         * intl/gettextP.h: Likewise.
58337         * intl/loadinfo.h: Likewise.
58338         * locale/global-locale.c: Likewise.
58339         * locale/localeinfo.h: Likewise.
58340         * mach/devstream.c: Likewise.
58341         * malloc/arena.c: Likewise.
58342         * malloc/set-freeres.c: Likewise.
58343         * misc/err.c: Likewise.
58344         * misc/getttyent.c: Likewise.
58345         * misc/mntent_r.c: Likewise.
58346         * posix/getopt.c: Likewise.
58347         * posix/wordexp.c: Likewise.
58348         * pwd/fgetpwent_r.c: Likewise.
58349         * resolv/Versions: Likewise.
58350         * resolv/res_hconf.c: Likewise.
58351         * shadow/fgetspent_r.c: Likewise.
58352         * shadow/putspent.c: Likewise.
58353         * stdio-common/printf_fphex.c: Likewise.
58354         * stdio-common/tmpfile.c: Likewise.
58355         * stdlib/abort.c: Likewise.
58356         * stdlib/fmtmsg.c: Likewise.
58357         * sunrpc/auth_unix.c: Likewise.
58358         * sunrpc/clnt_perr.c: Likewise.
58359         * sunrpc/clnt_tcp.c: Likewise.
58360         * sunrpc/clnt_udp.c: Likewise.
58361         * sunrpc/clnt_unix.c: Likewise.
58362         * sunrpc/openchild.c: Likewise.
58363         * sunrpc/svc_simple.c: Likewise.
58364         * sunrpc/svc_tcp.c: Likewise.
58365         * sunrpc/svc_udp.c: Likewise.
58366         * sunrpc/svc_unix.c: Likewise.
58367         * sunrpc/xdr.c: Likewise.
58368         * sunrpc/xdr_array.c: Likewise.
58369         * sunrpc/xdr_rec.c: Likewise.
58370         * sunrpc/xdr_ref.c: Likewise.
58371         * sunrpc/xdr_stdio.c: Likewise.
58373 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58375         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58377 2011-07-03  Andreas Jaeger  <aj@suse.de>
58379         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58380         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58381         regenerate with gen-libm-tests.pl.
58383 2010-05-12  Petr Baudis  <pasky@suse.cz>
58385         [BZ #11589]
58386         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58387         around j0() zero points by switching to j1().
58388         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58389         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58391         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58395         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58396         instead of 0.
58397         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58398         instead of 0.
58399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58400         Patch in part by Pavel Roskin <proski@gnu.org>.
58402         [BZ #13138]
58403         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58404         realloc.
58405         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58406         Free memory block if necessary.
58408         [BZ #12847]
58409         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58410         be NULL.  Don't lock in this case.
58412 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58414         * elf/elf.h (ELFOSABI_GNU): New macro.
58415         (ELFOSABI_LINUX): Define to that.
58417 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58419         * string/strncat.c (strncat): Undef the symbol in case it has been
58420         defined in bits/string.h.
58422 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58424         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58426         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58427         link map.
58429 2011-08-17  Andreas Jaeger  <aj@suse.de>
58431         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58433 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58434             Ian Lance Taylor  <iant@google.com>
58436         * math/libm-test.inc (lround_test): New testcase.
58437         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58439 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58441         * Makefile: Remove support for automatic cvs check-ins.
58442         * Makerules: Likewise.
58443         * config.make.in: Likewise.
58444         * configure.in: Likewise.
58445         * intl/Makefile: Likewise.
58446         * locale/Makefile: Likewise.
58447         * po/Makefile: Likewise.
58448         * posix/Makefile: Likewise.
58449         * sysdeps/gnu/Makefile: Likewise.
58450         * sysdeps/mach/hurd/Makefile: Likewise.
58451         * sysdeps/sparc/sparc32/Makefile: Likewise.
58453         [BZ #13118]
58454         * posix/Makefile (bug-regex32-ENV): Define.
58455         Patch by John Stanley <jpsinthemix@verizon.net>.
58457         * misc/Makefile (headers): Add bits/select2.h.
58458         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58459         * misc/bits/select2.h: New file.
58460         * include/bits/select2.h: New file.
58461         * debug/Makefile (routines): Add fdelt_chk.
58462         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58463         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58464         FD_ISSET.
58465         * debug/fdelt_chk.c: New file.
58467         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58468         * wcsmbs/test-wmemcmp.c: Likewise.
58469         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58470         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58472 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58474         * string/Makefile (strop-tests): Add memcmp.
58475         * string/test-wmemcmp.c: New file.
58476         * string/test-memcmp.c: Add wmemcmp support.
58478 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58480         [BZ #13153]
58481         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58482         2011-07-19 change.
58484         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58485         garbage value in a __mach_port_mod_refs call in the cases of the
58486         task-self and thread-self ports.
58488 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58490         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58492 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58494         * elf/dl-load.c (lose): Check for non-null L.
58496 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58498         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58500         * elf/dl-libc.c (dlerror_run): Pass back error code from
58501         dl_catch_error.
58503         [BZ #13123]
58504         * elf/dl-load.c (lose): Free l_origin if it is valid.
58506         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58507         names.
58508         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58509         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58511         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58512         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58513         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58515 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58517         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58518         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58519         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58520         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58521         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58522         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58523         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58524         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58525         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58526         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58528 2011-08-15  Alan Modra  <amodra@gmail.com>
58530         [BZ #13092]
58531         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58532         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58533         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58534         ppc_mcount to static-only-routines.
58535         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58536         __mcount_internal.
58537         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58538         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58540 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58542         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58543         for finite and infinity parameters.
58545 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58548         and add nop instructions for throughput optimization.
58549         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58551 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58553         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58554         aligned copy for power7 with vector-scalar instructions.
58555         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58557 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58559         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58560         AVX check.
58562 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58564         [BZ #13144]
58565         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58566         last change.
58568 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58570         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58571         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58572         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58573         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58574         clock_gettime.
58576 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58578         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58579         Forgot to demangle the pointer.
58581         * sysdeps/i386/sysdep.h: Define atom_text_section.
58582         * sysdeps/x86_64/sysdep.h: Likewise.
58583         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58584         section with atom_text_section.
58585         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58586         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58587         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58588         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58589         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58591         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58592         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58593         already be defined.  Change to take two parameters and don't assign
58594         result to variable.  Adjust all users.
58595         Define INTERNAL_GETTIME if not already defined.
58596         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58597         call.
58598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58599         HAVE_CLOCK_GETTIME_VSYSCALL.
58600         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58602         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58603         gettimeofday vsyscall, just use time.
58605 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58608         <errno.h>.
58610 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58612         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58613         syscall on x86-64.
58614         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58615         syscall.
58616         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58617         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58618         syscall if possible.
58620 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58622         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58623         e_ident.  Don't pass to find_mapsXX.
58624         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58626 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58629         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58630         * sysdeps/x86_64/multiarch/strchr.S: Update.
58631         Check bit_slow_BSF bit.
58632         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58633         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58634         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58636 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58638         [BZ #13134]
58639         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58640         before glibc 2.15.
58641         (tryshell): Define.
58642         (__spawni): Change last parameter to be flag.  Test
58643         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58644         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58645         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58646         * posix/spawni.c: Likewise.
58647         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58648         * posix/spawnp.c: Likewise.  Change normal version to use
58649         SPAWN_XFLAGS_USE_PATH.
58650         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58651         SPAWN_XFLAGS_TRY_SHELL.
58653         [BZ #13150]
58654         * posix/glob.h: Remove gcc 1.x support.
58656         [BZ #13068]
58657         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58659 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58662         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58663         strrchr-sse2-bsf
58664         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58665         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58666         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58667         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58668         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58669         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58671 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58673         * sysdeps/x86_64/wcscmp.S: New file.
58675         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58676         wcscmp-c wcscmp-sse2
58677         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58678         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58679         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58680         * wcsmbs/wcscmp.c: Allow renaming.
58682 2011-09-05  David S. Miller  <davem@davemloft.net>
58684         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58685         stack slot, rather than the struct return pointer slot.
58686         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58687         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58689         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58691 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58693         * po/ja.po: Update from translation team.
58695         [BZ #13144]
58696         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58697         kernel in 64-bit binaries.
58699 2011-09-01  David S. Miller  <davem@davemloft.net>
58701         * elf/elf.h (HWCAP_SPARC_*): Move to..
58702         * sysdeps/sparc/sysdep.h: this new file and add new values.
58703         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58704         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58705         _DL_HWCAP_COUNT to 24.
58706         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58707         entries.
58708         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58709         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58710         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58712         instead of magic constants.
58713         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58715 2011-08-31  David S. Miller  <davem@davemloft.net>
58717         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58719         Reimplement to do errno handling inline.
58720         (SYSCALL_ERROR_HANDLER): New macro.
58721         (__SYSCALL_STRING): Do not do errno handling in asm.
58722         (__CLONE_SYSCALL_STRING): Delete.
58723         (__INTERNAL_SYSCALL_STRING): Delete.
58724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58725         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58726         (PSEUDO): Reimplement to do errno handling inline.
58727         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58728         (SYSCALL_ERROR_HANDLER): New macro.
58729         (__SYSCALL_STRING): Do not do errno handling in asm.
58730         (__CLONE_SYSCALL_STRING): Delete.
58731         (__INTERNAL_SYSCALL_STRING): Delete.
58732         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58733         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58734         i386.
58735         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58736         (inline_syscall*): Add 'err' argument.
58737         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58738         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58739         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58740         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58742         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58743         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58745 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58747         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58749 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58751         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58752         directive.
58754 2011-08-24  David S. Miller  <davem@davemloft.net>
58756         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58758 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58760         * elf/Makefile: Add rules to build and run unload8 test.
58761         * elf/unload8.c: New file.
58762         * elf/unload8mod1.c: New file.
58763         * elf/unload8mod1x.c: New file.
58764         * elf/unload8mod2.c: New file.
58765         * elf/unload8mod3.c: New file.
58767         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58768         it wasn't used.
58770 2011-08-23  David S. Miller  <davem@davemloft.net>
58772         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58773         subtract stack bias.
58774         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58775         %sp not %fp in calculations.
58776         (_JMPBUF_UNWINDS_ADJ): Likewise.
58778         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58779         (aio_suspend): Call it to force an exception region around the
58780         AIO_MISC_WAIT() invocation.
58782 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58784         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58785         backslash.
58787 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58789         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58790         protection macro.
58791         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58792         and <dl-machine.h>.
58793         (Elf64_FuncDesc): Remove.
58795 2011-08-22  David S. Miller  <davem@davemloft.net>
58797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58798         sigaltstack check, add missing cfi directives.
58799         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58800         missing cfi directives, and sigaltstack handling.
58802 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58804         [BZ #11724]
58805         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58806         object is seen twice.
58807         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58809         * elf/Makefile (distribute): Add tst-initorder2.c.
58810         (tests): Add tst-initorder2.
58811         (modules-names): Add tst-initorder2a tst-initorder2b
58812         tst-initorder2c tst-initorder2d.  Add rules to build them.
58813         ($(objpfx)tst-initorder2.out): New rule.
58814         * elf/tst-initorder2.c: New file.
58815         * elf/tst-initorder2.exp: New file.
58817 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58819         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58821         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58822         dependencies back to end of function.
58824         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58825         $(elfobjdir)/ld.so.
58827 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58830         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58831         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58832         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58833         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58834         of __vdso_gettimeofday.
58835         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58836         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58837         attribute_hidden.
58838         (_libc_vdso_platform_setup): Remove initialization of
58839         __vdso_gettimeofday and __vdso_time.
58841 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58843         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58844         and fgetc_unlocked.
58845         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58846         getc_unlocked.
58848         * elf/dl-open.c (add_to_global): Report additions to the global scope
58849         for LD_DEBUG=scopes.
58850         (dl_open_worker): Also print scope of newly loaded dependencies.
58851         (_dl_show_scope): Indicate if there is no scope.
58853         [BZ #13114]
58854         * stdio-common/Makefile (tests): Add bug24.
58855         * stdio-common/bug24.c: New file.
58857 2011-08-19  Andreas Jaeger  <aj@suse.de>
58859         [BZ #13114]
58860         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58861         non-existant file when using close-on-exec mode.
58863 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58866         the very first instruction.
58868         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58869         the CFI state in the end.
58870         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58871         inclusion of dl-trampoline.h.
58872         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58874 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58876         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58877         expectations for long double.
58879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58880         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58882 2011-08-14  David S. Miller  <davem@davemloft.net>
58884         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58885         artificual limit depends upon the system page size.
58887 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58889         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58890         * resolv/Makefile: Define CFLAGS-libresolv.
58892 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58894         * nss/makedb.c (compute_tables): Make variables used in nested
58895         function static.
58897 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58899         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58900         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58901         if buffer was too small.
58903         * elf/pldd.c (main): Attach to all threads in the process.
58904         Rewrite /proc handling to use *at functions.
58906 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58908         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58909         specifies first scope to show.
58910         (dl_open_worker): Update callers.  Move printing scope of new
58911         object to before the relocation.
58912         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58913         * sysdeps/generic/ldsodefs.h: Update declaration.
58915         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58916         string for the scope number.
58918 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58920         * nscd/servicescache.c (cache_addserv): Make sure written is always
58921         initialized.
58923 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58925         * sysdeps/i386/i486/bits/atomic.h
58926         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58927         statement expression, so as to suppress "set but not used" warning.
58928         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58930         * string/strncat.c (STRNCAT): Use prototype definition.
58932         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58933         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58934         -Iprograms here.
58935         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58936         (localedef-modules): Add localedef.
58937         (locale-modules): Add locale.
58939         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58940         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58941         to avoid a warning.
58943 2011-08-14  David S. Miller  <davem@davemloft.net>
58945         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58946         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58948 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58950         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58951         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58952         * elf/rtld.c (dl_main): Set l_name of vDSO.
58953         Call _dl_show_scope when DL_DEBUG_SCOPES.
58954         (process_dl_debug): Recognize scopes flag and also set it for all.
58955         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58956         Declare _dl_show_scope.
58958         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58959         (do_dlopen): Pass caller_dlopen to dl_open.
58960         (__libc_dlopen_mode): Initialize caller_dlopen.
58962         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58963         of libc.  Make tolower call locale-independent.  Optimize a bit by
58964         using isdigit instead of isalnum.
58965         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58967 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58969         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58970         was a dependency or dynamically loaded.
58972 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58974         * intl/l10nflist.c: Allow architecture-specific pop function.
58975         * sysdeps/x86_64/l10nflist.c: New file.
58977         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58978         classification.
58980 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58982         * include/dirent.h: Add libc_hidden_proto for scandirat and
58983         scandirat64.  Don't declare __scandirat64.
58984         * dirent/scandirat.c: Add libc_hidden_def.
58985         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58986         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58988 2011-08-10  David S. Miller  <davem@davemloft.net>
58990         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58991         enum.
58992         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58994         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58996 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58998         * Versions.def [libc]: Add GLIBC_2.15.
58999         * dirent/Makefile (routines): Add scandirat and scandirat64.
59000         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59001         GLIBC_2.15.
59002         * dirent/dirent.h: Declare scandirat and scandirat64.
59003         * dirent/scandirat.c: New file.
59004         * dirent/scandirat64.c: New file.
59005         * sysdeps/wordsize-64/scandirat.c: New file.
59006         * sysdeps/wordsize-64/scandirat64.c: New file.
59007         * dirent/opendir.c: Define opendirat.
59008         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59009         using scandirat.
59010         * dirent/scandir64.c: Adjust for scandir.c change.
59011         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59012         __scandirat64, and __scandir_cancel_handler.
59013         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59014         additional parameter and use openat instead of open (outside of ld.so).
59015         Add new __opendir as wrapper around __opendirat.
59016         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59017         here without requiring old scandirat implementation.
59019 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59021         * dirent/scandir.c (cancel_handler): Renamed to
59022         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59023         defined.  Adjust users.
59024         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59025         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59027 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59029         * string/test-string.h (IMPL): Use __STRING to expand name and then
59030         stringify it.
59032         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59033         of cleanups.
59035 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59037         * string/Makefile: Update.
59038         (strop-tests): Append strncat.
59039         * string/test-wcscmp.c: New file.
59040         New comprehensive test for wcscmp.
59041         * string/test-strcmp.c: Update.
59042         (WIDE): New define.
59044 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59046         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59047         line.
59049 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59052         encoding to ACE if AI_IDN.
59054 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59057         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59059 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59061         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59062         Fix overflow bug in strncat.
59063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59065         * string/test-strncat.c: Update.
59066         Add new tests for checking overflow bugs.
59068 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59070         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59071         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59072         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59073         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59074         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59075         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59076         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59077         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59078         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59080         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59081         (USE_AS_STRCAT): Define.
59082         Add strcat and strncat support.
59083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59085 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59087         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59088         __n bigger than INT_MAX+1.
59089         (__strncmp_g): Likewise.
59091 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59093         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59094         * libio/stido.h: Likewise.
59096         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59097         (AF_NFC): Define.
59098         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59099         (AF_NFC): Define.
59101         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59102         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59103         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59104         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59107         [BZ #13021]
59108         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59109         installed.
59111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59112         typo.
59113         (_dl_x86_64_save_sse): Likewise.
59115 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59118         OSXSAVE.
59119         (_dl_x86_64_save_sse): Likewise.
59121         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59123         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59125 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59128         change.
59129         (_dl_x86_64_save_sse): Use correct AVX check.
59131 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59133         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59134         bug in strncpy/strncat.
59135         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59137 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59139         * string/tester.c (test_strcat): Add tests for different alignments
59140         of source and destination.
59141         (test_strncat): Likewise.
59143 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59145         [BZ #12852]
59146         * posix/glob.c (glob): Check passed in values before using them in
59147         expressions to avoid some overflows.
59148         (glob_in_dir): Likewise.
59150         [BZ #13007]
59151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59152         check for AVX enablement so that we don't crash with old kernels and
59153         new hardware.
59154         * elf/tst-audit4.c: Add same checks here.
59155         * elf/tst-audit6.c: Likewise.
59157         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59159 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59161         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59163 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59165         * po/cs.po: Update from translation team.
59166         * po/bg.po: Likewise.
59168 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59170         * misc/sys/cdefs.h: Add support for const attribute.
59171         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59172         to gnu_dev_{major,minor,makedev} functions.
59174 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59176         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59178 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59180         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59181         strlen results.
59183 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59185         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59186         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59187         register in order to avoid conflicts with the soft frame pointer
59188         being held in r11 when necessary.
59189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59190         (INTERNAL_VSYSCALL_NCS): Likewise.
59192 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59194         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59195         * elf/dl-fini.c (_dl_fini): Adjust caller.
59196         * elf/dl-close.c (_dl_close_worker): Likewise.
59197         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59199 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59201         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59202         "aux_cache->nlibs < 0".
59204         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59205         in the reload-count case.
59207 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59210         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59211         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59212         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59213         * sysdeps/x86_64/multiarch/strcat.S: New file.
59214         * sysdeps/x86_64/multiarch/strncat.S: New file.
59215         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59216         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59217         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59218         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59219         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59220         (USE_AS_STRCAT): Define.
59221         Add strcat and strncat support.
59222         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59224         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59225         * string/strncat.c: Update.
59226         (USE_AS_STRNCAT): Define.
59227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59228         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59229         and i7.
59230         * sysdeps/x86_64/multiarch/init-arch.h
59231         (bit_Prefer_PMINUB_for_stringop): New.
59232         (index_Prefer_PMINUB_for_stringop): Likewise.
59233         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59234         bit_Prefer_PMINUB_for_stringop.
59236 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59238         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59239         buffer64.
59240         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59241         of casting of buffer.
59242         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59243         buffer32 and buffer64.
59244         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59245         writes instead of casting of buffer.
59246         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59247         buffer32.
59248         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59249         casting of buffer.
59251 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59253         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59255 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59257         * nscd/nscd.c (termination_handler): Don't do anything for a database
59258         if it has not yet been initialized.
59260 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59262         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59264 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59266         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59268 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59270         * po/nl.po: Update from translation team.
59271         * po/sv.po: Likewise.
59273 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59275         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59276         now disallowed by GCC.
59278         * configure.in (use-default-link): Default to yes if a test -shared
59279         link meets our qualifications.
59280         * configure: Regenerated.
59282         * config.make.in (output-format): New variable.
59283         * configure.in: Check for ld --print-output-format support.
59284         * configure: Regenerated.
59285         * Makerules ($(common-objpfx)format.lds)
59286         [$(output-format) != unknown]: Just use $(output-format),
59287         instead of the linker-script munging.
59289 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59291         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59292         of $(common-objpfx)shlib.lds.
59293         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59295         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59296         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59298         * configure.in (-z relro check): Adjust test code to add a large
59299         writable data section after it.
59300         * configure: Regenerated.
59302 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59304         * configure.in (-z relro check): Fix test code to make the variable
59305         truly const.
59306         * configure: Regenerated.
59308 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59310         * nscd/nscd.h (struct traced_file): Define.
59311         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59312         elements.  Add traced_files.
59313         (inotify_fd): Declare.
59314         (register_traced_file): Declare.
59315         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59316         (inotify_fd): Export.
59317         (resolv_conf_descr): Remove.
59318         (nscd_init): Move inotify descriptor creation to main.
59319         Don't register files for notification here.
59320         (register_traced_file): New function.
59321         (invalidate_cache): Don't use reset_res to determine whether to call
59322         res_init, go through the list of registered files.
59323         (main_loop_poll): The inotify descriptors are now stored in the
59324         structures for the traced files.
59325         (main_loop_epoll): Likewise
59326         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59327         to __nss_disable_nscd.
59328         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59329         for a database anymore.  Check the records for all the registered
59330         files instead.
59331         * nss/Makefile (libnss_files-routines): Add files-init.
59332         (libnss_db-routines): Add db-init.
59333         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59334         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59335         * nss/nss_db/db-init.c: New file.
59336         * nss/nss_files/files-init.c: New file.
59337         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59338         __nss_lookup_function.
59339         (__nss_lookup_function): Call nss_load_library.
59340         (nss_load_all_libraries): New function.
59341         (__nss_disable_nscd): Take parameter with callback function for files
59342         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59343         used for the cached services.
59344         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59345         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59346         options for features to all the files in nscd.
59348         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59350 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59352         * csu/elf-init.c (__libc_csu_init): Comment typo.
59354 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59356         * po/pl.po: Update from translation team.
59357         * po/ja.po: Likewise.
59358         * po/ru.po: Likewise.
59359         * po/ko.po: Likewise.
59360         * po/fr.po: Likewise.
59362 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59364         * configure.in (.ctors/.dtors header and trailer check):
59365         Use an empirical test on a built program.
59366         * configure: Regenerated.
59368         * configure.in (-z relro check): Use an empirical test on a built DSO.
59369         Detect, but do not require, on ia64.
59370         * configure: Regenerated.
59372         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59373         Update tests that use readelf to use $READELF instead.
59374         * configure: Regenerated.
59376 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59378         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59379         if the result is not used.
59381 2011-07-05  Andreas Jaeger  <aj@suse.de>
59383         [BZ#9696]
59384         * stdlib/tst-strtod.c: Add testcase.
59386 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59388         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59389         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59390         The latter has a higher limit.  Take additional parameter to pass to
59391         the new function.
59392         (__pathconf): Pass file to __statfs_link_max.
59393         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59394         __statfs_link_max.
59395         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59396         __statfs_link_max.
59398         [BZ #12868]
59399         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59400         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59401         Handle Lustre.
59402         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59403         (__statfs_filesize_max): Likewise.
59404         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59406 2011-07-05  Andreas Jaeger  <aj@suse.de>
59408         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59410 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59412         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59413         `status' variable.
59414         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59415         Likewise.
59417 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59419         * Makefile (strop-tests): Add strncat.
59420         * string/test-strncat.c: New file.
59422 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59424         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59426 2011-06-21  Andreas Jaeger  <aj@suse.de>
59428         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59429         Copy rule from iconvdata/Makefile.
59431 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59433         [BZ #12922]
59434         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59435         but no long options are defined, just return 'W'.
59437 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59439         [BZ #9696]
59440         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59442 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59444         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59445         netgroups to read.
59446         (innetgr): Likewise.
59448 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59450         * config.make.in (install_root): Default to $(DESTDIR).
59452 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59454         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59456 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59458         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59460         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59461         containing directory rather than embedding absolute directory names.
59463         * scripts/check-local-headers.sh: Rewritten using awk.
59464         Match by word, not by line.  Print error messages for matches.
59465         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59467         * Makerules [shlib-lds-flags empty]:
59468         ($(common-objpfx)libc_pic.opts): New target.
59469         ($(common-objpfx)libc_pic.os.clean): New target.
59470         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59472         * config.make.in (OBJCOPY): New variable.
59473         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59474         * configure: Regenerated.
59476         * config.make.in (use-default-link): New variable.
59477         * configure.in (use_default_link): Grok --with-default-link to set it.
59478         * configure: Regenerated.
59479         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59480         (shlib-lds, shlib-lds-flags): Define to empty.
59482         * Makerules (shlib-lds): New variable.
59483         (shlib-lds-flags): New variable.
59484         (build-shlib, build-moduile, build-module-asneeded): Use it.
59485         ($(common-objpfx)libc.so): Use $(shlib-lds).
59486         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59487         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59489         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59490         DT_FLAGS/DT_FLAGS_1 with zero flags.
59492         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59493         linker script munging.
59495 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59497         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59498         as 128-bit value.
59499         * crypt/sha512.c (sha512_process_block): Perform total addition using
59500         128-bit if possible.
59501         (__sha512_finish_ctx): Likewise.
59502         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59503         as 64-bit value.
59504         * crypt/sha256.c (SWAP64): Define.
59505         (sha256_process_block): Perform total addition using 64-bit if
59506         possible.
59507         (__sha256_finish_ctx): Likewise.
59509 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59511         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59512         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59513         * nscd/hstcache.c (cache_addhst): Likewise.
59514         * nscd/grpcache.c (cache_addgr): Likewise.
59515         * nscd/aicache.c (addhstaiX): Likewise
59516         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59518 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59520         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59521         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59522         * nscd/hstcache.c (cache_addhst): Likewise.
59523         * nscd/grpcache.c (cache_addgr): Likewise.
59524         * nscd/aicache.c (addhstaiX): Likewise
59526 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59528         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59529         domain only when needed.
59531 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59534         is always restored.
59536 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59538         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59539         are re-adding the entry.
59540         * nscd/servicescache.c (cache_addserv): Likewise.
59542 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59544         * sysdeps/generic/dl-irel.h: fix protection against multiple
59545         inclusions.
59546         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59548 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59550         [BZ #12935]
59551         * malloc/memusage.sh: Fix quoting in message.
59552         * debug/xtrace.sh: Likewise.
59554         * configure.in: Remove support for --experimental-malloc option, make
59555         it the default.
59556         * config.make.in: Likewise.
59557         * malloc/Makefile: Likewise.
59559 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59561         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59562         two-byte characters.
59564 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59566         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59567         AC_CACHE_CHECK invocation.
59568         * configure: Regenerated.
59570         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59572 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59574         [BZ #12350]
59575         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59576         bit from old_res_options.
59578         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59580         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59581         value type for setfct.
59583 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59585         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59586         __gettimeofday instead of gettimeofday.
59588 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59590         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59592 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59594         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59596         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59597         info.
59599 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59602         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59603         strcpy-sse2-unaligned strncpy-sse2-unaligned
59604         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59605         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59606         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59607         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59608         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59609         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59610         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59611         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59612         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59613         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59614         (STRCPY): Support SSE2 and SSSE3 versions.
59616 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59618         [BZ #12874]
59619         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59620         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59621         kernels which artificially limit size of requests.
59623 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59626         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59627         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59628         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59629         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59630         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59631         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59632         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59633         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59634         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59635         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59636         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59637         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59638         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59639         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59641         Enable unaligned load optimization for Intel Core i3, i5 and i7
59642         processors.
59643         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59644         Define.
59645         (index_Fast_Unaligned_Load): Define.
59646         (HAS_FAST_UNALIGNED_LOAD): Define.
59648 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59650         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59652 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59654         [BZ #12907]
59655         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59656         until it is clear that the information is realy needed.
59657         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59659 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59663 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59665         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59666         /sys/devices/system/cpu/online if it is usable.
59668         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59669         reading the information from the /proc filesystem to once a second.
59671 2011-06-21  Andreas Jaeger  <aj@suse.de>
59673         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59674         NULL after inclusion of kernel headers.
59676 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59678         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59679         calls to internal_setent.
59681         [BZ #12885]
59682         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59683         addresses using gethostbyname4_r ignore IPv4 addresses.
59685         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59686         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59688         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59690 2011-06-20  David S. Miller  <davem@davemloft.net>
59692         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59693         inclusions.
59694         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59696         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59697         (elf_irel): Use it.
59698         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59699         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59700         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59701         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59702         * sysdeps/x86_64/dl-irel.h: Likewise.
59704         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59705         * elf/dl-sym.c: Likewise.
59707 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59709         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59710         need to dereference resplen2.
59712 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59714         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59716 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59718         * Makeconfig: Define vardbdir and inst_vardbdir.
59719         * nss/Makefile: Add rules to install db-Makefile.
59721         * nss/nss_db/db-XXX.c: Cleanup.
59723         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59724         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59725         GLIBC_PRIVATE.
59726         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59727         * nss/makedb.c: Implement -g option to specify that value strings
59728         are generated and should not be added to table iterated over for
59729         get*ent calls.
59730         * nss/nss_db/db-initgroups.c: New file.
59732         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59733         interface.
59735         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59736         (internal_getgrouplist): Adjust to name change.
59737         Update use_initgroups_entry if this is not the first call.
59738         * nss/databases.def: Add initgroups entry.
59740         * nss/makedb.c (compute_tables): Check result of multiple hash table
59741         sizes to minimize maximum chain length.
59743 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59745         * Versions.def: Add entry for libnss_db.
59746         * shlib-versions: Likewise.
59747         * nss/Makefile: Add rules to build libnss_db.
59748         * nss/Versions: Add libnss_db information.  Organize libnss_files
59749         entries better.
59750         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59751         makedb progra.  Some minor improvements to generate smaller files.
59752         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59753         here from...
59754         * nss/makedb.c: ...here.
59755         Improve database format to be smaller and require less memory at
59756         runtime.
59757         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59758         db anymore.
59759         * nss/nss_db/db-netgrp.c: Likewise.
59760         * nss/nss_db/db-open.c: Likewise.
59761         * nss/nss_files/flies-XXX.x: Adjust comments.
59762         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59763         * nss/nss_files/files-grp.c: Likewise.
59764         * nss/nss_files/files-hosts.c: Likewise.
59765         * nss/nss_files/files-network.c: Likewise.
59766         * nss/nss_files/files-proto.c: Likewise.
59767         * nss/nss_files/files-pwd.c: Likewise.
59768         * nss/nss_files/files-rpc.c: Likewise.
59769         * nss/nss_files/files-service.c: Likewise.
59770         * nss/nss_files/files-sgrp.c: Likewise.
59771         * nss/nss_files/files-spwd.c: Likewise.
59772         * nss/nss_db/db-alias.c: Removed.
59773         * nss/nss_db/dummy-db.h: Removed.
59775 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59777         * nss/makedb.c: Rewritten to not use database library.
59778         * nss/Makefile: Update to build new makedb program.
59780 2011-06-14  Andreas Jaeger  <aj@suse.de>
59782         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59783         memset declaration.
59785 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59788         tmpbuf.
59790 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59792         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59793         * elf/Makefile ($(objpfx)ld.so): Likewise.
59795         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59796         Don't list ld.so twice in dependencies.
59798         * posix/bug-regex31.c: Include <stdlib.h>.
59800         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59802         * nis/nss_compat/compat-spwd.c
59803         (getspent_next_nss_netgr): Remove unused variable.
59804         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59806         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59807         nonmembers" output to use the right array.
59809         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59811         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59813         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59814         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59815         * catgets/gencat.c (read_input_file): Likewise.
59816         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59818         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59819         variable definition inside #if's controlling its use.
59821         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59823         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59825         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59827         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59828         unreachable code.
59830         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59832         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59833         * configure: Regenerated.
59835         * Makerules: Revert last change.
59836         * elf/Makefile: Likewise.
59838 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59840         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59841         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59842         (reloc-link): Likewise.
59844 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59846         * elf/Makefile: Add rules to build pldd.
59847         * elf/pldd.c: New file.
59848         * elf/pldd-xx.c: New file.
59850 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59852         * version.h: Update for 2.15 development version.
59854 2011-06-07  David S. Miller  <davem@davemloft.net>
59856         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59857         ifuncs.
59858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59859         elf_machine_lazy_rel): Likewise.
59860         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59861         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59862         elf_machine_lazy_rel): Likewise.
59863         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59864         dl_hwcap via passed in argument.
59865         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59866         Likewise.
59868 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59870         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59872 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59874         [BZ #12849]
59875         * manual/fdl-1.1.texi: New file, verbatim from:
59876         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59877         * manual/lgpl-2.1.texi: New file, verbatim from:
59878         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59879         * manual/Makefile (licenses): New variable, list those new file names.
59880         (texis): Use it.
59881         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59883         * manual/fdl.texi: File removed.
59884         * manual/lesser.texi: File removed.
59885         * manual/libc.texinfo (Copying, Documentation License):
59886         Use new @include file names, put @appendix directive before @include.
59888 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59890         [BZ #12841]
59891         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59892         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59893         (mq_open): Add __NTH.
59895 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59898         Assume Intel Core i3/i5/i7 processor if AVX is available.
59900 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59902         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59903         typo.
59905 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59907         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59908         memory.  Use alloca_account.  Fix memory leak when retrying.
59910 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59912         * version.h (RELEASE): Bump for 2.14 release.
59913         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59915         * config.make.in (RANLIB): Remove entry.
59917 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59919         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59920         (libc.pot): Work around missing support for .ksh extension in xgettext.
59922         [BZ #12684]
59923         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59924         if both request failed.
59925         (send_dg): In case of server errors clear resplen or *resplen2.
59927         [BZ #12454]
59928         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59929         when there are multiple maps.
59930         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59931         (_dl_fini): Remove test here.
59933         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59935 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59937         [BZ #12350]
59938         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59939         bit from old_res_options.
59940         (gaih_inet): Likewise.
59942         [BZ #11099]
59943         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59944         as signed.
59946         * resolv/res_init.c (res_setoptions): Make the code more compact.
59948         [BZ #11558]
59949         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59950         set RES_USEVC.
59952         [BZ #11634]
59953         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59955         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59957         [BZ #11781]
59958         * malloc/malloc.h: Declare malloc hook variables as volatile.
59960         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59961         in last patch.
59963         [BZ #11799]
59964         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59965         raise in the comment.
59966         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59967         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59968         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59970 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59972         [BZ #12811]
59973         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59974         grow the buffers more if it already has to be sufficient.
59975         (build_wcs_upper_buffer): Likewise.
59976         * posix/regexec.c (check_matching): Likewise.
59977         (clean_state_log_if_needed): Likewise.
59978         (extend_buffers): Don't enlarge buffers beyond size of the input
59979         buffer.
59980         Patches mostly by Emil Wojak <emil@wojak.eu>.
59981         * posix/bug-regex32.c: New file.
59982         * posix/Makefile (tests): Add bug-regex32.
59984         * locale/findlocale.c (_nl_find_locale): Return right away if
59985         _nl_explode_name failed.
59986         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59988         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59990         * debug/xtrace.sh: Unify messages.
59991         * malloc/memusage.sh: Likewise.
59993         [BZ #12813]
59994         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59995         time symbol from vDSO.  Substitute with vsyscall if not available.
59996         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59997         __vdso_time.
59999         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60000         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60001         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60002         Add sendmmsg and internal_sendmmsg.
60003         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60004         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60005         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60007         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60008         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60009         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60011 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60013         [BZ #12813]
60014         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60015         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60016         available.
60017         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60018         __vdso_getcpu.
60020         [BZ #12814]
60021         * iconvdata/Makefile (tests): Add bug-iconv9.
60022         * iconvdata/bug-iconv9.c: New file.
60024 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60026         [BZ #12814]
60027         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60029 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60031         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60032         (struct user_regs_struct): Change intcs field back to cs.
60034 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60036         * po/ja.po: Update from translation team.
60038 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60040         [BZ #12795]
60041         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60042         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60044 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60046         * stdlib/longlong.h: Update from GCC.
60048 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60050         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60051         parameter name.
60052         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60053         Add parameter name.
60054         (__sysconf): Pass it down.
60056 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60058         [BZ #12671]
60059         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60060         some situations.
60061         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60062         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60063         add in in __libc_use_alloca calls.  Adjust callers.
60064         (glob): Use malloc in some situations.
60066         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60067         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60068         pltexit.
60070 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60072         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60073         and CLOCK_BOOTTIME_ALARM.
60075         [BZ #12782]
60076         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60077         is returned.
60079         * string/_strerror.c (__strerror_r): Print negative errors as signed
60080         numbers.
60082         [BZ #12777]
60083         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60084         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60085         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60087         * configure.in: Fix typo in redirection and correct removal of test
60088         files in two cases.
60090         [BZ #12788]
60091         * locale/setlocale.c (new_composite_name): Fix test to check for
60092         identical name of all categories.
60094         [BZ #12792]
60095         * libio/filedoalloc.c (local_isatty): New function.
60096         (_IO_file_doallocate): Use local_isatty.
60097         * stdio-common/perror.c (perror): In case a new stream is used
60098         forward the stream error.
60099         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60100         error flag.
60102 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60104         [BZ #11869]
60105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60106         alloca.
60107         * include/alloca.h (extend_alloca_account): Define.
60109         [BZ #11857]
60110         * posix/regex.h: Fix comments with documentation of user-accessible
60111         fields after compilation and describe correct free'ing of pattern
60112         after re_compile_pattern.
60113         Patch by Reuben Thomas <rrt@sc3d.org>.
60115 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60117         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60118         and -mno-altivec to prevent the compiler from using Altivec and/or
60119         VSX instructions when the corresponding registers are not available.
60121 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60123         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60125 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60127         * libio/freopen.c (freopen): Use __dup2, not dup2.
60128         * libio/freopen64.c (freopen64): Likewise.
60130 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60132         [BZ #12775]
60133         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60134         * math/Makefile (tests): Add test-powl.
60135         (CFLAGS-test-powl.c): Define.
60136         * math/test-powl.c: New file.
60138 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60140         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60142 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60144         [BZ #11837]
60145         * iconvdata/gb18030.c: Update to GB18020-2005.
60147 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60149         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60150         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60151         Patch by Aharon Robbins <arnold@skeeve.com>.
60153         [BZ #11892]
60154         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60155         on the stack.
60157         [BZ #11895]
60158         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60159         through underflows.
60161         [BZ #12766]
60162         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60163         point to strings before performing equality test for error_one_per_line
60164         mode.
60166         [BZ #11697]
60167         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60169         [BZ #11820]
60170         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60171         (struct user_fpregs_struct): Avoid __uint*_t types.
60173         [BZ #6420]
60174         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60175         symbol info.  Use it instead of calling _dl_addr locally.
60176         (lock_and_info): New function.
60177         (tr_freehook): Call lock_and_info and pass symbol info as additional
60178         parameter to tr_where.
60179         (tr_mallochook): Likewise.
60180         (tr_reallochook): Likewise.
60181         (tr_memalignhook): Likewise.
60183         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60184         used and couldn't be at all thread-safe.
60186 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60188         * libio/freopen.c (freopen): Don't close old file descriptor
60189         before the new one is opened.  Instead dup the new file descriptor
60190         to the old one after the new stream is created.
60191         * libio/freopen64.c (freopen64): Likewise.
60192         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60193         * libio/fileops.c (_IO_new_file_close_it): Handle new
60194         _IO_FLAGS2_NOCLOSE flag.
60195         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60196         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60197         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60198         _IO_FLAGS2_NOCLOSE flag.
60199         * include/unistd.h: Add hidden_proto for dup3.
60200         Define __have_dup3.
60201         * io/dup3.c: Define hidden symbol.
60202         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60204         [BZ #7101]
60205         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60206         when an incomplete long option is used.
60207         * posix/tst-getopt_long1.c: New file.
60208         * posix/Makefile (tests): Add tst-getopt_long1.
60210         [BZ #10138]
60211         * scripts/config.guess: Update from autoconf-2.68.
60212         * scripts/config.sub: Likewise.
60214         [BZ #10157]
60215         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60216         tests into ...
60217         (has_cpuclock): ...this.  New function.
60218         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60219         macro here based on has_cpuclock code.
60221         [BZ #10149]
60222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60223         First byte (not low byte) is now always NUL.
60224         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60226         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60227         Use non-cancelable interfaces.
60229         [BZ #9809]
60230         * locale/iso-639.def: Add entry for Sorani.
60232         [BZ #11901]
60233         * include/stdlib.h: Move include protection to the right place.
60234         Define abort_msg_s.  Declare __abort_msg with it.
60235         * stdlib/abort.c (__abort_msg): Adjust type.
60236         * assert/assert.c (__assert_fail_base): New function.  Majority
60237         of code from __assert_fail.  Allocate memory for __abort_msg with
60238         mmap.
60239         (__assert_fail): Now call __assert_fail_base.
60240         * assert/assert-perr.c: Remove bulk of implementation.  Use
60241         __assert_fail_base.
60242         * include/assert.hL Declare __assert_fail_base.
60243         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60244         mmap.
60245         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60247 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60249         [BZ #11952]
60250         [BZ #12453]
60251         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60252         until all modules are registered in the DTV.
60253         * elf/Makefile: Add rules to build and run tst-tls19.
60254         * elf/tst-tls19.c: New file.
60255         * elf/tst-tls19mod1.c: New file.
60256         * elf/tst-tls19mod2.c: New file.
60257         * elf/tst-tls19mod3.c: New file.
60258         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60260         [BZ #12083]
60261         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60262         correctly.
60264         [BZ #12601]
60265         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60266         two-byte sequence errors.
60267         * iconvdata/Makefile (tests): Add bug-iconv8.
60268         * iconvdata/bug-iconv8.c: New file.
60270         [BZ #12626]
60271         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60272         buf2 definition.
60274         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60276         [BZ #12432]
60277         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60278         (dummy_getcfa): New function.
60279         (init): Get _Unwind_GetCFA address, use dummy if not found.
60280         (backtrace_helper): In recursion check, also check whether CFA changes.
60281         (__backtrace): Completely initialize arg.
60283         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60284         storing incomplete byte sequence in state object.  Avoid testing for
60285         guaranteed too small input if we know there is enough data available.
60287 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60289         * Makeconfig (+link-pie): Indent.
60290         * Rules (binaries-pie): Define if $(have-fpie) and
60291         $(build-shared).
60292         (binaries-shared): Also filter out $(binaries-pie).
60293         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60294         * nscd/Makefile (others-pie): Add nscd.
60295         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60296         ($(objpfx)nscd): Remove command override.
60297         * login/Makefile (others-pie): Add pt_chown.
60298         ($(objpfx)pt_chown): Remove command override.
60299         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60300         remove command overrides.
60302 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60304         * libio/tst_putwc.c: Fix error messages.
60306         [BZ #12724]
60307         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60308         currently writing and seek to current position when not.
60309         * libio/Makefile (tests): Add bug-fclose1.
60310         * libio/bug-fclose1.c: New file.
60312 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60314         [BZ #12511]
60315         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60316         don't set DF_1_NODELETE here.
60317         (do_lookup_x): When entering new entry test for copy relocation
60318         and if necessary set DF_1_NODELETE flag.
60319         * elf/tst-unique4.cc: New file.
60320         * elf/tst-unique4.h: New file.
60321         * elf/tst-unique4lib.cc: New file.
60322         * elf/Makefile: Add rules to build and run tst-unique4.
60323         Patch by Piotr Bury <pbury@goahead.com>.
60325 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60327         [BZ #12052]
60328         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60330         [BZ #12625]
60331         * misc/mntent_r.c (addmntent): Flush the stream after the output
60333         [BZ #12393]
60334         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60335         (is_trusted_path_normalize): Skip initial colon.  Append slash
60336         to empty buffer.  Duplicate is_trusted_path code but allow
60337         constructed patch to be prefix.
60338         (is_dst): Allow $ORIGIN followed by /.
60339         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60340         Correct testing of result of is_trusted_path_normalize
60341         (decompose_rpath): Fix warning.
60343 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60345         [BZ #11257]
60346         * grp/initgroups.c (internal_getgrouplist): When we found the service
60347         list through the initgroups entry in nsswitch.conf do not always
60348         continue on a successful lookup.  Don't always use the
60349         __nss_group_database value if it is set.
60350         * nss/nsswitch.conf (initgroups): Change action for successful db
60351         lookup to continue for compatibility.
60353 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60355         [BZ #11532]
60356         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60357         and CP774 modules.
60358         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60359         and CP774 modules.
60360         * iconvdata/tst-tables.sh: Likewise.
60361         * iconvdata/cp770.c: New file.
60362         * iconvdata/cp771.c: New file.
60363         * iconvdata/cp772.c: New file.
60364         * iconvdata/cp773.c: New file.
60365         * iconvdata/cp774.c: New file.
60366         * iconvdata/testdata/CP770: New file.
60367         * iconvdata/testdata/CP770..UTF8: New file.
60368         * iconvdata/testdata/CP771: New file.
60369         * iconvdata/testdata/CP771..UTF8: New file.
60370         * iconvdata/testdata/CP772: New file.
60371         * iconvdata/testdata/CP772..UTF8: New file.
60372         * iconvdata/testdata/CP773: New file.
60373         * iconvdata/testdata/CP773..UTF8: New file.
60374         * iconvdata/testdata/CP774: New file.
60375         * iconvdata/testdata/CP774..UTF8: New file.
60377         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60378         END CHARMAP line.
60379         * iconvdata/gen-8bit-gap.sh: Likewise.
60380         * iconvdata/gen-8bit.sh: Likewise.
60382         * locale/iso-639.def: Add ary entry.
60384         [BZ #11258]
60385         * locale/C-translit.h.in: Add U20A1 transliteration.
60387         [BZ #12178]
60388         * locale/iso-639.def: Add wae entry.
60389         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60391         [BZ #12545]
60392         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60393         for n.
60395         [BZ #12711]
60396         * locale/C-translit.h.in: Add entry for U20B9.
60397         Patch by pravin.d.s@gmail.com.
60399 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60401         [BZ #12713]
60402         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60403         ENAMETOOLONG use generic getcwd.
60404         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60405         in rtld.  Use *stat64.
60406         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60407         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60408         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60409         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60410         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60411         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60412         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60413         __fstatat64 macros.
60414         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60415         * dirent/rewinddir.c: Add libc_hidden_def.
60416         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60417         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60419         * include/dirent.h (__alloc_dir): Add flags parameter.
60420         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60421         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60422         __alloc_dir.
60423         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60424         from fdopendir if O_CLOEXEC is already set.
60426 2011-03-15  Alan Modra  <amodra@gmail.com>
60428         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60429         l_tls_firstbyte_offset non-zero.  Save padding offset in
60430         l_tls_firstbyte_offset for later use.
60431         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60432         freeing static tls block.
60434 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60436         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60437         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60438         being defined by the kernel headers.
60440 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60442         [BZ #12734]
60443         * resolv/resolv.h: Define RES_NOTLDQUERY.
60444         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60445         no-tld-query and set RES_NOTLDQUERY.
60446         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60447         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60448         modern BIND to search name as TLD unless forbidden.
60450 2011-05-07  Petr Baudis  <pasky@suse.cz>
60451             Ulrich Drepper  <drepper@gmail.com>
60453         [BZ #12393]
60454         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60455         (is_trusted_path): ...to here.
60456         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60457         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60458         using is_trusted_path_normalize() in setuid scripts.
60460 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60462         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60463         __BEGIN/__END_DECLS.
60465 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60467         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60468         NSS_STATUS_NOTFOUND if no record was found.
60470 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60472         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60473         (headers-not-in-tirpc): Remove rpc/netdb.h
60474         * resolv/netdb.h: Revert last change.
60476 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60478         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60479         circular dependency between libgcc.a and libc.a.
60481 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60483         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60484         * nis/Makefile: Don't install rpcsvc/*.
60485         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60486         instead of <rpc/types.h>.
60487         (MAXHOSTNAMELEN): Define.
60489 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60491         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60493 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60495         [BZ #12714]
60496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60497         gethostbyname4_r when IPv6 results are possible.
60499 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60501         [BZ #12723]
60502         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60503         _PC_PIPE_BUF handling.
60505 2011-04-30  Bruno Haible  <bruno@clisp.org>
60507         [BZ #12717]
60508         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60509         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60510         to 'int'.
60511         * inet/getnameinfo.c (getnameinfo): Likewise.
60513 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60515         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60516         to groups setting in database lookup.
60517         * nss/nsswitch.conf: Add initgroups entry.
60519 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60521         [BZ #12685]
60522         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60523         mode string.
60524         Patch by Eric Blake <eblake@redhat.com>.
60526 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60528         * sunrpc/Makefile (need-export-routines): Add svc_run.
60529         (routines): Remove svc_run.
60530         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60531         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60532         * sunrpc/svc_run.c (svc_run): Likewise.
60533         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60535 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60537         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60538         problem in reallocation in last patch.
60540 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60542         * sunrpc/Makefile: Move inclusion of Rules.
60544 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60546         * nss/nss_files/files-initgroups.c: New file.
60547         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60548         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60549         _nss_files_initgroups_dyn.
60551 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60553         * elf/elf.h (R_ARM_IRELATIVE): Define.
60555 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60557         * po/ru.po: Update from translation team.
60559 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60561         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60562         dependencies.
60564 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60566         [BZ #12653]
60567         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60568         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60569         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60573 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60575         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60576         differing bytes.
60577         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60578         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60581 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60583         [BZ #12420]
60584         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60585         storing it.
60586         * stdlib/bug-getcontext.c: New file.
60587         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60589 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60591         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60592         instructions into .machine "z9-109".
60593         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60594         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60596 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60598         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60599         between environment variables and auxiliary vector.
60601 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60603         * Makefile: Add rules to build linkobj/libc.so.
60604         * include/libc-symbols.h: Define libc_hidden_nolink.
60605         * include/rpc/auth.h: Mark functions which are to be hidden.
60606         * include/rpc/auth_des.h: Likewise.
60607         * include/rpc/auth_unix.h: Likewise.
60608         * include/rpc/clnt.h: Likewise.
60609         * include/rpc/des_crypt.h: Likewise.
60610         * include/rpc/key_prot.h: Likewise.
60611         * include/rpc/pmap_clnt.h: Likewise.
60612         * include/rpc/pmap_prot.h: Likewise.
60613         * include/rpc/pmap_rmt.h: Likewise.
60614         * include/rpc/rpc_msg.h: Likewise.
60615         * include/rpc/svc.h: Likewise.
60616         * include/rpc/svc_auth.h: Likewise.
60617         * include/rpc/xdr.h: Likewise.
60618         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60619         * nss/Makefile: Likewise.
60620         * sunrpc/Makefile: Don't install headers.  Build library with normal
60621         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60622         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60623         for the compat linking library.  Remove use of INTDEF/INTUSE.
60624         * sunrpc/auth_none.c: Likewise.
60625         * sunrpc/auth_unix.c: Likewise.
60626         * sunrpc/authdes_prot.c: Likewise.
60627         * sunrpc/authuxprot.c: Likewise.
60628         * sunrpc/clnt_gen.c: Likewise.
60629         * sunrpc/clnt_perr.c: Likewise.
60630         * sunrpc/clnt_raw.c: Likewise.
60631         * sunrpc/clnt_simp.c: Likewise.
60632         * sunrpc/clnt_tcp.c: Likewise.
60633         * sunrpc/clnt_udp.c: Likewise.
60634         * sunrpc/clnt_unix.c: Likewise.
60635         * sunrpc/des_crypt.c: Likewise.
60636         * sunrpc/des_soft.c: Likewise.
60637         * sunrpc/get_myaddr.c: Likewise.
60638         * sunrpc/key_call.c: Likewise.
60639         * sunrpc/key_prot.c: Likewise.
60640         * sunrpc/netname.c: Likewise.
60641         * sunrpc/pm_getmaps.c: Likewise.
60642         * sunrpc/pm_getport.c: Likewise.
60643         * sunrpc/pmap_clnt.c: Likewise.
60644         * sunrpc/pmap_prot.c: Likewise.
60645         * sunrpc/pmap_prot2.c: Likewise.
60646         * sunrpc/pmap_rmt.c: Likewise.
60647         * sunrpc/publickey.c: Likewise.
60648         * sunrpc/rpc_cmsg.c: Likewise.
60649         * sunrpc/rpc_common.c: Likewise.
60650         * sunrpc/rpc_dtable.c: Likewise.
60651         * sunrpc/rpc_prot.c: Likewise.
60652         * sunrpc/rpc_thread.c: Likewise.
60653         * sunrpc/rtime.c: Likewise.
60654         * sunrpc/svc.c: Likewise.
60655         * sunrpc/svc_auth.c: Likewise.
60656         * sunrpc/svc_authux.c: Likewise.
60657         * sunrpc/svc_raw.c: Likewise.
60658         * sunrpc/svc_run.c: Likewise.
60659         * sunrpc/svc_simple.c: Likewise.
60660         * sunrpc/svc_tcp.c: Likewise.
60661         * sunrpc/svc_udp.c: Likewise.
60662         * sunrpc/svc_unix.c: Likewise.
60663         * sunrpc/svcauth_des.c: Likewise.
60664         * sunrpc/xcrypt.c: Likewise.
60665         * sunrpc/xdr.c: Likewise.
60666         * sunrpc/xdr_array.c: Likewise.
60667         * sunrpc/xdr_float.c: Likewise.
60668         * sunrpc/xdr_intXX_t.c: Likewise.
60669         * sunrpc/xdr_mem.c: Likewise.
60670         * sunrpc/xdr_rec.c: Likewise.
60671         * sunrpc/xdr_ref.c: Likewise.
60672         * sunrpc/xdr_sizeof.c: Likewise.
60673         * sunrpc/xdr_stdio.c: Likewise.
60675 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60677         [BZ #12650]
60678         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60679         * sysdeps/ia64/dl-tls.h: Likewise.
60680         * sysdeps/powerpc/dl-tls.h: Likewise.
60681         * sysdeps/s390/dl-tls.h: Likewise.
60682         * sysdeps/sh/dl-tls.h: Likewise.
60683         * sysdeps/sparc/dl-tls.h: Likewise.
60684         * sysdeps/x86_64/dl-tls.h: Likewise.
60685         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60687 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60689         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60690         rpath element also skip the following colon.
60691         (expand_dynamic_string_token): Add is_path parameter and pass
60692         down to DL_DST_REQUIRED and _dl_dst_substitute.
60693         (decompose_rpath): Call expand_dynamic_string_token with
60694         non-zero is_path.  Ignore empty rpaths.
60695         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60696         with zero is_path.
60698 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60701         Make cancelable.
60703 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60705         [BZ #12655]
60706         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60707         Patch by Filipe David Manana <fdmanana@apache.org>.
60709 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60711         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60712         Maintain aligned stack.
60713         (CHECK_RSP): Remove unused macro.
60715 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60717         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60718         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60720 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60722         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60724         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60726 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60728         [BZ #12518]
60729         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60730         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60731         * sysdeps/x86_64/memmove.c: New file.
60732         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60733         (memcpy): Renamed to ...
60734         (__new_memcpy): This.
60735         (memcpy): Provide GLIBC_2_14 memcpy.
60736         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60737         (memcpy): Provide GLIBC_2_2_5 memcpy.
60739 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60741         [BZ #12631]
60742         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60744 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60746         * misc/syncfs.c: New file.
60747         * misc/Makefile (routines): Add syncfs.
60748         * posix/unistd.h: Declare syncfs.
60749         * sysdeps/unix/syscalls.list: Add syncfs.
60751 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60753         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60754         open_by_handle_at.
60755         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60756         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60758         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60760         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60761         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60763 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60766         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60767         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60768         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60769         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60771         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60773         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60774         sync_file_range.c with -fexceptions.
60775         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60776         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60777         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60778         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60779         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60780         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60782         sync_file_range as cancellation point
60783         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60784         now a wrapper around __call_sync_file_range with cancellation handling.
60785         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60786         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60787         function name to __call_sync_file_range.
60788         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60789         Add call_sync_file_range.
60791 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60794         bits/timex.h.
60796 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60798         * iconv/iconv.h: Fix typo in comment.
60799         * io/fcntl.h: Likewise.
60800         * libio/stdio.h: Likewise.
60801         * posix/spawn.h: Likewise.
60802         * posix/unistd.h: Likewise.
60803         * stdlib/stdlib.h: Likewise.
60804         * time/time.h: Likewise.
60805         * wcsmbs/wchar.h: Likewise.
60807         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60808         open_by_handle): Add.
60809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60810         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60811         Augment a few comments.
60812         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60814         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60816         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60817         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60818         open_by_handle.
60820         * io/fcntl.h (AT_EMPTY_PATH): Define.
60822 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60824         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60825         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60826         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60827         to...
60828         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60829         * Versions.def: Add GLIBC_2.14.
60830         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60831         Export.
60833 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60835         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60836         round counter.
60837         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60839 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60841         [BZ #12597]
60842         * string/test-strncmp.c (do_page_test): New function.
60843         (check2): Likewise.
60844         (test_main): Call check2.
60845         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60847 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60849         [BZ #12587]
60850         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60851         Handle cache information in CPU leaf 4.
60852         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60854 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60856         [BZ #12583]
60857         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60858         character representation.
60859         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60861 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60863         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60864         END(__isnan) to END(__isnanf) to match function entry point/label
60865         EALIGN(__isnanf,...).
60867 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60869         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60871 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60873         [BZ #12510]
60874         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60875         copy from the symbol referenced in the relocation to initialize the
60876         used variable.
60877         Patch by Piotr Bury <pbury@goahead.com>.
60878         * elf/Makefile: Add rules to build and tst-unique3.
60879         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60880         * elf/tst-unique3.cc: New file.
60881         * elf/tst-unique3.h: New file.
60882         * elf/tst-unique3lib.cc: New file.
60883         * elf/tst-unique3lib2.cc: New file.
60885         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60887 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60889         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60890         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60891         to _start.
60893 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60895         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60896         to-be-loaded object along a path to loader is ld.so.
60898 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60899             Ulrich Drepper  <drepper@gmail.com>
60901         * sysdeps/x86_64/memset.S: After aligning destination, code
60902         branches to different locations depending on the value of
60903         misalignment, when multiarch is enabled. Fix this.
60905 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60907         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60908         Set _x86_64_preferred_memory_instruction for AMD processsors.
60909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60910         Set bit_Prefer_SSE_for_memop for AMD processors.
60912 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60914         * libio/fmemopen.c (fmemopen): Optimize a bit.
60916 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60918         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60920 2011-03-03  Roland McGrath  <roland@redhat.com>
60922         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60924 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60926         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60927         __bzero_ultra1 instead of __memset_ultra1.
60929 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60930             Ulrich Drepper  <drepper@gmail.com>
60932         [BZ #12509]
60933         * include/link.h (struct link_map): Add l_orig_initfini.
60934         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60935         returning unsuccessfully.
60936         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60937         close of a file loaded at startup, restore the original l_initfini
60938         list.
60939         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60940         list, store the pointer.
60941         * elf/Makefile ($(objpfx)noload-mem): New rule.
60942         (noload-ENV): Define.
60943         (tests): Add $(objpfx)noload-mem.
60944         * elf/noload.c: Include <memcheck.h>.
60945         (main): Call mtrace.  Close all opened handles.
60947 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60949         [BZ #12454]
60950         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60951         dependencies are missing.
60953 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60955         Fix __if_freereq crash: Unlike the generic version which uses free,
60956         Hurd needs munmap.
60957         * sysdeps/mach/hurd/ifreq.h: New file.
60959 2011-01-27  Petr Baudis  <pasky@suse.cz>
60960             Ulrich Drepper  <drepper@gmail.com>
60962         [BZ 12445]#
60963         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60964         to extend_alloca().
60965         * stdio-common/bug23.c: New file.
60966         * stdio-common/Makefile (tests): Add bug23.
60968 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60969             Ulrich Drepper  <drepper@gmail.com>
60971         [BZ #12489]
60972         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60973         before performing relro protection.  At old place add assertion
60974         to make sure nothing changed.
60976 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60977             Glauber de Oliveira Costa  <glommer@gmail.com>
60979         * elf/elf.h: Add new ARM TLS relocs.
60981 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60984         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60985         cast from r3.
60986         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60987         'tests' variable.
60988         * sysdeps/wordsize-64/tst-writev.c: New file.
60990 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60992         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60993         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60994         insns in _dl_start to prevent a TOC reference before relocs are
60995         resolved.
60997 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60999         [BZ #12469]
61000         * Makeconfig: Remove RANLIB definition.
61001         * Makerules: Don't use RANLIB.
61002         * aclocal.m4: Remove ranlib test.
61003         * configure.in: No need to check for ranlib.
61004         * elf/rtld-Rules: Don't use RANLIB.
61006 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61008         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61009         protection macro.
61010         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61011         inclusion protection macro.
61013         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61014         SIGRTMIN and SIGRTMAX and print information in that case only when
61015         SIGRTMIN is defined.
61017 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61019         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61020         arginfo fn returning -1.
61022         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61023         and thousands string is zero terminated.
61025 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61028         sysdeps/unix/sysv/linux/bits/socket.h.
61030 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61032         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61033         (__CPU_COUNT): Remove old macros.
61034         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61035         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61036         (__CPU_ALLOC, __CPU_FREE): Add macros.
61037         (__sched_cpualloc, __sched_cpufree): Add declarations.
61039 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61041         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61042         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61043         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61044         (readdhstai): Return value of addhstaiX call.
61045         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61046         (addgrbyX): Return value returned by cache_addgr.
61047         (readdgrbyname): Return value returned by addgrbyX.
61048         (readdgrbygid): Likewise.
61049         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61050         (addpwbyX): Return value returned by cache_addpw.
61051         (readdpwbyname): Return value returned by addhstbyX.
61052         (readdpwbyuid): Likewise.
61053         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61054         (addservbyX): Return value returned by cache_addserv.
61055         (readdservbyname): Return value returned by addservbyX:
61056         (readdservbyport): Likewise.
61057         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61058         (addhstbyX): Return value returned by cache_addhst.
61059         (readdhstbyname): Return value returned by addhstbyX.
61060         (readdhstbyaddr): Likewise.
61061         (readdhstbynamev6): Likewise.
61062         (readdhstbyaddrv6): Likewise.
61063         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61064         (readdinitgroups): Return value returned by addinitgroupsX.
61065         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61066         (prune_cache): Keep track of timeout value of re-added entries.
61067         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61068         * nscd/nscd.h: Adjust prototypes of readd* functions.
61070 2011-02-04  Roland McGrath  <roland@redhat.com>
61072         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61073         (nis_stats): Likewise.
61074         * nis/nis_modify.c (nis_modify): Likewise.
61075         * nis/nis_remove.c (nis_remove): Likewise.
61076         * nis/nis_add.c (nis_add): Likewise.
61078         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61080         * posix/fnmatch_loop.c: Add some consts.
61082         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61084 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61086         [BZ #12460]
61087         * config.make.in (config-cflags-novzeroupper): Define.
61088         * configure.in: Substitute libc_cv_cc_novzeroupper.
61089         * elf/Makefile (AVX-CFLAGS): Define.
61090         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61091         (CFLAGS-tst-auditmod4a.c): Likewise.
61092         (CFLAGS-tst-auditmod4b.c): Likewise.
61093         (CFLAGS-tst-auditmod6b.c): Likewise.
61094         (CFLAGS-tst-auditmod6c.c): Likewise.
61095         (CFLAGS-tst-auditmod7b.c): Likewise.
61096         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61098 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61100         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61101         function to the callback.
61102         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61104 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61106         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61107         of errno.
61109 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61111         [BZ #11724]
61112         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61113         of constructors.
61114         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61115         of destructors.
61116         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61118         [BZ #11724]
61119         * elf/Makefile: Add rules to build and run new test.
61120         * elf/tst-initorder.c: New file.
61121         * elf/tst-initorder.exp: New file.
61122         * elf/tst-initordera1.c: New file.
61123         * elf/tst-initordera2.c: New file.
61124         * elf/tst-initordera3.c: New file.
61125         * elf/tst-initordera4.c: New file.
61126         * elf/tst-initorderb1.c: New file.
61127         * elf/tst-initorderb2.c: New file.
61128         * elf/tst-order-a1.c: New file.
61129         * elf/tst-order-a2.c: New file.
61130         * elf/tst-order-a3.c: New file.
61131         * elf/tst-order-a4.c: New file.
61132         * elf/tst-order-b1.c: New file.
61133         * elf/tst-order-b2.c: New file.
61134         * elf/tst-order-main.c: New file.
61135         New test case by George Gensure <werkt0@gmail.com>.
61137 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61140         decoding ACE if AI_CANONIDN.
61142 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61144         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61146 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61148         * version.h (RELEASE): Bump for 2.13 release.
61149         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61151         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61153         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61154         MADV_NOHUGEPAGE.
61155         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61156         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61157         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61158         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61160         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61162         * posix/getconf.c: Update copyright year.
61163         * catgets/gencat.c: Likewise.
61164         * csu/version.c: Likewise.
61165         * debug/catchsegv.sh: Likewise.
61166         * debug/xtrace.sh: Likewise.
61167         * elf/ldconfig.c: Likewise.
61168         * elf/ldd.bash.in: Likewise.
61169         * elf/sprof.c (print_version): Likewise.
61170         * iconv/iconv_prog.c: Likewise.
61171         * iconv/iconvconfig.c: Likewise.
61172         * locale/programs/locale.c: Likewise.
61173         * locale/programs/localedef.c: Likewise.
61174         * malloc/memusage.sh: Likewise.
61175         * malloc/mtrace.pl: Likewise.
61176         * nscd/nscd.c (print_version): Likewise.
61177         * nss/getent.c: Likewise.
61179         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61180         PF_CAIF, and PF_ALG.
61181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61183 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61185         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61186         (modules-names): Use them.
61187         (ifunc-test-modules, ifunc-pie-tests): Define.
61188         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61189         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61190         (test-extras): Likewise.
61191         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61192         $(compile-command.c).
61193         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61194         (all-built-dso): Define.
61195         (check-textrel.out, check-execstack.out): Depend on it.
61197         * configure.in: Don't override --enable-multi-arch.
61199 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61201         [BZ #6812]
61202         * nscd/hstcache.c (tryagain): Define.
61203         (cache_addhst): Return tryagain not notfound for temporary errors.
61204         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61205         failed.
61207 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61209         [BZ #10563]
61210         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61211         to make the syscall.
61212         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61214         [BZ #12378]
61215         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61216         and fall back to matching as normal character if the string ends before
61217         the matching ']' is found.  This is what POSIX requires.
61218         * posix/testfnm.c: Adjust test result.
61219         * posix/globtest.sh: Adjust test result.  Add new test.
61220         * posix/tst-fnmatch.input: Likewise.
61221         * posix/tst-fnmatch2.c: Add new test.
61223 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61225         * elf/Makefile (check-execstack): Revert last change.  Depend on
61226         check-execstack.h.
61227         (check-execstack.h): New target.
61228         (generated): Add check-execstack.h.
61229         * elf/check-execstack.c: Include "check-execstack.h".
61230         (main): Revert last change.
61231         (handle_file): Return zero if GNU_STACK is absent and
61232         DEFAULT_STACK_PERMS doesn't include PF_X.
61234 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61236         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61237         in child fails because the descriptor is already closed.
61238         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61239         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61240         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61242         [BZ #12397]
61243         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61244         syscall.
61246         [BZ #10484]
61247         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61248         temporary buffer used to handle multi lookups locally.
61249         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61251 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61253         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61254         loader is ld.so.
61256 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61258         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61259         alignment for SSE2.
61261 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61263         [BZ #12394]
61264         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61265         characters.  When rounding increased number of integer digits recompute
61266         number of groups.
61267         * stdio-common/tst-grouping.c: New file.
61268         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61270 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61272         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61273         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61275         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61276         void.
61277         * bits/select.h: Likewise.
61279 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61281         * po/ja.po: Update from translation team.
61283 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61285         [BZ #11155]
61286         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61287         implementation just like for lxstat, fxstatat, et al.
61289 2010-12-27  Jim Meyering  <meyering@redhat.com>
61291         [BZ #12348]
61292         * posix/regexec.c (build_trtable): Return failure indication upon
61293         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61295 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61297         [BZ #12201]
61298         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61299         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61300         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61301         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61303         [BZ #12207]
61304         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61306         [BZ #12204]
61307         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61308         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61310 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61312         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61313         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61314         script has SORT_BY_INIT_PRIORITY.
61315         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61316         NO_CTORS_DTORS_SECTIONS is defined.
61317         * elf/soinit.c: Likewise.
61318         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61319         NO_CTORS_DTORS_SECTIONS is defined.
61320         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61321         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61322         * sysdeps/sh/init-first.c: Likewise.
61323         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61325 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61327         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61328         always use the slow path.
61330 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61332         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61333         similar rule which adds the sysdep directories to the header search in
61334         order to pick up the correct platform stackinfo.h.
61335         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61336         perform test if it is, otherwise return successfully without testing.
61337         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61338         DEFAULT_STACK_PERMS define in stackinfo.h.
61339         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61340         defined in stackinfo.h.
61341         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61342         DEFAULT_STACK_PERMS defined in stackinfo.h.
61343         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61344         * sysdeps/ia64/stackinfo.h: Likewise.
61345         * sysdeps/s390/stackinfo.h: Likewise.
61346         * sysdeps/sh/stackinfo.h: Likewise.
61347         * sysdeps/sparc/stackinfo.h: Likewise.
61348         * sysdeps/x86_64/stackinfo.h: Likewise.
61349         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61350         PF_X for powerpc64.  Retain PF_X for powerpc32.
61352 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61354         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61355         accurately.
61356         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61357         GETDENTS_64BIT_ALIGNED.
61359 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61361         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61363 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61365         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61366         _GNU_SOURCE.
61368         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61369         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61370         Remove __restrict.
61371         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61372         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61374 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61376         [BZ #11655]
61377         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61378         are initialized.
61380 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61382         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61384 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61386         * po/it.po: Update from translation team.
61388 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61390         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61391         unused codes.
61393 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61395         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61397 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61399         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61400         specially.
61401         (gaih_getanswer_slice): Likewise.
61403 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61407 2010-05-31  Petr Baudis  <pasky@suse.cz>
61409         [BZ #11149]
61410         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61411         silently even in the chroot mode.
61413 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61415         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61416         last patch a bit.  Pretty printing
61418 2010-05-31  Petr Baudis <pasky@suse.cz>
61420         [BZ #10085]
61421         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61422         initialization of skip_initgroups_dyn.
61424 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61426         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61427         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61429 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61431         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61433 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61435         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61436         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61437         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61438         ($(objpfx)tst-fnmatch-mem): New rule.
61439         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61440         * posix/tst-fnmatch.c (main): Call mtrace.
61442 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61445         Support Intel processor model 6 and model 0x2c.
61447 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61449         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61450           signed comparison.
61452 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61454         [BZ #12205]
61455         * string/test-strncasecmp.c (check_result): New function.
61456         (do_one_test): Use it.
61457         (check1): New function.
61458         (test_main): Use it.
61459         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61460         Support strcasecmp and strncasecmp.
61462 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61464         [BZ #12194]
61465         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61466         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61468 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61470         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61471         IFUNC support.
61472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61473         memset-x86-64.
61474         * sysdeps/x86_64/multiarch/bzero.S: New file.
61475         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61476         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61477         * sysdeps/x86_64/multiarch/memset.S: New file.
61478         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61480         Set bit_Prefer_SSE_for_memop for Intel processors.
61481         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61482         Define.
61483         (index_Prefer_SSE_for_memop): Define.
61484         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61486 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61488         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61489         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61491 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61493         [BZ #12191]
61494         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61495         (__x86_64_raw_data_cache_size_half): Likewise.
61496         (__x86_64_raw_shared_cache_size): Likewise.
61497         (__x86_64_raw_shared_cache_size_half): Likewise.
61499         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61500         (__x86_64_raw_data_cache_size_half): Likewise.
61501         (__x86_64_raw_shared_cache_size): Likewise.
61502         (__x86_64_raw_shared_cache_size_half): Likewise.
61503         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61504         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61505         and __x86_64_raw_shared_cache_size_half.  Round
61506         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61507         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61508         to multiple of 256 bytes.
61510 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61512         [BZ #12167]
61513         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61514         of inacessible symlinks.  Verify result of symlink before returning it.
61515         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61516         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61518 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61520         * math/math.h (isinf): Fix typo in comment.
61522 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61524         * po/da.po: Update from translation team.
61526 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61528         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61529         is added to the list.
61531 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61532             Ulrich Drepper  <drepper@gmail.com>
61534         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61535         the global list here.  Move code to...
61536         (_dl_add_to_namespace_list): ...here.  New function.
61537         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61538         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61539         * elf/dl-load.c (lose): Don't remove the element from the list.
61540         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61541         (_dl_map_object): Likewise.
61543 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61545         [BZ #12159]
61546         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61547         into all bytes of SSE register.
61548         Patch by Richard Li <richardpku@gmail.com>.
61550 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61552         [BZ #12140]
61553         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61554         perturbing.
61556 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61558         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61559         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61560         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61561         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61563         submachine.
61564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61566 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61568         * include/dlfcn.h (__RTLD_SECURE): Define.
61569         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61570         mode & __RTLD_SECURE instead.
61571         (open_path): Rename preloaded parameter to secure.
61572         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61573         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61574         * elf/dl-deps.c (openaux): Likewise.
61575         * elf/rtld.c (struct map_args): Remove is_preloaded.
61576         (map_doit): Don't use it.
61577         (dl_main): Likewise.
61578         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61579         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61581 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61583         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61584         (sysd-rules-targets): Remove duplicates.
61585         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61586         rtld-%.$o dependency.
61588 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61590         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61591         _dl_map_object do it.
61593 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61595         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61596         fast fma builtins, define the macros in the C99 standard.
61597         (FP_FAST_FMAF): Likewise.
61598         (FP_FAST_FMAL): Likewise.
61599         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61601         * bits/mathdef.h: Update copyright year.
61602         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61604 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61606         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61607         builtins, define the macros in the C99 standard.
61608         (FP_FAST_FMAF): Likewise.
61609         (FP_FAST_FMAL): Likewise.
61610         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61611         multiply/add.
61612         (FP_FAST_FMAF): Likewise.
61614 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61616         [BZ #3268]
61617         * math/libm-test.inc (fma_test): Some new testcases.
61618         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61619         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61620         y and infinite z.  Do multiplication by C already in long double.
61621         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61623         y and infinite z.  Do bitwise or of inexact bit into u.d.
61624         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61625         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61626         * sysdeps/i386/fpu/s_fma.S: Removed.
61627         * sysdeps/i386/fpu/s_fmal.S: Removed.
61629 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61631         [BZ #3268]
61632         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61634         computation is not scheduled after fetestexcept.  Fix value
61635         of minimum denormal long double.
61637 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61639         [BZ #3268]
61640         * math/libm-test.inc (fma_test): Add some more tests.
61641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61642         correctly.
61644 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61646         * scripts/data/localplt-s390-linux-gnu.data: New file.
61647         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61649 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61651         [BZ #3268]
61652         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61653         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61654         instead of dbl-64.
61655         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61656         inlines.
61657         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61659         if one of x and y is very large and the other is subnormal.
61660         * sysdeps/s390/fpu/s_fmaf.c: New file.
61661         * sysdeps/s390/fpu/s_fma.c: New file.
61662         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61663         * sysdeps/powerpc/fpu/s_fma.S: New file.
61664         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61665         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61666         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61668 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61670         [BZ #3268]
61671         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61672         fma tests.
61673         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61674         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61675         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61676         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61677         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61678         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61679         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61681 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61683         [BZ #12078]
61684         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61685         * posix/bug-regex31.input: Add test case.
61687 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61689         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61690         * posix/bug-regex31.input: New file.
61692         [BZ #12078]
61693         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61694         (parse_sub_exp): Fix last change, use postorder.
61696         * posix/bug-regex31.c: New file.
61697         * posix/Makefile: Add rules to build and run bug-regex31.
61699         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61701         [BZ #12078]
61702         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61704         [BZ #12108]
61705         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61706         to have entries in sys_siglist.
61708         [BZ #12093]
61709         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61710         be NULL.
61712 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61714         [BZ #3268]
61715         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61716         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61717         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61718         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61719         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61720         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61721         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61722         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61723         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61724         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61725         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61726         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61727         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61728         * math/ftestexcept.c (fetestexcept): Likewise.
61729         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61730         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61731         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61732         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61733         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61734         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61735         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61737 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61739         [BZ #12107]
61740         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61741         newline.
61743 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61745         * string/bug-strstr1.c: New file.
61746         * string/Makefile: Add rules to build and run bug-strstr1.
61748 2010-10-05  Eric Blake  <eblake@redhat.com>
61750         [BZ #12092]
61751         * string/str-two-way.h (two_way_long_needle): Always clear memory
61752         when skipping input due to the shift table.
61754 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61756         [BZ #12005]
61757         * malloc/mcheck.c: Handle large requests.
61759         [BZ #12077]
61760         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61761         for strncmp and strncasecmp.
61762         * string/stratcliff.c: Add tests for strcmp and strncmp.
61763         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61765 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61767         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61768         __set_fpscr.
61770 2010-09-30  Andreas Jaeger  <aj@suse.de>
61772         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61773         (CGROUP_SUPER_MAGIC): Define.
61774         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61775         Handle btrfs and cgroup file systems.
61776         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61777         Likewise.
61779 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61781         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61782         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61784 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61786         [BZ #12067]
61787         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61788         trying to locate the ELF header.
61790 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61792         [BZ #11611]
61793         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61794         Mask out sign-bit copies when constructing f_fsid.
61796 2010-09-24  Petr Baudis <pasky@suse.cz>
61798         * debug/stack_chk_fail_local.c: Add missing licence exception.
61799         * debug/warning-nop.c: Likewise.
61801 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61803         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61804         implementing getdents64 using getdents syscall, set d_type if
61805         __ASSUME_GETDENTS32_D_TYPE.
61807 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61809         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61810         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61812 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61814         [BZ #12037]
61815         * posix/unistd.h: Undo change of feature selection for ftruncate from
61816         2010-01-11.
61818 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61820         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61821         detection.
61823 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61825         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61826         fanotify_mark.
61827         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61829 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61831         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61832         variables after CHECK_SP call.
61833         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61835 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61836             Ulrich Drepper  <drepper@redhat.com>
61838         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61839         re-relocationg ld.so.
61840         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61841         _dl_init_paths call.
61842         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61843         here anymore.
61845 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61847         * resolv/res_init.c (__res_vinit): Count the default server we added.
61849 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61850             Ulrich Drepper  <drepper@redhat.com>
61852         [BZ #11968]
61853         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61854         (____longjmp_chk): Use %ebx for saving value across system call.
61855         Add unwind info.
61857 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61859         * manual/Makefile: Don't mix pattern rules with normal rules.
61861 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61863         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61864         operation.
61865         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61866         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61867         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61868         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61870         Likewise.
61872 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61874         [BZ #11979]
61875         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61876         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61878 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61880         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61881         * sysdeps/x86_64/addmul_1.S: Likewise.
61882         * sysdeps/x86_64/lshift.S: Likewise.
61883         * sysdeps/x86_64/mul_1.S: Likewise.
61884         * sysdeps/x86_64/rshift.S: Likewise.
61885         * sysdeps/x86_64/sub_n.S: Likewise.
61886         * sysdeps/x86_64/submul_1.S: Likewise.
61888 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61890         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61891         Define __sched_param instead of SCHED_* and sched_param when
61892         <bits/sched.h> is included with __need_schedparam defined.
61893         * bits/sched.h [__need_schedparam]
61894         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61895         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61896         (__defined_schedparam): Define to 1.
61897         (__sched_param): New structure, identical to sched_param.
61898         (__need_schedparam): Undefine.
61900 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61902         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61903         (epoll_create1): Declare.
61905         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61907 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61909         [BZ #7066]
61910         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61911         shifting retval into place.
61913 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61915         * nis/rpcsvc/nis.h: Update copyright notice.
61916         * nis/rpcsvc/nis.x: Likewise.
61917         * nis/rpcsvc/nis_callback.h: Likewise.
61918         * nis/rpcsvc/nis_callback.x: Likewise.
61919         * nis/rpcsvc/nis_object.x: Likewise.
61920         * nis/rpcsvc/nis_tags.h: Likewise.
61921         * nis/rpcsvc/yp.h: Likewise.
61922         * nis/rpcsvc/yp.x: Likewise.
61923         * nis/rpcsvc/ypupd.h: Likewise.
61924         * nis/yp_xdr.c: Likewise.
61925         * nis/ypupdate_xdr.c: Likewise.
61927         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61928         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61929         (pmap_getport): Use __libc_rpc_getport.
61930         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61931         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61932         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61934 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61937         fanotify_mark.
61939 2010-08-27  Roland McGrath  <roland@redhat.com>
61941         * sysdeps/i386/i686/multiarch/Makefile
61942         (CFLAGS-varshift.c): New variable.
61944 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61946         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61947         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61949         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61951         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61953 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61955         * sysdeps/x86_64/strlen.S: Unroll the loop.
61956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61957         strlen-sse2 strlen-sse2-bsf.
61958         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61959         __strlen_no_bsf if bit_Slow_BSF is set.
61960         (__strlen_sse42): Removed.
61961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61962         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61964 2010-08-25  Roland McGrath  <roland@redhat.com>
61966         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61967         * sysdeps/x86_64/multiarch/varshift.c: New file.
61968         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61969         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61970         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61971         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61973 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61976         strlen-sse2 strlen-sse2-bsf.
61977         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61978         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61979         (__strlen_sse2): Removed.
61980         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61983         bit_Slow_BSF for Atom.
61984         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61985         (index_Slow_BSF): Define.
61986         (HAS_SLOW_BSF): Define.
61988 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61990         [BZ #10851]
61991         * resolv/res_init.c (__res_vinit): When no server address at all
61992         is given default to loopback.
61994 2010-08-24  Roland McGrath  <roland@redhat.com>
61996         * configure.in: Remove config-name.h generation.
61997         * configure: Regenerated.
61998         * config-name.in: File removed.
61999         * scripts/config-uname.sh: New file.
62000         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62001         ($(objdir)config-name.h): New target.
62003         * sunrpc/rpc_parse.h: Avoid nested comment.
62005 2010-08-24  Richard Henderson  <rth@redhat.com>
62006             Ulrich Drepper  <drepper@redhat.com>
62007             H.J. Lu  <hongjiu.lu@intel.com>
62009         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62011         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62012         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62013         _mm_alignr_epi8 with _mm_loadu_si128.
62014         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62015         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62016         (__m128i_shift_right): Removed.
62017         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62018         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62019         * sysdeps/x86_64/multiarch/varshift.h: New file.
62020         * sysdeps/x86_64/multiarch/varshift.S: New file.
62022 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62024         * configure.in: Move assembler checks to before sysdep dir checking.
62026 2010-08-20  Petr Baudis  <pasky@suse.cz>
62028         * LICENSES: Sync the sunrpc license.
62030 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62032         * sunrpc/auth_des.c: Update copyright notice once again.
62033         * sunrpc/auth_none.c: Likewise.
62034         * sunrpc/auth_unix.c: Likewise.
62035         * sunrpc/authdes_prot.c: Likewise.
62036         * sunrpc/authuxprot.c: Likewise.
62037         * sunrpc/bindrsvprt.c: Likewise.
62038         * sunrpc/clnt_gen.c: Likewise.
62039         * sunrpc/clnt_perr.c: Likewise.
62040         * sunrpc/clnt_raw.c: Likewise.
62041         * sunrpc/clnt_simp.c: Likewise.
62042         * sunrpc/clnt_tcp.c: Likewise.
62043         * sunrpc/clnt_udp.c: Likewise.
62044         * sunrpc/clnt_unix.c: Likewise.
62045         * sunrpc/des_crypt.c: Likewise.
62046         * sunrpc/des_soft.c: Likewise.
62047         * sunrpc/get_myaddr.c: Likewise.
62048         * sunrpc/getrpcport.c: Likewise.
62049         * sunrpc/key_call.c: Likewise.
62050         * sunrpc/key_prot.c: Likewise.
62051         * sunrpc/openchild.c: Likewise.
62052         * sunrpc/pm_getmaps.c: Likewise.
62053         * sunrpc/pm_getport.c: Likewise.
62054         * sunrpc/pmap_clnt.c: Likewise.
62055         * sunrpc/pmap_prot.c: Likewise.
62056         * sunrpc/pmap_prot2.c: Likewise.
62057         * sunrpc/pmap_rmt.c: Likewise.
62058         * sunrpc/rpc/auth.h: Likewise.
62059         * sunrpc/rpc/auth_unix.h: Likewise.
62060         * sunrpc/rpc/clnt.h: Likewise.
62061         * sunrpc/rpc/des_crypt.h: Likewise.
62062         * sunrpc/rpc/key_prot.h: Likewise.
62063         * sunrpc/rpc/netdb.h: Likewise.
62064         * sunrpc/rpc/pmap_clnt.h: Likewise.
62065         * sunrpc/rpc/pmap_prot.h: Likewise.
62066         * sunrpc/rpc/pmap_rmt.h: Likewise.
62067         * sunrpc/rpc/rpc.h: Likewise.
62068         * sunrpc/rpc/rpc_des.h: Likewise.
62069         * sunrpc/rpc/rpc_msg.h: Likewise.
62070         * sunrpc/rpc/svc.h: Likewise.
62071         * sunrpc/rpc/svc_auth.h: Likewise.
62072         * sunrpc/rpc/types.h: Likewise.
62073         * sunrpc/rpc/xdr.h: Likewise.
62074         * sunrpc/rpc_clntout.c: Likewise.
62075         * sunrpc/rpc_cmsg.c: Likewise.
62076         * sunrpc/rpc_common.c: Likewise.
62077         * sunrpc/rpc_cout.c: Likewise.
62078         * sunrpc/rpc_dtable.c: Likewise.
62079         * sunrpc/rpc_hout.c: Likewise.
62080         * sunrpc/rpc_main.c: Likewise.
62081         * sunrpc/rpc_parse.c: Likewise.
62082         * sunrpc/rpc_parse.h: Likewise.
62083         * sunrpc/rpc_prot.c: Likewise.
62084         * sunrpc/rpc_sample.c: Likewise.
62085         * sunrpc/rpc_scan.c: Likewise.
62086         * sunrpc/rpc_scan.h: Likewise.
62087         * sunrpc/rpc_svcout.c: Likewise.
62088         * sunrpc/rpc_tblout.c: Likewise.
62089         * sunrpc/rpc_util.c: Likewise.
62090         * sunrpc/rpc_util.h: Likewise.
62091         * sunrpc/rpcinfo.c: Likewise.
62092         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62093         * sunrpc/rpcsvc/key_prot.x: Likewise.
62094         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62095         * sunrpc/rpcsvc/mount.x: Likewise.
62096         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62097         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62098         * sunrpc/rpcsvc/rex.x: Likewise.
62099         * sunrpc/rpcsvc/rstat.x: Likewise.
62100         * sunrpc/rpcsvc/rusers.x: Likewise.
62101         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62102         * sunrpc/rpcsvc/spray.x: Likewise.
62103         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62104         * sunrpc/rtime.c: Likewise.
62105         * sunrpc/svc.c: Likewise.
62106         * sunrpc/svc_auth.c: Likewise.
62107         * sunrpc/svc_authux.c: Likewise.
62108         * sunrpc/svc_raw.c: Likewise.
62109         * sunrpc/svc_run.c: Likewise.
62110         * sunrpc/svc_simple.c: Likewise.
62111         * sunrpc/svc_tcp.c: Likewise.
62112         * sunrpc/svc_udp.c: Likewise.
62113         * sunrpc/svc_unix.c: Likewise.
62114         * sunrpc/svcauth_des.c: Likewise.
62115         * sunrpc/xcrypt.c: Likewise.
62116         * sunrpc/xdr.c: Likewise.
62117         * sunrpc/xdr_array.c: Likewise.
62118         * sunrpc/xdr_float.c: Likewise.
62119         * sunrpc/xdr_mem.c: Likewise.
62120         * sunrpc/xdr_rec.c: Likewise.
62121         * sunrpc/xdr_ref.c: Likewise.
62122         * sunrpc/xdr_sizeof.c: Likewise.
62123         * sunrpc/xdr_stdio.c: Likewise.
62125         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62126         handling.
62128 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62130         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62132 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62134         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62135         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62136         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62137         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62138         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62139         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62140         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62141         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62143         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62144         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62145         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62146         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62147         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62149 2010-07-26  Anton Blanchard  <anton@samba.org>
62151         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62152         * malloc/arena.c (heap_trim): Likewise.
62154 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62156         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62157         here.  Not...
62158         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62159         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62161 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62163         * sysdeps/i386/elf/Makefile: New file.
62165 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62167         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62168         from fanotify_init.
62169         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62172 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62174         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62175         of strncasecmp_l.
62176         * sysdeps/multiarch/strcmp.S: Likewise.
62178 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62180         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62181         strncase_l-nonascii.
62182         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62183         Add strncase_l-ssse3.
62184         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62185         * sysdeps/x86_64/strcmp.S: Likewise.
62186         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62187         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62188         * sysdeps/x86_64/strncase.S: New file.
62189         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62190         * sysdeps/x86_64/strncase_l.S: New file.
62191         * string/Makefile (strop-tests): Add strncasecmp.
62192         * string/test-strncasecmp.c: New file.
62194         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62195         warning.
62197         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62198         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62200 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62202         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62204 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62206         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62207         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62208         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62210 2010-05-01  Alan Modra  <amodra@gmail.com>
62212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62213         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62214         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62215         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62216         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62217         tidying.  Don't tail-call __sigjmp_save for static lib.
62218         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62219         save location.
62220         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62221         (CALL_MCOUNT): Add eh info, and nop after bl.
62222         (TAIL_CALL_SYSCALL_ERROR): New macro.
62223         (PSEUDO_RET): Use it.
62224         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62225         Correct save location of integer regs and cr.
62226         (_dl_profile_resolve): Correct cr save location.  Delete nops
62227         after bl when SHARED.  Reduce cfi size a little by better
62228         placement of cfi directives.
62229         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62230         make a stack frame.  Instead use parm save area as a temp.
62231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62232         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62234         Don't make a stack frame for parent, use parm save area.
62235         Increase child stack frame to 112 bytes.  Don't save unused reg,
62236         and adjust reg usage.  Set up cfi on error recovery and
62237         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62239         (__makecontext): Add dummy nop after jump to exit.
62240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62241         Use correct parm save area and cr save, reduce stack frame.
62242         Correct cfi for possible PSEUDO_RET frame setup.
62243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62244         Branch to local label emitted by PSEUDO_RET rather than
62245         __syscall_error.
62247 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62249         [BZ #11904]
62250         * locale/programs/locale.c (print_assignment): New function.
62251         (show_locale_vars): Use it.
62253 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62255         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62256         field.
62257         (struct statfs64): Likewise.
62258         (_STATFS_F_FLAGS): Define.
62259         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62261         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62262         (ST_VALID): Define locally.
62263         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62264         __statvfs_getflags, use the provided value.
62265         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62266         __ASSUME_STATFS_F_FLAGS.
62268         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62270         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62271         Add sys/fanotify.h.
62272         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62273         fanotify_mask for GLIBC_2.13.
62274         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62275         fanotify_init and fanotify_mark.
62276         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62277         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62279         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62280         Add prlimit.
62281         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62282         prlimit64 for GLIBC_2.13.
62283         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62284         prlimit64.
62285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62286         syscall.
62287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62288         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62289         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62290         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62292         add prlimit alias.
62293         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62295         [BZ #11903]
62296         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62297         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62299         * nss/Makefile: Add rules to build and run tst-nss-test1.
62300         * shlib-versions: Add entry for libnss_test1.
62301         * nss/nss_test1.c: New file.
62302         * nss/tst-nss-test1.c: New file.
62304         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62305         (__nss_configure_lookup): Set appropriate entry in
62306         __nss_configure_lookup to true.
62307         * nss/nsswitch.h: Define enum with indeces of databases in
62308         databases and __nss_database_custom arrays.  Declare
62309         __nss_database_custom.
62310         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62311         to avoid using nscd when custom rules are installed.
62312         * nss/getXXbyYY_r.c: Likewise.
62313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62315         * nss/nss_files/files-parse.c: Whitespace fixes.
62317 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62319         [BZ #11883]
62320         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62321         * posix/fnmatch_loop.c: Likewise.
62323 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62325         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62326         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62327         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62328         * Versions.def [GLIBC_2.13]: Add.
62330 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62332         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62333         Also fail if tpwd after pwuid call is NULL.
62335 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62337         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62338         when converting to ms.
62340 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62342         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62343         EOPNOTSUPP errors with ENOTTY.
62344         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62345         EOPNOTSUPP errors with ENOTTY.
62347 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62349         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62350         Add strcasecmp_l-ssse3.
62351         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62352         strcasecmp.
62353         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62354         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62355         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62357 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62359         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62361         * string/Makefile (strop-tests): Add strcasecmp.
62362         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62363         strcasecmp_l-nonascii.
62364         (gen-as-const-headers): Add locale-defines.sym.
62365         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62366         * sysdeps/x86_64/strcasecmp.S: New file.
62367         * sysdeps/x86_64/strcasecmp_l.S: New file.
62368         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62369         * sysdeps/x86_64/locale-defines.sym: New file.
62370         * string/test-strcasecmp.c: New file.
62372         * string/test-strcasestr.c: Test both ends of the range of characters.
62373         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62375 2010-07-29  Roland McGrath  <roland@redhat.com>
62377         [BZ #11856]
62378         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62380 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62382         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62383         for ld.so.
62385 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62387         * manual/memory.texi (Malloc Tunable Parameters): Document
62388         M_PERTURB.
62390 2010-07-26  Roland McGrath  <roland@redhat.com>
62392         [BZ #11840]
62393         * configure.in (-fgnu89-inline check): Set and substitute
62394         gnu89_inline, not libc_cv_gnu89_inline.
62395         * configure: Regenerated.
62396         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62398 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62400         * string/test-strnlen.c: New file.
62401         * string/Makefile (strop-tests): Add strnlen.
62402         * string/tester.c (test_strnlen): Add a few more test cases.
62403         * string/tst-strlen.c: Better error reporting.
62405         * sysdeps/x86_64/strnlen.S: New file.
62407 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62409         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62410         lower-latency instructions.
62412 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62414         * string/test-strcasestr.c: New file.
62415         * string/test-strstr.c: New file.
62416         * string/Makefile (strop-tests): Add strstr and strcasestr.
62417         * string/str-two-way.h: Don't undefine MAX.
62418         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62420 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62423         strcasestr-nonascii.
62424         (CFLAGS-strcasestr-nonascii.c): Define.
62425         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62427         Remove unused attribute.
62429 2010-07-20  Roland McGrath  <roland@redhat.com>
62431         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62432         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62433         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62434         like LD_HWCAP_MASK can disable hwcaps.
62436 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62438         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62440 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62442         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62443         call in strcasestr.
62444         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62445         __strcasestr_sse42_nonascii.
62446         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62447         strcasestr-nonascii.c.
62448         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62450 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62452         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62453         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62454         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62455         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62457 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62459         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62460         fcntl.
62462 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62464         [BZ #11577]
62465         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62466         dl_signal_cerror.
62468 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62470         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62471         _PC_PIPE_BUF using F_GETPIPE_SZ.
62473 2010-07-05  Roland McGrath  <roland@redhat.com>
62475         * manual/arith.texi (Rounding Functions): Fix rint description
62476         implicit in round description.
62478 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62480         * elf/Makefile: Fix linking for a few tests to make recent linker
62481         happy.
62483 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62485         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62486         $(common-objpfx)libc_nonshared.a.
62488 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62490         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62491         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62492         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62493         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62494         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62495         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62496         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62497         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62512         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62513         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62514         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62515         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62516         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62517         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62518         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62519         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62520         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62521         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62522         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62523         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62539 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62541         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62542         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62543         * string/memmove.c (memmove): Renamed to ...
62544         (MEMMOVE): ...this.  Default to memmove.
62545         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62546         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62547         (END_CHK): Define.
62548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62549         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62550         mempcpy-ssse3-back memmove-ssse3-back.
62551         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62552         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62553         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62554         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62555         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62556         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62557         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62558         * sysdeps/x86_64/multiarch/memmove.c: New file.
62559         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62560         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62561         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62562         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62563         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62564         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62565         Define.
62566         (index_Fast_Copy_Backward): Define.
62567         (HAS_ARCH_FEATURE): Define.
62568         (HAS_FAST_REP_STRING): Define.
62569         (HAS_FAST_COPY_BACKWARD): Define.
62571 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62573         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62574         Restore proper fallback handling.
62576 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62578         [BZ #11701]
62579         * posix/group_member.c (__group_member): Correct checking loop.
62581         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62582         OOM in getpwuid_r correctly.  Return error number when the caller
62583         should return, otherwise -1.
62584         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62585         call returning > 0 value.
62586         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62588 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62590         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62591         libc_nonshared.a from targets in modules-names.
62593 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62595         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62596         requires it.
62598 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62600         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62601         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62605 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62607         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62609 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62611         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62612         and F_GETPIPE_SZ.
62613         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62614         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62617         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62618         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62620 2010-06-14  Roland McGrath  <roland@redhat.com>
62622         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62624 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62626         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62627         __REDIRECT followed by __THROW.
62628         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62629         * posix/getopt.h (getopt): Likewise.
62631 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62633         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62634         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62635         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62636         in AT_FLAGS.
62637         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62638         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62640 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62642         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62644 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62646         [BZ #11640]
62647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62648         Properly check family and model.
62650 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62652         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62654 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62656         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62658 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62660         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62661         symbol reference.
62663 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62665         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62666         symbol reference.
62668 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62670         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62671         and internal_recvmmsg.
62672         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62673         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62674         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62675         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62677         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62678         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62679         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62681 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62683         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62685 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62687         POWER7 optimizations.
62688         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62689         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62691 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62693         * version.h: Update for 2.13 development version.
62695 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62697         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62698         exceptions.  Return 0.
62700 2010-05-07  Roland McGrath  <roland@redhat.com>
62702         * elf/ldconfig.c (main): Add a const.
62704 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62706         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62707         (args_options): Add no-idn option.
62708         (ahosts_keys_int): Add idn_flags to ai_flags.
62709         (parse_option): Handle 'i' option to clear idn_flags.
62711         * malloc/malloc.c (_int_free): Possible race in the most recently
62712         added check.  Only act on the data if no current modification
62713         happened.
62715 See ChangeLog.17 for earlier changes.