Regenerate libc.pot for 2.22 release.
[glibc.git] / ChangeLog
blob720a20d9be0c3418c040aa783737802670467178
1 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
3         * po/libc.pot: Regenerated.
5 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7         [BZ #18740]
8         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9         float-vlen4-arch-ext-cflags): Removed.
10         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15         [BZ #14113]
16         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17         aligned to __aligned__.
18         (pthread_cond_t, pthread_rwlock_t): Likewise.
20 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27         (struct sigaction): Change sa_flags from a long to an int, and add
28         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34         sysdeps/generic/sysdep.h include.
35         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
36         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
37         sysdeps/hppa/sysdep.h.
38         (ENTRY, PSEUDO): Undefine before defining.
40 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
42         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
43         from scratch to use INTERNAL_SYSCALL.
45 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
47         [BZ #18078]
48         * scripts/check-localplt.awk: Support alternate relocations.
49         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
50         sections.
51         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
52         malloc entries with + REL R_386_GLOB_DAT.
53         * sysdeps/x86_64/localplt.data: New file.
55 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
57         [BZ #18731]
58         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
59         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
60         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
62 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
64         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
66 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
68         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
69         directly in terms of __sync_fetch_and_add and delete (int) cast.
71 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
73         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
74         the -D_ASM_IA64_CURRENT_H flag.
76 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
78         [BZ #18641]
79         * pwd/pwd.h (putpwent): Delete __nonnull markings.
81 2015-07-27  Andreas Schwab  <schwab@suse.de>
83         * conform/conformtest.pl (checknamespace): Filter out string
84         literals while tokenizing.
86 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
88         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
89         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
90         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
92 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
94         * nptl/tst-join7mod.c: Add #include <string.h>.
96 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
98         * sysdeps/nios2/libm-test-ulps: Update.
100 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
102         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
103         Fix order of arguments to the rt_sigprocmask syscall.
104         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
105         Likewise.
107 2015-07-24  Roland McGrath  <roland@hack.frob.com>
109         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
111 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
113         [BZ #18457]
114         * nptl/Makefile (tests): New test case tst-join7.
115         (modules-names): New test case module tst-join7mod.
116         * nptl/tst-join7.c: New file.
117         * nptl/tst-join7mod.c: New file.
118         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
119         all translation units in libc.so, libpthread.so and rtld.
121 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
125 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
127         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
132         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
135         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
136         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
138         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
139         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
140         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
142         implementation.
144 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
146         [BZ #17711]
147         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
148         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
149         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
150         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
151         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
152         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
154 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
156         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
157         instead of just saying load lock in the comments.
159 2015-07-23  Roland McGrath  <roland@hack.frob.com>
161         * sysdeps/unix/Subdirs: Moved ...
162         * sysdeps/posix/Subdirs: ... here.
163         * login/pty.h (struct termios, struct winsize): Add forward decls.
164         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
165         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
166         * sysdeps/arm/nacl/libc.abilist: Updated.
167         * sysdeps/nacl/libutil.abilist: New file.
169         * bits/signum.h: Update comments to mention 1003.1-2013 too.
170         (SIGWINCH): New macro.
172         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
173         * sysdeps/arm/nacl/libc.abilist: Add it.
175 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
177         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
179 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
181         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
182         Swap __glibc_reserved0 and sa_flags order.
184 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
186         [BZ #18657]
187         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
188         are pending TLS destructor calls.
189         * include/link.h (struct link_map): Add concurrency note for
190         L_TLS_DTOR_COUNT.
191         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
192         Don't touch the link map flag.  Atomically increment
193         l_tls_dtor_count.
194         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
195         Avoid taking the load lock and don't touch the link map flag.
196         * stdlib/tst-tls-atexit-nodelete.c: New test case.
197         * stdlib/Makefile (tests): Use it.
198         * stdlib/tst-tls-atexit.c (do_test): dlopen
199         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
200         to allow tst-tls-atexit-nodelete test case to use it.
202 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
204         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
205         to bits/types.h.
206         (msgqnum_t): New typedef.
207         (msglen_t): Likewise.
208         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
209         and msg_qbytes type to msglen_t.
211 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
213         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
214         pad0 to __glibc_reserved0.
215         (struct stat64): Likewise.
217 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
219         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
220         Change sa_flags from a long to an int and add __glibc_reserved0 before
221         it for padding.
223 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
225         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
226         anonymous by deleting "siginfo" name.
228 2015-07-21  Roland McGrath  <roland@hack.frob.com>
230         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
231         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
232         rather than __nacl_irt_filename.
233         * sysdeps/nacl/xstat.c (__xstat): Likewise.
235         * NEWS: New item for arm-nacl port.
236         * sysdeps/arm/nacl/libc.abilist: New file.
237         * sysdeps/nacl/ld.abilist: New file.
238         * sysdeps/nacl/libBrokenLocale.abilist: New file.
239         * sysdeps/nacl/libanl.abilist: New file.
240         * sysdeps/nacl/libcrypt.abilist: New file.
241         * sysdeps/nacl/libdl.abilist: New file.
242         * sysdeps/nacl/libm.abilist: New file.
243         * sysdeps/nacl/libpthread.abilist: New file.
244         * sysdeps/nacl/libresolv.abilist: New file.
245         * sysdeps/nacl/librt.abilist: New file.
247 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
249         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
250         __startcontext to initialize the new context.
251         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
252         up CFI directive to forbid further backtracing.
254 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
256         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
257         reference.
258         * charmaps/ANSI_X3.4-1968: Likewise.
259         * charmaps/BS_4730: Likewise.
260         * charmaps/BS_VIEWDATA: Likewise.
261         * charmaps/CP1250: Likewise.
262         * charmaps/CP1251: Likewise.
263         * charmaps/CP1252: Likewise.
264         * charmaps/CP1253: Likewise.
265         * charmaps/CP1254: Likewise.
266         * charmaps/CP1255: Likewise.
267         * charmaps/CP1256: Likewise.
268         * charmaps/CSN_369103: Likewise.
269         * charmaps/EBCDIC-DK-NO: Likewise.
270         * charmaps/GB_1988-80: Likewise.
271         * charmaps/GREEK-CCITT: Likewise.
272         * charmaps/GREEK7: Likewise.
273         * charmaps/INIS-8: Likewise.
274         * charmaps/ISIRI-3342: Likewise.
275         * charmaps/ISO_2033-1983: Likewise.
276         * charmaps/ISO_5427-EXT: Likewise.
277         * locales/POSIX: Likewise.
278         * locales/ar_SA: Likewise.
279         * locales/be_BY: Likewise.
280         * locales/be_BY@latin: Likewise.
281         * locales/ca_ES: Likewise.
282         * locales/cs_CZ: Likewise.
283         * locales/da_DK: Likewise.
284         * locales/de_BE: Likewise.
285         * locales/de_CH: Likewise.
286         * locales/de_LU: Likewise.
287         * locales/en_AU: Likewise.
288         * locales/en_BW: Likewise.
289         * locales/en_CA: Likewise.
290         * locales/en_DK: Likewise.
291         * locales/en_GB: Likewise.
292         * locales/en_IE: Likewise.
293         * locales/en_NZ: Likewise.
294         * locales/en_ZA: Likewise.
295         * locales/en_ZW: Likewise.
296         * locales/es_AR: Likewise.
297         * locales/es_BO: Likewise.
298         * locales/es_CL: Likewise.
299         * locales/es_CO: Likewise.
300         * locales/es_DO: Likewise.
301         * locales/es_EC: Likewise.
302         * locales/es_ES: Likewise.
303         * locales/es_HN: Likewise.
304         * locales/es_MX: Likewise.
305         * locales/es_PA: Likewise.
306         * locales/es_PE: Likewise.
307         * locales/es_PY: Likewise.
308         * locales/es_SV: Likewise.
309         * locales/es_US: Likewise.
310         * locales/es_UY: Likewise.
311         * locales/es_VE: Likewise.
312         * locales/et_EE: Likewise.
313         * locales/fa_IR: Likewise.
314         * locales/fo_FO: Likewise.
315         * locales/fr_CA: Likewise.
316         * locales/fr_CH: Likewise.
317         * locales/gv_GB: Likewise.
318         * locales/he_IL: Likewise.
319         * locales/hr_HR: Likewise.
320         * locales/id_ID: Likewise.
321         * locales/is_IS: Likewise.
322         * locales/it_CH: Likewise.
323         * locales/iw_IL: Likewise.
324         * locales/kl_GL: Likewise.
325         * locales/ko_KR: Likewise.
326         * locales/kw_GB: Likewise.
327         * locales/lg_UG: Likewise.
328         * locales/lt_LT: Likewise.
329         * locales/lv_LV: Likewise.
330         * locales/mi_NZ: Likewise.
331         * locales/nhn_MX: Likewise.
332         * locales/nl_BE: Likewise.
333         * locales/pl_PL: Likewise.
334         * locales/sk_SK: Likewise.
335         * locales/sl_SI: Likewise.
336         * locales/sv_FI: Likewise.
337         * locales/tl_PH: Likewise.
338         * locales/tr_TR: Likewise.
339         * locales/vi_VN: Likewise.
341 2015-07-21  Khem Raj  <raj.khem@gmail.com>
343         [BZ #17475]
344         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
345         of tu_IN and bh_IN.
347 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
349         [BZ #18694]
350         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
351         bits/wordsize.h.
352         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
354 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
356         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
357         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
358         (spawn_thread): New function.
359         (load): Rename to reg_dtor_and_close.  Move dlopen to...
360         (do_test): ... here.  Use IS_LOADED to test for its
361         availability.
363 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
365         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
367 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
369         [BZ #18696]
370         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
371         si_addr_bnd.
372         (si_lower): New.
373         (si_upper): Likewise.
375 2015-07-16  David S. Miller  <davem@davemloft.net>
377         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
379 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
381         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
382         buffer.
383         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
384         fail output information.
386 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
389         and strstr-ppc64..
390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
391         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
392         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
393         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
394         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
396 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
398         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
399         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
400         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
401         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
403 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
405         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
406         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
407         rtld_hidden_proto.
408         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
410 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
412         * tst-nodelete-opened.c (do_test): Add comment to clarify how
413         the test can fail.
415         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
417         [BZ #18676]
418         * elf/tst-nodelete-opened.c: New test case.
419         * elf/tst-nodelete-opened-lib.c: New test case module.
420         * elf/Makefile (tests, modules-names): Use them.
421         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
422         early.
424 2015-07-15  David S. Miller  <davem@davemloft.net>
426         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
427         futex-intenal.h
428         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
429         * sysdeps/sparc/sparc64/Makefile: Likewise.
430         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
431         Remove space from macro define.
432         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
434 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
436         [BZ #17475]
437         * locale/iso-639.def: Update Bhili and Tulu language codes as
438         per iso639-3.
440 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
442         * elf/tst-leaks1.c (main): Converted to ...
443         (do_test): ... this.
444         (TEST_FUNCTION): New macro.
445         Include test-skeleton.c.
446         * localedata/tst-langinfo.c (main): Converted to ...
447         (do_test): ... this.
448         (TEST_FUNCTION): New macro.
449         Include test-skeleton.c.
450         * math/test-fpucw.c (main): Converted to ...
451         (do_test): ... this.
452         (TEST_FUNCTION): New macro.
453         Include test-skeleton.c.
454         * math/test-tgmath.c (main): Converted to ...
455         (do_test): ... this.
456         (TEST_FUNCTION): New macro.
457         Include test-skeleton.c.
458         * math/test-tgmath2.c (main): Converted to ...
459         (do_test): ... this.
460         (TEST_FUNCTION): New macro.
461         Include test-skeleton.c.
462         * setjmp/tst-setjmp.c (main): Converted to ...
463         (do_test): ... this.
464         (TEST_FUNCTION): New macro.
465         Include test-skeleton.c.
466         * stdio-common/tst-sscanf.c (main): Converted to ...
467         (do_test): ... this.
468         (TEST_FUNCTION): New macro.
469         Include test-skeleton.c.
470         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
471         (do_test): ... this.
472         (TEST_FUNCTION): New macro.
473         Include test-skeleton.c.
475         * elf/tst-audit9.c (main): Converted to ...
476         (do_test): ... this.
477         (TEST_FUNCTION): New macro.
478         Include test-skeleton.c.
480 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
482         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
484 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
486         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
487         New variable.
489 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
491         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
493 2015-07-14  Roland McGrath  <roland@hack.frob.com>
495         * sysdeps/generic/dl-fileid.h: New file.
496         * sysdeps/posix/dl-fileid.h: New file.
497         * sysdeps/nacl/dl-fileid.h: New file.
498         * include/link.h: Include <dl-fileid.h>.
499         (struct link_map): Replace l_dev and l_ino with l_file_id.
500         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
501         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
502         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
504 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
506         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
508 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
510         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
511         Add iff $CXX is set.
512         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
513         Likewise.
514         (tst-nodelete-zmodiff): Likewise.
515         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
517 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
519         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
521 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
523         * sysdeps/aarch64/fpu/math_private.h
524         (define math_opt_barrier): Add AArch64 version.
525         (math_force_eval): Likewise.
527 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
529         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
531 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
533         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
534         %ld with %jd and cast to intmax_t.
535         (do_test_length_zero): Likewise.
537 2015-07-10  Roland McGrath  <roland@hack.frob.com>
539         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
541 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
543         * sysdeps/tile/libm-test-ulps: Regenerated.
545         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
546         Comment out the whole function, not just its body.
548 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
550         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
551         locks.
553         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
555 2015-07-10  Torvald Riegel  <triegel@redhat.com>
557         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
558         (sem_assume_only_signals_cause_futex_EINTR): Remove.
560 2015-07-10  Torvald Riegel  <triegel@redhat.com>
562         * sysdeps/nptl/futex-internal.h: New file.
563         * sysdeps/nacl/futex-internal.h: New file.
564         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
565         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
566         error checking.
567         (setxid_unmark_thread): Likewise.
568         (__nptl_setxid): Likewise.
569         (__wait_lookup_done): Likewise.
570         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
571         * nptl/nptl-init.c (sighandler_setxid): Likewise.
572         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
573         * nptl/pthread_once.c (clear_once_control): Likewise.
574         (__pthread_once_slow): Likewise.
575         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
576         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
577         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
578         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
579         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
580         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
581         Likewise.
582         (__pthread_rwlock_rdlock): Likewise.
583         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
584         Likewise.
585         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
586         Likewise.
587         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
588         Likewise.
589         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
590         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
591         Likewise.
592         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
593         __ASSUME_PRIVATE_FUTEX check.
594         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
595         Check that shared futexes are supported.
596         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
597         wrappers with error checking.
598         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
599         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
600         * nptl/pthread_barrierattr_setpshared.c
601         (pthread_barrierattr_setpshared): Check that shared futexes are
602         supported.
603         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
604         Likewise.
605         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
606         Likewise.
607         * nptl/sem_init.c (futex_private_if_supported): Remove.
608         (__new_sem_init): Adapt and check that shared futexes are supported.
609         * nptl/sem_open.c (sem_open): Likewise.
610         * nptl/sem_post.c (futex_wake): Remove.
611         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
612         (do_futex_wait): Use futex wrappers with error checking.
613         * nptl/sem_wait.c: Include lowlevellock.h.
614         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
615         Use futex_supports_pshared.
616         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
617         Use futex wrappers with error checking.
618         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
619         Likewise.
620         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
621         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
622         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
623         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
624         (futex_wake): Likewise.
625         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
626         (do_futex_wait): Use futex wrappers with error checking.
627         (__new_sem_wait_slow): Update EINTR handling.
628         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
630 2015-07-09  Martin Sebor  <msebor@redhat.com>
632         [BZ #18435]
633         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
634         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
635         * nptl/Makefile (test-xfail-tst-once5): Define.
637 2015-07-09  Roland McGrath  <roland@hack.frob.com>
639         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
640         * elf/dl-minimal.c: For readability, reorder some definitions and
641         introduce more page breaks.  Include <stdio.h>.
642         (__libc_fatal): New function.
644         * include/unistd.h: Add rtld_hidden_proto for _exit.
645         * posix/_exit.c: Add rtld_hidden_def.
646         * sysdeps/mach/hurd/_exit.c: Likewise.
647         * sysdeps/nacl/_exit.c: Likewise.
648         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
649         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
651 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
654         bndmov encoding with zero displacement.
656 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
657             H.J. Lu  <hongjiu.lu@intel.com>
659         [BZ #18134]
660         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
661         * sysdeps/i386/configure: Regenerated.
662         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
663         (_dl_runtime_profile): Save and restore Intel MPX return bound
664         registers when calling _dl_call_pltexit.  Add
665         PRESERVE_BND_REGS_PREFIX before return.
666         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
667         (LRV_BND1_OFFSET): Likewise.
668         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
669         lrv_bnd1.
670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
671         typo in bndmov encoding.
672         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
673         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
674         branch instructions to preserve bounds.
676 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
679         [GLIBC_2.22]: Add fmemopen.
681 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
683         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
684         returns an error, also try to use host port from __mach_host_self for
685         the __vm_wire call.
686         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
688 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
690         [BZ #18400]
691         [BZ #18648]
692         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
693         Fix pr_uid and pr_gid members.
694         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
695         definition to elf_greg_t.
697 2015-07-08  Roland McGrath  <roland@hack.frob.com>
699         [BZ #18383]
700         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
701         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
702         * sysdeps/arm/configure: Regenerated.
703         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
704         (test-xfail-tst-tlsalign-static): Variable removed.
706         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
707         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
708         rather than explicit 'ln -s'.
710         * resolv/rpc/netdb.h: New file.
711         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
713 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
715         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
716         length buffers.
717         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
718         test-skeleton.c.
720         [BZ #6544]
721         [BZ #11216]
722         [BZ #12836]
723         [BZ #13151]
724         [BZ #13152]
725         [BZ #14292]
726         * include/stdio.h (fmemopen): Remove hidden prototype.
727         (__fmemopen): Add new hidden prototype.
728         * libio/Makefile: Add oldfmemopen object.
729         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
730         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
731         compliance.
732         * libio/oldfmemopen.c: New file: old fmemopen implementation for
733         symbol compatibility.
734         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
735         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
736         fmemopen.
737         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
738         on append and read mode.
739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
740         fmemopen.
741         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
742         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
743         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
744         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
745         Likewise.
746         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
747         [GLIBC_2.22]: Likewise.
748         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
749         Likewise.
750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
751         Likewise.
752         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
753         [GLIBC_2.22]: Likewise.
754         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
755         [GLIBC_2.22]: Likewise.
756         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
757         [GLIBC_2.22]: Likewise.
758         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
759         [GLIBC_2.22]: Likewise.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
761         [GLIBC_2.22]: Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
763         [GLIBC_2.22]: Likewise.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
765         [GLIBC_2.22]: Likewise.
766         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
767         Likewise.
768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
769         Likewise.
770         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
771         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
772         [GLIBC_2.22]: Likewise.
773         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
774         [GLIBC_2.22]: Likewise.
775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
776         [GLIBC_2.22]: Likewise.
777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
778         [GLIBC_2.22]: Likewise.
779         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
780         Likewise.
781         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
782         Likewise.
783         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
784         Likewise.
785         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
786         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
788 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
790         [BZ #18643]
791         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
792         IPV6_PATHMTU, and IPV6_DONTFRAG.
794 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
796         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
797         and _IO_UNBUFFERED.
798         * libio/oldfileops.c: Likewise.
799         * libio/wfileops.c: Likewise.
801 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
803         * nscd/selinux.c: Delete selinux/flask.h include.
805 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
807         [BZ #18641]
808         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
809         (putpwent): Likewise.
810         (getpwnam): Likewise.
811         (getpwent_r): Likewise.
812         (getpwuid_r): Likewise.
813         (getpwnam_r): Likewise.
814         (fgetpwent_r): Likewise.
816 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
818         [BZ #18557]
819         * inet/rcmd.c (__validuser2_sa): Check user first to
820         short-circuit host check.
822 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
823             Mikhail Ilin  <m.ilin@samsung.com>
825         [BZ #17833]
826         * elf/Makefile (tests): Add tst-nodelete.
827         (modules-names): Add tst-nodelete-uniquemod.
828         (tst-nodelete-uniquemod.so-no-z-defs): New.
829         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
830         (tst-nodelete-zmod.so-no-z-defs): Likewise.
831         ($(objpfx)tst-nodelete): Likewise.
832         ($(objpfx)tst-nodelete.out): Likewise.
833         (LDFLAGS-tst-nodelete): Likewise.
834         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
835         * elf/dl-close.c (_dl_close_worker): Add a parameter to
836         implement forced object deletion.
837         (_dl_close): Pass false to _dl_close_worker.
838         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
839         * elf/tst-nodelete.cc: New file.
840         * elf/tst-nodeletelib.cc: Likewise.
841         * elf/tst-znodeletelib.cc: Likewise.
842         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
844 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
846         [BZ #18508]
847         * stdlib/Makefile ($(objpfx)tst-makecontext3):
848         Depend on $(libdl).
849         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
850         is not called infinitely times.
851         (backtrace_helper): New function.
852         (trace_arg): New struct.
853         (st1): Enlarge stack size.
854         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
855         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
856         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
857         Likewise.
859 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
861         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
863 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
865         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
866         Include sys/types.h instead of bits/types.h.
867         Remove inclusion of bits/wordsize.h.
869 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
871         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
872         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
873         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
874         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
875         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
876         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
878 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
880         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
881         link-defines.sym.
882         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
883         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
884         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
885         and LR_SIZE.
886         * sysdeps/i386/link-defines.sym: New file.
888 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
890         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
891         (modules-names): Add tst-auditmod3a tst-auditmod3b.
892         ($(objpfx)tst-audit3): New rule.
893         ($(objpfx)tst-audit3.out): Likewise.
894         * sysdeps/i386/tst-audit3.c: New file.
895         * sysdeps/i386/tst-audit3.h: Likewise.
896         * sysdeps/i386/tst-auditmod3a.c: Likewise.
897         * sysdeps/i386/tst-auditmod3b.c: Likewise.
899 2015-07-07  Torvald Riegel  <triegel@redhat.com>
901         [BZ #18633]
902         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
903         pointer in C code.
904         (__strcat_c): Likewise.
905         (__strcat_g): Likewise.
907 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
909         [BZ #18592]
910         * misc/sbrk.c: Set errno to ENOMEM on overflow.
912 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
914         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
915         New function.  (__ieee754_sqrtf): New function.
916         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
917         New function.
918         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
919         New function.
921 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
923         * sysdeps/ieee754/support.c: Remove unused file.
925 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
927         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
928         registers instead of d ones so the layout is kernel abi compatible.
929         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
930         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
931         Likewise.
933 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
935         * sysdeps/aarch64/libm-test-ulps: Regenerated.
937 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
939         [BZ #18619]
940         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
941         and return argument in case of subnormal argument.
943 2015-07-01  Martin Sebor  <msebor@redhat.com>
945         [BZ #18435]
946         * nptl/Makefile: Add tst-once5.cc.
947         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
948         Remove macro redefinitions.
949         * nptl/tst-once5.cc: New test.
951 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
953         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
955         * sysdeps/arm/libm-test-ulps: Regenerated.
957         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
958         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
960 2015-06-30  Torvald Riegel  <triegel@redhat.com>
962         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
963         lll_lock_wait_private and lll_futex_wake probes.
965         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
966         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
967         Likewise.
968         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
969         atomic_spin_nop.
970         * sysdeps/x86_64/bits/atomic.h: Likewise.
971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
972         to atomic_spin_nop and move ...
973         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
974         ... here and ...
975         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
976         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
977         atomic_spin_nop instead of BUSY_WAIT_NOP.
978         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
979         Likewise.
980         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
981         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
982         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
983         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
984         instead of atomic_delay.
986 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
988         [BZ #18613]
989         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
990         X_ADJ not X when adjusting exponent.
991         (__ieee754_gamma_r): Do intermediate computations in
992         round-to-nearest then adjust overflowing and underflowing results
993         as needed.
994         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
995         of X_ADJ not X when adjusting exponent.
996         (__ieee754_gammaf_r): Do intermediate computations in
997         round-to-nearest then adjust overflowing and underflowing results
998         as needed.
999         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1000         log of X_ADJ not X when adjusting exponent.
1001         (__ieee754_gammal_r): Do intermediate computations in
1002         round-to-nearest then adjust overflowing and underflowing results
1003         as needed.  Use 1.0L not 1.0f as numerator of division.
1004         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1005         log of X_ADJ not X when adjusting exponent.
1006         (__ieee754_gammal_r): Do intermediate computations in
1007         round-to-nearest then adjust overflowing and underflowing results
1008         as needed.  Use 1.0L not 1.0f as numerator of division.
1009         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1010         of X_ADJ not X when adjusting exponent.
1011         (__ieee754_gammal_r): Do intermediate computations in
1012         round-to-nearest then adjust overflowing and underflowing results
1013         as needed.  Use 1.0L not 1.0f as numerator of division.
1014         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1015         to auto-libm-test-in.
1016         (tgamma_test): Use ALL_RM_TEST.
1017         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1018         tests of tgamma with spurious-overflow.
1019         * math/auto-libm-test-out: Regenerated.
1020         * math/gen-libm-have-vector-test.sh: Do not check for START.
1021         * sysdeps/i386/fpu/libm-test-ulps: Update.
1022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024         [BZ #18612]
1025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1026         arguments, just return 0.5 times the argument, with underflow
1027         forced as needed.
1028         * math/auto-libm-test-in: Add more tests of j1.
1029         * math/auto-libm-test-out: Regenerated.
1031         [BZ #16559]
1032         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1033         (__ieee754_j1): Force underflow exception for small results.
1034         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1035         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1036         (__ieee754_j1f): Force underflow exception for small results.
1037         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1038         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1039         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1040         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1041         (__ieee754_j1l): Force underflow exception for small results.
1042         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1043         * math/auto-libm-test-in: Add more tests of j1 and jn.
1044         * math/auto-libm-test-out: Regenerated.
1046         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1047         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1048         (PF_MPLS): Likewise.
1049         (AF_IB): Likewise.
1050         (AF_MPLS): Likewise.
1051         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1052         value and macro.
1053         (MS_RMT_MASK): Include MS_LAZYTIME.
1055 2015-06-26  Mel Gorman  <mgorman@suse.de>
1057         [BZ #18502]
1058         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1059         already minimal.
1061 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1063         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1064         (DT_MIPS_NUM): Update.
1065         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1066         DT_MIPS_RLD_MAP_REL.
1068 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1070         [BZ #16559]
1071         [BZ #18602]
1072         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1073         round-to-nearest internally then recompute results that
1074         underflowed to zero in the original rounding mode.
1075         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1076         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1078         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1079         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1080         * sysdeps/i386/fpu/libm-test-ulps: Update.
1081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1083 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1085         * NEWS: Fixed description of link with vector math library.
1087 2015-06-25  Andreas Schwab  <schwab@suse.de>
1089         [BZ #18549]
1090         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1091         * libio/test-fmemopen.c (do_test): Add test for it.
1093 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1095         [BZ #17841]
1096         * Makeconfig (no-pie-ldflag): New.
1097         (+link): Set to $(+link-pie) if default to PIE.
1098         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1099         * config.make.in (build-pie-default): New.
1100         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1101         is default.  AC_SUBST.
1102         * configure: Regenerated.
1103         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1105 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1107         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1108         to 'unsigned int'.
1110         * resolv/gai_misc.h (struct waitlist): Change type of field
1111         counterp to 'volatile unsigned int *'.
1112         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1113         FUTEXADDR and OLDVAL.
1114         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1115         Give local variable TOTAL type 'volatile unsigned int'.
1116         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1117         * resolv/gai_suspend.c (gai_suspend):
1118         Give local variable CNTR type 'unsigned int'.
1120         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1121         counterp to 'volatile unsigned int *'.
1122         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1123         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1124         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1125         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1126         Give local variable TOTAL type 'volatile unsigned int'.
1127         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1129 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1131         [BZ #18383]
1132         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1133         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1134         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1135         comment for i386/x86-64.
1136         (test-xfail-tst-tlsalign-extern-static): Removed.
1138 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1140         * math/test-double.h: New file.
1141         * math/test-float.h: Likewise.
1142         * math/test-ldouble.h: Likewise.
1143         * math/test-math-inline.h: Likewise.
1144         * math/test-math-no-inline.h: Likewise.
1145         * math/test-math-scalar.h: Likewise.
1146         * math/test-math-vector.h: Likewise.
1147         * math/test-vec-loop.h: Remove file.  Contents moved into
1148         test-math-vector.h.
1149         * math/libm-test.inc (MATHCONST): Do not document macro.
1150         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1151         and test-math-scalar.h.
1152         (FUNC): Remove macro.
1153         (FUNC_TEST): Likewise.
1154         (FLOAT): Likewise.
1155         (MATHCONST): Likewise.
1156         (PRINTF_EXPR): Likewise.
1157         (PRINTF_XEXPR): Likewise.
1158         (PRINTF_NEXPR): Likewise.
1159         (TEST_DOUBLE): Likewise.
1160         (TEST_MATHVEC): Likewise.
1161         (__NO_MATH_INLINES): Likewise.
1162         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1163         and test-math-scalar.h.
1164         (FUNC): Remove macro.
1165         (FUNC_TEST): Likewise.
1166         (FLOAT): Likewise.
1167         (MATHCONST): Likewise.
1168         (PRINTF_EXPR): Likewise.
1169         (PRINTF_XEXPR): Likewise.
1170         (PRINTF_NEXPR): Likewise.
1171         (TEST_FLOAT): Likewise.
1172         (TEST_MATHVEC): Likewise.
1173         (__NO_MATH_INLINES): Likewise.
1174         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1175         and test-math-scalar.h.
1176         (FUNC): Remove macro.
1177         (FUNC_TEST): Likewise.
1178         (FLOAT): Likewise.
1179         (MATHCONST): Likewise.
1180         (PRINTF_EXPR): Likewise.
1181         (PRINTF_XEXPR): Likewise.
1182         (PRINTF_NEXPR): Likewise.
1183         (TEST_DOUBLE): Likewise.
1184         (TEST_MATHVEC): Likewise.
1185         (TEST_INLINE): Likewise.
1186         (__NO_MATH_INLINES): Likewise.
1187         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1188         test-math-scalar.h.
1189         (FUNC): Remove macro.
1190         (FUNC_TEST): Likewise.
1191         (FLOAT): Likewise.
1192         (MATHCONST): Likewise.
1193         (PRINTF_EXPR): Likewise.
1194         (PRINTF_XEXPR): Likewise.
1195         (PRINTF_NEXPR): Likewise.
1196         (TEST_FLOAT): Likewise.
1197         (TEST_MATHVEC): Likewise.
1198         (TEST_INLINE): Likewise.
1199         (__NO_MATH_INLINES): Likewise.
1200         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1201         and test-math-scalar.h.
1202         (FUNC): Remove macro.
1203         (FUNC_TEST): Likewise.
1204         (FLOAT): Likewise.
1205         (MATHCONST): Likewise.
1206         (PRINTF_EXPR): Likewise.
1207         (PRINTF_XEXPR): Likewise.
1208         (PRINTF_NEXPR): Likewise.
1209         (TEST_LDOUBLE): Likewise.
1210         (TEST_MATHVEC): Likewise.
1211         (TEST_INLINE): Likewise.
1212         (__NO_MATH_INLINES): Likewise.
1213         * math/test-ldouble.c: Include test-ldouble.h,
1214         test-math-no-inline.h and test-math-scalar.h.
1215         (FUNC): Remove macro.
1216         (FUNC_TEST): Likewise.
1217         (FLOAT): Likewise.
1218         (MATHCONST): Likewise.
1219         (PRINTF_EXPR): Likewise.
1220         (PRINTF_XEXPR): Likewise.
1221         (PRINTF_NEXPR): Likewise.
1222         (TEST_LDOUBLE): Likewise.
1223         (TEST_MATHVEC): Likewise.
1224         (__NO_MATH_INLINES): Likewise.
1225         * math/test-double-vlen2.h: Include test-double.h,
1226         test-math-no-inline.h and test-math-vector.h.
1227         (FLOAT): Remove macro.
1228         (FUNC): Likewise.
1229         (MATHCONST): Likewise.
1230         (PRINTF_EXPR): Likewise.
1231         (PRINTF_XEXPR): Likewise.
1232         (PRINTF_NEXPR): Likewise.
1233         (TEST_DOUBLE): Likewise.
1234         (TEST_MATHVEC): Likewise.
1235         (__NO_MATH_INLINES): Likewise.
1236         (CNCT): Likewise.
1237         (CONCAT): Likewise.
1238         (WRAPPER_NAME): Likewise.
1239         (WRAPPER_DECL): Likewise.
1240         (WRAPPER_DECL_ff): Likewise.
1241         (WRAPPER_DECL_fFF): Likewise.
1242         (VECTOR_WRAPPER): Likewise.
1243         (VECTOR_WRAPPER_ff): Likewise.
1244         (VECTOR_WRAPPER_fFF): Likewise.
1245         (VEC_LEN): New macro.
1246         * math/test-double-vlen4.h: Include test-double.h,
1247         test-math-no-inline.h and test-math-vector.h.
1248         (FLOAT): Remove macro.
1249         (FUNC): Likewise.
1250         (MATHCONST): Likewise.
1251         (PRINTF_EXPR): Likewise.
1252         (PRINTF_XEXPR): Likewise.
1253         (PRINTF_NEXPR): Likewise.
1254         (TEST_DOUBLE): Likewise.
1255         (TEST_MATHVEC): Likewise.
1256         (__NO_MATH_INLINES): Likewise.
1257         (CNCT): Likewise.
1258         (CONCAT): Likewise.
1259         (WRAPPER_NAME): Likewise.
1260         (WRAPPER_DECL): Likewise.
1261         (WRAPPER_DECL_ff): Likewise.
1262         (WRAPPER_DECL_fFF): Likewise.
1263         (VECTOR_WRAPPER): Likewise.
1264         (VECTOR_WRAPPER_ff): Likewise.
1265         (VECTOR_WRAPPER_fFF): Likewise.
1266         (VEC_LEN): New macro.
1267         * math/test-double-vlen8.h: Include test-double.h,
1268         test-math-no-inline.h and test-math-vector.h.
1269         (FLOAT): Remove macro.
1270         (FUNC): Likewise.
1271         (MATHCONST): Likewise.
1272         (PRINTF_EXPR): Likewise.
1273         (PRINTF_XEXPR): Likewise.
1274         (PRINTF_NEXPR): Likewise.
1275         (TEST_DOUBLE): Likewise.
1276         (TEST_MATHVEC): Likewise.
1277         (__NO_MATH_INLINES): Likewise.
1278         (CNCT): Likewise.
1279         (CONCAT): Likewise.
1280         (WRAPPER_NAME): Likewise.
1281         (WRAPPER_DECL): Likewise.
1282         (WRAPPER_DECL_ff): Likewise.
1283         (WRAPPER_DECL_fFF): Likewise.
1284         (VECTOR_WRAPPER): Likewise.
1285         (VECTOR_WRAPPER_ff): Likewise.
1286         (VECTOR_WRAPPER_fFF): Likewise.
1287         (VEC_LEN): New macro.
1288         * math/test-float-vlen4.h: Include test-float.h,
1289         test-math-no-inline.h and test-math-vector.h.
1290         (FLOAT): Remove macro.
1291         (FUNC): Likewise.
1292         (MATHCONST): Likewise.
1293         (PRINTF_EXPR): Likewise.
1294         (PRINTF_XEXPR): Likewise.
1295         (PRINTF_NEXPR): Likewise.
1296         (TEST_FLOAT): Likewise.
1297         (TEST_MATHVEC): Likewise.
1298         (__NO_MATH_INLINES): Likewise.
1299         (CNCT): Likewise.
1300         (CONCAT): Likewise.
1301         (WRAPPER_NAME): Likewise.
1302         (WRAPPER_DECL): Likewise.
1303         (WRAPPER_DECL_ff): Likewise.
1304         (WRAPPER_DECL_fFF): Likewise.
1305         (VECTOR_WRAPPER): Likewise.
1306         (VECTOR_WRAPPER_ff): Likewise.
1307         (VECTOR_WRAPPER_fFF): Likewise.
1308         (VEC_LEN): New macro.
1309         * math/test-float-vlen8.h: Include test-float.h,
1310         test-math-no-inline.h and test-math-vector.h.
1311         (FLOAT): Remove macro.
1312         (FUNC): Likewise.
1313         (MATHCONST): Likewise.
1314         (PRINTF_EXPR): Likewise.
1315         (PRINTF_XEXPR): Likewise.
1316         (PRINTF_NEXPR): Likewise.
1317         (TEST_FLOAT): Likewise.
1318         (TEST_MATHVEC): Likewise.
1319         (__NO_MATH_INLINES): Likewise.
1320         (CNCT): Likewise.
1321         (CONCAT): Likewise.
1322         (WRAPPER_NAME): Likewise.
1323         (WRAPPER_DECL): Likewise.
1324         (WRAPPER_DECL_ff): Likewise.
1325         (WRAPPER_DECL_fFF): Likewise.
1326         (VECTOR_WRAPPER): Likewise.
1327         (VECTOR_WRAPPER_ff): Likewise.
1328         (VECTOR_WRAPPER_fFF): Likewise.
1329         (VEC_LEN): New macro.
1330         * math/test-float-vlen16.h: Include test-float.h,
1331         test-math-no-inline.h and test-math-vector.h.
1332         (FLOAT): Remove macro.
1333         (FUNC): Likewise.
1334         (MATHCONST): Likewise.
1335         (PRINTF_EXPR): Likewise.
1336         (PRINTF_XEXPR): Likewise.
1337         (PRINTF_NEXPR): Likewise.
1338         (TEST_FLOAT): Likewise.
1339         (TEST_MATHVEC): Likewise.
1340         (__NO_MATH_INLINES): Likewise.
1341         (CNCT): Likewise.
1342         (CONCAT): Likewise.
1343         (WRAPPER_NAME): Likewise.
1344         (WRAPPER_DECL): Likewise.
1345         (WRAPPER_DECL_ff): Likewise.
1346         (WRAPPER_DECL_fFF): Likewise.
1347         (VECTOR_WRAPPER): Likewise.
1348         (VECTOR_WRAPPER_ff): Likewise.
1349         (VECTOR_WRAPPER_fFF): Likewise.
1350         (VEC_LEN): New macro.
1351         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1352         test-vec-loop.h.
1353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1354         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1356         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1357         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1358         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1359         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1361 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1363         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1364         (__getlogin_r): ... this.
1366 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1368         [BZ #18594]
1369         * math/s_ccosh.c (__ccosh): Compare with least normal value
1370         instead of comparing class with FP_SUBNORMAL.
1371         * math/s_ccoshf.c (__ccoshf): Likewise.
1372         * math/s_ccoshl.c (__ccoshl): Likewise.
1373         * math/s_cexp.c (__cexp): Likewise.
1374         * math/s_cexpf.c (__cexpf): Likewise.
1375         * math/s_cexpl.c (__cexpl): Likewise.
1376         * math/s_csin.c (__csin): Likewise.
1377         * math/s_csinf.c (__csinf): Likewise.
1378         * math/s_csinh.c (__csinh): Likewise.
1379         * math/s_csinhf.c (__csinhf): Likewise.
1380         * math/s_csinhl.c (__csinhl): Likewise.
1381         * math/s_csinl.c (__csinl): Likewise.
1382         * math/s_ctan.c (__ctan): Likewise.
1383         * math/s_ctanf.c (__ctanf): Likewise.
1384         * math/s_ctanh.c (__ctanh): Likewise.
1385         * math/s_ctanhf.c (__ctanhf): Likewise.
1386         * math/s_ctanhl.c (__ctanhl): Likewise.
1387         * math/s_ctanl.c (__ctanl): Likewise.
1388         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1389         csin, csinh, ctan and ctanh.
1390         * math/auto-libm-test-out: Regenerated.
1391         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1392         * sysdeps/i386/fpu/libm-test-ulps: Update.
1393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1395 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1397         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1398         return value is wrong, print the expected value too.
1400 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1402         [BZ #18585]
1403         * elf/readlib.c (is_gdb_python_file): New.
1404         (process_file): Don't issue errors on filenames with -gdb.py
1405         suffix.
1407 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1409         * math/auto-libm-test-in: Add more tests of csin and csinh.
1410         * math/auto-libm-test-out: Regenerated.
1411         * math/libm-test.inc (csin_test_data): Remove tests moved to
1412         auto-libm-test-in.
1413         (csinh_test_data): Likewise.
1415         [BZ #18593]
1416         * math/s_csin.c (__csin): Negate before rather than after possibly
1417         overflowing multiplication.
1418         * math/s_csinf.c (__csinf): Likewise.
1419         * math/s_csinh.c (__csinh): Likewise.
1420         * math/s_csinhf.c (__csinhf): Likewise.
1421         * math/s_csinhl.c (__csinhl): Likewise.
1422         * math/s_csinl.c (__csinl): Likewise.
1423         * math/auto-libm-test-in: Add some tests of csin and csinh.
1424         * math/auto-libm-test-out: Regenerated.
1425         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1426         (csinh_test_data): Likewise.
1427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1429         [BZ #18586]
1430         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1431         underflow exception for small results.
1433 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1437         variable and included header.
1438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1446         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1447         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1448         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1449         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1450         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1451         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1452         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1453         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1455 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #16526]
1458         [BZ #16538]
1459         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1460         (__sin): Force underflow exception for arguments with small
1461         absolute value.
1462         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1463         (__kernel_sinf): Force underflow exception for arguments with
1464         small absolute value.
1465         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1466         (__kernel_sincosl): Force underflow exception for arguments with
1467         small absolute value.
1468         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1469         (__kernel_sinl): Force underflow exception for arguments with
1470         small absolute value.
1471         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1472         (__kernel_sincosl): Force underflow exception for arguments with
1473         small absolute value.
1474         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1475         (__kernel_sinl): Force underflow exception for arguments with
1476         small absolute value.
1477         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1478         (__kernel_sinl): Force underflow exception for arguments with
1479         small absolute value.
1480         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1481         (__kernel_sinf): Force underflow exception for arguments with
1482         small absolute value.
1483         * math/auto-libm-test-in: Add more tests of sin and sincos.
1484         * math/auto-libm-test-out: Regenerated.
1486         [BZ #18245]
1487         [BZ #18583]
1488         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1489         (__kernel_standard_l): Use feholdexcept and fesetenv around
1490         conversion to double instead of special-casing overflow and
1491         underflow.
1492         * math/libm-test.inc (fmod_test_data): Add more tests.
1493         (remainder_test_data): Likewise.
1494         (sqrt_test_data): Likewise.
1496 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1498         [BZ #17403]
1499         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1500         atomic_read_barrier, atomic_write_barrier): Define.
1501         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1502         atomic_read_barrier, atomic_write_barrier): Define.
1504 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1506         * math/Makefile [$(PERL) != no]
1507         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1508         dependency on libm-test.stmp below the inclusion of Rules.
1510 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1512         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1514         and included header.
1515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1516         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1518         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1520         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1523         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1524         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1525         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1526         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1527         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1528         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1529         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1530         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1531         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1532         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1533         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1535 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1537         [BZ #18371]
1538         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1539         intermediate but not final result might underflow.
1540         * math/s_csqrtf.c (__csqrtf): Likewise.
1541         * math/s_csqrtl.c (__csqrtl): Likewise.
1542         * math/auto-libm-test-in: Add more tests of csqrt.
1543         * math/auto-libm-test-out: Regenerated.
1544         * sysdeps/i386/fpu/libm-test-ulps: Update.
1546         [BZ #18219]
1547         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1548         threshold on absolute value of exponent for which scaling is used.
1549         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1550         * math/auto-libm-test-in: Add more tests of exp2.
1551         * math/auto-libm-test-out: Regenerated.
1553 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1555         [BZ #17977]
1556         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1557         when initializing interface list, based on the bug analysis
1558         and the patch proposed by Eric Newton.
1559         * resolv/tst-res_hconf_reorder.c: New test.
1560         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1561         tst-res_hconf_reorder.
1562         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1563         and $(shared-thread-library).
1564         (tst-res_hconf_reorder-ENV): New variable.
1566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1567         in comment.
1569 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1571         [BZ #16353]
1572         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1573         (__expm1): Force underflow exception for arguments with small
1574         absolute value.
1575         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1576         (__expm1f): Force underflow exception for arguments with small
1577         absolute value.
1578         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1579         (__expm1): Force underflow exception for arguments with small
1580         absolute value.
1581         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1582         (__expm1f): Force underflow exception for arguments with small
1583         absolute value.
1584         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1585         Check for small arguments before calling __expm1.
1586         * math/auto-libm-test-in: Do not mark underflow exceptions as
1587         possibly missing for bug 16353.
1588         * math/auto-libm-test-out: Regenerated.
1590 2015-06-22  Andreas Schwab  <schwab@suse.de>
1592         [BZ #18513]
1593         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1594         PTR queries.
1596 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1598         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1600         * string/strcoll_l.c: Remove unused struct element idxnow.
1602 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1604         [BZ #18569]
1605         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1606         underflow and return argument in case of subnormal argument.
1607         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1608         Likewise.
1609         * math/auto-libm-test-in: Add more tests of expm1.
1610         * math/auto-libm-test-out: Regenerated.
1612         [BZ #16361]
1613         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1614         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1615         tiny results.
1616         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1617         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1618         tiny results.
1619         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1620         mark underflow exceptions as possibly missing for bug 16361.
1621         * math/auto-libm-test-out: Regenerated.
1623 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1625         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1626         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1627         Remove variable.
1628         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1629         (test-xfail-XOPEN2K8/utmpx.h/conform).
1631         * conform/conformtest.pl ($xerrors): New variable.
1632         (note_error): New function.
1633         (compiletest): New argument $xfail.  Use not_error.
1634         (runtest): Likewise.
1635         (top level): Handle xfail- lines.  Update calls to compiletest and
1636         runtest.  Handle xfail- and optional- in headers listed with
1637         allow-header.
1638         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1639         (O_EXEC): Likewise.
1640         (O_SEARCH): Likewise.
1641         * conform/data/stropts.h-data (ioctl): Likewise.
1642         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1643         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1644         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1645         (msghdr.msg_controllen): Likewise.
1646         (cmsghdr.cmsg_len): Likewise.
1647         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1648         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1649         variable.
1650         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1651         (test-xfail-XPG4/stropts.h/conform): Likewise.
1652         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1653         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1654         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1655         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1656         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1657         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1658         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1659         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1660         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1661         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1662         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1663         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1664         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1665         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1666         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1667         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1668         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1669         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1670         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1672 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1674         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1675         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1676         definitions for proper unfolding of __MATHDECL_VEC.
1678 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1680         * benchtests/bench-strcoll.c:
1681         Include string.h.
1682         (main): Remove unused variable res.
1684 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1686         * timezone/Makefile (%/UTC %/Universal):
1687         Generate test-result files for UTC and Universal.
1689 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1691         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1693 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1695         [BZ #16350]
1696         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1697         for arguments with small absolute value.
1698         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1699         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1700         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1701         (__asinh): Force underflow exception for arguments with small
1702         absolute value.
1703         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1704         (__asinhf): Force underflow exception for arguments with small
1705         absolute value.
1706         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1707         (__asinhl): Force underflow exception for arguments with small
1708         absolute value.
1709         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1710         (__asinhl): Force underflow exception for arguments with small
1711         absolute value.
1712         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1713         (__asinhl): Force underflow exception for arguments with small
1714         absolute value.
1715         * math/auto-libm-test-in: Do not mark underflow exceptions as
1716         possibly missing for bug 16350.
1717         * math/auto-libm-test-out: Regenerated.
1719         * include/bits/ipc.h: Remove file.
1720         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1721         variable.
1722         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1723         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1724         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1725         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1726         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1727         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1728         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1729         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1730         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1732         * math/auto-libm-test-in: Remove spurious underflow allowance for
1733         tests of cexp.
1734         * math/auto-libm-test-out: Regenerated.
1736         [BZ #18558]
1737         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1738         unconditional definition.
1739         (MCAST_BLOCK_SOURCE): Likewise.
1740         (MCAST_UNBLOCK_SOURCE): Likewise.
1741         (MCAST_LEAVE_GROUP): Likewise.
1742         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1743         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1744         (MCAST_MSFILTER): Likewise.
1745         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1746         Remove variable.
1747         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1748         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1749         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1750         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1751         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1753 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1755         * NEWS: Mention addition of x86_64 vector sincosf.
1756         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1757         * math/test-float-vlen4.h: Likewise.
1758         * math/test-float-vlen8.h: Likewise.
1759         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1760         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1762         * sysdeps/x86_64/fpu/Versions: New versions added.
1763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1765         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1772         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1773         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1774         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1775         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1776         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1777         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1778         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1779         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1780         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1781         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1782         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1785         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1786         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1788         * NEWS: Mention addition of x86_64 vector sincos.
1789         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1790         * math/math.h (__MATHDECL_VEC): New macro.
1791         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1792         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1793         declaration under condition.
1794         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1795         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1796         TEST_VEC_LOOP change.
1797         * math/test-double-vlen4.h: Likewise.
1798         * math/test-double-vlen8.h: Likewise.
1799         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1800         * math/test-float-vlen4.h: Likewise.
1801         * math/test-float-vlen8.h: Likewise.
1802         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1803         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1805         * sysdeps/x86_64/fpu/Versions: New versions added.
1806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1808         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1815         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1816         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1817         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1818         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1819         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1820         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1821         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1822         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1823         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1826         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1827         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1828         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1829         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1831         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1832         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1833         redirections for powf.
1834         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1835         * sysdeps/x86_64/fpu/Versions: New versions added.
1836         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1837         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1838         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1839         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1840         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1846         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1847         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1848         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1849         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1850         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1851         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1852         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1853         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1854         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1855         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1856         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1858         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1859         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1860         * math/test-float-vlen16.h: Fixed 2 argument macro.
1861         * math/test-float-vlen4.h: Likewise.
1862         * math/test-float-vlen8.h: Likewise.
1863         * NEWS: Mention addition of x86_64 vector powf.
1865 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1867         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1868         and redefine.
1869         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1870         and redefine.
1871         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1872         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1875         [BZ #18553]
1876         * resource/getpriority.c (getpriority): Rename to __getpriority
1877         and define as weak alias of __getpriority.
1878         * resource/setpriority.c (setpriority): Rename to __setpriority
1879         and define as weak alias of __setpriority.
1880         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1881         __getpriority and define as weak alias of __getpriority.
1882         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1883         __setpriority and define as weak alias of __setpriority.
1884         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1885         strong name.
1886         (setpriority): Use __setpriority as strong name.
1887         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1888         __getpriority and define as weak alias of __getpriority.
1889         * include/sys/resource.h (__getpriority): Declare.  Use
1890         libc_hidden_proto.
1891         (__setpriority): Likewise.
1892         (getpriority): Don't use libc_hidden_proto.
1893         (setpriority): Likewise.
1894         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1895         getpriority.  Call __setpriority instead of setpriority.
1896         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1897         Remove variable.
1899         [BZ #18547]
1900         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1901         as weak alias of __getttynam.  Use prototype function definition.
1902         Call __setttyent, __getttyent and __endttyent instead of
1903         setttyent, getttyent and endttyent.
1904         (getttyent): Rename to __getttyent and define as weak alias of
1905         __getttyent.  Call __setttyent instead of setttyent.  Call
1906         __fgets_unlocked instead of fgets_unlocked.
1907         (setttyent): Rename to __setttyent and define as weak alias of
1908         __setttyent.
1909         (endttyent): Rename to __endttyent and define as weak alias of
1910         __endttyent.
1911         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1912         (__setttyent): Likewise.
1913         (__endttyent): Likewise.
1914         (getttyent): Don't use libc_hidden_proto.
1915         (setttyent): Likewise.
1916         (endttyent): Likewise.
1917         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1918         __endttyent instead of setttyent, getttyent and endttyent.
1919         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1920         Remove variable.
1922         [BZ #18546]
1923         * socket/recv.c (__recv): Use libc_hidden_def.
1924         * socket/socket.c (__socket): Likewise.
1925         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1926         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1927         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1928         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1929         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1930         libc_hidden_def.
1931         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1932         libc_hidden_weak.
1933         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1934         Use libc_hidden_proto.
1935         (__recv): Likewise.
1936         * socket/Versions (libc): Export __recv and __socket at version
1937         GLIBC_PRIVATE.
1938         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1939         instead of recv.
1940         (init_mq_netlink): Call __socket instead of socket.
1941         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1942         Remove variable.
1944         [BZ #18545]
1945         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1946         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1947         hidden_weak.
1948         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1949         define as alias of __mq_timedsend.  Use hidden_weak.
1950         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1951         __mq_timedsend as strong name.
1952         (mq_timedreceive): Use __mq_timedreceive as strong name.
1953         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1954         (__mq_timedreceive): Likewise.
1955         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1956         __mq_timedreceive instead of mq_timedreceive.
1957         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1958         instead of mq_timedsend.
1959         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1960         Remove variable.
1962         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1963         hidden_def and hidden_weak instead of libc_hidden_def and
1964         libc_hidden_weak.
1965         (top level): Refer to hidden_def in comment.
1966         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1967         macro.  Use it instead of libc_hidden_def.
1968         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1969         specify __GI_* name explicitly.
1970         (mq_timedreceive): Likewise.
1971         (mq_setattr): Likewise.
1973         [BZ #18544]
1974         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1975         __pthread_barrier_init and define as weak alias of
1976         __pthread_barrier_init.
1977         * sysdeps/sparc/nptl/pthread_barrier_init.c
1978         (pthread_barrier_init): Likewise.
1979         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1980         __pthread_barrier_wait and define as weak alias of
1981         __pthread_barrier_wait.
1982         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1983         (pthread_barrier_wait): Likewise.
1984         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1985         (pthread_barrier_wait): Likewise.
1986         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1987         (pthread_barrier_wait): Likewise.
1988         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1989         (pthread_barrier_wait): Likewise.
1990         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1991         __pthread_barrier_wait at version GLIBC_PRIVATE.
1992         * include/pthread.h (__pthread_barrier_init): Declare.
1993         (__pthread_barrier_wait): Likewise.
1994         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1995         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1996         (helper_thread): Likewise.
1997         (init_mq_netlink): Call __pthread_barrier_init instead of
1998         pthread_barrier_init.
2000         [BZ #18542]
2001         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2002         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2003         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2004         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2005         vswscanf.
2006         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2007         Remove variable.
2009         [BZ #18540]
2010         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2011         strong alias of _IO_fflush.  Use libc_hidden_def.
2012         * libio/iofflush_u.c (fflush_unlocked): Rename to
2013         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2014         Use libc_hidden_weak.
2015         * include/stdio.h (__fflush_unlocked): Declare.  Use
2016         libc_hidden_proto.
2017         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2018         fflush_unlocked.
2019         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2020         Remove variable.
2022         [BZ #18539]
2023         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2024         define as weak alias of __addseverity.
2025         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2026         Remove variable.
2027         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2028         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2029         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2031         [BZ #18536]
2032         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2033         (__tfind): Likewise.
2034         (__tdelete): Likewise.
2035         (__twalk): Likewise.
2036         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2037         __twalk to GLIBC_PRIVATE.
2038         * include/search.h (__tsearch): Use libc_hidden_proto.
2039         (__tfind): Likewise.
2040         (__tdelete): Likewise.
2041         (__twalk): Likewise.
2042         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2043         Call __tdelete instead of tdelete.
2044         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2045         tfind.  Call __tsearch instead of tsearch.
2046         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2047         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2048         Remove variable.
2049         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2051         [BZ #18534]
2052         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2053         (dprintf): Define as a weak alias of __dprintf, not a strong
2054         alias.
2055         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2056         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2057         dprintf.
2058         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2059         Remove variable.
2060         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2061         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2063         [BZ #18533]
2064         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2065         not a strong alias.
2066         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2067         Remove variable.
2069         [BZ #18532]
2070         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2071         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2072         (in6addr_loopback): Rename to __in6addr_loopback and define as
2073         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2074         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2075         libc_hidden_proto.
2076         (__in6addr_any): Likewise.
2077         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2078         in6addr_any.
2079         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2080         variable.
2081         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2083 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2085         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2086         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2087         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2088         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2089         redirections for pow.
2090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2091         * sysdeps/x86_64/fpu/Versions: New versions added.
2092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2093         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2094         build of SSE, AVX2 and AVX512 IFUNC versions.
2095         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2096         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2102         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2103         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2104         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2105         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2106         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2107         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2108         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2109         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2110         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2112         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2113         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2114         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2115         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2116         * NEWS: Mention addition of x86_64 vector pow.
2118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2120         redirections for expf.
2121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2122         * sysdeps/x86_64/fpu/Versions: New versions added.
2123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2125         build of SSE, AVX2 and AVX512 IFUNC versions.
2126         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2132         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2133         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2134         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2135         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2136         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2137         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2138         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2139         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2140         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2141         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2142         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2144         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2145         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2146         * NEWS: Mention addition of x86_64 vector expf.
2148         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2149         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2150         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2151         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2152         redirections for exp.
2153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2154         * sysdeps/x86_64/fpu/Versions: New versions added.
2155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2156         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2157         build of SSE, AVX2 and AVX512 IFUNC versions.
2158         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2164         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2165         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2166         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2167         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2168         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2169         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2170         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2171         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2173         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2174         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2175         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2176         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2177         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2178         * NEWS: Mention addition of x86_64 vector exp.
2180         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2181         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2182         redirections for logf.
2183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2184         * sysdeps/x86_64/fpu/Versions: New versions added.
2185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2187         build of SSE, AVX2 and AVX512 IFUNC versions.
2188         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2194         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2195         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2196         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2197         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2198         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2199         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2200         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2201         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2202         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2203         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2204         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2205         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2206         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2207         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2208         * NEWS: Mention addition of x86_64 vector logf.
2210         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2211         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2212         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2213         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2214         redirections for log.
2215         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2216         * sysdeps/x86_64/fpu/Versions: New versions added.
2217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2218         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2219         build of SSE, AVX2 and AVX512 IFUNC versions.
2220         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2221         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2222         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2224         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2225         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2226         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2227         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2228         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2229         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2230         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2231         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2232         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2233         test.
2234         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2235         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2237         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2238         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2239         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2240         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2241         * NEWS: Mention addition of x86_64 vector log.
2243 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2245         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2246         cfi_adjust_cfa_offset argument.
2247         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2248         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2250         [BZ #18034]
2251         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2252         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2253         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2254         ordering using ldar.
2255         (_dl_tlsdesc_dynamic): Likewise.
2256         (_dl_tlsdesc_return_lazy): Likewise.
2257         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2258         relaxed atomics instead of volatile and synchronize with release store.
2259         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2260         volatile.
2261         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2263 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2266         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2268         * sysdeps/x86_64/fpu/Versions: New versions added.
2269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2271         build of SSE, AVX2 and AVX512 IFUNC versions.
2272         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2273         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2278         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2279         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2280         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2281         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2282         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2283         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2284         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2285         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2286         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2287         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2290         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2291         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2292         * NEWS: Mention addition of x86_64 vector sinf.
2294 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2296         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2297         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2298         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2299         Remove variable.
2300         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2301         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2303 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #18530]
2306         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2307         strong alias of _IO_fputs.  Use libc_hidden_def.
2308         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2309         and define as weak alias of __fputs_unlocked.  Use
2310         libc_hidden_weak.
2311         * include/stdio.h (__fputs_unlocked): Declare.  Use
2312         libc_hidden_proto.
2313         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2314         fputs_unlocked.
2316         [BZ #18529]
2317         * resolv/netdb.h [__USE_POSIX]: Change condition to
2318         [__USE_XOPEN2K].
2319         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2320         not expect.
2321         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2322         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2323         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2324         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2325         [XPG4 || UNIX98] (AI_ALL): Likewise.
2326         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2327         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2328         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2329         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2330         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2331         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2332         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2333         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2334         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2335         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2336         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2337         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2338         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2339         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2340         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2341         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2342         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2343         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2344         [XPG4 || UNIX98] (gai_strerror): Likewise.
2345         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2346         [XPG4 || UNIX98] (getnameinfo): Likewise.
2348         [BZ #18528]
2349         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2350         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2351         __USE_XOPEN2K8].
2352         (getgrent): Likewise.
2353         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2354         expect.
2355         [XPG3 || POSIX2008] (endgrent): Likewise.
2356         [XPG3] (setgrent): Likewise.
2357         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2358         variable.
2359         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2361         [BZ #18527]
2362         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2363         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2364         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2365         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2366         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2367         * include/unistd.h (__getlogin_r): Declare.  Use
2368         libc_hidden_proto.
2369         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2370         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2371         variable.
2372         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2373         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2374         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2376 2015-06-12  Martin Sebor  <msebor@redhat.com>
2378         [BZ #18512]
2379         * Makerules (check-install-supported): New target.
2380         (install): Add check-install-supported as a dependency.
2381         * manual/install.texi (Installing the C Library): Document
2382         that overriding prefix and exec_prefix is not supported.
2383         Mention DESTDIR.
2384         * INSTALL: Regenerate from the above.
2386 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2388         [BZ #18519]
2389         * posix/Versions (libc): Export __libc_pread at version
2390         GLIBC_PRIVATE.
2391         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2392         instead of pread.
2393         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2394         variable.
2396         [BZ #18522]
2397         * misc/efgcvt_r.c
2398         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2399         (cvt_symbol): Use weak_alias instead of strong_alias.
2400         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2401         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2402         Remove variable.
2403         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2404         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2406         [BZ #18520]
2407         * inet/herrno.c (h_errno): Rename to __h_errno.
2408         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2409         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2410         to __h_errno instead of h_errno.
2411         * nptl/herrno.c (h_errno): Rename to __h_errno.
2412         (__h_errno_location): Refer to __h_errno not h_errno.
2413         * resolv/Versions (h_errno): Rename to __h_errno.
2414         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2415         Remove variable.
2416         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2418 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2420         * configure.ac: More strict check for AVX512 assembler support.
2421         * configure: Regenerated.
2423         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2424         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2425         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2426         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2427         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2428         * sysdeps/x86_64/fpu/Versions: New versions added.
2429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2430         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2431         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2438         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2439         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2440         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2441         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2442         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2443         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2444         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2445         test.
2446         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2447         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2449         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2450         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2451         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2452         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2453         * NEWS: Mention addition of x86_64 vector sin.
2455 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2457         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2458         comment.
2460 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2462         [BZ #18479]
2463         * nptl/pt-interp.c: New file.
2464         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2465         Add pt-interp.
2466         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2467         $(common-objpfx)runtime-linker.h.
2469 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2471         * Makeconfig (+interp): Remove unused variable.
2472         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2473         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2474         $(elf-objpfx)runtime-linker.h.
2475         ($(elf-objpfx)runtime-linker.h): Rename to
2476         $(common-objpfx)runtime-linker.h and move ...
2477         * Makerules [$(build-shared) = yes]: ... here.
2478         * elf/interp.c: Include <runtime-linker.h> instead of
2479         <elf/runtime-linker.h>.
2481 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2483         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2484         (__gettimeofday_syscall): Remove vsyscall fallback.
2485         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2486         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2487         Add syscall fallback function.
2488         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2489         if vDSO is not present.
2490         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2491         fallback function.
2492         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2493         present.
2494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2495         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2497 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2499         [BZ #18497]
2500         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2501         of wcscmp.
2502         (wcscmp): Define as weak alias of WCSCMP.
2503         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2504         wcscoll.
2505         (USE_HIDDEN_DEF): Define.
2506         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2507         __wcscoll.  Don't use libc_hidden_weak.
2508         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2509         wcscmp.
2510         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2511         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2512         __GI_wcscmp.
2513         (weak_alias): Undefine and redefine.
2514         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2515         __wcscmp and define as weak alias of __wcscmp.
2516         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2517         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2518         (__wcscoll): Likewise.
2519         (wcscmp): Don't use libc_hidden_proto.
2520         (wcscoll): Likewise.
2521         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2522         wcscoll.
2523         * posix/regexec.c (check_node_accept_bytes): Likewise.
2524         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2525         variable.
2526         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2527         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2529         [BZ #18507]
2530         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2531         __fstatvfs and define as weak alias of __fstatvfs.  Use
2532         libc_hidden_weak.
2533         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2534         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2535         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2536         Define as alias of __fstatvfs, not fstatvfs.
2537         (fstatvfs64): Likewise.
2538         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2539         Define as alias of __statvfs, not statvfs.
2540         (statvfs64): Likewise.
2541         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2542         Remove variable.
2544 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2547         (HAVE_GETCPU_VSYSCALL): Define.
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2549         (HAVE_GETCPU_VSYSCALL): Likewise.
2550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2551         * sysdeps/unix/sysv/linux/sched_getcpu.c
2552         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2553         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2554         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2555         prototype.
2556         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2557         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2558         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2560         Define.
2561         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2562         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2564         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2566 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2568         * sysdeps/x86_64/fpu/Makefile: New file.
2569         * sysdeps/x86_64/fpu/Versions: New file.
2570         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2571         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2572         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2573         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2574         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2575         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2576         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2583         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2584         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2585         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2586         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2587         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2588         * sysdeps/x86_64/configure: Regenerated.
2589         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2590         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2591         * manual/install.texi (Configuring and compiling): Document
2592         --disable-mathvec.
2593         * INSTALL: Regenerated.
2594         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2596         * math/Makefile: Added rules for vector tests.
2597         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2598         declaration under condition.
2599         * math/test-double-vlen2.h: New file.
2600         * math/test-double-vlen4.h: New file.
2601         * math/test-double-vlen8.h: New file.
2602         * math/test-vec-loop.h: Added initialization macro.
2603         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2604         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2605         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2606         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2607         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2608         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2610         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2611         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2612         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2613         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2615         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2616         * sysdeps/x86_64/fpu/Versions: New versions added.
2617         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2620         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2621         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2622         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2624         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2627         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2628         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2629         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2631         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2633         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2634         * NEWS: Mention addition of x86_64 vector cosf.
2636         * math/Makefile: Added CFLAGS for new tests.
2637         * math/test-float-vlen16.h: New file.
2638         * math/test-float-vlen4.h: New file.
2639         * math/test-float-vlen8.h: New file.
2640         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2641         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2642         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2643         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2644         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2645         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2646         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2647         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2650         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2652 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2654         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2655         * locale/programs/ld-ctype.c: Likewise.
2657 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2659         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2660         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2661         bit_ZMM16_31_state): New macro.
2662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2663         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2665 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2667         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2669 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2671         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2673 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2675         [BZ #18498]
2676         * libio/memstream.c (open_memstream): Rename to __open_memstream
2677         and define as weak alias of __open_memstream.
2678         * include/stdio.h (__open_memstream): Declare.  Use
2679         libc_hidden_proto.
2680         (open_memstream): Don't use libc_hidden_proto.
2681         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2682         open_memstream.
2683         * posix/getopt.c (_getopt_internal_r): Likewise.
2684         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2685         variable.
2686         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2687         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2688         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2690         [BZ #18496]
2691         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2692         instead of wcrtomb.
2694         [BZ #18483]
2695         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2696         [__USE_XOPEN2K8].  Remove redundant #endif.
2697         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2698         Remove redundant #if.
2699         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2700         Remove variable.
2701         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2702         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2704         [BZ #18495]
2705         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2706         (__iswlower): Likewise.
2707         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2708         (__iswlower): Likewise.
2709         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2710         instead of towlower.
2711         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2712         instead of iswlower.  Call __towupper instead of towupper.
2713         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2714         instead of iswalnum.
2716 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2718         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2719         errors to stderr.
2721 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2723         [BZ #15661]
2724         [BZ #17322]
2725         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2726         Check for overflow properly.  Check for O_APPEND.  Ignore large
2727         file system block sizes.  Add comments about problems.
2728         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2729         * manual/filesys.texi (Storage Allocation): New node.
2731 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2733         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2734         cancellable syscalls.
2735         (SYS_ify): Add guard to no redefine it.
2736         (INLINE_SYSCALL): Likewise.
2737         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2738         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2739         SYSCALL_CANCEL instead.
2740         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2741         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2742         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2743         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2744         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2745         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2746         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2747         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2748         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2749         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2750         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2751         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2752         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2753         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2754         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2755         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2756         Likewise.
2757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2758         (__libc_pread64): Likewise.
2759         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2760         (__libc_preadv): Likewise.
2761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2762         (__libc_readv64): Likewise.
2763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2764         (__libc_pwrite): Likewise.
2765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2766         (__libc_pwrite64): Likewise.
2767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2768         (__libc_pwritev): Likewise.
2769         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2770         (__libc_pwritev64): Likewise.
2771         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2772         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2773         (sync_file_range): Likewise.
2774         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2775         Likewise.
2776         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2777         Likewise.
2778         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2779         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2780         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2781         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2782         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2783         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2784         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2785         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2789         (__libc_read64): Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2793         Likewise.
2794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2795         Likewise.
2796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2797         Likewise.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2799         (__libc_pread64): Likewise.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2801         Likewise.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2803         (__libc_pwrite64): Likewise.
2804         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2805         (sync_file_range): Likewise.
2806         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2807         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2808         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2809         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2810         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2811         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2812         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2813         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2814         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2815         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2816         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2817         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2818         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2819         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2820         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2821         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2822         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2823         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2824         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2825         Likewise.
2826         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2827         Likewise.
2828         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2829         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2830         Likewise.
2831         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2832         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2833         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2834         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2835         Likewise.
2836         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2837         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2838         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2839         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2840         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2842 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2844         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2845         Include dl-vdso.
2846         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2847         Use VDSO routines for gettimeofday, clock_gettime if
2848         available.
2849         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2850         Declare VDSO symbols.
2851         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2852         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2853         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2854         * sysdeps/unix/sysv/linux/arm/Versions: Add
2855         __vdso_clock_gettime.
2857 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2859         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2860         be an inline implementation regardless of library is built within.
2861         (open_not_cancel_2): Likewise.
2862         (__read_nocancel): Likewise.
2863         (__write_nocancel): Likewise.
2864         (openat_not_cancel): Likewise.
2865         (openat_not_cancel_3): Likewise.
2866         (openat64_not_cancel): Likewise.
2867         (openat64_not_cancel_3): Likewise.
2868         (__close_nocancel): Likewise.
2869         (pause_not_cancel): Likewise.
2870         (nanosleep_not_cancel): Likewise.
2871         (sigsuspend_not_cancel): Likewise.
2873 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2875         [BZ #14958]
2876         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2877         wake-up.
2878         (__pthread_rwlock_rdlock_slow): Likewise.
2879         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2880         Likewise.
2881         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2882         Likewise.
2883         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2884         * nptl/tst-rwlock16.c: New file.
2885         * nptl/Makefile (tests): Add new test.
2887 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2889         [BZ #18324]
2890         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2891         missing wake-up of readers.
2892         * nptl/tst-rwlock15.c: New file.
2893         * nptl/Makefile (tests): Add new test.
2895 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2897         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2898         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2899         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2900         and __nacl_supply_interface_rtld.
2901         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2902         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2903         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2904         Add __nacl_supply_interface_rtld.
2905         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2907 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2909         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2910         isfinite.
2911         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2912         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2914 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2916         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2917         __signbit* with standard C99 macros.
2918         * math/e_exp10l.c: Likewise.
2919         * math/e_exp2l.c: Likewise.
2920         * math/e_scalb.c: Likewise.
2921         * math/e_scalbf.c: Likewise.
2922         * math/e_scalbl.c: Likewise.
2923         * math/s_ldexp.c: Likewise.
2924         * math/s_ldexpf.c: Likewise.
2925         * math/s_ldexpl.c: Likewise.
2926         * math/w_atan2.c: Likewise.
2927         * math/w_atan2f.c: Likewise.
2928         * math/w_atan2l.c: Likewise.
2929         * math/w_cosh.c: Likewise.
2930         * math/w_coshf.c: Likewise.
2931         * math/w_coshl.c: Likewise.
2932         * math/w_exp10.c: Likewise.
2933         * math/w_exp10f.c: Likewise.
2934         * math/w_exp10l.c: Likewise.
2935         * math/w_exp2.c: Likewise.
2936         * math/w_exp2f.c: Likewise.
2937         * math/w_exp2l.c: Likewise.
2938         * math/w_fmod.c: Likewise.
2939         * math/w_fmodf.c: Likewise.
2940         * math/w_fmodl.c: Likewise.
2941         * math/w_hypot.c: Likewise.
2942         * math/w_hypotf.c: Likewise.
2943         * math/w_hypotl.c: Likewise.
2944         * math/w_jnl.c: Likewise.
2945         * math/w_lgamma.c: Likewise.
2946         * math/w_lgamma_r.c: Likewise.
2947         * math/w_lgammaf.c: Likewise.
2948         * math/w_lgammaf_r.c: Likewise.
2949         * math/w_lgammal.c: Likewise.
2950         * math/w_lgammal_r.c: Likewise.
2951         * math/w_pow.c: Likewise.
2952         * math/w_powf.c: Likewise.
2953         * math/w_powl.c: Likewise.
2954         * math/w_remainder.c: Likewise.
2955         * math/w_remainderf.c: Likewise.
2956         * math/w_remainderl.c: Likewise.
2957         * math/w_scalb.c: Likewise.
2958         * math/w_scalbf.c: Likewise.
2959         * math/w_scalbl.c: Likewise.
2960         * math/w_scalbln.c: Likewise.
2961         * math/w_scalblnf.c: Likewise.
2962         * math/w_scalblnl.c: Likewise.
2963         * math/w_sinh.c: Likewise.
2964         * math/w_sinhf.c: Likewise.
2965         * math/w_sinhl.c: Likewise.
2966         * math/w_tgamma.c: Likewise.
2967         * math/w_tgammaf.c: Likewise.
2968         * math/w_tgammal.c: Likewise.
2969         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2970         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2972         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2973         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2975         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2976         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2977         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2978         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2979         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2980         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2981         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2982         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2983         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2984         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2985         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2986         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2993         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2995         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2997         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2998         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3000         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3001         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3002         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3003         * stdio-common/printf_fp.c: Likewise.
3004         * stdio-common/printf_fphex.c: Likewise.
3005         * stdio-common/printf_size.c: Likewise.
3007 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3009         [BZ #18470]
3010         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3011         strnlen.
3012         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3013         Remove variable.
3014         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3015         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3016         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3017         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3018         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3019         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3020         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3021         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3022         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3023         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3025         [BZ #18468]
3026         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3027         weak alias of __wmemchr.  Use libc_hidden_weak.
3028         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3029         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3030         instead of wmemchr.
3032 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3034         [BZ #18383]
3035         * elf/tst-tlsalign-extern.c: New file.
3036         * elf/tst-tlsalign-extern-static.c: New file.
3037         * elf/tst-tlsalign-vars.c: New file.
3038         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3039         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3040         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3041         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3042         (test-xfail-tst-tlsalign-extern-static): New variable.
3044 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3046         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3047         Use variable name _sc_err instead of err.
3048         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3049         instead of ret.
3050         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3051         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3052         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3053         (INLINE_SYSCALL): Likewise.
3055         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3056         * include/string.h (__strnlen): Use libc_hidden_proto.
3057         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3058         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3059         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3060         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3061         (libc_hidden_def): Undefine and redefine.
3062         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3063         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3064         __GI_strnlen.
3065         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3066         libc_hidden_def.
3067         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3069         [BZ #18469]
3070         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3071         weak alias of __towlower.  Use libc_hidden_weak.
3072         (towupper): Rename to __towupper and define as weak alias of
3073         __towupper.  Use libc_hidden_weak.
3074         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3075         (__towupper): Likewise.
3076         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3077         __towlower instead of towlower.
3079 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3081         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3082         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3084 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3086         * sysdeps/aarch64/libm-test-ulps: Update.
3088 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3090         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3091         Define.
3092         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3094         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3095         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3096         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3097         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3098         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3100 2015-06-01  Martin Sebor  <msebor@redhat.com>
3102         [BZ #18116]
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3104         (__setcontext): Use extended four-operand version of mtsf whenever
3105         possible.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3107         (__novec_swapcontext): Likewise.
3109 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3111         * benchtests/scripts/compare_bench.py: New file.
3112         * benchtests/scripts/import_bench.py (mean): New function.
3113         (split_list): Likewise.
3114         (do_for_all_timings): Likewise.
3115         (compress_timings): Likewise.
3117         * benchtests/scripts/import_bench.py: New file.
3118         * benchtests/scripts/validate_benchout.py: Import import_bench
3119         instead of jsonschema.
3120         (validate_bench): Remove function.
3121         (main): Use import_bench.
3123 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3125         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3126         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3128 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3132 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3134         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3135         set THREAD_SELF->tid to a magic value and futex-wake it.
3136         Pass its address to the thread_exit system call.
3137         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3138         bit is clear.
3139         * sysdeps/nacl/lowlevellock.h: New file.
3140         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3142         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3143         Add TIMEOUT to current time, don't subtract it.
3145 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3147         [BZ #2981]
3148         [BZ #18422]
3149         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3150         ($(objpfx)tst-audit2.out): Also depend on
3151         $(objpfx)tst-auditmod9b.so.
3152         * elf/tst-audit2.c: Include <dlfcn.h>.
3153         (calloc_called): New.
3154         (calloc): Allow to be called more than once.
3155         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3157 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3159         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3160         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3162 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3164         * stdlib/monetary.h: Fix comment.
3166 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3168         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3169         Avoid using variables in #defines that might cause shadowing.
3170         (INTERNAL_VSYSCALL_CALL): Likewise.
3172 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3174         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3176         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3177         * nptl/lll_timedlock_wait.c: ... to this new file.
3178         * nptl/Makefile (libpthread-routines): Add it.
3179         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3180         * nptl/lll_timedwait_tid.c: ... to this new file.
3181         * nptl/Makefile (libpthread-routines): Add it.
3182         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3183         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3184         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3185         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3186         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3187         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3188         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3189         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3190         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3191         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3193 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3195         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3196         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3197         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3198         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3199         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3201         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3203         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3204         * sysdeps/unix/sysv/linux/tile/sysdep.h
3205         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3206         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3207         using vDSO syscall macro.
3209 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3211         [BZ #17293]
3212         * uk_UA: Fix sorting order for Ukrainian locale
3214 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3216         * stdlib/monetary.h: Fix comment.
3218 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3220         [BZ #18234]
3221         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3222         st_mtim and st_ctim members.
3223         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3224         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3225         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3226         (struct stat64): Likewise.
3227         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3228         (struct stat64): Likewise.
3229         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3230         (struct stat64): Likewise.
3232 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3234         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3235         Define and include sysdep-vdso.h.
3236         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3237         Likewise.
3238         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3239         Likewise.
3240         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3241         Define with VDSO_SYMBOL and use PTR_MANGLE.
3242         (__vdso_clock_gettime): Likewise.
3243         (__vdso_clock_getres): Likewise.
3244         (_libc_vdso_platform_setup): Likewise.
3245         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3246         Likewise.
3247         (_libc_vdso_platform_setup): Likewise.
3248         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3249         Likewise.
3250         (__vdso_clock_gettime): Likewise.
3251         (__vdso_clock_getres): Likewise.
3252         (__vdso_get_tbfreq): Likewise.
3253         (__vdso_getcpu): Likewise.
3254         (__vdso_time): Likewise.
3255         (__vdso_sigtramp_rt64): Likewise.
3256         (__vdso_signtramp32): Likewise.
3257         (__vdso_sigtramp_rt32): Likewise.
3258         (_libc_vdso_platform_setup): Likewise.
3259         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3260         Likewise.
3261         (__vdso_clock_gettime): Likewise.
3262         (__vdso_clock_getres): Likewise.
3263         (_libc_vdso_platform_setup): Likewise.
3264         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3265         Likewise.
3266         (__vdso_clock_gettime): Likewise.
3267         (_libc_vdso_platform_setup): Likewise.
3268         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3269         Likewise.
3270         (__vdso_getcpu): Likewise.
3271         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3272         Use VDSO_SYMBOL macro to define.
3273         (__vdso_clock_gettime): Likewise.
3274         (__vdso_clock_getres): Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3276         Likewise.
3277         (__vdso_clock_gettime): Likewise.
3278         (__vdso_clock_getres): Likewise.
3279         (__vdso_get_tbfreq): Likewise.
3280         (__vdso_getcpu): Likewise.
3281         (__vdso_time): Likewise.
3282         (__vdso_sigtramp_rt64): Likewise.
3283         (__vdso_signtramp32): Likewise.
3284         (__vdso_sigtramp_rt32): Likewise.
3285         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3286         Likewise.
3287         (__vdso_clock_gettime): Likewise.
3288         (__vdso_clock_getres): Likewise.
3289         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3290         Likewise.
3291         (__vdso_clock_gettime): Likewise.
3292         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3295         macro.
3296         (INTERNAL_VSYSCALL): Likewise.
3297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3298         Remove macro.
3299         (INTERNAL_VSYSCALL): Likewise.
3300         (INTERNAL_VSYSCALL_NCS): Likewise.
3301         (INTERNAL_VSYSCALL_CALL): New macro.
3302         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3304         Likewise.
3305         (INTERNAL_VSYSCALL): Likewise.
3306         (INTERNAL_VSYSCALL_NCS): Likewise.
3307         (INTERNAL_VSYSCALL_CALL): New macro.
3308         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3310         (INLINE_VSYSCALL): Remove macro.
3311         (INTERNAL_VSYSCALL): Remove macro.
3312         (INTERNAL_VSYSCALL_NCS): Remove macro.
3313         (INTERNAL_VSYSCALL_CALL): New macro.
3314         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3315         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3316         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3317         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3318         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3320         (INLINE_VSYSCALL): Remove macro.
3321         (INTERNAL_VSYSCALL): Likewise.
3322         (INTERNAL_VSYSCALL_NCS): Likewise.
3323         (INTERNAL_VSYSCALL_CALL): New macro.
3324         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3326         PTR_DEMANGLE on vDSO pointer.
3327         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3328         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3329         macro.
3330         (INTERNAL_SYSCALL): Likewise.
3331         (INTERNAL_VSYSCALL_NCS): Remove macro.
3332         (INTERNAL_VSYSCALL_CALL): New macro.
3333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3334         Remove macro.
3335         (INTERNAL_VSYSCALL): Likewise.
3336         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3337         sysdep-vdso.h instead of libc-vdso.h.
3338         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3339         definition.
3340         (INLINE_VSYSCALL): Likewise.
3341         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3342         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3343         definition.
3344         (INLINE_VSYSCALL): Likewise.
3345         (INTERNAL_VSYSCALL): Likewise.
3346         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3347         * sysdeps/unix/sysv/linux/timespec_get.c
3348         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3349         (timespec_get): Use ANSI prototype.
3350         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3351         and definition for Linux.
3353 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3355         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3356         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3358 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3360         [BZ #2981]
3361         [BZ #18410]
3362         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3363         for missing DT_PLTRELSZ.
3365 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3367         Remove obsolete aliases that broke 'locale -a'
3368         [BZ #18412]
3369         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3370         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3371         breaking some applications that use 'locale -a' output.
3372         Change the encoding of this file from Latin-1 to ASCII to avoid
3373         other potential problems with people grepping this file.
3375 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3377         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3378         -fasynchronous-unwind-tables.
3379         (CFLAGS-sendto.c): Likewise.
3380         (CFLAGS-sendmsg.c): Likewise.
3381         (CFLAGS-connect.c): Likewise.
3382         (CFLAGS-recvmsg.c): Likewise.
3383         (CFLAGS-recvfrom.c): Likewise.
3384         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3385         (SOCKETCALL): New macro: non-cancellable socketcall.
3386         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3388         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3389         * sysdeps/unix/sysv/linux/accept.c: New file.
3390         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3391         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3392         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3393         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3394         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3395         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3396         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3397         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3398         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3399         * sysdeps/unix/sysv/linux/send.c: Likewise.
3400         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3401         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3402         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3403         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3404         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3405         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3406         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3407         prototype.
3408         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3409         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3410         instead of __internal_xxx function.
3411         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3412         prototype.
3413         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3414         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3415         instead of __internal_xxx function.
3416         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3417         prototype.
3418         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3419         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3420         instead of __internal_xxx function.
3421         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3422         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3423         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3424         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3425         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3426         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3427         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3428         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3429         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3430         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3431         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3432         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3433         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3434         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3435         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3436         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3437         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3438         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3439         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3440         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3443         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3444         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3445         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3446         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3447         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3448         * sysdeps/unix/sysv/linux/send.S: Likewise.
3449         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3450         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3451         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3452         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3453         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3454         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3455         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3456         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3457         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3458         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3459         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3460         socketcall is implemented in GLIBC.
3462 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3464         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3465         (__fma): Ignore uninitialized warnings around packing.
3466         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3467         (__fmaf): Ignore uninitialized warnings around packing.
3468         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3469         (__fmal): Ignore uninitialized warnings around packing.
3471         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3472         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3473         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3474         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3476         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3477         switch statement into default case.
3478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3480         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3481         a conditional in forcing "inexact".
3482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3483         Likewise.
3485 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3487         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3488         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3489         for each INTERNAL_SYSCALL use.
3491 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3493         [BZ #438]
3494         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3495         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3496         variable.
3498         [BZ #18444]
3499         * string/basename.c (basename): Rename to __basename and define as
3500         weak alias of __basename.  Use libc_hidden_weak.
3501         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3502         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3503         __basename instead of basename.
3504         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3505         Remove variable.
3506         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3508 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3510         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3511         (_IO_JUMPS_FILE_plus): New.
3512         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3513         _IO_CAST_FIELD_ACCESS.
3514         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3515         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3516         * libio/freopen.c (freopen): Likewise.
3517         * libio/freopen64.c (freopen64): Likewise.
3518         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3519         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3520         * libio/iofwide.c (_IO_fwide): Likewise.
3521         * libio/memstream.c (open_memstream): Likewise.
3522         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3523         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3524         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3526 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3529         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3530         NADJ.
3531         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3532         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3533         NADJ.
3534         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3535         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3536         NADJ.
3538         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3539         (p == 4) case.
3541         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3542         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3543         Remove variable.
3544         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3545         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3546         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3548 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3550         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3551         Adjust jump table label generation macros.
3553 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3555         * stdio-common/vfprintf.c (vfprintf): Move local variables
3556         args_malloced, specs, specs_malloced, and the code after
3557         do_positional to the printf_positional function.
3558         (printf_positional): New function.
3560 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3562         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3563         function.
3564         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3565         STEP4_TABLE, process_arg): Move macro definitions
3566         out of the vfprintf function.  (Cosmetic change only.)
3568 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3570         * benchtests/Makefile (stdio-common-bench): Define.
3571         (benchset): Add stdio-common-bench.
3572         * sprintf-inputs: New file.
3573         * sprintf-source.c: New file.
3575 2015-05-21  Andreas Schwab  <schwab@suse.de>
3577         [BZ #13028]
3578         [BZ #17053]
3579         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3580         of struct __res_state.
3581         * resolv/res_send.c (__libc_res_nsend): Likewise.
3582         (get_nsaddr): New function.
3583         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3584         statp directly.
3586 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3588         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3589         -D_POSIX_C_SOURCE=199506L.
3591         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3593         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3594         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3595         Do not mention otherwise.
3596         [POSIX] (_XOPEN_VERSION): Do not expect.
3597         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3598         [POSIX] (_POSIX2_C_BIND): Likewise.
3599         [POSIX] (_POSIX2_VERSION): Likewise.
3600         [POSIX] (_XOPEN_XPG2): Likewise.
3601         [POSIX] (_XOPEN_XPG3): Likewise.
3602         [POSIX] (_XOPEN_XPG4): Likewise.
3603         [POSIX] (_XOPEN_UNIX): Likewise.
3604         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3605         [POSIX] (_POSIX_BARRIERS): Likewise.
3606         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3607         [POSIX] (_POSIX_CPUTIME): Likewise.
3608         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3609         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3610         [POSIX] (_POSIX_SHELL): Likewise.
3611         [POSIX] (_POSIX_SPAWN): Likewise.
3612         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3613         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3614         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3615         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3616         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3617         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3618         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3619         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3620         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3621         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3622         [POSIX] (_POSIX2_PBS): Likewise.
3623         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3624         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3625         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3626         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3627         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3628         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3629         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3630         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3631         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3632         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3633         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3634         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3635         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3636         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3637         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3638         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3639         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3640         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3641         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3642         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3643         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3644         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3645         [POSIX] (_SC_2_C_BIND): Likewise.
3646         [POSIX] (_SC_2_C_VERSION): Likewise.
3647         [POSIX] (_SC_2_PBS): Likewise.
3648         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3649         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3650         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3651         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3652         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3653         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3654         [POSIX] (_SC_BARRIERS): Likewise.
3655         [POSIX] (_SC_BASE): Likewise.
3656         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3657         [POSIX] (_SC_DEVICE_IO): Likewise.
3658         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3659         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3660         [POSIX] (_SC_FD_MGMT): Likewise.
3661         [POSIX] (_SC_FIFO): Likewise.
3662         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3663         [POSIX] (_SC_FILE_LOCKING): Likewise.
3664         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3665         [POSIX] (_SC_IOV_MAX): Likewise.
3666         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3667         [POSIX] (_SC_NETWORKING): Likewise.
3668         [POSIX] (_SC_PAGE_SIZE): Likewise.
3669         [POSIX] (_SC_PASS_MAX): Likewise.
3670         [POSIX] (_SC_PIPE): Likewise.
3671         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3672         [POSIX] (_SC_REGEXP): Likewise.
3673         [POSIX] (_SC_SHELL): Likewise.
3674         [POSIX] (_SC_SIGNALS): Likewise.
3675         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3676         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3677         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3678         [POSIX] (_SC_USER_GROUPS): Likewise.
3679         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3680         [POSIX] (_SC_STREAMS): Likewise.
3681         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3682         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3683         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3684         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3685         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3686         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3687         [POSIX] (_PC_FILESIZEBITS): Likewise.
3688         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3689         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3690         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3691         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3692         [POSIX] (uid_t): Likewise.
3693         [POSIX] (gid_t): Likewise.
3694         [POSIX] (off_t): Likewise.
3695         [POSIX] (pid_t): Likewise.
3696         [POSIX] (cuserid): Allow.
3697         (_SC_2_CHAR_TERM): Require constant.
3698         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3699         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3700         variable.
3702 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3704         * sysdeps/nacl/pthread-pids.h: New file.
3705         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3706         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3708         * nptl/pthread-pids.h: New file.
3709         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3710         * nptl/nptl-init.c: Include <pthread-pids.h>.
3711         (__pthread_initialize_minimal_internal):
3712         Call __pthread_initialize_pids instead of set_tid_address syscall.
3714         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3715         * sysdeps/posix/usleep.c: ... here.
3717 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3719         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3720         call_pselect6 object.
3721         [$(subdir) = io]: Remove call_sync_file_range object.
3722         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3723         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3724         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3725         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3727 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3729         * math/s_cproj.c: Add include "math_private.h".
3730         * math/s_cprojf.c: Likewise.
3731         * math/s_cprojl.c: Likewise.
3733 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3735         [BZ #18244]
3736         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3737         high mantissa bit when testing whether P is a NaN.
3738         * math/libm-test.inc (remainder_test_data): Add more tests.
3739         (remquo_test_data): Likewise.
3741         [BZ #18049]
3742         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3743         below -32, return the argument, with underflow if subnormal.
3744         * math/auto-libm-test-in: Add more tests of atanh.
3745         * math/auto-libm-test-out: Regenerated.
3747 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3749         [BZ #18434]
3750         * nptl/tst-sem15.c: New file.
3751         * nptl/Makefile (tests): Add it.
3752         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3753         s/<</>>/ to fix typo in EOVERFLOW check.
3754         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3756 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3758         * manual/strings.texi (envz_remove): Fix typo in safety
3759         annotations.
3761 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3762             Steve Ellcey  <sellcey@imgtec.com>
3764         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3765         in order to avoid strict alias warnings.
3766         (iruserok_af): Ditto for ra.
3768 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3770         [BZ #17581]
3771         * malloc/hooks.c
3772         (magicbyte): Convert to a function and avoid returning 0x01.
3773         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3774         (mem2chunk_check): Fix unsigned comparisons to zero.
3775         Hoist defs of sz and magic.
3777 2015-05-19  Richard Henderson  <rth@redhat.com>
3779         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3781         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3783 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3785         [BZ #16159]
3786         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3787         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3788         (reused_arena): Find a non-corrupt arena.
3789         (heap_trim): Pass arena to unlink.
3790         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3791         malloc_printerr.
3792         (top_check): Likewise.
3793         (free_check): Likewise.
3794         (realloc_check): Likewise.
3795         * malloc/malloc.c (malloc_printerr): Add arena argument.
3796         (unlink): Likewise.
3797         (munmap_chunk): Adjust.
3798         (ARENA_CORRUPTION_BIT): New macro.
3799         (arena_is_corrupt): Likewise.
3800         (set_arena_corrupt): Likewise.
3801         (sysmalloc): Use mmap if there are no usable arenas.
3802         (_int_malloc): Likewise.
3803         (__libc_malloc): Don't fail if arena_get returns NULL.
3804         (_mid_memalign): Likewise.
3805         (__libc_calloc): Likewise.
3806         (__libc_realloc): Adjust for additional argument to
3807         malloc_printerr.
3808         (_int_free): Likewise.
3809         (malloc_consolidate): Likewise.
3810         (_int_realloc): Likewise.
3811         (_int_memalign): Don't touch corrupt arenas.
3812         * malloc/tst-malloc-backtrace.c: New test case.
3814         * Makefile (summarize-tests): Fix return value on success.
3816         * manual/string.texi (Envz Functions): Add envz_remove.
3818 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3820         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3821         (invalid_name): New function, broken out of ...
3822         (__opendirat): ... here.  Call it.
3823         (need_isdir_precheck): New function, broken out of ...
3824         (__opendirat): ... here.  Call it.
3825         Use __fxstatat64, not __xstatat64.
3826         (opendir_oflags): New function, broken out of ...
3827         (__opendirat): ... here.  Call it.
3828         (opendir_tail): New function, broken out of ...
3829         (__opendirat): ... here.  Call it.
3830         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3831         opendir_tail, rather than punting to __opendirat.
3832         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3834 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3836         * .gitignore: Ignore generated *.pyc.
3838 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3840         * include/stdio.h: Define __need_wint_t.
3841         * test-skeleton.c: Avoid `for' loop initial declaration.
3842         * nptl/tst-initializers1.c: Use test-skeleton.c.
3844 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3846         [BZ #18418]
3847         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3849 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3851         [BZ #16352]
3852         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3853         (__ieee754_atanh): Force underflow exception for results with
3854         small absolute value.
3855         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3856         (__ieee754_atanhf): Force underflow exception for results with
3857         small absolute value.
3858         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3859         (__ieee754_atanh): Force underflow exception for results with
3860         small absolute value.
3861         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3862         (__ieee754_atanhf): Force underflow exception for results with
3863         small absolute value.
3864         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3865         (__ieee754_atanhl): Force underflow exception for results with
3866         small absolute value.
3867         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3868         (__ieee754_atanhl): Force underflow exception for results with
3869         small absolute value.
3870         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3871         (__ieee754_atanhl): Force underflow exception for results with
3872         small absolute value.
3873         * math/auto-libm-test-in: Do not allow missing underflow
3874         exceptions from atanh.
3875         * math/auto-libm-test-out: Regenerated.
3877         [BZ #18221]
3878         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3879         2**-28 as threshold for returning x or +/- 1/x.
3880         * math/auto-libm-test-in: Add more tests of tan.
3881         * math/auto-libm-test-out: Regenerated.
3883         [BZ #18220]
3884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3885         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3886         * math/auto-libm-test-in: Add another test of lgamma.
3887         * math/auto-libm-test-out: Regenerated.
3889 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3891         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3892         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3893         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3894         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3895         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3896         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3897         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3898         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3900         (log1): Use fabs.  (my_log2): Use fabs.
3901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3902         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3904         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3906         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3907         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3908         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3909         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3910         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3911         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3913 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3915         [BZ #18217]
3916         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3917         as threshold for returning 1 - x.
3918         * math/auto-libm-test-in: Add more tests of erfc.
3919         * math/auto-libm-test-out: Regenerated.
3921 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3923         [BZ #18196]
3924         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3925         threshold for large arguments.
3926         * math/auto-libm-test-in: Add another test of atan.
3927         * math/auto-libm-test-out: Regenerated.
3929         [BZ #16339]
3930         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3931         (__log1p): Force underflow exception for results with small
3932         absolute value.
3933         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3934         (__log1pf): Force underflow exception for results with small
3935         absolute value.
3936         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3937         (__log1p): Force underflow exception for results with small
3938         absolute value.
3939         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3940         (__log1pf): Force underflow exception for results with small
3941         absolute value.
3942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3943         (__log1pl): Force underflow exception for results with small
3944         absolute value.
3945         * math/auto-libm-test-in: Do not allow missing underflow
3946         exceptions from log1p.
3947         * math/auto-libm-test-out: Regenerated.
3949 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3950             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3952         [BZ #16704]
3953         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3955 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3957         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3958         (libmvec): New variable.
3959         * configure.ac: Added option for mathvec build.
3960         * configure: Regenerated.
3961         * mathvec/Depend: New file.
3962         * mathvec/Makefile: New file.
3963         * shlib-versions: Added libmvec.
3964         * math/Makefile: Added rule for libm.so installation.
3966         * bits/math-vector.h: New file.
3967         * bits/libm-simd-decl-stubs.h: New header.
3968         * math/Makefile (headers): Added new header
3969         libm-simd-decl-stubs.h.
3970         * math/math.h (__MATHCALL_VEC): New macro.
3972         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3973         for conditions in testing functions.
3974         * math/Makefile: Added call of libm-have-vector-test.sh.
3975         * math/libm-test.inc (HAVE_VECTOR): New macros.
3977         * math/libm-test.inc: START refactored.
3978         * math/test-double.c (TEST_MATHVEC): Add define.
3979         * math/test-float.c: Likewise.
3980         * math/test-idouble.c: Likewise.
3981         * math/test-ifloat.c: Likewise.
3982         * math/test-ildoubl.c: Likewise.
3983         * math/test-ldouble.c: Likewise.
3984         * sysdeps/generic/math-tests-arch.h
3985         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3986         architecture check.
3988         * math/test-double.c (FUNC_TEST): New macro.
3989         * math/test-float.c: Likewise.
3990         * math/test-idouble.c: Likewise.
3991         * math/test-ifloat.c: Likewise.
3992         * math/test-ildoubl.c: Likewise.
3993         * math/test-ldouble.c: Likewise.
3994         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3996 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3998         * sysdeps/nacl/fdopendir.c: New file.
4000         * dirent/scandir-tail.c: New file.
4001         * dirent/scandir64-tail.c: New file.
4002         * dirent/Makefile (routines): Add them.
4003         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4004         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4005         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4006         [!SCANDIR] (SCANDIR_TAIL): New macro.
4007         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4008         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4009         (SCANDIRAT): Macro removed.
4010         (SCANDIR_TAIL): New macro.
4011         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4012         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4013         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4014         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4015         (READDIR): Macro removed.
4016         (SCANDIR_TAIL): New macro.
4017         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4018         (SCANDIR_TAIL): New macro.
4020         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4021         * dirent/scandir-cancel.c: ... to this new file.
4022         * dirent/Makefile (routines): Add it.
4023         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4024         * sysdeps/unix/sysv/linux/i386/scandir64.c
4025         (SKIP_SCANDIR_CANCEL): Macro removed.
4026         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4028         * dirent/tst-scandir.c: New file.
4029         * dirent/tst-scandir64.c: New file.
4030         * dirent/Makefile (tests): Add them.
4032 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4034         [BZ #18409]
4035         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4037 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4039         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4040         list.
4042 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4044         * benchtests/bench-strcoll.c: New benchmark.
4045         * benchtests/Makefile: Generate locales and run benchmark.
4046         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4047         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4048         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4049         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4050         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4051         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4052         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4053         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4054         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4055         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4056         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4057         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4058         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4059         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4060         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4061         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4062         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4063         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4064         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4065         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4066         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4067         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4068         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4069         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4071 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4073         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4074         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4076 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4078         * posix/uname-values.h: New file.
4079         * posix/uname.c: Include that instead of <config-name.h>.
4080         * sysdeps/nacl/uname-values.h: New file.
4081         * sysdeps/arm/nacl/uname-values.h: New file.
4083 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4085         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4086         splitting into fields.
4088 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4090         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4091         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4092         * locale/localeinfo.h: Add enum collation_encoding_type.
4093         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4094         * programs/ld-collate.c (collate_output): Add encoding type info.
4095         * string/strcoll_l.c (STRDIFF): New function.
4096         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4097         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4099 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4101         [BZ #18397]
4102         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4103         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4104         <fpu_control.h> instead of <math/fpu_control.c>.
4105         * sysdeps/mips/mips32/fpu/Makefile: New file.
4107 2015-05-11  Andreas Schwab  <schwab@suse.de>
4109         [BZ #18007]
4110         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4111         nss_endgrent.
4112         (_nss_compat_endgrent): Call nss_endgrent.
4113         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4114         nss_endpwent.
4115         (_nss_compat_endpwent): Call nss_endpwent.
4116         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4117         needent, call nss_setspent only if non-zero.
4118         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4119         (internal_endspent): Don't call nss_endspent.
4120         (_nss_compat_endspent): Call nss_endspent.
4121         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4122         Remove.  All uses removed.
4123         (internal_setent): Remove parameter stayopen, add parameter
4124         stream.  Use it instead of global variable.
4125         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4126         (internal_endent, internal_getent): Add parameter stream.  Use it
4127         instead of global variable.
4128         (CONCAT(_nss_files_end,ENTNAME))
4129         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4130         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4131         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4132         uses removed.
4133         (internal_setent, internal_endent): Add parameter stream.  Use it
4134         instead of global variable.
4135         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4136         stream.
4137         (get_next_alias): Add parameter stream.
4138         (_nss_files_getaliasent_r): Pass global stream.
4139         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4140         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4141         (_nss_files_gethostbyname4_r): Pass local stream to
4142         internal_setent, internal_getent and internal_endent.  Remove
4143         locking.
4145 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4147         * tst-strfmon1.c (tests): Update expected currency symbol.
4149 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4151         * sysdeps/nacl/gethostname.c: New file.
4153 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4155         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4156         and sinh.
4157         * math/auto-libm-test-out: Regenerated.
4158         * sysdeps/i386/fpu/libm-test-ulps: Update.
4159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4161 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4163         [BZ #18125]
4164         * stdlib/tst-setcontext3.c: New file.
4165         * stdlib/tst-setcontext3.sh: New file.
4166         * stdlib/Makefile (tests): Add tst-setcontext3.
4167         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4168         to verify test program created output file.
4169         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4170         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4171         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4172         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4174 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4176         [BZ #18383]
4177         * elf/tst-tlsalign.c: New file.
4178         * elf/tst-tlsalign-static.c: New file.
4179         * elf/tst-tlsalign-lib.c: New file.
4180         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4181         (tests-static): Add tst-tlsalign-static.
4182         (modules-names): Add tst-tlsalign-lib.
4183         (test-xfail-tst-tlsalign): New variable.
4184         (test-xfail-tst-tlsalign-static): New variable.
4186         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4187         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4189 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4191         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4192         csqrt, erfc, sin and sincos.
4193         * math/auto-libm-test-out: Regenerated.
4194         * sysdeps/i386/fpu/libm-test-ulps: Update.
4195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4197 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4199         * sysdeps/aarch64/libm-test-ulps: Update.
4201 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4203         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4204         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4205         * math/auto-libm-test-out: Regenerated.
4206         * sysdeps/i386/fpu/libm-test-ulps: Update.
4207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4209 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4211         [BZ #18265]
4212         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4213         (wcsncpy): Likewise.
4215 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4217         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4218         Assume __ASSUME_FALLOCATE is always true.
4219         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4220         (__posix_fallocate64_l64): Likweise.
4221         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4222         (posix_fallocate): Likewise.
4223         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4224         (__posix_fallocate64_l64): Likewise.
4225         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4226         [!__ASSUME_FALLOCATE]: Add comment.
4228 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4230         * sysdeps/unix/sysv/linux/i386/Makefile
4231         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4232         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4233         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4234         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4235         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4236         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4237         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4239 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4241         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4242         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4243         tgamma.
4244         * math/auto-libm-test-out: Regenerated.
4245         * sysdeps/i386/fpu/libm-test-ulps: Update.
4246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4248 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4250         * math/auto-libm-test-in: Add more tests of tgamma.
4251         * math/auto-libm-test-out: Regenerated.
4252         * sysdeps/i386/fpu/libm-test-ulps: Update.
4253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4255         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
4261         * math/auto-libm-test-out: Regenerated.
4262         * sysdeps/i386/fpu/libm-test-ulps: Update.
4263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4266         * math/auto-libm-test-out: Regenerated.
4267         * sysdeps/i386/fpu/libm-test-ulps: Update.
4268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270         * math/auto-libm-test-in: Add another test of pow.
4271         * math/auto-libm-test-out: Regenerated.
4272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4274         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
4280         log1p.
4281         * math/auto-libm-test-out: Regenerated.
4282         * sysdeps/i386/fpu/libm-test-ulps: Update.
4283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4285 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4287         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4288         Elf64_Chdr structs and ELFCOMPRESS constants.
4290 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4292         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4293         expm1.
4294         * math/auto-libm-test-out: Regenerated.
4295         * sysdeps/i386/fpu/libm-test-ulps: Update.
4296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4298         * math/auto-libm-test-in: Add more tests of erf and erfc.
4299         * math/auto-libm-test-out: Regenerated.
4300         * sysdeps/i386/fpu/libm-test-ulps: Update.
4301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4303 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4305         * config.h.in (HAVE_AARCH64_BE): Add.
4307 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4309         * math/auto-libm-test-in: Add more tests of csqrt.
4310         * math/auto-libm-test-out: Regenerated.
4311         * sysdeps/i386/fpu/libm-test-ulps: Update.
4312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4314         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4315         * math/auto-libm-test-out: Regenerated.
4316         * sysdeps/i386/fpu/libm-test-ulps: Update.
4317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4319         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4321 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4323         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4324         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4326         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4327         (euidaccess, eaccess): Define as weak aliases.
4329         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4330         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4331         but __suseconds_t is often 'long int' so some sources assume that
4332         type is being used (e.g. they use %ld to print tv_usec).
4334 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4336         [BZ #18007]
4337         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4338         (CVE-2014-8121)
4339         * nss/tst-nss-getpwent.c: New file.
4340         * nss/Makefile (tests): Add new test.
4342 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4344         [BZ #18346]
4345         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4346         exponents less than 48 as cases where high part of mantissa needs
4347         examining to determine whether argument is integral.
4348         * math/libm-test.inc (round_test_data): Add more tests.
4350 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4352         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4354 2015-04-27  David S. Miller  <davem@davemloft.net>
4356         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4357         __tls_get_addr.
4358         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4360 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4362         [BZ#18333]
4363         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4365 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4367         [BZ#18333]
4368         * time/tzset.c (parse_tzname): Return error on memory allocation
4369         failure.
4370         * test-skeleton.c (struct temp_name_list): Change type of name
4371         member to non-const.
4372         (add_temp_file): Create a copy of the file name.
4373         (delete_temp_files): Deallocate memory.
4374         (create_temp_file): Add comment.
4376 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4378         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4379         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4381 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4383         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4384         * sysdeps/arm/configure: Regenerated.
4386 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4388         [BZ #17715]
4389         * time/tzfile.c (__tzfile_read): Check for large values of
4390         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4391         * time/tzset.c (__tzstring_len): New function, based on the old
4392         __tzstring function.
4393         (__tzstring): Call __tzstring_len.
4394         (parse_tzname): New helper function extracted from
4395         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4396         the input string.
4397         (parse_offset): New helper function extracted from
4398         __tzset_parse_tz.  Replace switch with fallthrough with
4399         initialization before sscanf.
4400         (parse_rule): Likewise.
4401         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4402         new-style function definition.
4403         * timezone/Makefile (tests): Add tst-tzset.
4404         (tst-tzset.out): Dependencies on time zone files.
4405         (tst-tzset-ENV): Set TZDIR.
4406         (testdata/XT%): Copy crafted time zone files.
4407         * timezone/README: Mention crafted time zone files.
4408         * timezone/testdata/XT1, timezone/testdata/XT2,
4409         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4410         files.
4411         * timezone/tst-tzset.c: New test.
4413 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4415         * Makeconfig (+gccwarn): Remove -Winline.
4417 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4419         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4421 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4423         * NEWS: Mention sysconf() cache information support for s390.
4424         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4426 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4428         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4429         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4430         (__nearbyint): Likewise.
4431         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4432         (copysignl): Likewise.
4434 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4436         [BZ #18287]
4437         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4438         based on padding.  (CVE-2015-1781)
4440 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4442         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4443         libc-vdso.h.
4444         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4445         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4446         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4447         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4448         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4449         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4450         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4451         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4452         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4455         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4456         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4457         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4458         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4459         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4460         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4462         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4463         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4464         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4465         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4466         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4468 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4470         * stdlib/setenv.c (__add_to_environ):
4471         Dump core quickly if setenv (..., NULL, ...) is called.
4472         This time, do it the right way, and pacify GCC with a pragma.
4474 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4476         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4477         IMAP->l_prev cannot be null, and #if out the code for the contrary
4478         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4479         believe that NS (&_dl_ns[NSID]) could point outside the array.
4481         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4482         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4483         before using NSID as an index.
4485 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4487         [BZ #17825]
4488         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4489         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4490         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4492 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4494         Add preliminary port to Google Native Client on ARM.
4495         * abi-tags (.*-.*-nacl.*): New entry.
4496         * sysdeps/arm/nacl: New directory.
4497         * sysdeps/nacl: New directory.
4499 2015-04-16  David S. Miller  <davem@davemloft.net>
4501         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4502         lowlevellock-futex.h
4504 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4506         * sysdeps/tile/configure.ac: New file.
4507         * sysdeps/tile/configure: Regenerated.
4509 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4511         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4512         conditionals for weak_alias and libc_hidden_weak.
4513         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4514         libc_hidden_weak and weak_alias.
4515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4516         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4517         and weak_alias for static one.
4519 2015-04-15  David S. Miller  <davem@davemloft.net>
4521         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4523 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4525         [BZ #18206]
4526         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4527           Use signed comparision instead of substraction to avoid
4528           overflow bug.
4529         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4530           Take the sign of ret.
4531         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4532           Do not expect precise return values. Only the sign matters.
4533         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4534         * wcsmbs/test-wcsncmp.c: New File.
4535         * string/test-strncmp.c: Add wcsncmp support.
4537 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4539         [BZ #6792]
4540         * math/w_log1p.c: New file.
4541         * math/w_log1pf.c: Likewise.
4542         * math/w_log1pl.c: Likewise.
4543         * math/Makefile (libm-calls): Add w_log1p.
4544         * math/s_log1pl.c (log1pl): Remove weak_alias.
4545         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4546         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4547         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4548         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4549         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4550         [NO_LONG_DOUBLE] (log1pl): Likewise.
4551         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4552         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4553         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4554         (log1p): Remove long_double_symbol.
4555         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4556         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4557         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4558         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4559         remove weak_alias for corresponding log1p function.
4560         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4561         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4562         * sysdeps/ia64/fpu/w_log1p.c: New file.
4563         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4564         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4565         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4567 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4569         [BZ #18247]
4570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4571         decimal exponent by 1.
4572         * stdlib/tst-strtod-round-data: Add more tests.
4573         * stdlib/tst-strtod-round.c (tests): Regenerated.
4575 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4577         * math/auto-libm-test-in: Add more tests of clog and clog10.
4578         * math/auto-libm-test-out: Regenerated.
4579         * sysdeps/i386/fpu/libm-test-ulps: Update.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4584         * Makeconfig (module-cppflags): Exclude all .v.i files.
4585         (skip-module-cppflags): Variable removed.
4587         * configure.ac (libc_config_ok): Initialize before reading
4588         preconfigure scripts, not after.
4589         * configure: Regenerated.
4591         * test-skeleton.c (TIMEOUT): Move #define to top level.
4592         (main): Grok environment variable TEST_DIRECT.  If set, print
4593         test expectation details into that file and then behave as if
4594         given --direct.
4596 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4598         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4599         warning on 32-bit.
4601 2015-04-08  David S. Miller  <davem@davemloft.net>
4603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4605 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4607         * math/auto-libm-test-in: Add more tests of atanh.
4608         * math/auto-libm-test-out: Regenerated.
4609         * sysdeps/i386/fpu/libm-test-ulps: Update.
4610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4612         * math/auto-libm-test-in: Add more tests of atan.
4613         * math/auto-libm-test-out: Regenerated.
4614         * sysdeps/i386/fpu/libm-test-ulps: Update.
4615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4617 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4619         * elf/pldd.c (main): Rewrite to use struct
4620         scratch_buffer instead of extend_alloca.
4621         * elf/pldd-xx.c (find_maps): Likewise.
4622         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4623         <alloca.h>.
4624         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4625         scratch_buffer instead of extend_alloca.
4626         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4627         grp/compat-initgroups.c.
4628         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4629         Rewrite to use struct scratch_buffer instead of extend_alloca.
4630         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4631         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4633 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4635         * math/auto-libm-test-in: Add more tests of cbrt.
4636         * math/auto-libm-test-out: Regenerated.
4637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4639         * math/auto-libm-test-in: Add more tests of cabs.
4640         * math/auto-libm-test-out: Regenerated.
4641         * sysdeps/i386/fpu/libm-test-ulps: Update.
4642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644         [BZ #18210]
4645         [BZ #18211]
4646         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4647         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4648         computations.
4649         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4650         clog10.
4651         * math/auto-libm-test-out: Regenerated.
4652         * sysdeps/i386/fpu/libm-test-ulps: Update.
4653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655         [BZ #18197]
4656         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4657         (atan): Set FE_TONEAREST mode for internal computations.
4658         * math/auto-libm-test-in: Add more tests of atan.
4659         * math/auto-libm-test-out: Regenerated.
4661 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4663         [BZ #17930]
4664         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4666 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4668         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4670 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4672         * include/scratch_buffer.h: New file.
4673         * malloc/scratch_buffer_grow.c: Likewise.
4674         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4675         * malloc/scratch_buffer_set_array_size.c: Likewise.
4676         * malloc/tst-scratch_buffer.c: Likewise.
4677         * malloc/Makefile (routines): Add scratch_buffer_grow.
4678         (tests): Add test case.
4679         * malloc/Versions (GLIBC_PRIVATE): Export
4680         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4681         __libc_scratch_buffer_set_array_size.
4683 2015-04-06  Richard Henderson  <rth@redhat.com>
4685         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4686         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4688         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4689         unsigned int before printing.
4691 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4693         [BZ #17596]
4694         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4695         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4697 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4699         * include/libc-internal.h (libc_max_align_t): Define.
4701 2015-04-02  Andreas Schwab  <schwab@suse.de>
4703         [BZ #16850]
4704         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4706 2015-04-02  Mel Gorman  <mgorman@suse.de>
4708         [BZ #17195]
4709         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4710         as well as the main arena.
4712 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4714         [BZ #18185]
4715         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4716         sharing L2 cache to 2 for Silvermont/Knights Landing.
4718 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4720         [BZ #17711]
4721         * config.make.in (have-protected-data): New.
4722         * configure.ac: Check linker support for protected data symbol.
4723         * configure: Regenerated.
4724         * elf/Makefile (modules-names): Add tst-protected1moda and
4725         tst-protected1modb if $(have-protected-data) is yes.
4726         (tests): Add tst-protected1a and tst-protected1b if
4727         $(have-protected-data) is yes.
4728         ($(objpfx)tst-protected1a): New.
4729         ($(objpfx)tst-protected1b): Likewise.
4730         (tst-protected1modb.so-no-z-defs): Likewise.
4731         * elf/tst-protected1a.c: New file.
4732         * elf/tst-protected1b.c: Likewise.
4733         * elf/tst-protected1mod.h: Likewise.
4734         * elf/tst-protected1moda.c: Likewise.
4735         * elf/tst-protected1modb.c: Likewise.
4737 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4739         [BZ #17711]
4740         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4741         indicates it is called from do_lookup_x on relocation against
4742         protected data, skip the data definion in the executable from
4743         copy reloc.
4744         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4745         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4746         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4747         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4748         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4749         otherwise to 0.
4750         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4751         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4752         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4753         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4754         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4755         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4757 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4759         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4760         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4762 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4764         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4765         THREAD_SETMEM_NC.
4766         * sysdeps/x86_64/nptl/tls.h: Ditto.
4768 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4770         * dlfcn/tststatic.c (main): Converted to ...
4771         (do_test): ... this.
4772         (TEST_FUNCTION): New macro.
4773         Include test-skeleton.c.
4775 2015-03-26  Alan Modra  <amodra@gmail.com>
4777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4778         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4779         zero for undefined weak.
4780         (elf_machine_plt_conflict): Similarly.
4782 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4784         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4785         atanh.
4786         * math/auto-libm-test-out: Regenerated.
4787         * sysdeps/i386/fpu/libm-test-ulps: Update.
4788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4790         * math/auto-libm-test-in: Add another test of asin.
4791         * math/auto-libm-test-out: Regenerated.
4792         * sysdeps/i386/fpu/libm-test-ulps: Update.
4793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4795         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4796         Remove macro.
4797         (LLL_EBX_REG): Likewise.
4798         (LLL_ENTER_KERNEL): Likewise.
4800         * math/auto-libm-test-in: Add more tests of asin.
4801         * math/auto-libm-test-out: Regenerated.
4802         * sysdeps/i386/fpu/libm-test-ulps: Update.
4803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805         [BZ #18138]
4806         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4807         libc_do_syscall_args): New structure.
4808         (INTERNAL_SYSCALL_MAIN_0): New macro.
4809         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4810         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4811         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4812         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4813         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4814         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4815         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4816         Replace conditional definitions by conditional definitions of ....
4817         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4818         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4819         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4820         (libpthread-sysdep_routines): Add libc-do-syscall.
4821         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4823         to __NR_futex not 240.
4825 2015-03-25  Alan Modra  <amodra@gmail.com>
4827         * NEWS: Advertise TLS optimization.
4828         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4829         (DT_PPC_NUM): Increment.
4830         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4831         (CHECK_STATIC_TLS): Use here.
4832         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4833         TLS descriptors.
4834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4835         * sysdeps/powerpc/dl-tls.c: New file.
4836         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4837         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4838         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4839         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4844 2015-03-25  Alan Modra  <amodra@gmail.com>
4846         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4847         for overlapping .opd entries" to "support...".
4848         * sysdeps/powerpc/powerpc64/configure: Regenerate
4850 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4852         * math/auto-libm-test-in: Add more tests of acos.
4853         * math/auto-libm-test-out: Regenerated.
4854         * sysdeps/i386/fpu/libm-test-ulps: Update.
4855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857         * math/auto-libm-test-in: Add more tests of expm1.
4858         * math/auto-libm-test-out: Regenerated.
4859         * sysdeps/i386/fpu/libm-test-ulps: Update.
4860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4864         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4865         * math/auto-libm-test-out: Regenerated.
4866         * sysdeps/i386/fpu/libm-test-ulps: Update.
4867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4869         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872         * math/auto-libm-test-in: Add more tests of log2.
4873         * math/auto-libm-test-out: Regenerated.
4874         * sysdeps/i386/fpu/libm-test-ulps: Update.
4875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4879         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4880         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4881         _IO_IS_APPENDING bit in READ_WRITE instead.
4883 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4885         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4886         (__determine_cpumask_size): Replace extend_alloca with a
4887         variable-length array.  Do not treat res == 0 as an error.
4889 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4891         [BZ #18100]
4892         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4893         and integer overflow.
4894         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4895         (main): Add integer overflow tests.
4896         * manual/pattern.texi (Calling Wordexp): Document additional use
4897         for WRDE_SYNTAX.
4899 2015-03-23  Alan Modra  <amodra@gmail.com>
4901         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4902         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4903         and false branch of conditional.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4905         Likewise.
4907 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4909         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4910         libc-modules.h
4911         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4912         unused declaration of _hurd_intr_rpc_msg_in_trap.
4913         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4914         defined instead of whether it is non-zero.
4915         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4916         input constraint instead of both input and output constraint.  Use ecx
4917         clobber instead of %ecx.
4918         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4919         mutex_unlock): Use a statement expression instead of an expression list.
4920         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4921         type to vm_size_t instead of vm_address_t.
4922         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4923         defined instead of whether it is non-zero.
4924         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4925         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4926         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4927         comparisons with mapaddr.
4928         * nscd/nscd-client.h: Include <time.h>.
4929         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4930         9th parameter to __vm_region instead of int.
4931         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4932         * scripts/check-local-headers.sh (exclude): Add device/,
4933         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4934         cthreads.h.
4936 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4938         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4939         to account for alignment padding.
4940         * sysdeps/arm/memmove.S: Likewise.
4942 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4944         * sysdeps/unix/sysv/linux/generic/README: New file.
4946 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #18138]
4949         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4950         (futex_abstimed_wait)
4951         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4952         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4953         of lll_futex_timed_wait.
4955 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4957         [BZ #17542]
4958         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4960 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4962         [BZ #17090]
4963         [BZ #17620]
4964         [BZ #17621]
4965         [BZ #17628]
4966         * NEWS: Update.
4967         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4968         entries with Static TLS too.  Skip entries past the end of the
4969         allocated DTV, from Alan Modra.
4970         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4971         Static TLS DTV entry set up from...
4972         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4973         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4974         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4975         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4976         for Static TLS.
4977         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4978         that the slot we find is associated with the given map before
4979         using its generation count.
4980         * nptl_db/db_info.c: Include ldsodefs.h.
4981         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4982         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4983         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4984         (link_map::l_tls_offset): New struct field.
4985         (dtv_t::counter): Likewise.
4986         (rtld_global): New struct.
4987         (_rtld_global): New rtld variable.
4988         (dl_tls_dtv_slotinfo_list): New rtld global field.
4989         (dtv_slotinfo_list): New struct.
4990         (dtv_slotinfo): Likewise.
4991         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4992         (td_lookup): Rename to...
4993         (td_mod_lookup): ... this.  Use new mod parameter instead of
4994         LIBPTHREAD_SO.
4995         * nptl_db/td_thr_tlsbase.c: Include link.h.
4996         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4997         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4998         addresses even if the DTV is out of date or missing them.
4999         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5000         index zero-length arrays.
5001         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5002         (td_lookup): Make it a macro implemented in terms of...
5003         (td_mod_lookup): ... this declaration.
5004         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5005         (DB_MAIN_VARIABLE): Likewise.
5007 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5009         [BZ #18134]
5010         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5012 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5014         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5016 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5018         [BZ #18128]
5019         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5020         (atomic_add, atomic_increment_and_test)
5021         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5023 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5025         * stdlib/setenv.c (__add_to_environ):
5026         Dump core quickly if setenv (..., NULL, ...) is called.
5028 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5030         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5031         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5032         all the necessary asm magic in one place.
5033         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5034         using those.
5036 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5038         [BZ #14906]
5039         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5040         traced file mtime. Use consistent log message.
5041         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5042         (register_traced_file): Call install_watches. Always set mtime.
5043         (invalidate_cache): Iterate over all trace files. Call install_watches.
5044         (inotify_check_files): Don't inline. Handle watching parent
5045         directories and configuration file movement in and out.
5046         (handle_inotify_events): New function.
5047         (main_loop_poll): Call handle_inotify_events.
5048         (main_loop_epoll): Likewise.
5049         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5050         (struct traced_file): Use array of inotify fds. Add parent directory,
5051         and basename.
5052         (struct database_dyn): Remove unused file_mtime.
5053         (init_traced_file): New inline function.
5054         (define_traced_file): New macro.
5055         * nss/nss_db/db-init.c: Use define_traced_file.
5056         (_nss_db_init): Use init_traced_file.
5057         * nss/nss_files/files-init.c: Use define_traced_file.
5058         (_nss_files_init): Use init_traced_file.
5060 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5062         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5063         [_LIBC]: Do not include <stdlib.h>.
5064         [!_LIBC] (abort): Remove declaration.
5065         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5066         _FP_STATIC_ASSERT instead of conditionally calling abort.
5067         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5068         (_FP_EXTEND_CNAN): Likewise.
5069         (FP_TRUNC): Likewise.
5070         (__FP_CLZ): Likewise.
5071         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5073 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5075         * manual/string.texi (XPG basename): Fix prototype.
5077 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5079         [BZ #18080]
5080         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5081         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5082         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5083         (__setcontext): Likewise.
5084         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5085         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5086         Call rt_sigprocmask syscall one time to set new signal mask
5087         and retrieve the current signal mask instead of two calls.
5088         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5089         (__swapcontext): Likewise.
5090         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5091         * stdlib/tst-setcontext2.c: New file.
5093 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5095         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5097 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5099         [BZ #18093]
5100         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5101         the wrong size.
5103 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5105         [BZ #18043]
5106         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5108 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5110         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5111         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5112         Remove define.
5113         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5114         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5115         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5116         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5117         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5118         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5119         define.
5120         * nptl_db/td_symbol_list.c (td_lookup): Remove
5121         HAVE_ASM_GLOBAL_DOT_NAME code.
5122         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5123         HAVE_ASM_GLOBAL_DOT_NAME check.
5124         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5125         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5126         (DOT_LABEL): Remove define.
5127         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5128         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5129         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5130         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5131         (__TLS_GET_ADDR): Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5133         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5135 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5137         [BZ #18111]
5138         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5139         (_FPU_SETCW): Initialize cw from fpsr before storing.
5140         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5141         (fesetexceptflag): Rewrite using fpu_control.h.
5142         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5144 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5146         [BZ #18110]
5147         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5148         asms.
5149         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5151 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5153         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5154         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5155         abort.
5156         (_FP_FMA): Likewise.
5157         (_FP_DIV): Likewise.
5159 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5161         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5162         with 0 in that case.
5163         * Makefile (summarize-tests): New canned sequence, factored out of
5164         commands for targets tests and xtests.  Display summary lines that
5165         don't start with PASS: or XFAIL: rather than ones that do start with
5166         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5167         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5168         do start with ERROR: or FAIL:.
5169         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5170         (except for [$(build-shared) = yes]).
5171         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5172         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5173         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5174         * nptl/Makefile: Revert 2015-03-04 changes.
5175         [$(CXX) empty] (tests-unsupported): New variable.
5176         * debug/Makefile: Likewise.
5178         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5179         gnulib file.  Replace __attribute with __attribute__ throughout.
5181 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5183         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5185 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5187         [BZ #18104]
5188         * math/auto-libm-test-in: Add another test of pow.
5189         * math/auto-libm-test-out: Regenerated.
5191 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5193         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5194         $(config-cflags-nofma).
5196 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5198         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5199         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5200         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5201         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5202         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5203         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5204         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5205         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5206         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5207         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5208         Add comment on closing #endif.
5210 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5212         * posix/wordexp.c (CHAR_IN_SET): New macro.
5213         (parse_param): Use it.
5215 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5217         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5219 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5221         [BZ #18043]
5222         * posix/wordexp.c (parse_param): Fix buffer overflow.
5223         * posix/wordexp-test.c (test_case): Add test case.
5225 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5227         [BZ #18042]
5228         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5229         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5231 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5233         [BZ #18043]
5234         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5235         (do_bz18043): Delete.
5236         (at_page_end): New.
5237         (testit): Refactor to have words at the edge of unreadable page.
5239 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5241         [BZ #16734]
5242         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5243         Cleanup read-only streams as well.
5244         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5246 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5248         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5249         <bits/libc-lockP.h>
5251 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5253         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5254         on [__KERNEL__].
5255         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5256         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5257         * soft-fp/op-common.h (_FP_DECL): Likewise.
5259 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5261         * elf/ifuncdep2.c (global): Replace
5262         __attribute__((visibility("protected"))) with
5263         asm (".protected global").
5264         * elf/ifuncmod1.c (global): Likewise.
5265         * elf/ifuncmod5.c (global): Likewise.
5267 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5269         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5270         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5272 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5274         * manual/install.texi (Configuring and compiling):
5275         Document test-wrapper-env-only.
5276         * INSTALL: Regenerated.
5278 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5280         [BZ #18043]
5281         * posix/wordexp.c (parse_param): Fix buffer overflow.
5282         * posix/wordexp-test.c (do_bz18043): Add test case.
5284 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5286         * time/tst-strptime2.c (do_test): Ensure failing tests are
5287         reported correctly.
5288         * time/tst-strptime3.c (do_test): Likewise.
5290 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5292         Fix aio_error thread-safety.
5293         * sysdeps/pthread/aio_error.c: New file
5294         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5295         synchronization.
5297 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5299         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5300         (group_number, vfprintf): Use it.
5301         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5302         (JUMP, REF): Use it.
5303         (WORK_BUFFER_SIZE): New enum constant.
5304         (process_arg, vfprintf): Use it.
5306 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5308         * manual/errno.texi (Error Messages): Complete example function
5309         by adding missing #define.
5310         (program_invocation_name): Add statement indicating GNU
5311         extension and reference which header file declares the variable.
5312         (program_invocation_short_name): Likewise.
5314 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5316         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5317         compatibility note.
5319 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5321         * Makeconfig (test-wrapper-env-only): New variable.
5322         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5323         then use that with $(test-wrapper-env-only) rather than using
5324         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5326 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5328         [BZ #18082]
5329         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5330         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5331         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5332         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5333         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5334         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5335         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5336         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5337         Likewise.
5338         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5340         Likewise.
5341         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5342         Likewise.
5343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5344         Likewise.
5345         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5346         Likewise.
5347         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5349         Likewise.
5350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5351         Likewise.
5352         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5353         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5355 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5357         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5358         (ETH_ALEN): New macro.
5359         (struct ether_addr): Use it for length of ether_addr_octet.
5361         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5362         (setdb): Don't call __nss_configure_lookup for "rpc".
5363         (do_test): Don't call test_rpc.
5364         (output_rpcent, test_rpc): Functions moved ...
5365         * sunrpc/test-rpcent.c: ... to this new file.
5366         * sunrpc/Makefile (tests): Add it.
5368         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5369         __xpg_sigpause.
5370         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5371         * nptl/tst-signal6.c: Likewise.
5372         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5373         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5375         * configure.ac (libc_cv_cxx_link_ok): New check.
5376         Reset CXX to empty if it fails to link.
5377         * configure: Regenerated.
5378         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5379         bug-atexit3-lib only if $(CXX) is nonempty.
5380         * nptl/Makefile (tests): Likewise for tst-cancel24.
5381         (tests, tests-static): Likewise for tst-cancel24-static.
5382         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5383         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5384         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5385         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5387 2015-03-04  Andreas Schwab  <schwab@suse.de>
5389         [BZ #17631]
5390         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5391         for non-GCC compilers.
5392         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5393         Likewise.
5395 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5397         [BZ #17776]
5398         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5399         integer before bitwise and assembly operations.
5400         (feclearexcept): Likewise.
5401         * math/test-fenvinline.c: New file.
5402         * math/Makefile: Add test-fenvinline test.
5404 2015-03-03  Alan Modra  <amodra@gmail.com>
5406         [BZ #16512]
5407         * scripts/localplt.awk: Strip off symbol version.
5408         * NEWS: Mention bug fix.
5410 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5412         * sysdeps/pthread/timer_routines.c
5413         (timer_free_list, thread_free_list, thread_active_list): Make static.
5415 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5417         [BZ #17779]
5418         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5419         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5420         Undefine.
5421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5422         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5423         Likewise.
5424         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5425         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5426         Likewise.
5428 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5430         [BZ #18036]
5431         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5432         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5434 2015-03-02  Andreas Schwab  <schwab@suse.de>
5436         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5437         variable name.
5439 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5441         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5442         Return error status.
5444 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5446         [BZ #15969]
5447         * locale/findlocale.c (_nl_find_locale): Introduce const
5448         version of loc_name and drop unsafe type casts.
5450 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5452         * dlfcn/tststatic2.c (main): Converted to ...
5453         (do_test): ... this.
5454         (TEST_FUNCTION): New macro.
5455         Include test-skeleton.c.
5457 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5459         [BZ #17711]
5460         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5461         (tests-pie): Add vismain.
5462         (CFLAGS-vismain.c): New.
5463         * elf/vismain.c: Add comments for PIE requirement.
5465 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5467         [BZ #18046]
5468         [BZ #18047]
5469         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5470         0x1p-56L as threshold for just returning the argument.
5471         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5472         0x1p-32L as threshold for just returning the argument.
5473         * math/auto-libm-test-in: Add more tests of atanh.
5474         * math/auto-libm-test-out: Regenerated.
5475         * sysdeps/i386/fpu/libm-test-ulps: Update.
5476         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5478 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5480         * string/bcopy.c (bcopy): Call memmove for performance.
5482 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5484         * string/bzero.c (__bzero): Call memset for performance.
5486 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5488         [BZ #18068]
5489         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5490         to 00100000.
5492 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5494         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5496 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5498         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5499         (__kernel_standard): Use CSTR macro when setting exc.name.
5500         * sysdeps/ieee754/Makefile [$(subdir) = math]
5501         (CFLAGS-k_standard.c): Remove variable.
5503         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5504         setting p and q from "else if" to "else".
5505         (qzero): Likewise.
5506         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5507         (qone): Likewise.
5508         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5509         (qzerof): Likewise.
5510         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5511         (qonef): Likewise.
5512         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5513         (qzero): Likewise.
5514         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5515         (qone): Likewise.
5517         [BZ #18038]
5518         [BZ #18039]
5519         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5520         return pi/2 for arguments below 0x1p-113L.
5521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5522         return pi/2 for arguments below 0x1p-106L.
5523         * math/auto-libm-test-in: Add more tests of acos.
5524         * math/auto-libm-test-out: Regenerated.
5526         [BZ #16351]
5527         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5528         (MO): New macro.
5529         (__ieee754_asin): Force underflow exception for results with small
5530         absolute value.
5531         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5532         (MO): New macro.
5533         (__ieee754_asinf): Force underflow exception for results with
5534         small absolute value.
5535         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5536         (__ieee754_asin): Force underflow exception for results with small
5537         absolute value.
5538         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5539         (__ieee754_asinf): Force underflow exception for results with
5540         small absolute value.
5541         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5542         (__ieee754_asinl): Force underflow exception for results with
5543         small absolute value.
5544         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5545         (__ieee754_asinl): Force underflow exception for results with
5546         small absolute value.
5547         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5548         (__ieee754_asinl): Force underflow exception for results with
5549         small absolute value.
5550         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5551         Include <math.h>.
5552         * math/auto-libm-test-in: Do not mark underflow exceptions as
5553         possibly missing for bug 16351.
5554         * math/auto-libm-test-out: Regenerated.
5556         [BZ #18030]
5557         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5558         of power of 2 down when low part has opposite sign.
5559         * math/libm-test.inc (logb_test_data): Add more tests.
5561 2015-02-26  Andreas Schwab  <schwab@suse.de>
5563         [BZ #18032]
5564         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5565         over collating symbol inside a bracket expression.  Minor cleanup.
5566         * posix/tst-fnmatch3.c (do_test): Add test case.
5568 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5570         [BZ #18029]
5571         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5572         Adjust exponent of power of 2 down when low part has opposite
5573         sign.
5574         * math/libm-test.inc (ilogb_test_data): Add more tests.
5576 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5578         [BZ #15969]
5579         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5580         the previous change.
5582         [BZ #15969]
5583         * locale/findlocale.c (_nl_find_locale): Retry archive search
5584         after alias expansion.
5586 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5588         * iconv/tst-iconv3.c (main): Converted to ...
5589         (do_test): ... this.
5590         (TEST_FUNCTION): New macro.
5591         Include test-skeleton.c.
5593         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5594         (convert): Make function static.
5595         (test_unalign): Likewise.  Add const to argument pointee types.
5596         (main): Replace with static function do_test.
5597         Print "Succeeded." only if RET is zero.
5598         (TEST_FUNCTION): New macro.
5599         Include test-skeleton.c.
5601         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5602         returns a null pointer.
5604 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5606         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5607         to __memcpy_ppc only for static builds.
5609 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5611         [BZ #18020]
5612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5613         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5614         * math/auto-libm-test-in: Add more tests of asinh.
5615         * math/auto-libm-test-out: Regenerated.
5616         * sysdeps/i386/fpu/libm-test-ulps: Update.
5617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5621         [BZ #15850]
5622         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5623         and ip6_mtuinfo definitions here.
5624         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5625         in this define too.  Update comment.
5627 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5629         * elf/sprof.c (load_shobj): Tweak error message to match others.
5631 2015-02-24  Kevin Easton  <kevin@guarana.org>
5633         [BZ #16145] (partial fix)
5634         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5635         to reduce lock contention.
5637 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5639         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5640         (struct timex): Update time comment.
5641         (ADJ_SETOFFSET): Define.
5643 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5645         [BZ #18019]
5646         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5647         2**56 not 2**28 as threshold for log (2x) formula.
5648         * math/auto-libm-test-in: Add more tests of acosh.
5649         * math/auto-libm-test-out: Regenerated.
5650         * sysdeps/i386/fpu/libm-test-ulps: Update.
5651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5653 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5655         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5656         parenthesis around the buf assignment.
5657         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5659 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #16783]
5662         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5663         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5664         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5665         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5666         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5667         * math/libm-test.inc (scalb_test_data): Add more tests.
5669 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5671         [BZ #17916]
5672         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5673         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5675 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5677         [BZ #17523]
5678         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5679         * io/bits/fcntl2.h (open): Use it.
5680         (openat): Likewise.
5681         * io/open.c (__libc_open): Likewise.
5682         * io/open64.c (__libc_open64): Likewise.
5683         * io/open64_2.c (__open64_2): Likewise.
5684         * io/open_2.c (__open_2): Likewise.
5685         * io/openat.c (__openat): Likewise.
5686         * io/openat64.c (__openat64): Likewise.
5687         * io/openat64_2.c (__openat64_2): Likewise.
5688         * io/openat_2.c (__openat_2): Likewise.
5689         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5690         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5691         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5692         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5693         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5694         (__open_nocancel): Likewise.
5695         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5696         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5697         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5699 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5701         [BZ #14841]
5702         * resolv/gethnamaddr.c (getanswer): Skip logging if
5703         RES_USE_DNSSEC is set.
5704         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5706 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5708         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5710 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5712         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5713         201304L, for Unicode 7.
5715 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5717         [BZ #17836]
5718         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5719         shared library.  Add gmon-start.os otherwise.
5720         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5721         $(objpfx)gmon-start.os if builing shared library.
5722         ($(objpfx)g$(static-start-installed-name)): Likewise.
5724 2015-02-23  Andreas Schwab  <schwab@suse.de>
5726         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5728 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5730         [BZ #17269]
5731         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5732         (enlarge_userbuf): Likewise.
5734 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5736         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5737         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5738         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5739         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5741 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5743         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5744         expression inside statement expression.
5746 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5749         <sysdeps/nptl/lowlevellock.h> and remove macros and
5750         functions that are now defined there.
5751         (SYS_futex): Remove.
5752         (lll_compare_and_swap): Remove.
5753         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5755 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5757         [BZ #17999]
5758         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5759         instead of scandirat.
5760         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5761         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5762         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5763         __scandirat.
5764         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5765         (__scandirat): Declare.  Use libc_hidden_proto.
5766         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5767         Remove variable.
5768         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5770 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5772         [BZ #15319]
5773         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5774         (MO): New macro.
5775         (__ieee754_atan2): For results with small absolute value, force
5776         underflow exception and remove excess range and precision from
5777         return value.
5778         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5779         (MO): New macro.
5780         (__ieee754_atan2f): For results with small absolute value, force
5781         underflow exception and remove excess range and precision from
5782         return value.
5783         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5784         (MO): New macro.
5785         (__atan): For results with small absolute value, force underflow
5786         exception and remove excess range and precision from return value.
5787         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5788         (MO): New macro.
5789         (__atanf): For results with small absolute value, force underflow
5790         exception and remove excess range and precision from return value.
5791         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5792         <math.h>.
5793         (__ieee754_atan2): Force underflow exception for results with
5794         small absolute value.
5795         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5796         <math_private.h>.
5797         (atan): Force underflow exception for results with small absolute
5798         value.
5799         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5800         (__atanf): Force underflow exception for results with small
5801         absolute value.
5802         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5803         <math.h>.
5804         (__atanl): Force underflow exception for results with small
5805         absolute value.
5806         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5807         (__atanl): Force underflow exception for results with small
5808         absolute value.
5809         * sysdeps/x86/fpu/bits/mathinline.h
5810         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5811         (__ieee754_atan2): Only define inline for long double.
5812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5813         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5814         * math/auto-libm-test-in: Do not mark underflow exceptions as
5815         possibly missing for bug 15319.  Add more tests of atan2.
5816         * math/auto-libm-test-out: Regenerated.
5817         * math/libm-test.inc (casin_test_data): Do not mark underflow
5818         exceptions as possibly missing for bug 15319.
5819         (casinh_test_data): Likewise.
5820         * sysdeps/i386/fpu/libm-test-ulps: Update.
5822 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5824         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5825         * sysdeps/mips/bits/endian.h: Fix comments.
5827 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5829         [BZ #17996]
5830         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5831         (hdestroy_r): Likewise.
5832         (hsearch_r): Likewise.
5833         (__hcreate_r): Declare and use libc_hidden_proto.
5834         (__hdestroy_r): Likewise.
5835         (__hsearch_r): Likewise.
5836         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5837         (hcreate): Call __hcreate_r instead of hcreate_r.
5838         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5839         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5840         as weak alias of __hcreate_r.
5841         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5842         __hdestroy_r.
5843         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5844         __hsearch_r.
5845         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5846         Remove variable.
5847         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5848         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5849         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5850         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5852 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5855         arena_lock into a single arena_get.
5857 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5859         * dl-reloc.c: Inlucde libc-internal.h.
5860         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5861         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5862         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5863         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5864         (grow_heap): Likewise.
5865         * malloc/malloc.c: Include libc-internal.h.
5866         (do_check_malloc): Call powerof2.
5867         (sysmalloc): Use pagesize. Call ALIGN_UP.
5868         (systrim): Use pagesize.
5869         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5870         (__libc_valloc): Use pagesize.
5871         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5873 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5875         [BZ #17991]
5876         * include/sys/resource.h (__getrlimit64): Declare.  Use
5877         libc_hidden_proto.
5878         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5879         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5880         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5881         getrlimit64.
5882         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5883         __getrlimit64.
5884         [!getrlimit64] (getrlimit64): Define as weak alias of
5885         __getrlimit64.  Use libc_hidden_weak.
5886         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5887         using __getrlimit64 not __new_getrlimit64.
5888         (__GI_getrlimit64): Likewise.
5889         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5890         Likewise.
5891         (__GI_getrlimit64): Likewise.
5892         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5894         (getrlimit): Add __getrlimit64 alias.
5895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5896         Likewise.
5897         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5898         Remove variable.
5899         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5900         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5902 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5904         * libio/fileops.c: Add missing sys/mman.h
5905         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5907 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5909         * manual/math.texi (Errors in Math Functions): Clarify goals
5910         regarding inexact and underflow exceptions.
5912 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5914         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5915         * sysdeps/mips/memset.S: Ditto.
5917 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5919         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5921 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5923         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5924         (__v1longjmp): Remove versioned symbol.
5925         (__v1siglongjmp): Remove alias and versioned symbol.
5926         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5927         (__v2siglongjmp): Likewise.
5929 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5931         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5933 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5935         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5937 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5939         [BZ #17987]
5940         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5941         zero result does not depend on the sign resulting from
5942         subtraction.
5943         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5944         Likewise.
5945         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5946         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5947         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5948         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5949         * math/libm-test.inc (remquo_test_data): Add more tests.
5951 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5953         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5954         Problem reported by J William Piggott.
5956 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #17978]
5959         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5960         products 4 * y and 2 * y where those would overflow.
5961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5962         Likewise.
5963         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5964         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5965         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5966         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5967         * math/libm-test.inc (remquo_test_data): Add more tests.
5969         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5971         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5972         [defined _COMPILING_NEWLIB].
5973         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5974         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5976         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5977         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5979 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5981         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5982         acquired.
5984 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5986         [BZ #17792]
5987         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5988         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5989         HOST_STACK_END_ADDR): Likewise.
5991 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5993         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5994         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5995         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5997 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5999         * sysdeps/generic/c++-types.data: New file.
6000         * sysdeps/generic/ld.abilist: New file.
6001         * sysdeps/generic/libBrokenLocale.abilist: New file.
6002         * sysdeps/generic/libanl.abilist: New file.
6003         * sysdeps/generic/libc.abilist: New file.
6004         * sysdeps/generic/libcrypt.abilist: New file.
6005         * sysdeps/generic/libdl.abilist: New file.
6006         * sysdeps/generic/libm.abilist: New file.
6007         * sysdeps/generic/libpthread.abilist: New file.
6008         * sysdeps/generic/libresolv.abilist: New file.
6009         * sysdeps/generic/librt.abilist: New file.
6011 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #17569]
6014         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6015         Compute absolute value of x as modified by fmod, not original
6016         value of x.
6017         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6018         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6019         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6020         RUN_TEST_ffI_f1_mod8.
6021         (remquo_test_data): Add more tests.
6023 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6025         * sysdeps/init_array/pt-crti.S: New file.
6027 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6029         [BZ #17967]
6030         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6031         __builtin_fmaf instead of relying on contraction of a * b + c.
6033 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6035         [BZ #17969]
6036         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6037         node.
6039 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #17964]
6042         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6043         __builtin_fma instead of relying on contraction of a * b + c.
6045 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6047         * Makeconfig (ASFLAGS): Add -Werror=undef.
6048         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6049         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6050         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6052         * Makeconfig (after-link): New variable.
6053         (+link-pie, +link-pie-tests): Use it.
6054         (+link-static, +link-static-tests): Likewise.
6055         (+link, +link-tests): Likewise.
6056         * Makerules (build-module, build-module-asneeded): Likewise.
6057         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6058         Likewise.
6059         * elf/Makefile ($(objpfx)ld.so): Likewise.
6061 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6063         [BZ #17965]
6064         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6065         both struct timeval and struct timespec.
6067 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6069         [BZ #16560]
6070         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6071         and redefine.
6072         (__ieee754_exp2l): Do not multiply small fractional parts by
6073         M_LN2l.
6074         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6075         small argument.
6076         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6077         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6078         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6079         * math/auto-libm-test-in: Add more tests of exp2.
6080         * math/auto-libm-test-out: Regenerated.
6082 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6084         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6085         unaligned path.
6087 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6089         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6090         little endian.
6092 2015-02-12  Andreas Schwab  <schwab@suse.de>
6094         [BZ #15790]
6095         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6096         Filter out elision flags from value returned in kind.
6097         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6098         * nptl/tst-pthread-mutexattr.c: New file.
6100 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6102         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6103         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6104         into gnu-gnu, and update comment to refer to abi-tags.
6106 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6108         [BZ #15467]
6109         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6110         (__sincos): Set errno to EDOM for infinite argument.
6111         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6112         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6113         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6114         (__sincosl): Set errno to EDOM for infinite argument.
6115         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6116         (__sincosl): Set errno to EDOM for infinite argument.
6117         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6118         (__sincosl): Set errno to EDOM for infinite argument.
6119         * math/libm-test.inc (sincos_test_data): Test errno setting.
6121 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6123         * string/strxfrm_l.c: Remove #define STRCMP.
6124         * string/strcoll_l.c: Remove #define STRLEN.
6125         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6126         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6128 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6130         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6131         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6132         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6133         * sysdeps/mips/mips64/Makefile: ... here.
6134         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6135         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6136         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6137         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6138         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6139         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6140         * sysdeps/mips/mips64/n64/Implies: Likewise.
6142 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6144         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6145         <sys/time.h>, <string.h>, and <errno.h>.
6146         (dest_offset, dest_address, value, zero): Remove unused variables.
6147         (ldouble): Remove typedef.
6148         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6149         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6150         1).  Fix code style.
6151         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6152         (check): Function removed.
6153         (CHECK): New macro.
6154         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6155         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6156         Don't call set_sigaction_FP and remove_sigaction_FP here.
6157         (ldouble_test): Just use 'long double' as macro argument, no need for
6158         the 'ldouble' typedef.
6159         (do_test): Set up SIGFPE handler at start, using plain signal rather
6160         than sigaction.  Fix code style.
6162 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6164         [BZ #17949]
6165         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6166         jump label.
6168 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6170         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6171         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6173         * sysdeps/powerpc/configure.ac: Remove file.
6174         * sysdeps/powerpc/configure: Likewise.
6176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6177         [sysdep_routines]: Remove wordcopy-power6 object.
6178         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6179         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6181         (__memmove_ppc32): Likewise.
6182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6183         file.
6184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6185         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6186         Remove preprocessor.
6188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6189         [sysdep_routines]: Remove wide chars objects.
6190         [wcsmbs]: New rule for wide char objects.
6192         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6193         Remove wordcopy-power6 obejct.
6194         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6195         Use local call for wordcopy and memcpy symbols.
6196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6198         implementation for loader.
6199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6202         Remove wordcopy-power7 object.
6203         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6205         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6206         (_wordcopy_fwd_dest_aligned): Likewise.
6207         (_wordcopy_bwd_aligned): Likewise.
6208         (_wordcopy_bwd_dest_aligned): Likewise.
6210         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6211         Rewrite to call __memmove_ppc instead of include default
6212         implementation.
6214         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6215         Remove wide chars objects.
6216         [wcsmbs]: New rule for wide char objects.
6218 2015-02-09  Andreas Schwab  <schwab@suse.de>
6220         [BZ #17912]
6221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6222         in terms of __O_DIRECTORY.
6224 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6226         * time/getdate.c: Include <stdbool.h>.
6227         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6228         call PTR_MANGLE.
6229         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6230         PTR_DEMANGLE.
6232 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6234         Add ersatz _Static_assert on older C hosts
6235         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6236         pre-C11 C platform that is not known to support _Static_assert.
6238 2015-02-07  Richard Braun  <rbraun@sceen.net>
6240         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6241         sigstate.
6242         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6244 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6246         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6247         priority against unexistent AIO_PRIO_DELTA_MAX.
6248         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6249         instead of int.
6250         * misc/fchflags.c (fchflags): Likewise.
6251         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6252         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6253         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6254         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6255         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6256         Declare macros.
6257         [__USE_MISC] (chflags, fchflags): Declare functions.
6258         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6259         EINVAL when nfds is greater than FD_SETSIZE.
6260         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6261         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6262         45.
6263         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6264         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6265         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6266         MACH_RCV_TIMED_OUT.
6267         * hurd/hurd/signal.h (_hurd_self_sigstate,
6268         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6269         Explicit casts from void *.
6270         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6271         * abi-tags: Rename gnu-gnu os into gnu.
6273         [BZ #4719]
6274         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6275         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6276         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6277         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6278         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6279         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6281         [BZ #17944]
6282         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6283         duplicates ADDR->sun_path with sockaddr LEN limitation.
6284         * sysdeps/mach/hurd/connect.c: Include <string.h>
6285         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6286         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6287         * sysdeps/mach/hurd/sendto.c: Likewise.
6288         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6289         implementing it by hand.
6291 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6293         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6294         Use sfi_breg on ldr.
6295         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6296         Likewise.
6298         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6299         it's defined.
6300         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6301         Test SIGSETXID only if it's defined.
6303         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6305         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6306         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6308         * nptl/tst-align2.c: Moved ...
6309         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6310         * nptl/Makefile (tests): Remove tst-align2.
6311         * sysdeps/unix/sysv/linux/Makefile
6312         [$(subdir) = nptl] (tests): Add tst-align-clone.
6313         * nptl/tst-getpid1.c: Moved ...
6314         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6315         * nptl/tst-getpid2.c: Moved ...
6316         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6317         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6318         * sysdeps/unix/sysv/linux/Makefile
6319         [$(subdir) = nptl] (tests): ... here.
6320         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6321         * sysdeps/unix/sysv/linux/Makefile
6322         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6324         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6325         Drop trailing \n from perror argument.  Use return rather than exit.
6327         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6328         on [SA_SIGINFO].
6329         * nptl/tst-cancel21.c (do_test): Likewise.
6330         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6331         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6332         [!SA_SIGINFO]: Make it a stub test.
6334         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6335         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6337         * posix/tst-getlogin.c: Move to ...
6338         * login/tst-getlogin.c: ... here.
6339         * posix/Makefile (tests): Move tst-getlogin to ...
6340         * login/Makefile (tests): ... here.
6342         * libio/tst-atime.c (do_test): Move local variables SV and E
6343         inside [ST_NOATIME] conditional.
6345         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6347         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6349         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6350         (wait_code): New function replaces macro.
6351         Call nanosleep rather than syscall.
6353         * nptl/pt-system.c: Rewritten.  Put everything under
6354         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6355         Use IFUNC to redirect when possible.
6357         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6358         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6359         Use IFUNC to redirect when possible.
6361         * nptl/pt-fork.c: Rewritten.  Put everything under
6362         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6363         Use IFUNC to redirect when possible.
6364         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6366         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6367         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6368         unconditionally nowadays.  This included the only reference to
6369         __vdso_clock_gettime that appears outside libc proper.
6370         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6371         Remove version set (containing only __vdso_clock_gettime).
6372         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6373         Add attribute_hidden.
6374         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6375         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6376         libc_hidden_data_def.
6377         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6378         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6380         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6381         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6382         setrpcent, and getrpcport to ...
6383         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6384         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6385         getrpcbynumber_r, and getrpcent_r to ...
6386         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6387         * inet/getrpcbyname.c: Moved ...
6388         * sunrpc/getrpcbyname.c: ... here.
6389         * inet/getrpcbyname_r.c: Moved ...
6390         * sunrpc/getrpcbyname_r.c: ... here.
6391         * inet/getrpcbynumber.c: Moved ...
6392         * sunrpc/getrpcbynumber.c: ... here.
6393         * inet/getrpcbynumber_r.c: Moved ...
6394         * sunrpc/getrpcbynumber_r.c: ... here.
6395         * inet/getrpcent.c: Moved ...
6396         * sunrpc/getrpcent.c: ... here.
6397         * inet/getrpcent_r.c: Moved ...
6398         * sunrpc/getrpcent_r.c: ... here.
6399         * inet/Makefile (routines): Move those to ...
6400         * sunrpc/Makefile (routines): ... here.
6401         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6402         the $(subdirs) list.
6403         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6404         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6405         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6406         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6408         * elf/Makefile (routines): Include $(all-dl-routines), not just
6409         $(dl-routines).
6410         (rtld-routines): Likewise.  Use = rather than :=.
6411         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6412         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6413         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6414         * sysdeps/arm/Makefile: Likewise.
6415         * sysdeps/i386/Makefile: Likewise.
6416         * sysdeps/x86_64/Makefile: Likewise.
6417         * sysdeps/hppa/Makefile [$(subdir) = elf]
6418         (sysdep_routines, sysdep-rtld-routines): Don't add
6419         $(sysdep-dl-routines) to these.
6420         * sysdeps/ia64/Makefile: Likewise.
6421         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6422         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6423         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6424         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6425         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6426         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6428         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6429         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6430         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6431         these; sysdep-dl-routines alone is enough.
6433 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6435         [BZ #17932]
6436         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6437         where multiplication results in zero and third argument is finite
6438         and nonzero.
6439         * math/auto-libm-test-in: Add more tests of fma.
6440         * math/auto-libm-test-out: Regenerated.
6442         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6443         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6444         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6445         (_FP_CMP_EQ): Likewise.
6446         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6448         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6449         extra argument CHECK_NAN.  Redefine as wrapper around
6450         _FP_EXTEND_CNAN.
6452 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6454         * version.h (RELEASE): Set to "stable".
6455         (VERSION): Set to "2.21"
6456         * include/features.h (__GLIBC_MINOR__): Set to 21.
6458         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6460 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6461             Paul Eggert  <eggert@cs.ucla.edu>
6463         [BZ #16618]
6464         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6465         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6466         size in bytes. Store needed elements in wpmax. Use needed size
6467         in bytes for extend_alloca.
6469 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6471         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6472         binutls 2.25, and texinfo 5.2.
6473         * INSTALL: Regenerate.
6474         * sysdeps/nios2/configure: Regenerate.
6475         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6476         * manual/contrib.texi: Update.
6477         * po/be.po: Update.
6478         * po/bg.po: Update.
6479         * po/ca.po: Update.
6480         * po/cs.po: Update.
6481         * po/da.po: Update.
6482         * po/de.po: Update.
6483         * po/el.po: Update.
6484         * po/eo.po: Update.
6485         * po/es.po: Update.
6486         * po/fi.po: Update.
6487         * po/fr.po: Update.
6488         * po/gl.po: Update.
6489         * po/hr.po: Update.
6490         * po/hu.po: Update.
6491         * po/ia.po: Update.
6492         * po/id.po: Update.
6493         * po/it.po: Update.
6494         * po/ja.po: Update.
6495         * po/ko.po: Update.
6496         * po/lt.po: Update.
6497         * po/nb.po: Update.
6498         * po/nl.po: Update.
6499         * po/pl.po: Update.
6500         * po/pt_BR.po: Update.
6501         * po/ru.po: Update.
6502         * po/rw.po: Update.
6503         * po/sk.po: Update.
6504         * po/sl.po: Update.
6505         * po/sv.po: Update.
6506         * po/tr.po: Update.
6507         * po/uk.po: Update.
6508         * po/vi.po: Update.
6509         * po/zh_CN.po: Update.
6510         * po/zh_TW.po: Update.
6512         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6513         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6514         * sysdeps/hppa/dl-irel.h: Remove #warning.
6515         * sysdeps/hppa/entry.h: Provide prototype for
6516         __canonicalize_funcptr_for_compare and cast argument.
6517         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6518         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6519         * sysdeps/hppa/sotruss-lib.c: New file.
6520         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6521         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6522         (atomic_compare_and_exchange_bool_acq): Likewise.
6523         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6524         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6526         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6527         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6528         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6530 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6532         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6533         called function in non-PIC case.
6535 2015-01-31  David S. Miller  <davem@davemloft.net>
6537         * sysdeps/sparc/sparc32/bits/atomic.h
6538         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6539         unlock not after it.
6540         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6541         volatile register usage warnings from the compiler.
6543         * sysdeps/sparc/nptl/sem_init.c: Delete.
6544         * sysdeps/sparc/nptl/sem_post.c: Delete.
6545         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6546         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6547         * sysdeps/sparc/sparc32/sem_init.c: New file.
6548         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6549         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6550         padding explicitly initialized.
6551         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6552         padding for in-semaphore spinlock.
6553         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6554         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6555         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6556         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6557         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6558         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6559         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6560         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6561         version.
6562         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6563         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6565 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6567         [BZ #17801]
6568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6569         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6570         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6571         New.
6572         (index_AVX_Fast_Unaligned_Load): Likewise.
6573         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6574         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6575         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6576         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6577         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6578         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6579         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6580         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6581         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6583 2015-01-29  Andreas Schwab  <schwab@suse.de>
6585         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6587 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6589         [BZ #17892]
6590         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6592 2015-01-28  Martin Sebor  <msebor@redhat.com>
6594         * math/README.libm-test: Clarify. Add "How to read the test output."
6596 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6598         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6599         Define to 0.
6601 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6603         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6604         (__HAVE_64B_ATOMICS): Define to 0.
6606 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6608         [BZ #17885]
6609         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6610         value to set as new flag.
6612         [BZ #16576]
6613         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6614         and use _ARCH_PPCSQ instead.
6615         (__ieee754_sqrt): Likewise.
6616         (__ieee754_sqrtf): Likewise.
6617         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6618         _ARCH_PPCSQ is defined.
6619         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6620         fsqrt instruction.
6621         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6622         _ARCH_PPCSQ is defined.
6623         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6624         fsqrts instruction.
6625         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6627 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6629         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6630         bug (GCC BZ #64739).
6632 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6634         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6635         Mark _retval as used.
6636         (lll_futex_wake_unlock): Likewise.
6637         (lll_futex_timed_wait_requeue_pi): Likewise.
6639         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6640         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6641         register variables.
6643         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6644         libm_hidden_def.
6646         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6647         (__bswap_64): Mark as __always_inline.
6649 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6651         [BZ #15378]
6652         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6653         when none of the search directories exist.
6655 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6657         [BZ #17869]
6658         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6659         power8 in .machine directive.
6661         [BZ #17868]
6662         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6663         set dependency from opd value.
6665 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6668         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6669         architecture.
6671 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6673         [BZ #17870]
6674         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6675         with uint64_t.
6676         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6677         (uint64_t) 1.
6678         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6679         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6680         Replace 1UL with (uint64_t) 1.
6681         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6682         int with uint64_t.
6684 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6686         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6687         (if_freenameindex): Likewise.
6689         * resource/getrlimit64.c: Add missing libc_hidden_def.
6691 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6693         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6694         __label__.
6695         (_FP_FMA): Likewise.
6696         (_FP_TO_INT_ROUND): Likewise.
6697         (_FP_FROM_INT): Likewise.
6699 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6701         [BZ #16418]
6702         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6703         Make code racy and cancel safe.
6705 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6707         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6708         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6709         attribution.
6711         * pwd/tst-getpw.c: Rewrite.
6713         [BZ #17702]
6714         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6715         (modules-names): Add moddummy1 and moddummy2.
6716         ($(objpfx)tst-rec-dlopen): Define.
6717         * dlfcn/moddummy1.c: New file.
6718         * dlfcn/moddummy2.c: New file.
6719         * dlfcn/tst-rec-dlopen.c: New file.
6720         * elf/dl-cache.c (_dl_load_cache_lookup):
6721         Return char*. Copy result with alloca/strcpy/strdup.
6722         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6723         returns char*. Free cached. If not saving realname
6724         free cached.
6725         * elf/dl-open.c (dl_open_worker): Do not assert that
6726         _r_debug->r_state is RT_CONSISTENT.
6727         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6728         returns char*.
6730 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6731             Carlos O'Donell  <carlos@redhat.com>
6733         [BZ #12674]
6734         * nptl/sem_waitcommon.c: New file.
6735         * nptl/sem_wait.c: Include sem_waitcommon.c.
6736         (__sem_wait_cleanup, do_futex_wait): Remove.
6737         (__new_sem_wait): Adapt.
6738         (__new_sem_trywait): New function.
6739         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6740         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6741         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6742         (sem_timedwait): Adapt.
6743         * nptl/sem_post.c (__new_sem_post): Adapt.
6744         (futex_wake): New function.
6745         (__old_sem_post): Add release MO fence.
6746         * nptl/sem_open.c (sem_open): Adapt.
6747         * nptl/sem_init.c (__new_sem_init): Adapt.
6748         (futex_private_if_supported): New function.
6749         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6750         (__old_sem_getvalue): Add using previous code.
6751         * sysdeps/nptl/internaltypes.h: Adapt.
6752         * nptl/tst-sem13.c (do_test): Adapt.
6753         * nptl/tst-sem11.c (main): Adapt.
6754         * nptl/sem_trywait.c: Remove.
6755         * nptl/DESIGN-sem.txt: Remove.
6756         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6757         (gen-as-const-headers): Remove structsem.sym.
6758         * nptl/structsem.sym: Remove.
6759         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6760         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6761         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6762         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6763         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6764         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6765         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6766         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6767         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6768         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6769         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6770         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6771         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6772         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6773         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6774         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6775         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6776         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6777         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6778         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6779         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6780         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6782 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6784         * INSTALL: Regenerated.
6786         * po/libc.pot: Regenerated.
6788 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6789             Sandra Loosemore  <sandra@codesourcery.com>
6790             Andrew Jenner  <andrew@codesourcery.com>
6791             Joseph Myers  <joseph@codesourcery.com>
6792             Nathan Sidwell  <nathan@codesourcery.com>
6794         * NEWS: Mention new Nios II port.
6795         * sysdeps/nios2/Implies: New file.
6796         * sysdeps/nios2/Makefile: New file.
6797         * sysdeps/nios2/Subdirs: New file.
6798         * sysdeps/nios2/Versions: New file.
6799         * sysdeps/nios2/__longjmp.S: New file.
6800         * sysdeps/nios2/abort-instr.h: New file.
6801         * sysdeps/nios2/backtrace.c: New file.
6802         * sysdeps/nios2/bits/endian.h: New file.
6803         * sysdeps/nios2/bits/fenv.h: New file.
6804         * sysdeps/nios2/bits/link.h: New file.
6805         * sysdeps/nios2/bits/setjmp.h: New file.
6806         * sysdeps/nios2/bsd-_setjmp.S: New file.
6807         * sysdeps/nios2/bsd-setjmp.S: New file.
6808         * sysdeps/nios2/configure: New generated file.
6809         * sysdeps/nios2/configure.ac: New file.
6810         * sysdeps/nios2/crti.S: New file.
6811         * sysdeps/nios2/crtn.S: New file.
6812         * sysdeps/nios2/dl-init.c: New file.
6813         * sysdeps/nios2/dl-machine.h: New file.
6814         * sysdeps/nios2/dl-sysdep.h: New file.
6815         * sysdeps/nios2/dl-tls.h: New file.
6816         * sysdeps/nios2/dl-trampoline.S: New file.
6817         * sysdeps/nios2/gccframe.h: New file.
6818         * sysdeps/nios2/gmp-mparam.h: New file.
6819         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6820         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6821         * sysdeps/nios2/ldsodefs.h: New file.
6822         * sysdeps/nios2/libc-tls.c: New file.
6823         * sysdeps/nios2/libm-test-ulps: New file.
6824         * sysdeps/nios2/machine-gmon.h: New file.
6825         * sysdeps/nios2/math-tests.h: New file.
6826         * sysdeps/nios2/math_private.h: New file.
6827         * sysdeps/nios2/memusage.h: New file.
6828         * sysdeps/nios2/nptl/Makefile: New file.
6829         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6830         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6831         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6832         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6833         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6834         * sysdeps/nios2/nptl/tls.h: New file.
6835         * sysdeps/nios2/preconfigure: New file.
6836         * sysdeps/nios2/s_fma.c: New file.
6837         * sysdeps/nios2/s_fmaf.c: New file.
6838         * sysdeps/nios2/setjmp.S: New file.
6839         * sysdeps/nios2/sfp-machine.h: New file.
6840         * sysdeps/nios2/sotruss-lib.c: New file.
6841         * sysdeps/nios2/stackguard-macros.h: New file.
6842         * sysdeps/nios2/stackinfo.h: New file.
6843         * sysdeps/nios2/start.S: New file.
6844         * sysdeps/nios2/sysdep.h: New file.
6845         * sysdeps/nios2/tls-macros.h: New file.
6846         * sysdeps/nios2/tst-audit.h: New file.
6847         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6848         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6849         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6850         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6851         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6852         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6853         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6854         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6855         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6856         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6857         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6858         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6859         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6860         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6861         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6862         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6863         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6864         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6865         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6866         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6867         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6868         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6869         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6870         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6871         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6872         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6873         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6874         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6875         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6876         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6877         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6878         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6879         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6880         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6881         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6882         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6883         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6884         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6885         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6886         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6887         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6888         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6889         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6890         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6892 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6894         [BZ #17844]
6895         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6896         (getutent): Use weak_alias in non SHARED case
6897         and default_symbol_version in SHARED case.
6898         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6899         (getutent_r, pututline): Likewise.
6900         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6901         (getutid): Likewise.
6902         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6903         (getutid_r): Likewise.
6904         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6905         (getutline): Likewise.
6906         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6907         (getutline_r): Likewise.
6908         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6909         (updwtmp): Likewise.
6911 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6913         [BZ #17848]
6914         * sysdeps/s390/s390-32/memcmp.S
6915         (memcmp_g5): Rename to __memcmp_g5.
6916         * sysdeps/s390/s390-32/memcpy.S
6917         (memcpy_g5): Rename to __memcpy_g5.
6918         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6919         (memcpy_mvcle) Rename to __memcpy_mvcle.
6920         * sysdeps/s390/s390-32/memset.S
6921         (memset_g5): Rename to __memset_g5.
6922         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6923         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6924         and use prefixed functions.
6925         * sysdeps/s390/s390-32/multiarch/memcmp.S
6926         (memcmp_z196): Rename to __memcmp_z196.
6927         (memcmp_z10): Rename to __memcmp_z10.
6928         (memcmp): Set alias to __memcmp_g5.
6929         (bcmp): Set alias to __memcmp_g5.
6930         * sysdeps/s390/s390-32/multiarch/memcpy.S
6931         (memcpy_z196): Rename to __memcpy_z196.
6932         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6933         (memcpy_z10): Rename to __memcpy_z10.
6934         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6935         (memcpy): Set alias to __memcpy_g5.
6936         * sysdeps/s390/s390-32/multiarch/memset.S
6937         (memset_z196): Rename to __memset_z196.
6938         Jump to __memset_mvcle instead of memset_mvcle.
6939         (memset_z10): Rename to __memset_z10.
6940         Jump to __memset_mvcle instead of memset_mvcle.
6941         (memset_mvcle) Rename to __memset_mvcle.
6942         (memset): Set alias to __memset_g5.
6943         * sysdeps/s390/s390-64/memcmp.S
6944         (memcmp_z900): Rename to __memcmp_z900.
6945         * sysdeps/s390/s390-64/memcpy.S
6946         (memcpy_z900): Rename to __memcpy_z900.
6947         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6948         (memcpy_mvcle) Rename to __memcpy_mvcle.
6949         * sysdeps/s390/s390-64/memset.S
6950         (memset_z900): Rename to __memset_z900.
6951         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6952         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6953         and use prefixed functions.
6954         * sysdeps/s390/s390-64/multiarch/memcmp.S
6955         (memcmp_z196): Rename to __memcmp_z196.
6956         (memcmp_z10): Rename to __memcmp_z10.
6957         (memcmp): Set alias to __memcmp_z900.
6958         (bcmp): Set alias to __memcmp_z900.
6959         * sysdeps/s390/s390-64/multiarch/memcpy.S
6960         (memcpy_z196): Rename to __memcpy_z196.
6961         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6962         (memcpy_z10): Rename to __memcpy_z10.
6963         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6964         (memcpy): Set alias to __memcpy_z900.
6965         * sysdeps/s390/s390-64/multiarch/memset.S
6966         (memset_z196): Rename to __memset_z196.
6967         Jump to __memset_mvcle instead of memset_mvcle.
6968         (memset_z10): Rename to __memset_z10.
6969         Jump to __memset_mvcle instead of memset_mvcle.
6970         (memset_mvcle) Rename to __memset_mvcle.
6971         (memset): Set alias to __memset_z900.
6973 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6975         [BZ #17748]
6976         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6977         __fesetenv instead of fesetenv.
6979 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6981         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6982         macro.
6984 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6986         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6987         regression on LE.
6989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6990         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6992         strncmp-power8 object.
6993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6994         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6995         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6996         * NEWS: Update.
6998 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6999             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7001         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7002         trailing byte check.
7004 2015-01-13  David S. Miller  <davem@davemloft.net>
7006         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7008 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7010         * login/logout.c (logout): Use memset rather than bzero.
7011         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7012         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7013         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7014         (_gethtbyaddr): Likewise.
7015         * locale/programs/simple-hash.c (bcopy): Macro removed.
7017 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7020         Add strcmp-power8 object.
7021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7022         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7023         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7024         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7025         __strcmp_power8 implementation.
7026         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7027         * NEWS: Update.
7029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7030         Add strncpy-power8 and stpncpy-power8 objects.
7031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7032         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7033         implementations.
7034         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7035         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7036         __stpncpy_power8 implementation.
7037         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7038         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7039         __strncpy_power8 implementation.
7040         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7041         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7042         * NEWS: Update.
7044         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7045         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7046         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7049         strncat-power8 object.
7050         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7051         __strcat_power8 implementation.
7052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7053         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7054         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7055         optimized strcat for power8.
7057         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7058         strcpy-power8 and stpcpy-power8 objects.
7059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7060         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7061         implementations.
7062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7063         multiarch stpcpy implementation for POWER8.
7064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7065         multiarch strcpy implementation for POWER8.
7066         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7067         __strcpy_power8 function.
7068         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7069         stpcpy for POWER8.
7070         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7071         strcpy for POWER8.
7072         * NEWS: Update.
7074 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7076         [BZ #16009]
7077         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7078         weights and rules. Use do_xfrm_cached if data fits in cache,
7079         do_xfrm otherwise.  Moved former main loop to...
7080         * (do_xfrm_cached): New function.
7081         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7082         find_idx, find_position and stack_push.
7083         * (find_idx): New function.
7084         * (find_position): Likewise.
7085         * localedata/sort-test.sh: Added test run for do_xfrm.
7086         * localedata/xfrm-test.c (main): Added command line option
7087         -nocache to run the test with strings that are too large for
7088         the STRXFRM cache.
7090 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7092         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7093         variable to lll_futex_wake call, not the value itself.
7095 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7097         [BZ #17803]
7098         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7099         twom64.  Adjust value to 0x1p-64L.
7100         (__scalblnl): Only return standard underflowing result for K <=
7101         -64 not K <= -63; adjust exponent for underflowing result by 64
7102         not 63.
7103         * math/libm-test.inc (scalbn_test_data): Add more tests.
7104         (scalbln_test_data): Likewise.
7106         [BZ #17834]
7107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7108         0x1p63L.
7109         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7110         not HX.
7111         * math/libm-test.inc (scalbn_test_data): Add more tests.
7112         (scalbln_test_data): Likewise.
7114 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7115             Stefani Seibold  <stefani@seibold.net>
7117         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7118         (sysdep_routines): Add dl-vdso here, ...
7119         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7120         (sysdep_routines): ... not here.
7121         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7122         fallback when vDSO is not presented.
7123         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7124         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7125         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7126         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7127         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7128         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7129         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7130         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7131         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7133         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7134         fallback configurable symbol when vDSO is not available.
7135         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7136         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7137         be able to redefine fallback symbol when vDSO is not available.
7138         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7139         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7141 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7143         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7144         (TLS_INIT_TP): Add tm_capable initialization.
7145         (TLS_DEFINE_INIT_TP): Likewise.
7146         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7147         TCB.
7148         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7149         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7150         calculation.
7151         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7152         transactoion is lock elision is built and TCB tm_capable is set.
7153         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7155         (INTERNAL_SYSCALL_NCS): Likewise.
7156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7157         (INTERNAL_SYSCALL_NCS): Likewise.
7158         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7160         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7161         for powerpc.
7162         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7163         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7164         and remove it for 32 bits case.
7165         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7167         initialization.
7168         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7169         Disable lock elision with rdlocks if elision is not available.
7171         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7172         (sysdep_routines): Add lock elision objects.
7173         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7174         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7175         [pthread_mutex_t] (__elision): Add field.
7176         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7177         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7178         elision definitions for powerpc.
7179         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7180         implementation of lock elision for powerpc.
7181         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7182         implementation of timed lock elision for powerpc.
7183         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7184         implementation of trylock with lock elision for powerpc.
7185         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7186         implementaion of unlock for lock elision for powerpc.
7187         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7188         automatic enable lock elision for mutexes.
7189         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7190         transaction execution definitions for powerpc.
7191         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7192         definitions.
7193         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7194         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7195         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7196         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7197         * NEWS: Update.
7199 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7201         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7202         for #include of <shm-directory.h>.
7204 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7206         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7207         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7209 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7211         [BZ #17791]
7212         * NEWS: Mention bug fix.
7213         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7214         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7215         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7217 2015-01-09  Torvald Riegel <triegel@redhat.com>
7219         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7221 2015-01-09  Torvald Riegel <triegel@redhat.com>
7223         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7225 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7227         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7228         pointer and cast to uintptr_t.
7230 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7232         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7233         removed.
7234         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7236 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7238         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7239         of 0.
7241 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7243         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7244         <nptl/pthreadP.h> instead.
7245         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7247         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7248         already defined.
7249         [__SIGRTMIN] (init): Function removed.
7250         [__SIGRTMIN] (initialized): Variable removed.
7251         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7252         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7253         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7254         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7255         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7256         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7257         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7258         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7259         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7260         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7261         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7262         * sysdeps/nptl/allocrtsig.c: New file.
7263         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7264         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7265         * sysdeps/generic/testrtsig.h: File removed.
7267         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7268         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7270         * nptl/nptl-init.c (pthread_functions): Conditionalize
7271         .ptr__nptl_setxid initialization on [SIGSETXID].
7273         * sysdeps/nptl/sys/procfs.h: New file.
7274         * nptl_db/Makefile (headers): Add it.
7275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7277         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7278         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7279         * nptl/pthread_attr_setaffinity.c: Include it.
7280         * nptl/pthread_setattr_default_np.c: Likewise.
7281         * nptl/check-cpuset.h: New file.
7283 2015-01-08  Richard Henderson  <rth@redhat.com>
7285         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7286         (CFLAGS-tst-execstack-prog.c): Likewise.
7287         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7289 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7290             Sandra Loosemore  <sandra@codesourcery.com>
7291             Andrew Jenner  <andrew@codesourcery.com>
7292             Joseph Myers  <joseph@codesourcery.com>
7293             Nathan Sidwell  <nathan@codesourcery.com>
7295         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7296         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7297         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7298         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7299         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7300         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7301         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7302         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7303         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7304         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7305         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7306         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7307         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7308         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7309         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7310         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7311         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7313 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7315         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7316         timespec struct member in syscall macro.
7317         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7318         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7319         first timeval struct member in syscall macro.
7320         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7322 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7324         [BZ #17748]
7325         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7326         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7327         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7328         __feupdateenv and define as weak alias of __feupdateenv.  Use
7329         libm_hidden_weak.
7330         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7331         libm_hidden_def.
7332         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7333         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7334         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7335         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7336         libm_hidden_def.
7337         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7338         __feupdateenv and define as weak alias of __feupdateenv.  Use
7339         libm_hidden_weak.
7340         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7341         libm_hidden_def.
7342         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7343         __feupdateenv and define as weak alias of __feupdateenv.  Use
7344         libm_hidden_weak.
7345         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7346         libm_hidden_def.
7347         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7348         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7349         (__feupdateenv): Likewise.
7350         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7351         __feupdateenv and define as weak alias of __feupdateenv.  Use
7352         libm_hidden_weak.
7353         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7354         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7355         libm_hidden_def.
7356         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7357         function.
7358         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7359         libm_hidden_def.
7360         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7361         __feupdateenv instead of feupdateenv.
7362         (default_libc_feupdateenv_test): Likewise.
7363         (libc_feresetround_ctx): Likewise.
7365 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7367         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7368         prototype.
7370 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7372         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7373         COLL_SYM in a couple of places to avoid uninitialized variable
7374         wanings on tilegx gcc 4.8.2.
7376 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7378         * sysdeps/aarch64/strcpy.S: New file.
7379         * sysdeps/aarch64/stpcpy.S: New file.
7380         * NEWS: Updated.
7382 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7384         * sysdeps/aarch64/strrchr.S: New file.
7385         * NEWS: Updated.
7387 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7389         [BZ #17658]
7390         * stdlib/setenv.c: Fix memory leak when setting large,
7391         duplicate string.
7393 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7395         [BZ #17273]
7396         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7397         and tabs from buffer before parsing fstab entry.
7398         * misc/tst-mntent.c (main): Add test for mount entry with
7399         trailing spaces and tabs.
7401 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7403         [BZ #17748]
7404         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7405         * math/fesetround.c (fesetround): Rename to __fesetround and
7406         define as weak alias of __fesetround.  Use libm_hidden_weak.
7407         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7408         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7409         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7410         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7411         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7412         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7413         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7414         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7415         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7416         __fesetround_inline.
7417         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7418         __fesetround_inline instead of __fesetround.
7419         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7420         __fesetround and define as weak alias of __fesetround.  Use
7421         libm_hidden_weak.  Call __fesetround_inline instead of
7422         __fesetround.
7423         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7424         __fesetround and define as weak alias of __fesetround.  Use
7425         libm_hidden_weak.
7426         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7427         Likewise.
7428         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7429         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7430         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7431         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7432         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7433         __fesetround and define as weak alias of __fesetround.  Use
7434         libm_hidden_weak.
7435         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7436         __fesetround instead of fesetround.
7437         (default_libc_feholdexcept_setround): Likewise.
7438         (libc_feholdsetround_ctx): Likewise.
7439         (libc_feholdsetround_noex_ctx): Likewise.
7441         [BZ #17748]
7442         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7443         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7444         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7445         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7446         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7447         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7448         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7449         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7450         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7451         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7452         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7453         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7454         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7455         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7457         libm_hidden_def.
7458         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7459         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7460         Likewise.
7461         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7462         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7463         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7464         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7465         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7466         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7467         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7468         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7469         __fesetenv instead of fesetenv.
7470         (libc_feresetround_noex_ctx): Likewise.
7471         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7472         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7473         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7474         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7475         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7476         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7477         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7478         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7479         (__feupdateenv): Likewise.
7480         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7481         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7482         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7483         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7485 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7487         [BZ #17806]
7488         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7489         addresses have been freed.
7491 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7493         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7494         and nservall.
7496 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7498         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7499         Clean up check_pf allocation pattern. addresses
7501 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7503         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7504         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7505         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7506         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7507         * nptl/pthread_join.c (pthread_join): Likewise.
7508         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7509         * sysdeps/posix/waitid.c (__waitid): Likewise.
7510         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7511         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7512         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7513         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7515         Likewise.
7516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7517         (__libc_pread64): Likewise.
7518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7519         (__libc_pwrite): Likewise.
7520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7521         (__libc_pwrite64): Likewsie.
7522         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7523         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7524         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7525         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7526         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7527         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7528         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7530         Likewise.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7532         (__libc_pread64): Likewise.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7534         Likewise.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7536         (__libc_pwrite64): Likewise.
7537         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7538         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7539         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7540         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7541         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7542         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7543         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7544         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7545         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7546         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7547         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7548         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7549         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7550         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7551         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7552         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7553         Likewise.
7555 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7557         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7558         (CFLAGS-test-double.c): Likewise.
7559         (CFLAGS-test-ldouble.c): Likewise.
7560         (CPPFLAGS-test-ifloat.c): Likewise.
7561         (CPPFLAGS-test-idouble.c): Likewise.
7562         (CPPFLAGS-test-ildoubl.c): Likewise.
7563         (CFLAGS-test-test-fenv.c): Remove variable.
7564         (CFLAGS-test-misc.c): Likewise.
7566 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7568         [BZ #17797]
7569         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7570         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7571         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7572         CLOCKS_PER_SEC == 1000000.
7573         * time/clocktest.c (main): Replace %ld with %jd and cast to
7574         intmax_t.
7576 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7578         * sysdeps/generic/unwind-resume.h: New file.
7579         * sysdeps/gnu/unwind-resume.c: Include it.
7580         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7581         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7582         argument list.
7583         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7584         global rather than static.
7585         (_Unwind_Resume): Update user.
7586         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7587         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7588         rather than static.  Add __attribute__ ((cold)).
7589         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7590         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7591         * sysdeps/arm/arm-unwind-resume.S: New file.
7592         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7593         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7594         * sysdeps/arm/Makefile [$(subdir) = csu]
7595         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7596         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7597         Add rt-arm-unwind-resume.
7598         [$(subdir) = nptl]
7599         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7600         Add pt-arm-unwind-resume.
7601         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7602         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7604 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7606         [BZ #17748]
7607         * include/fenv.h (__feholdexcept): Declare.  Use
7608         libm_hidden_proto.
7609         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7610         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7611         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7612         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7613         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7614         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7615         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7616         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7617         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7618         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7619         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7620         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7621         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7622         (feholdexcept): Likewise.
7623         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7624         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7625         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7626         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7627         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7628         __feholdexcept instead of feholdexcept.
7629         (default_libc_feholdexcept_setround): Likewise.
7631 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7633         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7634         to avoid using stl/str to align destination.
7636 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7638         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7640 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #17796]
7643         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7644         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7645         Define as weak alias not strong alias.
7647 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7649         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7650         bltzal with addiupc.
7651         (RTLD_START): Ditto.
7653 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7655         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7656         for __vdso_* functions in declarations.
7657         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7658         definitions.
7659         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7660         INTERNAL_VSYSCALL): Use struct return types to check for error.
7662         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7663         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7664         function with cast from llround().
7665         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7666         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7667         Define.
7669 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7671         [BZ #17793]
7672         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7673         Define as weak alias not strong alias.
7675         [BZ #17635]
7676         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7677         ...
7678         * ctype/ctype-extn.c: ... here.
7679         (__isblank_l): Move to ...
7680         * ctype/ctype-c99_l.c: ... here.  New file.
7681         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7682         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7683         Remove variable.
7684         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7685         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7686         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7687         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7688         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7690         [BZ #17777]
7691         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7692         (posix_fadvise64): Define as weak alias not strong alias.
7693         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7694         (posix_fallocate64): Likewise.
7695         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7696         Remove variable.
7697         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7698         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7699         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7700         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7701         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7703 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7705         [BZ #16191]
7706         * NEWS: Mention bug fix.
7707         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7708         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7709         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7710         (HOST_STACK_END_ADDR): Likewise.
7712 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7714         [BZ #17748]
7715         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7716         * math/fegetround.c (fegetround): Rename to __fegetround and
7717         define as weak alias of __fegetround.  Use libm_hidden_weak.
7718         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7719         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7720         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7721         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7722         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7723         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7724         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7725         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7726         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7727         Undefine after rather than before function definition; use
7728         parentheses around function name in definition.
7729         (__fegetround): Also undefine macro after function definition.
7730         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7731         __fegetround and define as weak alias of __fegetround.  Use
7732         libm_hidden_weak.  Do not undefine as macro.
7733         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7734         Likewise.
7735         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7736         __fegetround and define as weak alias of __fegetround.  Use
7737         libm_hidden_weak.
7738         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7739         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7740         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7741         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7742         __fegetround and define as weak alias of __fegetround.  Use
7743         libm_hidden_weak.
7744         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7745         __fegetround instead of fegetround.
7747         [BZ #17782]
7748         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7749         Condition macro definition on [__USE_MISC].
7751         [BZ #17781]
7752         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7753         (struct sigaction): Change type of sa_flags field to int.
7755         [BZ #17780]
7756         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7757         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7758         __glibc_reserved0.
7760         * nptl/version.c (banner): Use single year in copyright notice.
7762         * NEWS: Update copyright dates.
7763         * catgets/gencat.c (print_version): Likewise.
7764         * csu/version.c (banner): Likewise.
7765         * debug/catchsegv.sh: Likewise.
7766         * debug/pcprofiledump.c (print_version): Likewise.
7767         * debug/xtrace.sh (do_version): Likewise.
7768         * elf/ldconfig.c (print_version): Likewise.
7769         * elf/ldd.bash.in: Likewise.
7770         * elf/pldd.c (print_version): Likewise.
7771         * elf/sotruss.sh: Likewise.
7772         * elf/sprof.c (print_version): Likewise.
7773         * iconv/iconv_prog.c (print_version): Likewise.
7774         * iconv/iconvconfig.c (print_version): Likewise.
7775         * locale/programs/locale.c (print_version): Likewise.
7776         * locale/programs/localedef.c (print_version): Likewise.
7777         * login/programs/pt_chown.c (print_version): Likewise.
7778         * malloc/memusage.sh (do_version): Likewise.
7779         * malloc/memusagestat.c (print_version): Likewise.
7780         * malloc/mtrace.pl: Likewise.
7781         * manual/libc.texinfo: Likewise.
7782         * nptl/version.c (banner): Likewise.
7783         * nscd/nscd.c (print_version): Likewise.
7784         * nss/getent.c (print_version): Likewise.
7785         * nss/makedb.c (print_version): Likewise.
7786         * posix/getconf.c (main): Likewise.
7787         * scripts/test-installation.pl: Likewise.
7788         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7790 2015-01-02  Will Newton  <will.newton@linaro.org>
7792         * sysdeps/arm/armv7/configure: Removed.
7793         * sysdeps/arm/armv7/configure.ac: Likewise.
7795 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7797         * All files with FSF copyright notices: Update copyright dates
7798         using scripts/update-copyrights.
7799         * intl/plural.c: Regenerated.
7800         * locale/programs/charmap-kw.h: Likewise.
7801         * locale/programs/locfile-kw.h: Likewise.
7803 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7805         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7807 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7809         [BZ #17748]
7810         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7811         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7812         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7813         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7814         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7815         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7816         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7817         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7818         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7819         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7820         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7821         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7822         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7823         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7824         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7825         libm_hidden_def.
7826         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7827         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7828         Likewise.
7829         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7830         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7831         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7832         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7833         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7834         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7835         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7836         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7837         __fegetenv instead of fegetenv.
7838         (libc_feholdsetround_noex_ctx): Likewise.
7840 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7842         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7843         (Elf_MIPS_ABIFlags_v0): New structure.
7844         (EF_MIPS_FP64): Define.
7845         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7846         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7847         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7848         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7849         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7850         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7851         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7852         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7853         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7854         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7855         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7856         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7857         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7858         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7859         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7860         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7861         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7862         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7863         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7864         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7865         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7866         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7867         field.
7868         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7869         EF_MIPS_FP64.
7870         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7871         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7872         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7873         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7874         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7875         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7876         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7877         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7878         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7879         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7880         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7881         record the current FP ABI extension.
7882         (mips-mode-switch): Define to show if kernel headers support mode
7883         switching.
7884         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7885         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7886         supported SYSV ABI version to 3.
7887         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7888         feature.
7890 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7891             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7893         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7894         path.
7895         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7897 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7899         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7900         __fegetround and redefine to call __fegetround.  Remove condition
7901         on [!__NO_MATH_INLINES].
7902         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7903         function.
7904         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7905         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7906         Remove macro.
7907         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7908         instead of <fenv_libc.h>.
7909         (__llrintl): Call fegetround instead of __fegetround.
7910         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7911         instead of <fenv_libc.h>.
7912         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7913         (__lrintl): Call fegetround instead of __fegetround.
7914         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7915         instead of <fenv_libc.h>.
7916         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7917         (__rintl): Call fegetround instead of __fegetround.
7919 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7921         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7922         arrays.
7924 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7926         [BZ #17775]
7927         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7928         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7929         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7931 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7933         * sysdeps/i386/tls-macros.h: Include <features.h>.
7934         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7935         (TLS_IE): Likewise.
7936         (TLS_LD): Likewise.
7937         (TLS_GD): Likewise.
7938         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7939         define for GCC >= 5.0.
7941 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7943         * math/test-fenv.c (test_single_exception, set_single_exc,
7944         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7945         feexcp_mask_test, feenable_test, fe_single_test): Add
7946         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7947         case where they are not used.
7948         * math/libm-test.inc: Likewise.
7949         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7950         unused in the absence of FP rounding/exception support.
7951         * stdio-common/tst-printf-round.c: Likewise.
7952         * stdlib/tst-strtod-round.c: Likewise.
7953         * stdlib/tst-strtod-underflow.c: Likewise.
7955 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7957         [BZ #17723]
7958         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7959         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7960         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7961         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7962         libm_hidden_weak.
7963         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7964         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7965         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7966         libm_hidden_def.
7967         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7968         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7969         libm_hidden_weak.
7970         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7971         Likewise.
7972         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7973         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7974         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7975         libm_hidden_weak.
7976         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7977         libm_hidden_def.
7978         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7979         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7980         (__feraiseexcept): Likewise.
7981         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7982         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7983         libm_hidden_weak.
7984         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7985         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7986         libm_hidden_def.
7987         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7988         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7989         Use libm_hidden_def.
7990         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7991         libm_hidden_def.
7992         (feraiseexcept): Define as weak not strong alias.  Use
7993         libm_hidden_weak.
7994         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7995         New inline function.  Factored out of ...
7996         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7997         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7998         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7999         feraiseexcept.
8000         * math/w_acos.c (__acos): Likewise.
8001         * math/w_asin.c (__asin): Likewise.
8002         * math/w_ilogb.c (__ilogb): Likewise.
8003         * math/w_j0.c (y0): Likewise.
8004         * math/w_j1.c (y1): Likewise.
8005         * math/w_jn.c (yn): Likewise.
8006         * math/w_log.c (__log): Likewise.
8007         * math/w_log10.c (__log10): Likewise.
8008         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8009         * sysdeps/aarch64/fpu/math_private.h
8010         (libc_feupdateenv_test_aarch64): Likewise.
8011         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8012         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8013         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8014         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8015         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8016         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8017         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8018         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8019         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8020         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8022 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8024         [BZ #17732]
8025         * io/test-utime.c (main): Replace %ld with %jd and cast to
8026         intmax_t.
8027         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8028         * nptl/tst-mutex5.c: Include <stdint.h>.
8029         (do_test): Replace %ld with %jd and cast to intmax_t.
8030         * posix/tst-regex.c (run_test): Likewise.
8031         (run_test_backwards): Likewise.
8032         * rt/tst-clock.c: Include <stdint.h>.
8033         (clock_test): Replace %ld with %jd and cast to intmax_t.
8034         * rt/tst-cpuclock1.c: Include <stdint.h>.
8035         (do_test): Replace %lu with %ju and cast to uintmax_t.
8036         * rt/tst-cpuclock2.c: Include <stdint.h>.
8037         (do_test): Replace %lu with %ju and cast to uintmax_t.
8038         * rt/tst-mqueue1.c: Include <stdint.h>.
8039         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8040         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8041         intmax_t.
8042         * rt/tst-mqueue4.c (do_test): Likewise.
8043         * rt/tst-timer4.c: Include <stdint.h>.
8044         (check_ts): Replace %ld with %jd and cast to intmax_t.
8045         (do_test): Likewise.
8046         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8047         and cast to intmax_t.
8048         * sysdeps/pthread/tst-timer.c (main): Likewise.
8049         * time/clocktest.c (main): Likewise.
8050         * time/tst-posixtz.c (do_test): Likewise.
8051         * timezone/tst-timezone.c (main): Likewise.
8053 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8054             H.J. Lu  <hongjiu.lu@intel.com>
8056         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8057         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8058         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8059         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8060         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8061         version if bit_Fast_Unaligned_Load is set.
8062         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8063         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8064         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8065         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8066         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8067         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8069         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8070         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8071         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8072         to 4.
8073         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8074         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8075         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8076         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8078 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8080         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8081         instead of #if to avoid a Wundef warning.
8082         * stdlib/tst-limits.c (do_test): Likewise.
8084         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8085         parallel other exception macros.
8086         (fegetenv): Convert from macro to extern inline so that it applies
8087         retroactively to inline functions already seen by the compiler.
8088         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8090         * posix/Makefile (before-compile): Use $(objpfx) for
8091         posix-conf-vars-def.h.
8093 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8095         * posix/getconf.c (main): Use size_t for type of I.
8096         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8097         NSPEC.
8099         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8100         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8101         * posix/posix-envs.def: Likewise.
8102         * sysdeps/posix/sysconf.c: Likewise.
8103         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8104         (specs): Remove array.
8105         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8106         array.
8108         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8109         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8110         (__sysconf): Use CONF_IS_* macros.
8112         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8113         ($(objpfx)posix-conf-vars-def.h): New target.
8114         * posix/posix-conf-vars.list: New file.
8115         * posix/posix-conf-vars.h: New file.
8116         * posix/confstr.c: Include posix-conf-vars.h.
8117         (confstr): Use CONF_IS_* macros.
8118         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8119         CONF_IS_* macros.
8120         * scripts/gen-posix-conf-vars.awk: New file.
8122 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8124         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8125         fegetround): Add no-op macros to avoid linknamespace issues.
8127         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8128         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8130         * sysdeps/unix/sysv/linux/tile/sysdep.h
8131         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8132         assembly-specific section to avoid a redefinition warning.
8134         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8135         long before casting to pointer to avoid a cast warning.
8137 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8139         * sysdeps/tile/tilegx/Implies: New file.
8141 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8143         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8145 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8147         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8149 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8152         not define.
8153         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8154         <kernel-features.h>.
8155         (__utimes) [__NR_utimes]: Make code unconditional.
8156         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8157         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8158         (__ASSUME_UTIMES): Do not undefine.
8159         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8160         (__ASSUME_UTIMES): Likewise.
8161         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8162         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8163         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8164         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8166 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8168         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8170 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8172         [BZ #17747]
8173         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8174         alias to weak alias for j0l, y0l.
8175         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8176         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8178         [BZ #17746]
8179         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8180         conversion.
8182 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8184         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8185         to zero if not already defined.
8187 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8189         [BZ #17724]
8190         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8191         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8192         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8193         (char *) casts added.
8194         * sysdeps/ieee754/k_standardf.c: New file.
8195         * sysdeps/ieee754/k_standardl.c: Likewise.
8196         * math/Makefile (libm-support): Remove k_standard.
8197         (libm-calls): Add k_standard.
8199 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8201         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8202         Optimize to avoid an unnecessary FPCR read.
8204 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8207         Optimize to reduce FPCR/FPSR accesses.
8209 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8211         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8212         Call libc_fetestexcept_aarch64.
8214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8216         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8217         Call libc_fesetround_aarch64.
8219 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8221         [BZ #17733]
8222         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8223         (__bind): Do not define as weak alias.
8224         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8225         define.
8226         (__getsockname): Do not define as weak alias.
8228 2014-12-22  Will Newton  <will.newton@linaro.org>
8230         * manual/install.texi: Document that we require bison 2.7
8231         or above.
8232         * INSTALL: Regenerate.
8233         * configure.ac: Use AC_CHECK_PROG_VER instead of
8234         AC_PATH_PROG when checking for bison and check for
8235         version 2.7 or above.
8236         * configure: Regenerate.
8238 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8240         [BZ #17745]
8241         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8242         * sysdeps/tile/ffsll.c (ffsll): To here.
8244         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8246 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8248         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8249         if not defined.
8250         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8251         definition.
8252         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8253         hidden ___tls_get_addr.
8254         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8255         hidden __tls_get_addr.
8256         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8257         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8258         Likewise.
8260 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8262         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8263         _dl_init call.
8265 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8267         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8268         from "call _dl_init@PLT".
8269         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8271 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8273         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8274         guarantees.
8276 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8278         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8280 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8282         [BZ #17744]
8283         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8284         strnlen.
8286 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8288         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8289         of multu on MIPSr6.
8290         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8291         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8292         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8293         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8294         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8296 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8298         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8299         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8300         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8301         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8302         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8303         mips32r6/mips64r6.
8304         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8306 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8308         * string/strncat.c (STRNCAT): Simplify implementation.
8310 2014-12-19  David S. Miller  <davem@davemloft.net>
8312         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8313         access the quad as both a long double and as a series of 4 words.
8315         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8316         link_map->l_info array access.
8318 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8320         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8322         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8323         * math/atest-exp2.c (TIMEOUT): Likewise.
8324         * math/atest-sincos.c (TIMEOUT): Likewise.
8326 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8328         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8329         -Wno-error with -fno-builtin-lround.
8331 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8333         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8334         Contains futex constants and functions moved over from ...
8335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8336         <lowlevellock-futex.h>.
8337         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8338         (lll_timedwait_tid): Add comments and parentheses around macro
8339         arguments.
8341 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8343         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8344         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8345         (__lll_private_flag): Remove.
8346         (lll_futex_wait): Likewise.
8347         (lll_futex_timed_wait): Likewise.
8348         (lll_futex_wake): Likewise.
8349         (lll_futex_requeue): Likewise.
8350         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8351         (__lll_timedwait_tid): Spell out argument names.
8352         (lll_timedwait_tid): Add comments and parentheses around macro
8353         arguments.
8354         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8355         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8357 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8359         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8360         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8361         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8362         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8363         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8364         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8365         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8366         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8367         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8373         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8374         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8375         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8376         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8377         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8379 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8381         * sysdeps/x86_64/x32/Makefile: New file.
8383 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8385         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8386         1L with (mp_limb_t) 1.
8388 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8390         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8391         * nptl/libc_pthread_init.c: ... here.
8392         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8393         * nptl/register-atfork.c: ... here.
8395         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8396         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8397         Use assert_perror to check its return value.
8398         (__gai_create_helper_thread): Likewise.
8400         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8402         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8404 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8406         [BZ #17725]
8407         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8408         __profil_counter.
8409         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8410         Likewise.
8411         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8412         Likewise.
8413         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8414         Likewise.
8415         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8416         (profil_counter): Likewise.
8417         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8418         (profil_counter): Likewise.
8419         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8420         Likewise.
8421         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8422         Likewise.
8423         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8424         (profil_counter): Likewise.
8425         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8426         Likewise.
8427         [!__profil_counter] (profil_counter): Define as weak alias of
8428         __profil_counter.
8429         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8430         (profil_counter): Rename to __profil_counter.
8431         [!__profil_counter] (profil_counter): Define as weak alias of
8432         __profil_counter.
8433         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8434         (profil_counter): Rename to __profil_counter.
8435         [!__profil_counter] (profil_counter): Define as weak alias of
8436         __profil_counter.
8437         * sysdeps/posix/profil.c: Update comment referring to
8438         profil_counter.
8439         (__profil): Use __profil_counter instead of profil_counter.
8440         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8441         __profil_counter.  Use __profil_counter_ushort and
8442         __profil_counter_uint in definitions.
8443         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8444         instead of profil_counter_uint and profil_counter_ushort.
8446         [BZ #17722]
8447         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8448         define as weak alias of __inet_makeaddr.
8449         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8450         as weak alias of __inet_addr.
8451         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8452         as weak alias of __inet_pton.  Use libc_hidden_weak.
8453         * include/arpa/inet.h (__inet_pton): Declare.  Use
8454         libc_hidden_proto.
8455         (inet_makeaddr): Don't use libc_hidden_proto.
8456         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8457         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8458         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8459         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8460         Remove variable.
8461         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8462         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8464 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8466         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8468 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8470         * stdio-common/bug-vfprintf-nargs.c (do_test):
8471         Cast value to intptr_t to avoid format warning
8472         for usage with PRIdPTR printing macro.
8474 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8476         * libio/tst-widetext.c (do_test):
8477         Use format type %td instead of %Zd for ptrdiff_t
8478         in order to avoid format warning.
8480 2014-12-17  Andreas Schwab  <schwab@suse.de>
8482         * nscd/mem.c (gc): Add size_t cast to match printf format.
8484 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8486         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8487         (init): Apply PTR_MANGLE to pointers before storing them.
8488         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8489         before using them.
8491 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8493         [BZ #17719]
8494         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8495         define as weak alias of __memrchr.
8496         (__memrchr): Do not define as strong alias of memrchr.
8497         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8498         Remove variable.
8499         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8500         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8501         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8503         [BZ #17717]
8504         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8505         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8506         (if_indextoname): Rename to __if_indextoname and define as weak
8507         alias of __if_indextoname.  Use libc_hidden_weak.
8508         (if_freenameindex): Rename to __if_freenameindex and define as
8509         weak alias of __if_freenameindex.
8510         (if_nameindex): Rename to __if_nameindex and define as weak alias
8511         of __if_nameindex.
8512         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8513         __if_nametoindex and define as weak alias of __if_nametoindex.
8514         Use libc_hidden_weak.
8515         (if_freenameindex): Rename to __if_freenameindex and define as
8516         weak alias of __if_freenameindex.
8517         (if_nameindex): Rename to __if_nameindex and define as weak alias
8518         of __if_nameindex.
8519         (if_indextoname): Rename to __if_indextoname and define as weak
8520         alias of __if_indextoname.  Use libc_hidden_weak.
8521         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8522         __if_nametoindex and define as weak alias of __if_nametoindex.
8523         Use libc_hidden_weak.
8524         (if_freenameindex): Rename to __if_freenameindex and define as
8525         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8526         (if_nameindex_netlink): Use __if_freenameindex instead of
8527         if_freenameindex.
8528         (if_nameindex): Rename to __if_nameindex and define as weak alias
8529         of __if_nameindex.  Use libc_hidden_weak.
8530         (if_indextoname): Rename to __if_indextoname and define as weak
8531         alias of __if_indextoname.  Use libc_hidden_weak.
8532         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8533         libc_hidden_proto.
8534         [!_ISOMAC] (__if_freenameindex): Likewise.
8535         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8536         if_nametoindex.
8537         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8538         variable.
8539         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8540         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8541         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8542         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8543         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8544         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8545         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8547         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8548         Remove variable.
8549         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8550         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8552 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8554         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8555         subscript above bounds'
8557         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8558         bounds.
8560 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8562         * libio/tst-fopenloc.c: Use test-skeleton.c.
8564         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8565         (entry): Rename to ITEM.
8566         (do_test, comp): Adjust.
8568         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8570 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8572         * string/tester.c: Include <libc-internal.h>.
8573         (test_memset): Ignore -Wmemset-transposed-args.
8575 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8577         * misc/tst-mntent2.c (do_test): Fix warning.
8579 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8581         * elf/tst-unique4lib.cc(a): Mark as used.
8583 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8585         [BZ #17630]
8586         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8587         names.
8589 2014-12-16  Allan McRae  <allan@archlinux.org>
8591         * stdio-common/Makefile (tests): Re-add bug26.
8593 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8595         [BZ #17657]
8596         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8597         static array.
8599 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8601         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8602         (__lll_lock_wait): Likewise.
8603         (__lll_timedlock_wait): Likewise.
8604         (__lll_timedwait_tid): Likewise.
8605         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8606         (__lll_robust_timedlock_wait): Likewise.
8607         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8608         (lll_cond_trylock): Likewise.
8609         (__lll_lock): Likewise.
8610         (__lll_robust_lock): Likewise.
8611         (__lll_cond_lock): Likewise.
8612         (lll_robust_cond_lock): Likewise.
8613         (__lll_timedlock): Likewise.
8614         (__lll_robust_timedlock): Likewise.
8615         (__lll_unlock): Likewise.
8616         (__lll_robust_unlock): Likewise.
8617         (lll_wait_tid): Likewise.
8618         (lll_timedwait_tid): Likewise.
8620 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8622         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8624 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8626         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8628 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8630         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8631         * stdio-common/tst-sprintf.c: Likewise.
8633 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8635         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8637 2014-12-15  Jeff Law  <law@redhat.com>
8639         [BZ #16617]
8640         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8641         on the heap.  (CVE-2012-3406)
8642         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8643         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8644         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8646 2014-12-15  Will Newton  <will.newton@linaro.org>
8648         * manual/install.texi: Bump required version of texinfo
8649         to 4.7 from 4.5.
8650         * INSTALL: Regenerated.
8651         * configure.ac: Check for makeinfo version 4.7 and above.
8652         * configure: Regenerated.
8654 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8656         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8657         PREFIX, string constant to insert between directory and name.
8658         * sysdeps/posix/shm_open.c: Update caller.
8659         * sysdeps/posix/shm_unlink.c: Likewise.
8660         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8661         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8662         (SEM_SHM_PREFIX): New macro.
8663         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8664         [$(have-thread-library) = no].
8665         * nptl/Makefile (libpthread-routines): Add shm-directory.
8666         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8667         * sysdeps/nptl/shm-directory.h: New file.
8668         * sysdeps/posix/shm-directory.c
8669         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8670         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8671         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8672         INTERNAL_SYSCALL.
8673         (__where_is_shmfs): Function removed.
8674         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8675         Variables removed.
8676         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8677         Use SHM_GET_NAME.
8678         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8680         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8681         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8682         unconditional for use inside libpthread.
8683         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8685 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8687         * nptl/pthread_getaffinity.c: New file.
8688         * nptl/pthread_setaffinity.c: New file.
8689         * nptl/pthread_getname.c: New file.
8690         * nptl/pthread_setname.c: New file.
8692         * nptl/pthread_create.c (START_THREAD_DEFN)
8693         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8695 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8698         * resolv/res_send.c (send_vc): Disable warning resplen may
8699         be used uninitialized.
8701 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8703         * nptl/tst-mutex6.c
8704         (ATTR_NULL): New define checks ATTR against NULL.
8705         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8706         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8708 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8710         [BZ #17581]
8711         * malloc/hooks.c
8712         (mem2mem_check): Revert my previous change.
8713         (malloc_check_get_size): Revert my previous change.
8714         (mem2chunk_check): Revert my previous change.
8716 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8718         * sysdeps/posix/shm-directory.c: New file.
8719         * sysdeps/posix/shm-directory.h: New file.
8720         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8721         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8722         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8723         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8724         Transmute EPERM to EACCES.
8725         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8726         from ...
8727         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8728         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8730 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8732         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8733         pointer and cast to uintptr_t.
8734         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8735         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8736         Add cast to avoid warning.
8737         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8739 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8741         * nptl/semaphore.h: Move to ...
8742         * sysdeps/pthread/semaphore.h: ... here.
8743         * Makefile (installed-headers): Change nptl/semaphore.h to
8744         sysdeps/pthread/semaphore.h.
8746 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8748         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8749         generated error format strings.
8751         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8752         -Wformat-extra-args warnings for scanf formats.
8753         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8754         test of zero-length format (duh).
8755         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8756         corner-case scanf format test.
8757         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8758         generated fprintf format string.
8759         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8760         corner-case sprintf format tests.
8761         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8762         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8763         -Wformat-extra-args warnings throughout.
8764         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8765         (CFLAGS-scanf4.c): Likewise.
8766         (CFLAGS-scanf7.c): Likewise.
8767         (CFLAGS-tst-sprintf.c): Likewise.
8768         (CFLAGS-tst-printf.c): Likewise.
8769         (CFLAGS-tst-printfsz.c): Likewise.
8771 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8773         * include/cpio.h: New file.
8774         * include/fmtmsg.h: Likewise.
8776         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8777         corresponding format argument to size_t.
8778         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8779         arguments.
8780         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8781         corresponding format argument to size_t.
8782         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8783         arguments.
8784         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8785         corresponding format argument to size_t.
8786         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8787         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8788         (CFLAGS-tst-mbswcs2.c): Likewise.
8789         (CFLAGS-tst-mbswcs3.c): Likewise.
8790         (CFLAGS-tst-mbswcs4.c): Likewise.
8791         (CFLAGS-tst-mbswcs5.c): Likewise.
8792         (CFLAGS-tst-trans.c): Likewise
8794 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8796         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8797         rather than assuming they won't contain any '%'s.
8799 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8801         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8802         inhibit_loop_to_libcall to avoid recursive calls.
8803         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8804         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8806 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8808         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8809         prototype.
8811 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8813         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8814         integer value instead of boolean.
8816 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8818         * malloc/malloc.c: Fix powerof2 check.
8820 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8822         * locale/programs/locfile.h (maybe_swap_uint32):
8823         Remove inline and add unused attribute.
8825 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8827         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8828         Truncating assembler expression to a .long expression.
8830 2014-12-11  Andreas Schwab  <schwab@suse.de>
8832         * elf/rtld.c (struct map_args): Constify str member.
8833         (do_preload): Constify fname argument.
8835 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8837         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8838         constants definition.
8840 2014-12-11  Andreas Schwab  <schwab@suse.de>
8842         [BZ #16657]
8843         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8844         FORCE_ELISION instead of DO_ELISION.
8845         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8846         Remove.
8847         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8848         Likewise.
8850         * iconvdata/gconv-modules: Remove duplicate entry.
8852 2014-12-11  Will Newton  <will.newton@linaro.org>
8854         Merge gettext 0.19.3 into intl/.
8856         This involves a number of cosmetic changes to comments
8857         and ANSI function definitions and prototypes throughout
8858         all the files. The gettext copyright header is used but
8859         with the date ranges taken from the glibc copy.
8861         * NEWS: Add gettext merge to 2.21.
8862         * intl/bindtextdom.c: Switch to gettext copyright.
8863         Use ANSI definitions and prototypes.
8864         Use gl_* locking primitives rather than __libc_* ones.
8865         Use __builtin_expect rather than __glibc_likely/unlikely.
8866         * intl/dcgettext.c: Switch to gettext copyright.
8867         Use ANSI definitions and prototypes.
8868         * intl/dcigettext.c: Switch to gettext copyright.
8869         Use ANSI definitions and prototypes.
8870         (INTDIV0_RAISES_SIGFPE): New define.
8871         Use gl_* locking primitives rather than __libc_* ones.
8872         Include eval-plural.h instead of plural-eval.c.
8873         Use __builtin_expect rather than __glibc_likely/unlikely.
8874         * intl/dcngettext.c: Switch to gettext copyright.
8875         Use ANSI definitions and prototypes.
8876         * intl/dgettext.c: Likewise.
8877         * intl/dngettext.c: Likewise.
8878         * intl/plural-eval.c: Renamed to...
8879         * intl/eval-plural.h: ...this.
8880         * intl/explodename.c: Switch to gettext copyright.
8881         Use ANSI definitions and prototypes.
8882         (_nl_explode_name): Use strchr instead of __rawmemchr.
8883         * intl/finddomain.c: Switch to gettext copyright.
8884         Use ANSI definitions and prototypes.
8885         Use gl_* locking primitives rather than __libc_* ones.
8886         (_nl_find_domain): Use malloc rather than alloca for
8887         allocation of temporary locale name.
8888         * intl/gettext.c: Switch to gettext copyright.
8889         Use ANSI definitions and prototypes.
8890         * intl/gettextP.h: Switch to gettext copyright.
8891         Use ANSI definitions and prototypes.
8892         Use gl_* locking primitives rather than __libc_* ones.
8893         * intl/gmo.h: Switch to gettext copyright.
8894         (struct sysdep_string): Move struct segment_pair outside of
8895         struct definition.
8896         * intl/hash-string.c: Use ANSI definitions and prototypes.
8897         * intl/hash-string.h: Switch to gettext copyright.
8898         Use ANSI definitions and prototypes.
8899         * intl/l10nflist.c: Switch to gettext copyright.
8900         Use ANSI definitions and prototypes.
8901         (_nl_normalize_codeset): Avoid integer overflow.
8902         * intl/loadinfo.h: Switch to gettext copyright.
8903         Use ANSI definitions and prototypes.
8904         (LIBINTL_DLL_EXPORTED): New define.
8905         (PATH_SEPARATOR): New define.
8906         * intl/loadmsgcat.c: Switch to gettext copyright.
8907         * intl/localealias.c: Switch to gettext copyright.
8908         Use ANSI definitions and prototypes.
8909         (_nl_expand_alias): Use PATH_SEPARATOR.
8910         * intl/ngettext.c: Switch to gettext copyright.
8911         Use ANSI definitions and prototypes.
8912         * intl/plural-exp.c: Likewise.
8913         * intl/plural-exp.h: Switch to gettext copyright.
8914         Use ANSI definitions and prototypes.
8915         (struct expression): Move definition of enum operator outside
8916         of struct definition.
8917         * intl/plural.c: Regenerate.
8918         * intl/plural.y: Switch to gettext copyright.
8919         Use ANSI definitions and prototypes.
8920         Port to bison 3.0.
8921         * intl/textdomain.c: Switch to gettext copyright.
8922         Use ANSI definitions and prototypes.
8923         Use gl_* locking primitives rather than __libc_* ones.
8925 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8927         * debug/warning-nop.c: Add used atrribute.
8929 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8931         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8933         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8934         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8935         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8937 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8938             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8940         [BZ #17634]
8941         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8942         Undefine after defining function.  Define as weak alias of
8943         __wcschr.  Use libc_hidden_weak.
8944         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8945         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8946         (libc_hidden_def): Also define __GI___wcschr alias.
8947         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8948         __wcschr and define as weak alias of __wcschr.
8949         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8950         __wcschr.
8951         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8952         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8953         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8954         libc_hidden_weak.  Do not use libc_hidden_def.
8955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8956         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8957         __GI___wcschr alias.
8958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8959         [IS_IN (libc)] (wcschr): Define as macro expanding to
8960         __redirect_wcschr.
8961         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8962         [IS_IN (libc)] (__wcschr_power6): Likewise.
8963         [IS_IN (libc)] (__wcschr_power7): Likewise.
8964         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8965         instead of wcschr.
8966         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8967         __libc_wcschr.
8968         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8969         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8970         __wcschr and define as weak alias of __wcschr.  Use
8971         libc_hidden_builtin_def.
8972         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8973         as weak alias of __wcschr.  Use libc_hidden_weak.
8974         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8975         wcschr.
8976         * time/era.c (_nl_init_era_entries): Likewise.
8977         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8978         variable.
8979         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8980         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8982 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8984         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8985         format for long int variable.
8987 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8989         [BZ #10672]
8990         * manual/search.texi: (Array Sort Function): Remove claim how to make
8991         qsort stable.
8993 2014-12-10  Andreas Schwab  <schwab@suse.de>
8995         [BZ #12847]
8996         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8997         user-controlled locks.
8999 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9001         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9002         register.
9004 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9006         * configure.ac (--disable-werror): New configure option.
9007         (enable_werror): New AC_SUBST.
9008         * configure: Regenerated.
9009         * config.make.in (enable-werror): New variable.
9010         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9011         -Wno-error=undef.
9012         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9013         * manual/install.texi (Configuring and compiling): Document
9014         --disable-werror.
9015         * INSTALL: Regenerated.
9016         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9017         (CFLAGS-tst-chk2.c): Likewise.
9018         (CFLAGS-tst-chk3.c): Likewise.
9019         (CFLAGS-tst-chk4.cc): Likewise.
9020         (CFLAGS-tst-chk5.cc): Likewise.
9021         (CFLAGS-tst-chk6.cc): Likewise.
9022         (CFLAGS-tst-lfschk1.c): Likewise.
9023         (CFLAGS-tst-lfschk2.c): Likewise.
9024         (CFLAGS-tst-lfschk3.c): Likewise.
9025         (CFLAGS-tst-lfschk4.cc): Likewise.
9026         (CFLAGS-tst-lfschk5.cc): Likewise.
9027         (CFLAGS-tst-lfschk6.cc): Likewise.
9029         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9030         (main): Disable -Wdeprecated-declarations around calls to
9031         register_printf_function.
9033         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9034         (do_test): Disable -Wdiv-by-zero around some calls to
9035         fwrite_unlocked and fread_unlocked.
9037         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9038         (DIAG_POP_NEEDS_COMMENT): Likewise.
9039         (_DIAG_STR1): Likewise.
9040         (_DIAG_STR): Likewise.
9041         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9042         * stdio-common/bug21.c: Include <libc-internal.h>.
9043         (do_test): Disable -Wformat around call to sscanf.
9044         * stdio-common/scanf14.c: Include <libc-internal.h>.
9045         (main): Disable -Wformat around some calls to scanf functions.
9047 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9049         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9051 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9053         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9054         stack variable alignment.
9056 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9058         [BZ #17682]
9059         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9060         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9061         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9062         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9063         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9064         __getrlimit instead of getrlimit.
9065         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9066         __gettimeofday instead of gettimeofday.
9067         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9068         Likewise.
9069         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9070         Likewise.
9071         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9072         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9073         Remove variable.
9074         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9075         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9077 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9079         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9080         for wide-character tests.
9082 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9084         * io/openat64.c: #include <libc-internal.h>
9085         (__openat64): Prototypify.  Use ignore_value on MODE.
9086         * io/openat.c: Likewise.
9087         * misc/reboot.c: #include <libc-internal.h>
9088         (reboot): Prototypify.  Use ignore_value on HOWTO.
9089         * misc/ptrace.c: #include <libc-internal.h>
9090         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9092 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9094         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9095         XPG4, UNIX98 and XOPEN2K.
9096         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9097         Remove variable.
9098         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9100 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9102         * libio/fileops.c: Use ISO C style for function definitions.
9103         * libio/iofopen.c: Likewise.
9104         * libio/wfileops.c: Likewise.
9106         [BZ #17653]
9107         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9108         offset on EOF.
9109         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9110         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9111         (fgets_func): Function pointer to fgets and fgetws.
9112         (do_ftell_test): Add test to verify ftell value after read
9113         EOF.
9114         (do_test): Set fgets_func.
9116         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9117         O_TRUNC flag for w and w+ modes.
9118         (do_rewind_test): Likewise.
9119         (do_ftell_test): Likewise.
9120         (do_write_test): Likewise.
9122         [BZ #17647]
9123         * libio/fileops.c (do_ftell): Seek only when there are
9124         unflushed writes.
9125         * libio/wfileops.c (do_ftell_wide): Likewise.
9126         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9127         test case.
9128         (do_one_test): Call it.
9130 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9132         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9133         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9134         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9135         Remove variable.
9136         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9137         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9138         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9140 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9142         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9143         Remove variable.
9144         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9146         [BZ #17668]
9147         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9148         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9149         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9150         __freeifaddrs.  Use libc_hidden_weak.
9151         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9152         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9153         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9154         __freeifaddrs.  Use libc_hidden_weak.
9155         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9156         __getifaddrs and define as weak alias of __getifaddrs.  Use
9157         libc_hidden_weak.
9158         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9159         __freeifaddrs.  Use libc_hidden_weak.
9160         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9161         Remove variable.
9162         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9163         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9165 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9167         [BZ #17601]
9168         * sysdeps/mips/start.S (__start): Use indirect jump to call
9169         __libc_start_main.
9171 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9173         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9175         * nptl/tst-mutex1.c: Include <stdbool.h>.
9176         [!ATTR] (ATTR_NULL): New macro.
9177         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9178         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9179         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9181         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9182         to char *.
9184         [BZ #17665]
9185         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9186         Change conditional to [__USE_MISC].
9188         [BZ #17664]
9189         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9190         fgets_unlocked.
9191         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9192         __fgets_unlocked.
9193         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9194         fgets_unlocked.
9195         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9196         Remove variable.
9197         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9198         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9199         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9200         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9201         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9202         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9203         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9204         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9205         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9207         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9209 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9211         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9212         Remove strpbrk objects.
9213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9214         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9215         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9216         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9217         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9218         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9220         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9221         Remove strcspn objects.
9222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9223         (__libc_ifunc_impl_list): Remove strcspn implementation.
9224         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9225         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9226         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9227         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9230         Remove strspn objetcs.
9231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9232         (__libc_ifunc_impl_list): Remove strspn implementation.
9233         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9234         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9235         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9236         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9238 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9240         [BZ #17581]
9241         * malloc/hooks.c
9242         (mem2mem_check): Add a terminator to the chain of checking blocks.
9243         (malloc_check_get_size): Use it here.
9244         (mem2chunk_check): Ditto.
9246 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9248         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9249         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9251 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9253         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9255         * nptl/nptl-init.c: Include libc-internal.h.
9256         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9258         * elf/ldconfig.c (search_dir): Expand comment.
9260 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9262         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9263         variable.
9264         (linknamespace-symlist-stdlibs-tests): Likewise.
9265         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9266         instead of $(objpfx)symlist-stdlibs.
9267         (linknamespace-libs-isoc): New variable.
9268         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9269         (linknamespace-libs-ISO): New variable.
9270         (linknamespace-libs-ISO99): Likewise.
9271         (linknamespace-libs-ISO11): Likewise.
9272         (linknamespace-libs-XPG3): Likewise.
9273         (linknamespace-libs-XPG4): Likewise.
9274         (linknamespace-libs-POSIX): Likewise.
9275         (linknamespace-libs-UNIX98): Likewise.
9276         (linknamespace-libs-XOPEN2K): Likewise.
9277         (linknamespace-libs-POSIX2008): Likewise.
9278         (linknamespace-libs-XOPEN2K8): Likewise.
9279         ($(objpfx)symlist-stdlibs): Replace by
9280         $(linknamespace-symlist-stdlibs-tests).  Use
9281         $(linknamespace-libs-$*) as set of libraries.
9282         ($(linknamespace-header-tests)): Update dependencies.  Use
9283         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9284         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9285         * conform/linknamespace.pl: Remove comment about considering
9286         definitions of symbols from irrelevant libraries.
9288 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9290         [BZ #13862]
9291         * elf/dl-tls.c: Include <atomic.h>.
9292         (oom): Remove #ifdef SHARED/#endif.
9293         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9294         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9295         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9296         big enough.
9297         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9298         * nptl/Makefile (tests): Add tst-stack4.
9299         (modules-names): Add tst-stack4mod.
9300         ($(objpfx)tst-stack4): New.
9301         (tst-stack4mod.sos): Likewise.
9302         ($(objpfx)tst-stack4.out): Likewise.
9303         ($(tst-stack4mod.sos)): Likewise.
9304         (clean): Likewise.
9305         * nptl/tst-stack4.c: New file.
9306         * nptl/tst-stack4mod.c: Likewise.
9308 2014-11-27  J. Brown  <jb999@gmx.de>
9310         * sysdeps/x86/bits/string.h: Add recent CPUs.
9312 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9314         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9315         sigblock.
9317         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9318         feof.
9320         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9321         variable.
9323 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9325         * nscd/connections.c: Include libc-internal.h because of macro
9326         usage ignore_value.
9328 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9330         * string/bits/string3.h (__warn_memset_zero_len): Don't
9331         declare for gcc newer than 5.0.
9332         (memset): Don't test for zero-length __LEN for gcc newer than
9333         5.0.
9335 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9337         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9338         size_t for %zu format.
9340         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9341         difference, not %ju.
9343 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9345         * include/libc-internal.h (ignore_value): New macro.
9346         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9347         with ignore_value.
9349         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9350         definition.
9352         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9353         pthread_cleanup_push to void *.
9355         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9356         Undefine.
9358         [BZ #16619]
9359         [BZ #16740]
9360         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9361         instead of 1L << 52.
9363         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9364         * libio/bug-rewind2.c (do_test): Likewise.
9366         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9367         * debug/test-strcpy_chk-ifunc.c: Likewise.
9368         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9369         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9370         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9371         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9372         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9373         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9374         * Rules [$(multi-arch) = no] (tests): Do not filter out
9375         $(tests-ifunc).
9376         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9377         * debug/Makefile (tests-ifunc): Remove variable.
9378         (tests): Do not add $(tests-ifunc).
9379         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9380         (tests): Do not add $(tests-ifunc).
9381         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9382         [TEST_IFUNC]: Remove conditionals.
9383         * string/test-string.h (TEST_IFUNC): Remove macro.
9384         [TEST_IFUNC]: Remove conditionals.
9386         * string/test-strchr.c [!WIDE] (L): New macro.
9387         [WIDE] (L): Likewise.
9388         (check1): Use CHAR instead of char.  Use L on string and character
9389         constants.
9391 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9393         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9394         tests.
9395         * sysdeps/powerpc/bits/atomic.h
9396         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9397         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9398         (atomic_exchange_and_add_acq): Likewise.
9399         (atomic_exchange_and_add_rel): Likewise.
9400         * sysdeps/powerpc/powerpc32/bits/atomic.h
9401         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9402         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9403         * sysdeps/powerpc/powerpc64/bits/atomic.h
9404         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9405         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9407 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9409         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9410         Change synchronization of __sched_fifo_min_prio and
9411         __sched_fifo_max_prio.
9412         * nptl/pthread_mutexattr_getprioceiling.c
9413         (pthread_mutexattr_getprioceiling): Likewise.
9414         * nptl/pthread_mutexattr_setprioceiling.c
9415         (pthread_mutexattr_setprioceiling): Likewise.
9416         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9417         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9418         Likewise.
9420 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9422         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9423         void.
9425 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9427         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9428         third argument const.
9430 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9432         fnmatch: work around GCC compiler warning bug with uninit var
9433         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9434         This works around a bug with x86-64 GCC 4.9.2 and earlier
9435         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9436         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9437         used uninitialized in this function [-Wmaybe-uninitialized]".
9439 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9441         * posix/bug-regex31.c (main): Return RES not 0.
9443 2014-11-25  Anton Blanchard <anton@samba.org>
9445         * sysdeps/powerpc/bits/atomic.h
9446         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9448 2014-11-24  Sterling Augustine  <saugustine@google.com>
9450         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9452 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9454         [BZ #17608]
9455         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9457 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9459         [BZ #17633]
9460         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9461         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9462         variable.
9463         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9464         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9466 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9468         * string/strncpy.c (strncpy): Improve performance by using memset.
9470 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9472         * string/strcpy.c (strcpy):
9473         Improve performance by using strlen and memcpy.
9475 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9477         * string/strcoll_l.c (get_next_seq): __always_inline.
9478         * string/strcoll_l.c (do_compare): __always_inline.
9480 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9482         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9483         defined.
9484         * include/mqueue.h: Likewise.
9485         * include/stdlib.h: Likewise.
9487         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9488         (get_null_defines): Adjust.
9489         * sunrpc/Makefile: Adjust comment.
9490         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9491         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9492         (CFLAGS-interp.c): Likewise.
9493         (CFLAGS-ldconfig.c): Likewise.
9494         (CPPFLAGS-.os): Likewise.
9495         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9496         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9497         * extra-modules.mk (extra-modules.mk): Likewise.
9498         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9499         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9500         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9501         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9502         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9503         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9504         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9505         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9506         * iconvdata/Makefile (CPPFLAGS): Likewise.
9507         (cpp-srcs-left): Add libof for all iconvdata routines.
9508         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9509         * include/assert.h: Likewise.
9510         * include/ctype.h: Likewise.
9511         * include/errno.h: Likewise.
9512         * include/libc-symbols.h: Likewise.
9513         * include/math.h: Likewise.
9514         * include/netdb.h: Likewise.
9515         * include/resolv.h: Likewise.
9516         * include/stdio.h: Likewise.
9517         * include/stdlib.h: Likewise.
9518         * include/string.h: Likewise.
9519         * include/sys/stat.h: Likewise.
9520         * include/wctype.h: Likewise.
9521         * intl/l10nflist.c: Likewise.
9522         * libidn/idn-stub.c: Likewise.
9523         * libio/libioP.h: Likewise.
9524         * nptl/libc_multiple_threads.c: Likewise.
9525         * nptl/pthreadP.h: Likewise.
9526         * posix/regex_internal.h: Likewise.
9527         * resolv/res_hconf.c: Likewise.
9528         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9529         * sysdeps/arm/memmove.S: Likewise.
9530         * sysdeps/arm/sysdep.h: Likewise.
9531         * sysdeps/generic/_itoa.h: Likewise.
9532         * sysdeps/generic/symbol-hacks.h: Likewise.
9533         * sysdeps/gnu/errlist.awk: Likewise.
9534         * sysdeps/gnu/errlist.c: Likewise.
9535         * sysdeps/i386/i586/memcpy.S: Likewise.
9536         * sysdeps/i386/i586/memset.S: Likewise.
9537         * sysdeps/i386/i686/memcpy.S: Likewise.
9538         * sysdeps/i386/i686/memmove.S: Likewise.
9539         * sysdeps/i386/i686/mempcpy.S: Likewise.
9540         * sysdeps/i386/i686/memset.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9542         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9545         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9547         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9549         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9550         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9551         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9552         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9555         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9558         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9559         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9560         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9561         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9562         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9563         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9564         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9565         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9566         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9567         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9568         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9569         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9570         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9571         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9572         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9574         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9575         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9577         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9578         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9579         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9580         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9581         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9583         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9584         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9585         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9586         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9587         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9588         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9589         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9590         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9591         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9592         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9593         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9594         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9595         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9596         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9597         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9598         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9599         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9600         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9601         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9602         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9603         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9604         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9605         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9606         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9607         * sysdeps/posix/closedir.c: Likewise.
9608         * sysdeps/posix/opendir.c: Likewise.
9609         * sysdeps/posix/readdir.c: Likewise.
9610         * sysdeps/posix/rewinddir.c: Likewise.
9611         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9612         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9613         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9614         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9615         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9616         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9617         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9622         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9623         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9624         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9625         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9626         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9628         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9629         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9631         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9632         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9633         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9639         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9646         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9647         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9648         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9649         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9650         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9651         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9652         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9653         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9654         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9655         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9657         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9658         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9659         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9660         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9661         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9663         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9664         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9665         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9666         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9667         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9668         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9670         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9671         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9672         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9674         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9675         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9676         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9677         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9679         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9680         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9681         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9682         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9683         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9684         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9685         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9686         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9687         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9688         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9689         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9690         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9691         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9693         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9695         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9696         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9697         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9698         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9699         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9700         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9701         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9702         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9703         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9707         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9708         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9709         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9710         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9712         * sysdeps/unix/alpha/sysdep.S: Likewise.
9713         * sysdeps/unix/alpha/sysdep.h: Likewise.
9714         * sysdeps/unix/make-syscalls.sh: Likewise.
9715         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9717         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9718         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9719         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9720         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9721         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9722         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9723         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9724         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9725         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9726         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9729         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9730         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9731         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9732         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9733         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9734         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9735         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9736         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9737         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9738         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9739         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9740         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9741         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9744         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9745         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9749         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9750         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9753         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9754         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9755         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9756         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9757         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9758         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9759         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9760         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9762         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9765         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9766         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9767         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9768         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9769         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9770         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9771         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9773         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9774         * sysdeps/x86_64/memcpy.S: Likewise.
9775         * sysdeps/x86_64/memmove.c: Likewise.
9776         * sysdeps/x86_64/memset.S: Likewise.
9777         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9778         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9779         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9780         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9781         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9782         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9783         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9784         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9785         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9786         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9787         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9788         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9789         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9790         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9791         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9792         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9793         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9794         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9795         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9796         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9797         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9798         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9799         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9800         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9801         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9802         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9803         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9804         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9805         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9806         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9807         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9808         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9809         * sysdeps/x86_64/strcmp.S: Likewise.
9811         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9813         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9814         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9815         * elf/rtld-Rules: Likewise.
9816         * elf/setup-vdso.h: Likewise.
9817         * include/assert.h: Likewise.
9818         * include/bits/stdlib-float.h: Likewise.
9819         * include/errno.h: Likewise.
9820         * include/sys/stat.h: Likewise.
9821         * include/unistd.h: Likewise.
9822         * sysdeps/aarch64/setjmp.S: Likewise.
9823         * sysdeps/alpha/setjmp.S: Likewise.
9824         * sysdeps/arm/__longjmp.S: Likewise.
9825         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9826         * sysdeps/arm/setjmp.S: Likewise.
9827         * sysdeps/arm/sysdep.h: Likewise.
9828         * sysdeps/generic/_itoa.h: Likewise.
9829         * sysdeps/generic/dl-sysdep.h: Likewise.
9830         * sysdeps/generic/ldsodefs.h: Likewise.
9831         * sysdeps/i386/dl-tls.h: Likewise.
9832         * sysdeps/i386/setjmp.S: Likewise.
9833         * sysdeps/m68k/setjmp.c: Likewise.
9834         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9835         * sysdeps/mach/hurd/opendir.c: Likewise.
9836         * sysdeps/posix/getcwd.c: Likewise.
9837         * sysdeps/posix/opendir.c: Likewise.
9838         * sysdeps/posix/profil.c: Likewise.
9839         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9840         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9841         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9842         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9843         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9844         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9845         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9846         * sysdeps/s390/dl-tls.h: Likewise.
9847         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9848         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9849         * sysdeps/sh/sh3/setjmp.S: Likewise.
9850         * sysdeps/sh/sh4/setjmp.S: Likewise.
9851         * sysdeps/unix/alpha/sysdep.h: Likewise.
9852         * sysdeps/unix/arm/sysdep.S: Likewise.
9853         * sysdeps/unix/i386/sysdep.S: Likewise.
9854         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9855         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9856         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9858         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9859         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9860         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9861         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9862         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9863         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9864         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9865         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9873         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9874         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9875         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9877         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9878         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9881         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9882         * sysdeps/x86_64/setjmp.S: Likewise.
9884         * include/math.h: Use IS_IN instead of IS_IN_libm.
9885         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9886         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9887         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9888         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9889         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9890         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9891         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9892         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9893         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9894         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9895         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9896         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9897         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9898         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9899         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9900         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9901         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9902         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9903         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9904         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9905         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9906         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9907         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9908         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9909         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9910         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9911         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9912         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9913         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9914         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9915         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9916         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9917         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9919         Likewise.
9920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9921         Likewise.
9922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9923         Likewise.
9924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9925         Likewise.
9926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9927         Likewise.
9928         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9929         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9930         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9931         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9932         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9933         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9939         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9940         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9941         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9942         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9943         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9944         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9945         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9946         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9947         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9948         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9949         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9952         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9954         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9956         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9957         * nptl/pthreadP.h: Likewise.
9958         * nptl_db/structs.def: Likewise.
9959         * sysdeps/arm/sysdep.h: Likewise.
9960         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9961         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9962         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9963         * sysdeps/unix/alpha/sysdep.h: Likewise.
9964         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9966         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9967         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9968         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9969         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9971         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9972         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9973         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9974         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9975         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9976         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9977         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9982         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9985         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9986         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9987         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9988         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9989         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9991         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9992         * nptl/pthreadP.h: Likewise.
9993         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9994         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9995         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9996         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9997         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9998         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9999         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10000         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10001         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10002         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10003         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10004         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10006         Likewise.
10007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10008         Likewise.
10009         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10011         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10014         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10015         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10016         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10018         * dlfcn/dladdr.c: Use IS_IN.
10019         * dlfcn/dladdr1.c: Likewise.
10020         * dlfcn/dlclose.c: Likewise.
10021         * dlfcn/dlerror.c: Likewise.
10022         * dlfcn/dlinfo.c: Likewise.
10023         * dlfcn/dlmopen.c: Likewise.
10024         * dlfcn/dlopen.c: Likewise.
10025         * dlfcn/dlsym.c: Likewise.
10026         * dlfcn/dlvsym.c: Likewise.
10028         * include/ifaddrs.h: Use IS_IN.
10029         * inet/check_pf.c: Likewise.
10030         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10031         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10033         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10034         IS_IN_ldconfig.
10035         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10036         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10038         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10039         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10040         IS_IN (libc).
10042         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10044         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10045         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10046         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10047         * include/libc-symbols.h (IS_IN_LIB): New macro.
10048         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10049         * include/netdb.h: Likewise.
10050         * include/stap-probe.h: Remove all uses of IN_LIB.
10052         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10053         instead of IN_MODULE.
10054         * include/libc-symbols.h (IN_MODULE): Define using
10055         MODULE_NAME.
10056         (PASTE_NAME, PASTE_NAME1): New macros.
10057         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10058         of IN_LIB.
10059         (STAP_PROBE_ASM): Likewise.
10061 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10063         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10064         __mach_init in dlopened libc.
10066 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10068         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10069         * sysdeps/arm/preconfigure: Regenerate.
10071 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10073         * nptl/pthread_create.c (__pthread_create_2_1): Set
10074         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10075         when copying values from IATTR into PD.
10077 2014-11-21  Will Newton  <will.newton@linaro.org>
10078             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10080         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10081         Refactor inline-asm.  Also add comment.
10083         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10084         ElfW macro instead of hardcoded Elf64 types.
10085         (la_aarch64_gnu_pltenter): Likewise.
10086         * sysdeps/aarch64/dl-machine.h
10087         (elf_machine_runtime_setup): Use ElfW(Addr).
10089         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10090         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10091         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10092         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10093         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10094         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10095         (R_AARCH64_TLS_DTPMOD): This.
10096         (R_AARCH64_TLS_DTPREL64): Rename to ...
10097         (R_AARCH64_TLS_DTPREL): This.
10098         (R_AARCH64_TLS_TPREL64): Rename to ...
10099         (R_AARCH64_TLS_TPREL): This.
10100         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10101         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10102         R_AARCH64_TLS_TPREL64.
10103         (elf_machine_rela): Likewise.
10105 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10107         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10108         by setting it to 0.  64b atomics are not supported currently.
10110 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10112         [BZ #16469]
10113         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10114         search domain names.
10116 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10118         [BZ #16469]
10119         * NEWS: Update.
10120         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10121         trailing dot.
10122         * posix/tst-getaddrinfo5.c: New.
10123         * posix/Makefile (tests): Add it.
10125 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10127         [BZ #14498]
10128         * NEWS: Fixed.
10129         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10130         after parsing line but before break_if_match.
10131         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10132         if there is a protocol mismatch.
10134 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10136         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10137         because the potential race is on the user-supplied stream.
10139 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10141         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10142         string literal if not passed a buffer.
10143         * manual/job.texi (ctermid): Update reasoning, note deviation
10144         from posix, suggest mtasurace when not passed a buffer, for
10145         future non-preliminary safety notes.
10147 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10149         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10150         of not passing it a buffer.
10151         Reported by Peng Haitao.
10153 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10155         * manual/Makefile ($(objpfx)stamp-summary): Require
10156         check-safety.sh to pass.
10157         * manual/check-safety.sh: Wish for verification that every
10158         @deftypefn and @deftypefun is followed by a @safety remark.
10160 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10162         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10164         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10165         PTHREAD_CANCEL_ASYNCHRONOUS.
10166         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10167         send SIGCANCEL.
10169         * nptl/default-sched.h: New file.
10170         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10171         * nptl/pthread_create.c: Include it.
10172         (__pthread_create_2_1): Use collect_default_sched instead of making
10173         Linux syscalls here directly.
10175 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10177         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10178         __pthread_once): Use C11 atomics.
10180 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10182         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10184 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10186         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10187         atomic_thread_fence_acquire, atomic_thread_fence_release,
10188         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10189         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10190         atomic_compare_exchange_weak_relaxed,
10191         atomic_compare_exchange_weak_acquire,
10192         atomic_compare_exchange_weak_release,
10193         atomic_exchange_acquire, atomic_exchange_release,
10194         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10195         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10196         atomic_fetch_and_acquire,
10197         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10199 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10201         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10202         USE_ATOMIC_COMPILER_BUILTINS): Define.
10203         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10205         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10207         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10209         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10211         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10213         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10215         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10217         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10219         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10221         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10223         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10225         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10227         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10229         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10231         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10233         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10235         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10237         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10238         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10239         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10241         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10244 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10246         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10247         the sched_priority value here.  It was already checked when the user
10248         called pthread_attr_setschedparam.
10250         * nptl/tst-bad-schedattr.c: New file.
10251         * nptl/Makefile (tests): Add it.
10253 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10254             Florian Weimer  <fweimer@redhat.com>
10255             Joseph Myers  <joseph@codesourcery.com>
10256             Adam Conrad  <adconrad@0c3.net>
10257             Andreas Schwab  <schwab@suse.de>
10258             Brooks  <bmoses@google.com>
10260         [BZ #17625]
10261         * wordexp-test.c (__dso_handle): Add prototype.
10262         (__register_atfork): Likewise.
10263         (__app_register_atfork): New function.
10264         (registered_forks): New global.
10265         (register_fork): New function.
10266         (test_case): Add 3 new tests for WRDE_CMDSUB.
10267         (main): Call __app_register_atfork.
10268         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10269         fork count is non-zero fail the test.
10270         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10271         is set.
10272         (parse_dollars): Remove check for WRDE_NOCMD.
10273         (parse_dquote): Likewise.
10275 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10277         * Makeconfig (built-modules): List non-library modules to be
10278         built.
10279         (module-cppflags): Include libc-modules.h for
10280         everything except shlib-versions.v.i.
10281         (CPPFLAGS): Use it.
10282         (before-compile): Add libc-modules.h.
10283         ($(common-objpfx)libc-modules.h,
10284         $(common-objpfx)libc-modules.stmp): New targets.
10285         (common-generated): Add libc-modules.h and libc-modules.stmp.
10286         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10287         * include/libc-symbols.h: Don't include libc-modules.h.
10288         * include/libc-modules.h: Remove file.
10289         * scripts/gen-libc-modules.awk: New script to generate
10290         libc-modules.h.
10291         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10292         Depend on libc-modules.stmp.
10294         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10296         * Makeconfig (in-module): Get value of libof set for the
10297         translation unit.
10298         (CPPFLAGS): Use $(in-module).
10299         * Makerules: Don't suffix routine names for nonlib.
10300         * include/libc-modules.h: New file.
10301         * include/libc-symbols.h: Include libc-modules.h
10302         (IS_IN): New macro to replace IS_IN_* macros.
10303         * elf/Makefile: Set libof-* for each routine.
10304         * elf/rtld-Rules: Likewise.
10305         * extra-modules.mk: Likewise.
10306         * iconv/Makefile: Likewise.
10307         * iconvdata/Makefile: Likewise.
10308         * locale/Makefile: Likewise.
10309         * malloc/Makefile: Likewise.
10310         * nss/Makefile: Likewise.
10311         * sysdeps/gnu/Makefile: Likewise.
10312         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10313         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10314         * sysdeps/s390/s390-64/Makefile: Likewise.
10315         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10316         CPPFLAGS for nscd instead of nonlib.
10318 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10320         * nptl/createthread.c: New file.
10322         * nptl/createthread.c: Moved ...
10323         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10325         * nptl/createthread.c: Add proper top-line comment.
10326         (do_clone): Folded into ...
10327         (create_thread): ... here.  Take new arguments STOPPED_START and
10328         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10329         increment __nptl_threads, do event-reporting logic, do
10330         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10331         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10332         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10333         just send SIGCANCEL.
10334         * nptl/pthread_create.c: Forward-declare create_thread before
10335         including createthread.c.
10336         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10337         declaration, and new macro START_THREAD_SELF to replace argument.
10338         Remove return statement.
10339         (report_thread_creation): New function.
10340         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10341         synchronization logic, and __nptl_nthreads increment here, around
10342         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10343         PD->parent_cancelhandling here, before create_thread.  When
10344         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10345         __deallocate_stack, and ENOMEM translation here.
10347 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10349         [BZ #17616]
10350         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10351         (mptwo): Rename to __mptwo.
10352         (__inv): Use __mptwo instead of mptwo.
10353         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10354         (mptwo): Rename to __mptwo.
10355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10356         of mpone and __mptwo instead of mptwo.
10357         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10358         instead of mpone.
10359         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10360         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10361         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10362         of mpone and __mptwo instead of mptwo.
10363         (__mpranred): Use __mpone instead of mpone.
10364         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10365         variable.
10366         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10367         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10368         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10369         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10370         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10371         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10372         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10373         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10374         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10375         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10376         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10377         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10378         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10379         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10380         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10381         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10382         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10383         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10384         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10386 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10388         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10389         replace BSD Handler xref with BSD Signal Handling.
10391 2014-11-17  Richard Henderson  <rth@redhat.com>
10393         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10394         (_FP_PACK_RAW_2): Remove.
10395         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10396         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10397         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10398         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10399         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10400         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10401         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10402         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10403         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10404         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10405         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10406         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10407         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10408         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10409         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10410         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10412 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10414         * signal/signal.h [__USE_MISC]
10415         (struct sigvec): Remove type.
10416         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10417         (sigvec): Remove declaration.
10418         * sysdeps/posix/sigvec.c: Moved ...
10419         * signal/sigvec.c: ... here, replacing old file.
10420         (struct sigvec): New type, copied from old signal.h definition.
10421         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10422         (__sigvec): Convert definition to prototype.
10423         (sigvec): Replace weak_alias with compat_symbol.
10424         * signal/Versions (libc: GLIBC_2.21): New version set.
10425         * include/signal.h: Remove __sigvec declaration.
10426         * sysdeps/unix/bsd/sigvec.c: Remove file.
10427         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10428         * manual/signal.texi (BSD Handler): Remove subsection.
10429         Move siginterrupt up to ...
10430         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10431         (Blocking in BSD): Fold subsection into its parent.
10432         * NEWS: Mention sigvec removal.
10434 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10436         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10437         (DLA_FMS): Make definition conditional only on [__FMA4__].
10438         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10439         definition.
10441         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10442         Make definition conditional only on [PROF].
10443         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10444         definition.
10445         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10446         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10448         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10449         !__GNUC__].
10450         * include/signal.h (__sigpause): Move declaration above call to
10451         libc_hidden_proto.
10452         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10453         variable.
10454         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10455         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10457 2014-11-14  David S. Miller  <davem@davemloft.net>
10459         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10460         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10462 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10464         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10465         * configure: Regenerated.
10466         * manual/install.texi (Tools for Compilation): Document a
10467         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10468         compiler verified to work.
10469         * INSTALL: Regenerated.
10471         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10472         redeclare with asm name.
10473         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10474         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10475         including <string.h>.
10476         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10477         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10478         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10479         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10480         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10482         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10484 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10486         * stdlib/strtol.c (__strtol): Use prototype definition.
10488         [BZ #17594]
10489         * stdlib/strtol.c (SYM__): New macro.
10490         (SYM__1): Likewise.
10491         (__strtol): Likewise.
10492         (strtol): Rename to __strtol and define as weak alias of
10493         __strtol.  Use libc_hidden_weak.
10495 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10497         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10498         Use numbered labels in inline assembly.
10500 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10502         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10503         Add setjmp LIBC_PROBE.
10504         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10505         Likewise.
10506         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10507         Add longjmp, longjmp_target LIBC_PROBE.
10508         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10509         Likewise.
10511 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10513         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10514         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10515         to get rid of unused variable warning.
10517 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10519         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10520         Check for unwind_backtrace ==  NULL only in SHARED case.
10521         (__backchain_backtrace): Compile only in SHARED case.
10522         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10523         Likewise.
10524         (__backchain_backtrace): Declare as static.
10526 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10528         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10529         (__libc_multiple_threads_ptr): Variable moved ...
10530         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10532 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10534         * conform/GlibcConform.pm: New file.
10535         * conform/conformtest.pl: Use GlibcConform module.
10536         * conform/linknamespace.pl: New file.
10537         * conform/list-header-symbols.pl: Likewise.
10538         * conform/Makefile (linknamespace-symlists-base): New variable.
10539         (linknamespace-symlists-tests): Likewise.
10540         (linknamespace-header-base): Likewise.
10541         (linknamespace-header-tests): Likewise.
10542         (tests-special): Add new tests.
10543         ($(linknamespace-symlists-tests)): New rule.
10544         (linknamespace-libs): New variable.
10545         ($(objpfx)symlist-stdlibs): New rule.
10546         ($(linknamespace-header-tests)): Likewise.
10547         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10548         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10549         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10550         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10551         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10552         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10553         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10554         (test-xfail-ISO/math.h/linknamespace): Likewise.
10555         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10556         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10557         (test-xfail-ISO/time.h/linknamespace): Likewise.
10558         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10559         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10560         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10561         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10562         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10563         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10564         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10565         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10566         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10567         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10568         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10569         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10570         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10571         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10572         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10573         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10574         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10575         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10576         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10577         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10578         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10579         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10580         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10581         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10582         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10583         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10584         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10585         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10586         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10587         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10588         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10589         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10590         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10591         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10592         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10593         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10594         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10595         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10596         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10597         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10598         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10599         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10600         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10601         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10602         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10603         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10604         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10605         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10606         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10607         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10608         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10609         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10610         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10611         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10612         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10613         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10614         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10615         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10616         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10617         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10618         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10619         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10620         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10621         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10622         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10623         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10624         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10625         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10626         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10627         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10628         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10629         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10630         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10631         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10632         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10633         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10634         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10635         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10636         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10637         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10638         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10639         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10640         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10642         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10643         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10644         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10645         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10648         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10649         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10653         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10654         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10655         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10656         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10657         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10658         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10659         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10660         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10661         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10662         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10663         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10664         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10665         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10666         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10667         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10668         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10669         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10670         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10671         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10672         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10673         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10674         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10675         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10676         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10677         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10678         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10679         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10680         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10681         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10682         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10683         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10684         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10685         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10686         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10687         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10688         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10689         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10690         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10691         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10692         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10693         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10694         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10695         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10696         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10697         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10698         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10699         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10700         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10701         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10702         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10703         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10704         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10705         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10706         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10707         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10709         [BZ #17589]
10710         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10711         of fgets_unlocked.
10713         [BZ #17585]
10714         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10715         (memmem): Rename to __memmem and define as weak alias of
10716         __memmem.  Use libc_hidden_weak.
10717         (__memmem): Use libc_hidden_def.
10718         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10719         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10720         memmem.
10722         [BZ #17582]
10723         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10724         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10725         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10726         and define as weak alias of __fgets_unlocked.  Use
10727         libc_hidden_weak.
10728         (__fgets_unlocked): Use libc_hidden_def.
10729         * include/stdio.h (__fgets_unlocked): Declare.  Use
10730         libc_hidden_proto.
10731         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10732         __fgets_unlocked instead of fgets_unlocked.
10733         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10734         (GET_NPROCS_CONF_PARSER): Likewise.
10735         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10736         (GET_NPROCS_CONF_PARSER): Likewise.
10738         [BZ #17574]
10739         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10740         weak alias of __wmemset.  Use libc_hidden_weak.
10741         (__wmemset): Use libc_hidden_def.
10742         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10743         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10744         of wmemset.
10746         [BZ #17573]
10747         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10748         with asm name __mempcpy.
10749         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10751         [BZ #17572]
10752         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10753         and define as weak alias of __rawmemchr.
10754         (__rawmemchr): Do not define as strong alias of rawmemchr.
10756         [BZ #17571]
10757         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10758         alias of __qsort_r.
10759         (qsort): Call __qsort_r instead of qsort_r.
10760         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10761         (__qsort_r): Declare.  Call libc_hidden_proto.
10762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10763         instead of qsort_r.
10764         * nscd/gai.c (__qsort_r): Define to qsort_r.
10765         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10766         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10767         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10769         [BZ #17570]
10770         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10771         define as weak alias of __malloc_info.
10773         [BZ #17584]
10774         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10775         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10776         (__rewinddir): Use libc_hidden_def.
10777         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10778         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10779         (__rewinddir): Use libc_hidden_def.
10780         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10781         weak alias of __rewinddir.  Don't use libc_hidden_def.
10782         (__rewinddir): Use libc_hidden_def.
10783         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10784         (__rewinddir): Use libc_hidden_proto.
10785         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10786         rewinddir.
10787         (__getcwd): Use __rewinddir instead of rewinddir.
10789         [BZ #17583]
10790         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10791         alias of __fileno.  Use libc_hidden_weak.
10792         (__fileno): Use libc_hidden_def.
10793         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10794         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10795         alias of __ftello.
10796         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10797         __ftello.
10798         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10799         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10800         libc_hidden_def.
10801         (fread_unlocked): Don't use libc_hidden_ver.
10802         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10803         and define as weak alias of __fread_unlocked.  Don't use
10804         libc_hidden_def.
10805         (__fread_unlocked): Use libc_hidden_def.
10806         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10807         (ftello): Don't use libc_hidden_proto.
10808         (__ftello): Declare.  Use libc_hidden_proto.
10809         (fread_unlocked): Don't use libc_hidden_proto.
10810         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10811         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10812         and __ftello instead of fileno, fread_unlocked and ftello.
10814 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10816         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10817         GOT12.
10818         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10819         Likewise.
10820         (_dl_start_user): Likewise.
10821         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10823 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10824             Siddhesh Poyarekar  <siddhesh@redhat.com>
10826         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10827         Move argv and envp down instead of moving argc up.
10828         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10830 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10832         [BZ #17506]
10833         * test-skeleton.c (main): Return successful if one of
10834         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10835         * string/tst-strcoll-overflow.c: Define expected status.
10837 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10839         [BZ #17475]
10840         * locale/iso-639.def: Define Bhili and Tulu language codes.
10842 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10844         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10846 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10848         [BZ #17555]
10849         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10851 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10853         * configure.ac: Updated check of minimal required version to
10854         2.22.
10855         * manual/install.texi (Tools for Compilation): Updated version
10856         number.
10857         * configure: Regenerated.
10858         * INSTALL: Likewise.
10860 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10862         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10863         __tls_get_addr.
10865 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10867         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10868         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10869         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10870         libc_hidden_weak.
10871         (waitpid): Define as alias of __waitpid.
10872         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10873         __waitpid.
10874         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10875         libc_hidden_weak.
10876         (waitpid): Define as alias of __waitpid.
10877         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10878         __libc_waitpid alias.
10879         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10880         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10881         Likewise.
10882         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10883         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10884         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10885         alias.
10886         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10887         __waitpid.
10888         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10889         libc_hidden_weak.
10890         (waitpid): Define as alias of __waitpid.
10892 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10894         * manual/llio.texi: Add comment that write safety has been
10895         fixed in Linux.
10897         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10898         (localplt-build-dso): Add elf/ld.so.
10899         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10900         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10901         and free for ld.so.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10903         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10907         Likewise.
10908         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10909         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10910         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10911         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10912         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10913         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10914         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10915         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10916         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10917         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10918         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10920 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #14132]
10923         * include/libc-symbols.h (INTUSE): Remove macro.
10924         (INTDEF): Likewise.
10925         (INTVARDEF): Likewise.
10926         (_INTVARDEF): Likewise.
10927         (INTDEF2): Likewise.
10928         (INTVARDEF2): Likewise.
10929         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10930         rtld_hidden_def instead of INTVARDEF.
10931         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10932         (_dl_starting_up_internal): Remove declaration.
10933         (_dl_starting_up): Use rtld_hidden_proto.
10934         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10935         declaration.
10936         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10937         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10938         _dl_starting_up.
10939         * elf/dl-writev.h (_dl_writev): Likewise.
10940         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10941         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10942         _dl_starting_up_internal.
10944 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10946         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10947         test-skeleton.c.
10949 2014-11-05  Will Newton  <will.newton@linaro.org>
10951         * benchtests/Makefile: (bench-malloc): Add malloc thread
10952         scalability benchmark.
10953         * benchtests/bench-malloc-threads.c: New file.
10955 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10957         * sysdeps/aarch64/strchrnul.S: New file.
10959 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10961         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10962         definition.
10963         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10964         Likwise.
10965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10966         Likewise.
10967         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10968         Likewise.
10969         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10970         Likewise.
10971         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10972         Likewise.
10974 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10976         * catgets/test-gencat.c: Use test-skeleton.c.
10977         * catgets/tst-catgets.c: Likewise.
10978         * csu/tst-empty.c: Likewise.
10979         * elf/tst-audit2.c: Likewise.
10980         * elf/tst-global1.c: Likewise.
10981         * elf/tst-pathopt.c: Likewise.
10982         * elf/tst-piemod1.c: Likewise.
10983         * elf/tst-tls10.c: Likewise.
10984         * elf/tst-tls11.c: Likewise.
10985         * elf/tst-tls12.c: Likewise.
10986         * gnulib/tst-gcc.c: Likewise.
10987         * iconvdata/tst-e2big.c: Likewise.
10988         * iconvdata/tst-loading.c: Likewise.
10989         * iconv/tst-iconv1.c: Likewise.
10990         * iconv/tst-iconv2.c: Likewise.
10991         * inet/test-inet6_opt.c: Likewise.
10992         * inet/tst-gethnm.c: Likewise.
10993         * inet/tst-network.c: Likewise.
10994         * inet/tst-ntoa.c: Likewise.
10995         * intl/tst-codeset.c: Likewise.
10996         * intl/tst-gettext2.c: Likewise.
10997         * intl/tst-gettext3.c: Likewise.
10998         * intl/tst-ngettext.c: Likewise.
10999         * intl/tst-translit.c: Likewise.
11000         * io/test-stat.c: Likewise.
11001         * libio/test-fmemopen.c: Likewise.
11002         * libio/tst-freopen.c: Likewise.
11003         * libio/tst-sscanf.c: Likewise.
11004         * libio/tst-ungetwc1.c: Likewise.
11005         * libio/tst-ungetwc2.c: Likewise.
11006         * libio/tst-widetext.c: Likewise.
11007         * localedata/tst-ctype.c: Likewise.
11008         * localedata/tst-digits.c: Likewise.
11009         * localedata/tst-leaks.c: Likewise.
11010         * localedata/tst-mbswcs1.c: Likewise.
11011         * localedata/tst-mbswcs2.c: Likewise.
11012         * localedata/tst-mbswcs3.c: Likewise.
11013         * localedata/tst-mbswcs4.c: Likewise.
11014         * localedata/tst-mbswcs5.c: Likewise.
11015         * localedata/tst-setlocale.c: Likewise.
11016         * localedata/tst-trans.c: Likewise.
11017         * localedata/tst-wctype.c: Likewise.
11018         * localedata/tst-xlocale1.c: Likewise.
11019         * login/tst-grantpt.c: Likewise.
11020         * malloc/tst-calloc.c: Likewise.
11021         * malloc/tst-malloc.c: Likewise.
11022         * malloc/tst-mallocstate.c: Likewise.
11023         * malloc/tst-mcheck.c: Likewise.
11024         * malloc/tst-mtrace.c: Likewise.
11025         * malloc/tst-obstack.c: Likewise.
11026         * math/atest-exp2.c: Likewise.
11027         * math/atest-exp.c: Likewise.
11028         * math/atest-sincos.c: Likewise.
11029         * math/test-matherr.c: Likewise.
11030         * math/test-misc.c: Likewise.
11031         * math/test-powl.c: Likewise.
11032         * math/tst-definitions.c: Likewise.
11033         * misc/tst-dirname.c: Likewise.
11034         * misc/tst-efgcvt.c: Likewise.
11035         * misc/tst-fdset.c: Likewise.
11036         * misc/tst-hsearch.c: Likewise.
11037         * misc/tst-mntent2.c: Likewise.
11038         * nptl/tst-sem7.c: Likewise.
11039         * nptl/tst-sem8.c: Likewise.
11040         * nptl/tst-sem9.c: Likewise.
11041         * nss/test-netdb.c: Likewise.
11042         * posix/tst-fnmatch.c: Likewise.
11043         * posix/tst-getlogin.c: Likewise.
11044         * posix/tst-gnuglob.c: Likewise.
11045         * posix/tst-mmap.c: Likewise.
11046         * pwd/tst-getpw.c: Likewise.
11047         * resolv/tst-inet_ntop.c: Likewise.
11048         * rt/tst-timer.c: Likewise.
11049         * stdio-common/test-fseek.c: Likewise.
11050         * stdio-common/test-popen.c: Likewise.
11051         * stdio-common/test-vfprintf.c: Likewise.
11052         * stdio-common/tst-cookie.c: Likewise.
11053         * stdio-common/tst-fileno.c: Likewise.
11054         * stdio-common/tst-gets.c: Likewise.
11055         * stdio-common/tst-obprintf.c: Likewise.
11056         * stdio-common/tst-perror.c: Likewise.
11057         * stdio-common/tst-sprintf2.c: Likewise.
11058         * stdio-common/tst-sprintf3.c: Likewise.
11059         * stdio-common/tst-sprintf.c: Likewise.
11060         * stdio-common/tst-swprintf.c: Likewise.
11061         * stdio-common/tst-tmpnam.c: Likewise.
11062         * stdio-common/tst-unbputc.c: Likewise.
11063         * stdio-common/tst-wc-printf.c: Likewise.
11064         * stdlib/tst-environ.c: Likewise.
11065         * stdlib/tst-fmtmsg.c: Likewise.
11066         * stdlib/tst-limits.c: Likewise.
11067         * stdlib/tst-rand48-2.c: Likewise.
11068         * stdlib/tst-rand48.c: Likewise.
11069         * stdlib/tst-random2.c: Likewise.
11070         * stdlib/tst-random.c: Likewise.
11071         * stdlib/tst-strtol.c: Likewise.
11072         * stdlib/tst-strtoll.c: Likewise.
11073         * stdlib/tst-tls-atexit.c: Likewise.
11074         * stdlib/tst-xpg-basename.c: Likewise.
11075         * string/test-ffs.c: Likewise.
11076         * string/tst-bswap.c: Likewise.
11077         * string/tst-inlcall.c: Likewise.
11078         * string/tst-strtok.c: Likewise.
11079         * string/tst-strxfrm.c: Likewise.
11080         * sysdeps/x86_64/tst-audit10.c: Likewise.
11081         * sysdeps/x86_64/tst-audit3.c: Likewise.
11082         * sysdeps/x86_64/tst-audit4.c: Likewise.
11083         * sysdeps/x86_64/tst-audit5.c: Likewise.
11084         * time/tst-ftime_l.c: Likewise.
11085         * time/tst-getdate.c: Likewise.
11086         * time/tst-mktime3.c: Likewise.
11087         * time/tst-mktime.c: Likewise.
11088         * time/tst-posixtz.c: Likewise.
11089         * time/tst-strptime2.c: Likewise.
11090         * time/tst-strptime3.c: Likewise.
11091         * wcsmbs/tst-btowc.c: Likewise.
11092         * wcsmbs/tst-mbrtowc.c: Likewise.
11093         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11094         * wcsmbs/tst-wchar-h.c: Likewise.
11095         * wcsmbs/tst-wcpncpy.c: Likewise.
11096         * wcsmbs/tst-wcrtomb.c: Likewise.
11097         * wcsmbs/tst-wcsnlen.c: Likewise.
11098         * wcsmbs/tst-wcstof.c: Likewise.
11100 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11102         [BZ #14132]
11103         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11104         INTDEF.
11105         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11106         declaration.
11107         (_dl_mcount): Use rtld_hidden_proto.
11108         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11109         _dl_mcount.
11110         * elf/rtld.c (_rtld_global_ro): Likewise.
11112         [BZ #14132]
11113         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11114         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11115         of _dl_init_internal.
11116         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11117         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11118         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11119         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11120         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11121         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11122         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11123         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11124         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11125         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11126         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11127         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11128         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11129         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11130         * sysdeps/tile/dl-start.S (_start): Likewise.
11131         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11132         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11134         [BZ #14132]
11135         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11136         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11137         (rtld_progname): Make macro definition unconditional.
11138         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11139         INTDEF.
11140         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11141         (dl_main): Likewise.
11142         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11143         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11144         instead of _dl_argv_internal.
11145         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11146         __GI__dl_argv instead of INTUSE(_dl_argv).
11147         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11148         __GI__dl_argv instead of _dl_argv_internal.
11150         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11151         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11152         macro.
11153         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11154         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11155         New macro.
11156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11157         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11158         macro.
11159         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11160         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11162 2014-11-04  Andreas Schwab  <schwab@suse.de>
11164         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11166 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11168         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11169         mtvsrd instruction in binary form.
11171 2014-11-03  Andreas Schwab  <schwab@suse.de>
11173         [BZ #17522]
11174         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11175         for less than MB_LEN_MAX use a local buffer of that size.
11176         * libio/tst-fputws.c: New file.
11177         * libio/Makefile (tests): Add tst-fputws.
11179 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11181         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11182         the size of the fpu_fr.fpu_dregs[] array.
11184 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11186         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11187         (__nanosleep): Do not define as alias.
11188         (nanosleep): Define as alias of __nanosleep.
11189         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11190         __libc_nanosleep name.
11192 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11194         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11195         install.texi in comment.
11197 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11199         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11200         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11201         ... add here and use lwsync or sync ...
11202         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11203         ... and add here using lwsync.
11205 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11207         * elf/dl-machine-reject-phdr.h: New file.
11208         * elf/dl-load.c: #include that.
11209         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11210         if that returned true.
11212 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11214         [BZ #17496]
11215         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11216         gen-as-const-headers chunk.  Add a big scare comment after the last
11217         safe place to touch before-compile.
11219 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11221         * manual/install.texi (Tools for Compilation): Update autoconf
11222         version requirements.
11223         * INSTALL: Regenerated.
11225         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11226         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11227         (__libc_pselect): Likewise.
11229         [BZ #14138]
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11235 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11237         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11238         correct barrier instruction.
11239         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11240         Likewise.
11241         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11242         Likewise.
11244 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11246         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11247         after defining inlines.  Instead, just use parens to defeat macro
11248         expansion of __isctype in its declaration.
11250 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11252         * include/sys/uio.h (__libc_readv): Remove declaration.
11253         (__libc_writev): Likewise.
11254         * misc/readv.c (__libc_readv): Rename to __readv.
11255         (__readv): Do not define as alias.
11256         (readv): Define as alias of __readv.
11257         * misc/writev.c (__libc_writev): Rename to __writev.
11258         (__writev): Do not define as alias.
11259         (writev): Define as alias of __writev.
11260         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11261         (__readv): Do not define as alias.
11262         (readv): Define unconditionally as alias of __readv.
11263         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11264         (__writev): Do not define as alias.
11265         (writev): Define unconditionally as alias of __writev.
11266         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11267         name.
11268         (writev): Do not define __libc_writev name.
11270 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11272         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11273         (convert_charseq): New function, broken out of ...
11274         (use_from_charmap): ... here.  Call it.
11275         (use_to_charmap): Use convert_charseq and free instead of duplicating
11276         its code with a variable-length stack struct.
11278 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11280         * include/fcntl.h (__libc_creat): Remove declaration.
11281         * io/creat.c (__libc_creat): Rename to creat.
11282         (creat): Do not define as alias.
11283         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11284         of creat instead of __libc_creat.
11285         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11286         to creat.
11287         (creat): Do not define as alias.
11288         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11289         __libc_creat.
11290         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11291         __libc_creat name.
11292         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11293         Likewise.
11295 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11297         * manual/llio.texi: Add comments discussing why write() may be
11298         considered MT-unsafe on Linux.
11300 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11302         * dl-load.c (local_strdup): Remove.
11303         (expand_dynamic_string_token): Use __strdup.
11304         (decompose_rpath): Likewise.
11305         (_dl_map_object): Likewise.
11307 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11309         [BZ #14132]
11310         * sysdeps/generic/unwind-dw2-fde.c
11311         (__register_frame_info_bases_internal): Do not declare.
11312         (__register_frame_info_table_bases_internal): Likewise.
11313         (__deregister_frame_info_bases_internal): Likewise.
11314         (__register_frame_info_bases): Declare and use hidden_proto before
11315         definition.  Use hidden_def instead of INTDEF.
11316         (__register_frame_info_table_bases): Likewise.
11317         (__deregister_frame_info_bases): Likewise.
11318         (__register_frame_info): Do not use INTUSE.
11319         (__register_frame): Likewise.
11320         (__register_frame_info_table): Likewise.
11321         (__register_frame_table): Likewise.
11322         (__deregister_frame_info): Likewise.
11323         (__deregister_frame): Likewise.
11325 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11328         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11329         not undefine.
11330         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11331         Likewise.
11332         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11333         Likewise.
11335 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11337         [BZ #14138]
11338         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11339         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11340         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11341         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11342         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11343         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11344         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11345         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11346         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11347         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11348         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11349         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11350         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11351         syscall.
11352         (setfsuid): Likewise.
11353         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11354         (setfsuid): Likewise.
11355         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11356         (setfsuid): Likewise.
11357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11358         Likewise.
11359         (setfsuid): Likewise.
11360         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11361         (setfsuid): Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11363         Likewise.
11364         (setfsuid): Likewise.
11366 2014-10-27  Andreas Schwab  <schwab@suse.de>
11368         [BZ #17501]
11369         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11370         check for Slow_SSE4_2 feature bit.
11371         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11372         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11373         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11374         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11376 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11378         * configure.ac: Validate compiler version with a empirical test of
11379         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11380         $CC -v output.
11381         * configure: Regenerated.
11383         * inet/htons.c (htons): Prototypify.
11384         * inet/htonl.c (htonl): Likewise.
11386 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11388         * string/strncat.c (strncat): Improve performance by using strlen.
11390 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11392         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11394 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11396         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11397         Call libc_fetestexcept_aarch64.
11399 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11401         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11402         Call libc_feholdexcept_aarch64.
11404 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11406         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11407         Call get_rounding_mode.
11409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11411         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11412         Simplify logic.
11414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11416         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11417         Simplify logic.
11419 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11421         [BZ #14138]
11422         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11423         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11424         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11425         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11426         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11427         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11428         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11429         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11430         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11431         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11432         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11433         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11434         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11435         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11436         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11437         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11438         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11439         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11440         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11441         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11442         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11443         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11444         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11445         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11446         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11447         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11448         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11449         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11450         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11451         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11452         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11453         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11454         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11455         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11456         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11457         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11458         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11459         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11460         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11461         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11462         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11463         syscall.
11464         (geteuid): Likewise.
11465         (getgid): Likewise.
11466         (getuid): Likewise.
11467         (getresgid): Likewise.
11468         (getresuid): Likewise.
11469         (getgroups): Likewise.
11470         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11471         (geteuid): Likewise.
11472         (getgid): Likewise.
11473         (getuid): Likewise.
11474         (getresgid): Likewise.
11475         (getresuid): Likewise.
11476         (getgroups): Likewise.
11477         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11478         (geteuid): Likewise.
11479         (getgid): Likewise.
11480         (getuid): Likewise.
11481         (getresgid): Likewise.
11482         (getresuid): Likewise.
11483         (getgroups): Likewise.
11484         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11485         Likewise.
11486         (geteuid): Likewise.
11487         (getgid): Likewise.
11488         (getuid): Likewise.
11489         (getresgid): Likewise.
11490         (getresuid): Likewise.
11491         (getgroups): Likewise.
11492         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11493         (geteuid): Likewise.
11494         (getgid): Likewise.
11495         (getuid): Likewise.
11496         (getresgid): Likewise.
11497         (getresuid): Likewise.
11498         (getgroups): Likewise.
11499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11500         Likewise.
11501         (geteuid): Likewise.
11502         (getgid): Likewise.
11503         (getuid): Likewise.
11504         (getgroups): Likewise.
11506         [BZ #14138]
11507         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11508         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11509         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11510         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11511         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11512         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11513         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11514         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11515         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11516         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11517         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11518         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11520         __chown.
11521         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11522         (lchown): Likewise.
11523         (fchown): Likewise.
11524         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11525         Likewise.
11526         (lchown): Likewise.
11527         (fchown): Likewise.
11528         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11529         (lchown): Likewise.
11530         (fchown): Likewise.
11531         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11532         Likewise.
11533         (lchown): Likewise.
11534         (fchown): Likewise.
11536 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11538         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11539         Simplify logic.
11541 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11543         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11544         Cleanup logic.
11546 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11548         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11549         Remove unused include.
11551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11553         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11554         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11555         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11556         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11558 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11559             Helge Deller <deller@gmx.de>
11561         [BZ #17508]
11562         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11563         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11564         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11566 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11568         [BZ #14132]
11569         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11570         Remove macro definition.
11571         (__ashrdi3_v_glibc20): Likewise.
11572         (__lshrdi3_v_glibc20): Likewise.
11573         (__cmpdi2_v_glibc20): Likewise.
11574         (__ucmpdi2_v_glibc20): Likewise.
11575         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11576         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11577         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11578         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11579         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11580         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11582 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11584         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11585         old GNU extension [0] syntax.
11586         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11587         alloca rather than an array member with variable length.
11588         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11589         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11590         (parse_opt): ... here.  Likewise use alloca there.
11591         Validate the -i argument before checking for rootness.
11592         (send_shutdown): New function, broken out of ...
11593         (parse_opt): ... here.
11595 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11597         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11598         macro to get at the _rt_local_ro field.
11599         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11600         ([PIC] case) or _dl_hwcap ([!PIC] case).
11601         * sysdeps/arm/setjmp.S: Likewise.
11603         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11604         * sysdeps/arm/configure.ac: New check to define it.
11605         * sysdeps/arm/configure: Regenerated.
11606         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11607         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11608         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11609         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11610         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11611         Use move/movt pair instead of a load.
11612         (LDST_GLOBAL): Macro removed.
11613         (LDR_GLOBAL): New macro replaces it.
11614         (LDR_HIDDEN): New macro.
11615         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11616         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11618         * setjmp/tst-setjmp-static.c: New file.
11619         * setjmp/Makefile (tests): Add it.
11620         (tests-static): New variable.
11622 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11624         [BZ #17485]
11625         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11627 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #14132]
11630         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11632 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11634         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11636 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11638         * io/fts.c (dirent_not_directory): New function.
11639         (fts_build): Call it.
11641 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11643         * nptl/version.c (__nptl_main): Use normal __write rather than
11644         INTERNAL_SYSCALL.
11645         (banner): Update copyright years.
11647         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11648         gettimeofday.
11649         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11650         * nptl/pthread_cond_timedwait.c: Likewise.
11651         * nptl/pthread_mutex_timedlock.c: Likewise.
11652         * nptl/sem_timedwait.c: Likewise.
11654         * sysdeps/nptl/bits/libc-lock.h
11655         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11656         (__libc_lock_init_recursive): Return void, not 0.
11657         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11658         (__libc_rwlock_init): Likewise.
11659         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11661 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11663         [BZ #15215]
11664         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11665         (__pthread_once_slow): ... here.
11666         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11667         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11669 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11671         [BZ #15215]
11672         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11673         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11674         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11675         * nptl/pthread_once.c (__pthread_once): Likewise.
11676         Update comments.
11678 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11680         [BZ #14138]
11681         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11682         name.
11683         (writev): Use __libc_writev as strong name.
11684         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11685         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11687 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11689         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11691         * sysdeps/i386/nptl/tls.h
11692         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11693         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11694         New macros.
11695         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11696         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11697         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11698         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11699         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11700         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11702         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11703         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11704         on [__NR_futex].
11705         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11706         broken out of ...
11707         (__pthread_mutex_init): ... here.  Call it.
11708         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11709         Conditionalize PI cases on [__NR_futex].
11710         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11711         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11712         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11714         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11715         conditional on [SIGSETXID].
11716         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11717         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11718         is defined.  Likewise for SIGSETXID.
11719         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11720         Conditionalize definitions on [SIGSETXID].
11721         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11722         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11723         unblocking on [SIGCANCEL].
11725         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11726         [__NR_set_robust_list].
11728 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11730         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11731         (do_compare): Likewise.
11733 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11735         [BZ #15884]
11736         * string/strcoll_l.c: Don't include stdio.h.
11737         (coll_seq): Remove members idxarr and rulearr.
11738         (get_next_seq_cached): Remove function.
11739         (get_next_seq): Likewise.
11740         (get_next_seq_nocache): Rename to get_next_seq.
11741         (do_compare): Remove function.
11742         (do_compare_nocache): Rename to do_compare.
11743         (STRCOLL): Remove weight and rules cache.
11745 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11747         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11748         * sysdeps/arm/sfp-machine.h: ... to here.
11749         * sysdeps/arm/Implies: Remove arm/soft-fp.
11751 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11753         * conform/data/sys/utsname.h-data (*_t): Allow.
11754         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11755         [POSIX] (WEXITED): Do not expect constant.
11756         [POSIX] (WSTOPPED): Likewise.
11757         [POSIX] (WNOHANG): Likewise.
11758         [POSIX] (WNOWAIT): Likewise.
11759         [POSIX] (siginfo_t): Do not expect type or elements.
11760         [POSIX] (pid_t): Do not expect type.
11761         [POSIX] (signal.h): Do not allow header.
11762         [POSIX] (sys/resource.h): Likewise.
11763         [POSIX] (si_*): Do not allow pattern.
11764         [POSIX] (W*): Likewise.
11765         [POSIX] (P_*): Likewise.
11766         [POSIX] (BUS_*): Likewise.
11767         [POSIX] (CLD_*): Likewise.
11768         [POSIX] (FPE_*): Likewise.
11769         [POSIX] (ILL_*): Likewise.
11770         [POSIX] (POLL_*): Likewise.
11771         [POSIX] (SEGV_*): Likewise.
11772         [POSIX] (SI_*): Likewise.
11773         [POSIX] (TRAP_*): Likewise.
11774         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11775         variable.
11777 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11779         [BZ #12926]
11780         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11781         infinite loop when __recvmsg returns 0.
11783 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11785         * CANCEL-FCT-WAIVE: Remove file.
11786         * CANCEL-FILE-WAIVE: Likewise.
11788         [BZ #14132]
11789         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11790         instead of INTVARDEF.
11791         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11792         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11793         rtld_hidden_data_def instead of INTVARDEF.
11794         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11795         * elf/dl-deps.c (expand_dst): Likewise.
11796         * elf/dl-load.c (_dl_dst_count): Likewise.
11797         (_dl_dst_substitute): Likewise.
11798         (decompose_rpath): Likewise.
11799         (_dl_init_paths): Likewise.
11800         (open_path): Likewise.
11801         (_dl_map_object): Likewise.
11802         * elf/rtld.c (dl_main): Likewise.
11803         (process_dl_audit): Likewise.
11804         (process_envvars): Likewise.
11805         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11806         Remove declaration.
11807         (__libc_enable_secure): Use rtld_hidden_proto.
11809 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11811         * elf/dl-load.c
11812         (add_path): New function broken out of _dl_rtld_di_serinfo.
11813         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11815 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11817         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11818         parentheses around macro arguments.
11819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11823         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11830         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11831         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11832         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11834         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11835         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11848         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11849         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11850         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11851         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11852         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11853         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11854         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11855         Likewise.
11856         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11860         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11863         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11864         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11865         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11867         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11868         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11869         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11877         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11878         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11879         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11881         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11882         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11883         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11884         (_FP_FRAC_SRS_1): Likewise.
11885         (_FP_FRAC_CLZ_1): Likewise.
11886         (_FP_MUL_MEAT_1_imm): Likewise.
11887         (_FP_MUL_MEAT_1_wide): Likewise.
11888         (_FP_MUL_MEAT_1_hard): Likewise.
11889         (_FP_SQRT_MEAT_1): Likewise.
11890         (_FP_FRAC_ASSEMBLE_1): Likewise.
11891         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11892         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11893         (__FP_CLZ_2): Likewise.
11894         (_FP_MUL_MEAT_2_wide): Likewise.
11895         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11896         (_FP_MUL_MEAT_2_gmp): Likewise.
11897         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11898         (_FP_SQRT_MEAT_2): Likewise.
11899         (_FP_FRAC_ASSEMBLE_2): Likewise.
11900         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11901         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11902         (_FP_FRAC_CLZ_4): Likewise.
11903         (_FP_MUL_MEAT_4_wide): Likewise.
11904         (_FP_MUL_MEAT_4_gmp): Likewise.
11905         (_FP_SQRT_MEAT_4): Likewise.
11906         (_FP_FRAC_ASSEMBLE_4): Likewise.
11907         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11908         * soft-fp/op-common.h (_FP_CMP): Likewise.
11909         (_FP_CMP_EQ): Likewise.
11910         (_FP_CMP_UNORD): Likewise.
11911         (_FP_TO_INT): Likewise.
11912         (_FP_FROM_INT): Likewise.
11913         [!__FP_CLZ] (__FP_CLZ): Likewise.
11914         (_FP_DIV_HELP_imm): Likewise.
11915         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11916         Likewise.
11917         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11918         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11919         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11928         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11929         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11930         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11931         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11932         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11933         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11937         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11946         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11947         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11948         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11949         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11950         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11951         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11952         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11953         (FP_UNPACK_RAW_SP): Likewise.
11954         (FP_PACK_RAW_S): Likewise.
11955         (FP_PACK_RAW_SP): Likewise.
11956         (FP_UNPACK_S): Likewise.
11957         (FP_UNPACK_SP): Likewise.
11958         (FP_UNPACK_SEMIRAW_S): Likewise.
11959         (FP_UNPACK_SEMIRAW_SP): Likewise.
11960         (FP_PACK_S): Likewise.
11961         (FP_PACK_SP): Likewise.
11962         (FP_PACK_SEMIRAW_S): Likewise.
11963         (FP_PACK_SEMIRAW_SP): Likewise.
11964         (_FP_SQRT_MEAT_S): Likewise.
11965         (FP_CMP_S): Likewise.
11966         (FP_CMP_EQ_S): Likewise.
11967         (FP_CMP_UNORD_S): Likewise.
11968         (FP_TO_INT_S): Likewise.
11969         (FP_FROM_INT_S): Likewise.
11971         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11973         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11974         (FP_EX_INVALID_IMZ): Likewise.
11975         (FP_EX_INVALID_IMZ_FMA): Likewise.
11976         (FP_EX_INVALID_ISI): Likewise.
11977         (FP_EX_INVALID_ZDZ): Likewise.
11978         (FP_EX_INVALID_IDI): Likewise.
11979         (FP_EX_INVALID_SQRT): Likewise.
11980         (FP_EX_INVALID_CVI): Likewise.
11981         (FP_EX_INVALID_VC): Likewise.
11982         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11983         "invalid" exceptions.
11984         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11985         (_FP_ADD_INTERNAL): Likewise.
11986         (_FP_MUL): Likewise.
11987         (_FP_FMA): Likewise.
11988         (_FP_DIV): Likewise.
11989         (_FP_CMP_CHECK_NAN): Likewise.
11990         (_FP_SQRT): Likewise.
11991         (_FP_TO_INT): Likewise.
11992         (FP_EXTEND): Likewise.
11994 2014-10-09  Allan McRae  <allan@archlinux.org>
11996         * po/fr.po: Update French translation from translation project.
11998 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12000         [BZ #14132]
12001         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12002         of INTDEF.
12003         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12004         (__cxa_atexit): Use libc_hidden_proto.
12005         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12007         [BZ #14132]
12008         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12009         declaration.
12010         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12011         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12012         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12013         [!_ISOMAC] (__iswctype_internal): Likewise.
12014         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12015         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12016         alias.
12017         (fcntl): Remove __fcntl_internal alias.
12018         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12019         __connect_internal alias.
12020         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12021         Likewise.
12023         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12024         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12025         FP_DENORM_ZERO.
12026         (_FP_CHECK_FLUSH_ZERO): New macro.
12027         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12028         (_FP_CMP): Likewise.
12029         (_FP_CMP_EQ): Likewise.
12030         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12031         FP_DENORM_ZERO.
12032         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12033         (FP_TRUNC): Likewise.
12035         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12036         treated as invalid conversion, not as normal exponent.
12038         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12039         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12040         (_FP_CMP_EQ): Likewise.
12041         (_FP_CMP_UNORD): Likewise.
12042         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12043         (FP_CMP_EQ_D): Likewise.
12044         (FP_CMP_UNORD_D): Likewise.
12045         * soft-fp/extended.h (FP_CMP_E): Likewise.
12046         (FP_CMP_EQ_E): Likewise.
12047         (FP_CMP_UNORD_E): Likewise.
12048         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12049         (FP_CMP_EQ_Q): Likewise.
12050         (FP_CMP_UNORD_Q): Likewise.
12051         * soft-fp/single.h (FP_CMP_S): Likewise.
12052         (FP_CMP_EQ_S): Likewise.
12053         (FP_CMP_UNORD_S): Likewise.
12054         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12055         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12056         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12057         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12058         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12059         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12060         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12061         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12062         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12063         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12064         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12065         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12066         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12067         to FP_CMP_Q.
12068         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12069         FP_CMP_Q.
12070         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12071         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12072         FP_CMP_EQ_Q.
12073         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12074         FP_CMP_Q.
12075         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12076         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12077         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12078         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12079         FP_CMP_EQ_Q.
12080         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12081         FP_CMP_Q.
12082         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12083         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12084         FP_CMP_EQ_Q.
12085         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12086         FP_CMP_Q.
12087         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12088         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12089         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12090         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12091         FP_CMP_EQ_Q.
12093         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12094         a subnormal result, set the underflow exception if trapping on
12095         underflow is enabled.
12096         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12097         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12098         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12099         redefine to 0.
12100         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12101         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12102         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12103         * soft-fp/extendxftf2.c (__extendxftf2): Use
12104         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12106         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12107         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12108         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12109         FP_HANDLE_EXCEPTIONS.
12110         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12111         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12112         FP_HANDLE_EXCEPTIONS.
12113         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12114         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12115         FP_HANDLE_EXCEPTIONS.
12116         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12117         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12118         FP_HANDLE_EXCEPTIONS.
12120 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #14132]
12123         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12124         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12125         use INTUSE.
12126         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12127         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12128         Remove alias.
12129         (__adjtimex): Define using libc_hidden_ver.
12130         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12131         Remove declaration.
12132         (ntp_gettime): Call __adjtimex directly.
12133         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12134         Remove declaration.
12135         (ntp_gettimex): Call __adjtimex directly.
12136         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12137         __adjtimex_internal alias.
12139 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12141         [BZ #17460]
12142         * nscd/nscd.c (more_help): Rewrite list of tables collection
12143         using xstrdup and asprintf.
12145         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12147 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12148             Roland McGrath  <roland@hack.frob.com>
12150         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12151         (do_lookup_unique): ... local function 'enter' here; update callers.
12153 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12155         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12156         compat_symbol calls on [SHARED].
12157         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12158         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12159         Remove.
12160         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12161         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12162         (oldsetrlimit): Remove.
12163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12165         (lchown): New syscall entry.
12166         (oldsetrlimit): Remove.
12167         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12168         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12169         (oldsetrlimit): Remove.
12170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12172         [BZ #14138]
12173         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12174         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12175         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12176         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12178         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12179         (fchown): Likewise.
12180         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12181         (fchown): Likewise.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12183         Likewise.
12185 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12188         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12189         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12190         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12191         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12192         Likewise.
12193         (__old_sem_post): Likewise.
12195 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12197         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12198         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12199         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12200         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12201         Use INLINE_VSYSCALL macro.
12202         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12203         __vdso_clock_gettime.
12204         * sysdeps/unix/sysv/linux/tile/init-first.c
12205         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12206         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12207         __vdso_clock_gettime.
12209         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12210         to set up frame more cleanly.
12212         * sysdeps/tile/memcmp.c: New file.
12214         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12216         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12217         * sysdeps/tile/tilegx/strcasestr.c: New file.
12218         * sysdeps/tile/tilegx/strnlen.c: New file.
12219         * sysdeps/tile/tilegx/strstr.c: New file.
12221         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12223 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12225         * nptl/tst-setuid3.c: Write errors to stdout.
12227 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12229         * elf/dl-deps.c
12230         (preload): New functions broken out of _dl_map_object_deps.
12231         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12233 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12235         [BZ #14138]
12236         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12237         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12239 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12241         * sysdeps/mips/strcmp.S: New.
12243 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12245         [BZ #14138]
12246         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12247         (linkat): Likewise.
12248         (mkdirat): Likewise.
12249         (readlinkat): Likewise.
12250         (renameat): Likewise.
12251         (symlinkat): Likewise.
12252         (unlinkat): Likewise.
12253         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12254         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12255         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12256         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12257         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12258         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12259         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12261 2014-09-30  Will Newton  <will.newton@linaro.org>
12263         * math/math.h: Define long double math functions if
12264         _LIBC_TEST is defined.
12265         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12267         * localedata/Makefile: Move assignment to tests-special
12268         into an ifdef testing run-built-tests.
12269         * timezone/Makefile: Likewise.
12271 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12273         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12274         with $(BASH) not $(SHELL).
12276 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12277             Matthew LeGendre  <legendre1@llnl.gov>
12279         [BZ #17411]
12280         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12281         l_reloc_result.
12283 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12285         * stdio-common/printf_fp.c
12286         (hack_digit): New function, broken out of ...
12287         (__printf_fp): ... local function here.  Update call sites.
12288         hack_digit now takes an additional parameter that is a pointer
12289         to a struct of the referenced locals.  Those locals moved inside
12290         the struct and references updated.
12292 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12294         * aclocal.m4: Require autoconf 2.69.
12295         * configure: Regenerated.
12296         * sysdeps/aarch64/configure: Likewise.
12297         * sysdeps/alpha/configure: Likewise.
12298         * sysdeps/arm/armv7/configure: Likewise.
12299         * sysdeps/arm/configure: Likewise.
12300         * sysdeps/ia64/configure: Likewise.
12301         * sysdeps/mach/configure: Likewise.
12302         * sysdeps/mips/configure: Likewise.
12303         * sysdeps/s390/configure: Likewise.
12304         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12307         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12308         file.
12309         * sysdeps/ia64/configure.ac: Likewise.
12311 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12314         specify symbol version for ld.so.  Do not include entry for
12315         libpthread.
12316         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12317         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12318         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12320         [BZ #14171]
12321         * Makeconfig [$(build-shared) = yes]
12322         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12323         makefiles.
12324         [$(build-shared) = yes && $(soversions.mk-done) = t]
12325         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12326         [$(build-shared) = yes && $(soversions.mk-done) = t]
12327         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12328         to Makerules.
12329         [$(build-shared) = yes && $(soversions.mk-done) = t]
12330         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12331         here.
12332         [$(build-shared) = yes && $(soversions.mk-done) = t]
12333         (common-generated): Don't append gnu/lib-names.h and
12334         gnu/lib-names.stmp here.
12335         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12336         (lib-names-h-abi): New variable.
12337         [$(build-shared) = yes && $(soversions.mk-done) = t]
12338         (lib-names-stmp-abi): Likewise.
12339         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12340         abi-variants] (before-compile): Append
12341         $(common-objpfx)$(lib-names-h-abi).
12342         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12343         abi-variants] (common-generated): Append gnu/lib-names.h.
12344         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12345         abi-variants] (install-others-nosubdir): Depend on
12346         $(inst_includedir)/$(lib-names-h-abi).
12347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12348         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12349         [$(build-shared) = yes && $(soversions.mk-done) = t]
12350         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12351         [$(build-shared) = yes && $(soversions.mk-done) = t]
12352         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12353         [$(build-shared) = yes && $(soversions.mk-done) = t]
12354         (common-generated): Append $(lib-names-h-abi) and
12355         $(lib-names-stmp-abi).
12356         * scripts/lib-names.awk: Do not handle multi being set.
12357         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12358         Remove variable.
12359         (abi-lp64_be-ld-soname): Likewise.
12360         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12361         Likewise.
12362         (abi-hard-ld-soname): Likewise.
12363         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12364         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12365         Remove variable.
12366         (abi-o32_hard-ld-soname): Likewise.
12367         (abi-o32_soft_2008-ld-soname): Likewise.
12368         (abi-o32_hard_2008-ld-soname): Likewise.
12369         (abi-n32_soft-ld-soname): Likewise.
12370         (abi-n32_hard-ld-soname): Likewise.
12371         (abi-n32_soft_2008-ld-soname): Likewise.
12372         (abi-n32_hard_2008-ld-soname): Likewise.
12373         (abi-n64_soft-ld-soname): Likewise.
12374         (abi-n64_hard-ld-soname): Likewise.
12375         (abi-n64_soft_2008-ld-soname): Likewise.
12376         (abi-n64_hard_2008-ld-soname): Likewise.
12377         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12378         Likewise.
12379         (abi-64-v2-ld-soname): Likewise.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12381         ld.so entries.
12382         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12383         variable.
12384         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12385         entry.
12386         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12387         variable.
12388         (abi-64-ld-soname): Likewise.
12389         (abi-x32-ld-soname): Likewise.
12390         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12391         entry.
12392         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12394 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12396         [BZ #14138]
12397         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12398         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12399         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12401         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12402         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12403         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12404         syscall entry for GLIBC_2.2 symbol version.
12405         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12408         (setrlimit): Likewise.
12409         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12410         Likewise.
12412 2014-09-23  Will Newton  <will.newton@linaro.org>
12414         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12415         _LINUX_ARM_SYSDEP_H include guard too.
12416         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12417         define.
12419 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12421         * sysdeps/unix/sysv/linux/eventfd.c:
12422         Make first argument unsigned.
12423         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12424         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12426 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12428         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12429         * socket/sys/socket.h: Likewise
12430         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12432 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12434         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12436 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12438         * time/tst-ftime.c: New test.
12439         * time/Makefile (tests): Add tst-ftime.
12441 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12443         * soft-fp/extended.h: Fix comment formatting.
12444         * soft-fp/op-1.h: Likewise.
12445         * soft-fp/op-2.h: Likewise.
12446         * soft-fp/op-4.h: Likewise.
12447         * soft-fp/op-8.h: Likewise.
12448         * soft-fp/op-common.h: Likewise.
12449         * soft-fp/soft-fp.h: Likewise.
12451         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12453 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12455         [BZ #6652]
12456         * Makeconfig (soversions-default-setname): Remove variable.
12457         ($(common-objpfx)soversions.i): Don't pass default_setname to
12458         soversions.awk.
12459         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12460         oldest_abi to abi-versions.awk.
12461         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12462         * config.make.in (oldest-abi): Remove variable.
12463         * configure.ac (--enable-oldest-abi): Remove configure option.
12464         * configure: Regenerated.
12465         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12466         text.
12467         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12468         * scripts/soversions.awk: Do not handle default_setname variable.
12469         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12470         variable.
12471         * sysdeps/mach/hurd/configure: Regenerated.
12472         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12473         variable.
12474         * sysdeps/unix/sysv/linux/configure: Regenerated.
12476 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12478         * elf/Makefile (CFLAGS-interp.c): Remove.
12479         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12480         path string.
12481         * elf/interp.c: Include generated runtime-linker.h
12483         * Makerules (lib%.so): Don't include $(+interp) in
12484         prerequisites.
12485         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12486         * dlfcn/eval.c: Remove file.
12488         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12489         macros.
12491         [BZ #17266]
12492         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12493         4.2 and newer.
12495         [BZ #17370]
12496         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12498 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12499             Jakub Jelinek  <jakub@redhat.com>
12501         [BZ #17266]
12502         * libio/stdio.h: Check definition of __fortify_function
12503         instead of __extern_always_inline to include bits/stdio2.h.
12504         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12505         check if __extern_always_inline is defined.
12506         [__USE_MISC || __USE_XOPEN]: Likewise.
12507         [__USE_ISOC99] Likewise.
12508         * misc/sys/cdefs.h (__fortify_function): Define only if
12509         __extern_always_inline is defined.
12510         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12511         __extern_always_inline and __extern_inline only for g++-4.3
12512         and newer or a compatible gcc.
12514 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12516         [BZ #17371]
12517         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12518         last change to handle zero prefix length.
12520 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12522         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12523         _SC_REGEX_VERSION.
12525         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12526         _POSIX_RAW_SOCKETS.
12528 2014-09-13  Allan McRae  <allan@archlinux.org>
12530         * po/ru.po: Update Russian translation from translation project.
12532 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12534         * locale/programs/locale.c (show_locale_vars): Inline local function
12535         into its sole call site.  Clean up some style nits.
12536         (print_item): New function, broken out of ...
12537         (show_info): ... local function here.  Clean up style nits.
12539         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12540         out of ...
12541         (set_class_defaults): ... local function set_default here.
12542         Define set_default as a macro locally to pass constant parameters.
12543         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12544         rather than a shared local.
12546         * stdlib/rpmatch.c (try): New function, broken out of ...
12547         (rpmatch): ... local function here.  Also, prototypify definition.
12549 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12551         * scripts/soversions.awk: Do not handle configuration names.
12552         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12553         vendor and os variables to soversions.awk.
12554         * configure.ac: Do not modify gnu-* host_os.
12555         * configure: Regenerated
12556         * shlib-versions: Remove first column with configuration names.
12557         * nptl/shlib-versions: Likewise.
12558         * nptl_db/shlib-versions: Likewise.
12559         * sysdeps/hppa/shlib-versions: Likewise.
12560         * sysdeps/m68k/shlib-versions: Likewise.
12561         * sysdeps/mach/hurd/shlib-versions: Likewise.
12562         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12563         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12564         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12565         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12566         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12567         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12568         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12569         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12571         Likewise.
12572         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12573         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12574         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12575         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12576         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12577         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12578         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12579         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12582         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12584         Regenerated.
12585         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12587         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12589         * shlib-versions: Remove OS-specific entries.  Moved to files in
12590         sysdeps.
12591         * sysdeps/mach/hurd/shlib-versions: New file.
12592         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12594         * nptl/shlib-versions: Remove architecture-specific entries.
12595         Moved to files in sysdeps.
12596         * shlib-versions: Likewise.
12597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12598         file.
12599         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12600         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12601         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12602         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12604         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12605         (UDP_NO_CHECK6_RX): Likewise.
12607 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12609         * sysdeps/posix/sysconf.c (__sysconf): Spell
12610         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12612 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12614         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12615         loading.
12616         * iconv/Versions (__gconv_transliterate): Export for use from
12617         gconv modules.
12618         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12619         (struct __gconv_trans_data, __gconv_trans_fct,
12620         __gconv_trans_context_fct, __gconv_trans_query_fct,
12621         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12622         definitions.
12623         (struct __gconv_step_data): Remove __trans member.
12624         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12625         longer hidden.  Remove unused trans_data argument.
12626         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12627         (__gconv_translit_find): Remove declaration.
12628         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12629         prototype.
12630         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12631         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12632         trans_data argument.  Add hidden definition.
12633         (__gconv_translit_find): Remove.
12634         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12635         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12636         * iconv/skeleton.c: Remove transliteration initialization.
12637         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12638         __gconv_step_data initialization.
12639         * libio/iofwide.c (__libio_translit_): Remove.
12640         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12641         * wcsmbs/btowc.c (__btowc): Likewise.
12642         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12643         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12644         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12645         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12646         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12647         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12648         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12649         * wcsmbs/wctob.c (wctob): Likewise.
12651 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12653         [BZ #16194]
12654         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12655         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12656         register usage.
12657         * sysdeps/x86/Makefile: Adjust.
12659 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12660             Roland McGrath  <roland@hack.frob.com>
12662         * locale/weight.h: Add include guard.
12663         (findidx): Make static rather than auto; take new parameters
12664         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12665         * locale/weightwc.h: Likewise.
12666         * posix/fnmatch_loop.c
12667         (FCT): Change type of EXTRA from int32_t to wint_t.
12668         Don't include either header inside the function.
12669         Call FINDIDX rather than findidx, and pass new arguments.
12670         #undef FINDIDX at the end of the file.
12671         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12672         FINDIDX before including fnmatch_loop.c for the non-wide version.
12673         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12674         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12675         for the wide version.
12676         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12677         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12678         Pass new arguments to findidx.
12679         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12680         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12681         Don't #include it inside the function.  Pass new arguments to findidx.
12682         * posix/regex_internal.h
12683         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12684         (re_string_elem_size_at): Don't #include it inside the function.
12685         Pass new arguments to findidx.
12686         * string/strcoll_l.c: #include WEIGHT_H at top level.
12687         (get_next_seq): Don't #include it inside the function.
12688         Pass new arguments to findidx.
12689         (get_next_seq_nocache): Likewise.
12690         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12691         (STRXFRM): Don't #include it inside the function.
12692         Pass new arguments to findidx.
12694 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12696         [BZ #17344]
12697         * malloc/malloc.c (unlink): Turn asserts into a call to
12698         malloc_printerr.
12700 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12702         [BZ #17370]
12703         * libio/wfileops (do_ftell_wide): Free OUT.
12705 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12707         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12709 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12711         [BZ #17363]
12712         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12713         group if the current group is empty.
12715 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12717         * benchtests/bench-memset.c (test_main): Add more test from size
12718         from 32 to 512 bytes.
12719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12720         Add POWER8 memset object.
12721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12722         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12723         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12724         implementation.
12725         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12726         Likewise.
12727         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12728         multiarch POWER8 memset optimization.
12729         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12730         POWER8 memset optimization.
12732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12733         Remove bzero multiarch objects.
12734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12736         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12737         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12738         Remove define.
12739         [__bzero]: Redefine to specific name.
12740         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12741         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12742         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12743         define.
12744         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12745         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12747 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12749         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12750         warnings into errors.
12752         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12753         __cxa_thread_atexit_impl prototype.
12755 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12757         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12758         Fix capitalization of error message.
12760 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12762         * sysdeps/mips/preconfigure: Modify ABI tests.
12764 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12766         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12768 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12769             Carlos O'Donell  <carlos@systemhalted.org>
12771         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12772         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12773         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12774         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12775         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12776         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12777         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12778         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12779         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12780         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12781         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12782         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12783         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12784         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12785         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12786         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12787         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12788         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12790         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12792         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12793         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12794         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12795         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12796         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12797         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12798         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12799         Deconditionalize the code that was previously under [RESET_PID].
12800         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12801         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12802         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12803         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12804         include sysdep.h.
12806 2014-09-08  Allan McRae  <allan@archlinux.org>
12808         * version.h (RELEASE): Set to "development".
12809         (VERSION): Set to "2.20.90"
12811 2014-09-07  Allan McRae  <allan@archlinux.org
12813         * version.h (RELEASE): Set to "stable".
12814         (VERSION): Set to "2.20"
12815         * include/features.h (__GLIBC_MINOR__): Set to 20.
12817         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12818         Liebler.
12820         * po/ko.po: Update Korean translation from translation project.
12822 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12824         [BZ #17354]
12825         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12826         macro for handling signed relocations.
12828 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12830         [BZ #17325]
12831         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12832         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12833         assert.
12834         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12835         * iconvdata/ibm935.c (BODY): Likewise.
12836         * iconvdata/ibm937.c (BODY): Likewise.
12837         * iconvdata/ibm939.c (BODY): Likewise.
12838         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12839         assert.
12840         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12841         script.
12842         * iconvdata/run-iconv-test.sh: New test loop for checking for
12843         decoder crashers.
12845 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12847         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12848         libm_hidden_ver.
12850 2014-09-01  Allan McRae  <allan@archlinux.org>
12852         * po/eo.po: Update Esperanto translation from translation project.
12854         * po/ca.po: Update Catalan translation from translation project.
12856 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12858         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12859         __proc_dostop call.
12861 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12863         [BZ #17319]
12864         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12865         to call set_thread_area instead of hand written asm.
12866         (__NR_set_thread_area): Removed define.
12867         (TLS_FLAG_WRITABLE): Likewise.
12868         (__ASSUME_SET_THREAD_AREA): Remove check.
12869         (TLS_EBX_ARG): Remove define.
12870         (TLS_LOAD_EBX): Likewise.
12872 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12874         Simplify atomicity of socket creation in bind.
12876         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12877         looking up the name after linking the file.
12879 2014-08-27  Allan McRae  <allan@archlinux.org>
12881         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12883 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12885         [BZ #17187]
12886         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12887         trans_compare, open_translit, __gconv_translit_find):
12888         Remove module loading code.
12890 2014-08-26  Allan McRae  <allan@archlinux.org>
12892         * po/vi.po: Update Vietnamese translation from translation project.
12894         * po/uk.po: Update Ukrainian translation from translation project.
12896         * po/fr.po: Update French translation from translation project.
12898         * po/ru.po: Update Russian translation from translation project.
12900         * po/pl.po: Update Polish translation from translation project.
12902         * po/cs.po: Update Czech translation from translation project.
12904         * po/de.po: Update German translation from translation project.
12906         * po/bg.po: Update Bulgarian translation from translation project.
12908         * po/sv.po: Update Sweedish translation from translation project.
12910         * po/nl.po: Update Dutch translation from translation project.
12912         * po/es.po: Update Spanish translation from translation project.
12914 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12916         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12918         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12919         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12920         (CPPFLAGS-iconvconfig): Likewise.
12921         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12923         * include/libc-symbols.h: Remove unnecessary check for
12924         NOT_IN_libc.
12925         * nptl/pthreadP.h: Likewise.
12926         * sysdeps/aarch64/setjmp.S: Likewise.
12927         * sysdeps/alpha/setjmp.S: Likewise.
12928         * sysdeps/arm/sysdep.h: Likewise.
12929         * sysdeps/i386/setjmp.S: Likewise.
12930         * sysdeps/m68k/setjmp.c: Likewise.
12931         * sysdeps/posix/getcwd.c: Likewise.
12932         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12933         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12934         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12935         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12936         * sysdeps/sh/sh3/setjmp.S: Likewise.
12937         * sysdeps/sh/sh4/setjmp.S: Likewise.
12938         * sysdeps/unix/alpha/sysdep.h: Likewise.
12939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12941         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12942         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12946         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12947         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12948         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12949         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12950         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12952         * sysdeps/x86_64/setjmp.S: Likewise.
12954 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12956         [BZ #17263]
12957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12958         <stdint.h>.
12959         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12960         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12962 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12964         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12966         [BZ #17262]
12967         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12968         and __x86_64__ when disabling x87 inline functions.
12970 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12972         [BZ #17259]
12973         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12974         asm statement with __cpuid_count.
12976 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12978         * configure.ac: Change __ehdr_start code to dereference the struct.
12979         Run readelf on the output to look for relocations.
12980         * configure: Regenerated.
12982 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12984         [BZ #17261]
12985         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12986         value to 0.
12987         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12989 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12991         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12993 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12995         [BZ #16892]
12996         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12997         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12999 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13001         * malloc/malloc.c: Fix typo in comment.
13003 2014-08-09  Allan McRae  <allan@archlinux.org>
13005         * Regenerate libc.po.
13007 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13009         * intl/tst-gettext2.sh: Check every lang file for creation.
13011 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13013         * sysdeps/aarch64/fpu/math_private.h
13014         (libc_feholdsetround_noex_aarch64_ctx): New function.
13016 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13018         * sysdeps/arm/armv6/strcpy.S (strcpy):
13019         Fix performance issue in misaligned cases.
13021 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13023         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13024         Move definition from termios.h.
13025         (struct termio): Likewise.
13026         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13027         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13028         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13029         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13030         Likewise.
13031         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13032         Move definition to ioctl-types.h
13033         (struct termio): Likewise.
13034         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13035         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13036         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13037         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13038         Likewise.
13040 2014-08-05  Richard Henderson  <rth@redhat.com>
13042         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13043         exceptions.
13044         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13045         Add fraiseexcpt.
13046         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13047         Use __feraiseexcept.
13048         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13049         Protect libm symbols with IS_IN_libm.
13051         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13053 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13055         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13057 2014-08-04  Will Newton  <will.newton@linaro.org>
13059         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13060         file.
13062 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13064         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13065         variants for each function.
13067 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13069         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13070         appended ...
13071         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13072         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13073         appended ...
13074         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13075         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13076         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13077         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13078         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13079         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13080         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13081         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13082         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13083         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13084         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13085         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13086         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13087         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13088         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13089         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13090         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13091         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13092         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13093         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13094         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13095         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13096         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13097         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13098         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13099         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13100         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13101         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13102         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13103         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13104         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13105         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13106         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13107         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13108         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13109         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13110         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13111         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13112         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13113         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13114         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13116         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13118         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13120         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13122         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13124         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13125         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13126         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13127         Update #include.
13128         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13129         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13131 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13133         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13134         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13135         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13136         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13137         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13138         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13140 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13142         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13143         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13144         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13145         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13147 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13149         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13150         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13151         (__libc_vfork): Define function under this name.
13152         (__vfork): Define as an alias.
13153         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13154         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13156 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13158         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13159         that was previously under [RESET_PID].
13160         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13162 2014-08-04  Andreas Schwab  <schwab@suse.de>
13164         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13166 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13168         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13169         (main): Likewise.
13171 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13173         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13175 2014-08-01  Richard Henderon  <rth@redhat.com>
13177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13178         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13179         typo in exact zero test.
13180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13181         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13182         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13184 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13186         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13187         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13188         * sysdeps/arm/sysdep.h: ... here.
13189         [!__ASSEMBLER__]: Include <stdint.h>.
13191 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13193         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13194         (HAVE_WCTYPE_H): Likewise.
13195         (HAVE_ISWCTYPE): Likewise.
13196         (ENABLE_NLS): Likewise.
13197         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13198         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13200         * posix/regex_internal.c: Check if DEBUG is defined and is
13201         set.
13203         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13204         (HAVE_MBSRTOWCS): Likewise.
13205         * posix/fnmatch.c: Include string.h unconditionally.
13207 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13209         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13210         reversal.
13212 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13214         * sysdeps/generic/safe-fatal.h: New file.
13215         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13216         * nptl/forward.c: Include it.
13217         (__pthread_unwind): Use __safe_fatal as default action, rather
13218         than a bogus use of INTERNAL_SYSCALL that could never work.
13220         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13221         * configure.ac (libc_cv_builtin_trap): New test.
13222         * configure: Regenerated.
13223         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13224         (ABORT_INSTRUCTION): Define using __builtin_trap.
13226         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13227         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13228         * sysdeps/nptl/nptl-signals.h: New file.
13229         * nptl/pthreadP.h: Include <nptl-signals.h>.
13231 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13233         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13234         (ONE_DIRECTION): Define.
13235         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13236         (ONE_DIRECTION): Define.
13237         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13238         (ONE_DIRECTION): Define.
13240 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13242         * sysdeps/s390/Makefile: Delete file.
13243         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13244         * sysdeps/s390/__longjmp.c: Delete file.
13245         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13246         Remove fields __flags and __reserved.
13247         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13248         and add versioning.
13249         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13250         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13251         * sysdeps/s390/rtld-setjmp.S: Likewise.
13252         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13253         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13254         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13255         * sysdeps/s390/s390-32/setjmp.S: ... here.
13256         Add versioning.
13257         (__sigsetjmp): Remove setting __flags field.
13258         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13259         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13260         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13261         * sysdeps/s390/s390-64/setjmp.S: ... here.
13262         Add versioning.
13263         (__sigsetjmp): Remove setting __flags field.
13264         * sysdeps/s390/setjmp.S: Delete file.
13265         * sysdeps/s390/sigjmp.c: Likewise.
13266         * sysdeps/s390/v1-longjmp.c: Likewise.
13267         * sysdeps/s390/v1-setjmp.h: Likewise.
13268         * sysdeps/s390/v1-sigjmp.c: Likewise.
13269         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13270         Remove v1-longjmp_chk.
13271         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13272         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13273         Include debug/longjmp_chk.c and add versioning.
13274         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13275         Include nptl/pt-longjmp.c and add versioning.
13276         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13277         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13278         Include __longjmp.c.
13279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13280         Move to ...
13281         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13282         (__getcontext): Remove setting __flags field.
13283         Add versioning.
13284         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13285         Don't restore upper high grps.
13286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13287         Likewise.
13288         (__swapcontext): Remove setting uc_flags field.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13290         Delete file.
13291         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13292         Include __longjmp.c.
13293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13294         Move to ...
13295         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13296         (__getcontext): Remove setting __flags field.
13297         Add versioning.
13298         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13299         (__swapcontext): Remove setting uc_flags field.
13300         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13301         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13302         Remove fields uc_high_gprs and __reserved.
13303         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13304         New file with reverted content.
13305         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13306         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13307         Regenerated.
13308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13309         Regenerated.
13311 2014-07-31  Andreas Schwab  <schwab@suse.de>
13313         * config.h.in (HAVE_IFUNC): Define to 0.
13314         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13315         definedness.
13317 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13320         memmove-avx-unaligned, memcpy-avx-unaligned and
13321         mempcpy-avx-unaligned.
13322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13323         Add tests for AVX memcpy functions.
13324         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13325         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13326         memcpy_chk.
13327         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13328         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13329         memmove_chk.
13330         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13331         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13332         mempcpy_chk.
13333         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13334         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13335         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13337 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13339         [BZ #17213]
13340         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13341         powerpc64le.
13343 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13345         [BZ #16839]
13346         * manual/llio.texi: Add section about open file description locks.
13347         * manual/examples/ofdlocks.c: Example of open file description
13348         lock usage.
13349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13350         F_OFD_SETLK, and F_OFD_SETLKW.
13352 2014-07-23  Allan McRae  <allan@archlinux.org>
13354         * po/es.po: Update Spanish translation from translation project.
13356 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13358         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13360 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13362         [BZ #17078]
13363         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13364         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13365         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13367 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13369         [BZ #17088]
13370         * math/fesetenv.c (__fesetenv)
13371         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13372         * math/feupdateenv.c (__feupdateenv)
13373         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13375         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13376         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13377         (__ASSUME_SOCKETCALL): Do not define.
13379         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13380         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13381         (__ASSUME_SOCKETCALL): Do not define.
13382         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13383         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13384         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13385         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13386         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13387         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13389         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13392         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13393         (__ASSUME_SOCKETCALL): Do not define.
13394         (__ASSUME_IPC64): Define unconditionally.
13395         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13396         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13397         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13399         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13400         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13401         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13402         Likewise.
13404         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13405         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13406         (__ASSUME_SOCKETCALL): Do not define.
13407         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13408         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13409         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13410         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13411         (__ASSUME_REQUEUE_PI): Define unconditionally.
13412         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13413         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13414         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13415         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13417         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13419         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13420         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13421         (__ASSUME_SOCKETCALL): Do not define.
13422         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13423         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13424         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13425         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13427         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13429         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13430         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13431         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13432         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13433         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13434         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13436         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13437         (__ASSUME_GETCPU_SYSCALL): Likewise.
13439         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13440         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13441         cases for individual architectures.
13442         * sysdeps/gnu/configure: Regenerated.
13443         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13444         LIBC_SLIBDIR_RTLDDIR.
13445         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13446         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13447         LIBC_SLIBDIR_RTLDDIR.
13448         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13450         LIBC_SLIBDIR_RTLDDIR.
13451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13452         Regenerated.
13453         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13454         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13455         file.
13456         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13457         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13458         file.
13459         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13460         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13461         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13462         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13464         * sysdeps/aarch64/shlib-versions: Move to ...
13465         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13466         * sysdeps/alpha/shlib-versions: Move to ...
13467         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13468         * sysdeps/arm/shlib-versions: Move to ...
13469         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13470         * sysdeps/hppa/shlib-versions: Move all contents except for
13471         libgcc_s entry to ...
13472         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13473         entry from ...
13474         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13475         * sysdeps/ia64/shlib-versions: Move to ...
13476         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13477         entry from ...
13478         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13479         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13480         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13481         * sysdeps/microblaze/shlib-versions: Move to ...
13482         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13483         * sysdeps/mips/shlib-versions: Move to ...
13484         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13485         entry from ...
13486         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13487         * sysdeps/tile/shlib-versions: Move to ...
13488         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13489         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13490         from ...
13491         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13492         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13493         entry from ...
13494         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13496 2014-07-17  Will Newton  <will.newton@linaro.org>
13498         * sysdeps/arm/bits/atomic.h
13499         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13500         (__arch_compare_and_exchange_bool_16_int): Likewise.
13501         (__arch_compare_and_exchange_bool_64_int): Likewise.
13503         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13504         into an #else block.
13506 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13508         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13509         just Linux configurations.  Test empirically that the compiler sets
13510         __ARM_EABI__, rather than using the tuple to decide.
13511         * sysdeps/arm/preconfigure: Regenerated.
13512         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13513         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13514         contents appended ...
13515         * sysdeps/arm/configure.ac: ... here.
13516         * sysdeps/arm/configure: Regenerated.
13518 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13520         * nptl/pthread_kill.c: New file.
13521         * nptl/pthread_sigmask.c: New file.
13522         * nptl/pthread_sigqueue.c: New file.
13524         * sysdeps/nptl/lowlevellock.h: New file.
13525         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13526         * sysdeps/nptl/lowlevellock-futex.h: New file.
13528         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13529         Remove dead declarations.
13531 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13533         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13534         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13535         config-cflags-avx2.
13536         * sysdeps/x86_64/configure.ac: Likewise.
13537         * sysdeps/i386/configure: Regenerated.
13538         * sysdeps/x86_64/configure: Likewise.
13539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13540         memset-avx2 only if config-cflags-avx2 is yes.
13541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13542         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13543         defined.
13544         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13545         only if HAVE_AVX2_SUPPORT is defined.
13546         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13548 2014-07-14  Alan Modra  <amodra@gmail.com>
13550         [BZ #17153]
13551         * elf/elf.h (DT_PPC64_NUM): Correct value.
13552         * NEWS: Add to fixed bug list.
13554 2014-07-13  Jim Meyering  <meyering@fb.com>
13556         [BZ 17150]
13557         regex: don't deref NULL upon heap allocation failure
13558         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13559         failure in one more place.
13560         To trigger the segfault, configure grep -with-included-regex,
13561         build it, and run these commands:
13562         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13564 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13566         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13568 2014-07-11  Richard Henderson  <rth@redhat.com>
13570         * sysdeps/aarch64/libm-test-ulps: Update.
13572 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13574         [BZ #17135]
13575         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13576         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13577         (__nptl_setxid): Initialize error member.  Call
13578         __nptl_setxid_error.
13579         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13580         * nptl/descr.h (struct xid_command): Add error member.
13581         * nptl/tst-setuid3.c: New file.
13582         * nptl/Makefile (tests): Add it.
13584 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13587         New define.
13588         (__lll_trylock): Use __lll_base_trylock.
13589         (__lll_cond_trylock): Likewise.
13591 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13593         * nptl/pthread_create.c (start_thread): Use atomic_or and
13594         lll_futex_wake directly rather than lll_robust_dead.
13595         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13596         (lll_robust_dead): Macro removed.
13597         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13598         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13599         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13600         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13601         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13602         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13603         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13604         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13605         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13606         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13607         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13608         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13609         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13610         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13613         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13614         Use atomic_compare_and_exchange_val_acq directly rather than
13615         lll_robust_trylock.
13616         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13617         (__lll_robust_trylock, lll_robust_trylock): Removed.
13618         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13619         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13620         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13622         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13623         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13624         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13625         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13626         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13627         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13628         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13629         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13630         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13631         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13633 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13635         * manual/locale.texi (Locale Names): New section documenting
13636         locale name syntax.  Adjust menu and node chaining accordingly.
13637         (Choosing Locale): Reference Locale Names, Locale Categories.
13638         Mention setting LC_ALL=C.  Reflect that name syntax is now
13639         documented.
13640         (Locale Categories): New section title.  Reference Locale Names.
13641         LC_ALL is an environment variable, but not a category.
13642         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13643         description, now in Locale Name.  Reference that section.  Locale
13644         name syntax is now documented.
13646 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13648         [BZ #17137]
13649         * locale/findlocale.c (name_present, valid_locale_name): New
13650         functions.
13651         (_nl_find_locale): Use the loc_name variable to store name
13652         candidates.  Call name_present and valid_locale_name to check and
13653         validate locale names.  Return an error if the locale is invalid.
13655 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13657         * locale/setlocale.c (setlocale): Use strdup for allocating
13658         composite name copy.
13660 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13662         Sync up with gnulib.
13663         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13664         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13665         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13666         and _GL_ARG_NONNULL.
13667         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13668         [!_LIBC]: Include code for Windows and Cygwin.
13669         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13670         Include prototype for int strerror_r.
13671         [!_LIBC] (is_open): New function.
13672         (flush_stdout): New function.
13673         (print_errno_message): Use it.
13674         (error): Likewise.
13675         (error_at_line): Likewise.
13676         (error_tail) Add function attribute macros.  Use
13677         __builtin_expect.
13679         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13681         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13683         * io/ftw.c: Include sys/param.h unconditionally.
13685         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13687         [BZ #17125]
13688         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13689         libc_freeres_ptr.
13690         (freecache): New function to free CACHE on exit.
13692         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13693         initialization.
13695 2014-07-09  David S. Miller  <davem@davemloft.net>
13697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13699         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13700         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13701         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13702         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13703         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13704         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13705         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13706         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13707         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13708         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13709         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13710         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13713 2014-07-09  Andreas Schwab  <schwab@suse.de>
13715         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13716         output.
13717         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13718         (do_test): Likewise.
13720         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13722 2014-07-09  Will Newton  <will.newton@linaro.org>
13724         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13725         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13726         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13727         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13728         * sysdeps/hppa/start.S (_start): Likewise.
13730 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13734         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13735         defined.
13737 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13739         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13740         after checking that it is non-NULL.
13742         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13744 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13746         * sysdeps/powerpc/memmove.c: Remove file.
13747         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13748         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13750         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13751         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13752         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13753         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13754         string memmove instead of removed powerpc one.
13756         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13757         [weak_alias]: Fix compiler warning due trailing data.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13759         [weak_alias]: Likewise.
13760         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13761         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13764         (__libc_ifunc_impl_list): Add memmove functions.
13766 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13768         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13769         Remove code.
13770         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13771         Likewise
13772         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13773         Likewise
13774         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13775         Likewise
13776         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13777         Likewise
13778         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13779         Likewise
13780         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13781         Likewise
13782         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13783         Likewise
13784         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13785         Likewise
13786         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13787         Likewise
13788         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13789         Likewise
13790         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13791         Likewise
13792         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13793         Likewise
13794         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13795         Likewise
13796         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13797         Likewise
13798         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13799         Likewise
13800         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13801         Likewise
13803 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13805         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13806         to avoid alignment traps in non-cacheable memory.
13807         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13810         multiarch objects.
13811         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13812         file: multiarch power7 memmove.
13813         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13814         multiarch default memmove.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13816         multiarch memove for powerpc32/power4.
13818         * string/bcopy.c: Use full path to include memmove.c.
13819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13820         multiarch objects.
13821         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13822         bcopy for powerpc64.
13823         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13824         bcopy for powerpc64.
13825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13826         and memmove implementations.
13827         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13828         optimized multiarch memmove for POWER7/powerpc64.
13829         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13830         default multiarch memmove for powerpc64.
13831         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13832         multiarch for powerpc64.
13833         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13834         for POWER7/powerpc64.
13835         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13836         memmove for POWER7/powerpc64.
13838         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13839         glibc default one.
13841         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13842         __ELF_NATIVE_CLASS equal to 64.
13844 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13846         * sysdeps/nptl/lowlevellock.h: File removed.
13848         * NEWS: NPTL is no longer an add-on!
13849         * nptl/internaltypes.h: Moved ...
13850         * sysdeps/nptl/internaltypes.h: ... here.
13851         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13852         * sysdeps/nptl/fork.c: Likewise.
13853         * sysdeps/nptl/gai_misc.h: Likewise.
13854         * sysdeps/nptl/librt-cancellation.c: Likewise.
13855         * sysdeps/nptl/jmp-unwind.c: Likewise.
13856         * sysdeps/nptl/setxid.h: Likewise.
13857         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13858         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13859         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13860         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13861         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13862         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13863         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13864         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13865         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13866         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13867         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13868         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13869         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13870         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13871         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13872         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13873         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13874         * nptl/Makeconfig: Moved ...
13875         * sysdeps/nptl/Makeconfig: ... here.
13876         * nptl/configure: File removed.
13877         * nptl/ANNOUNCE: File removed.
13878         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13879         * sysdeps/unix/sysv/linux/configure: Regenerated.
13881         * nptl/Makefile (routines): Add libc_pthread_init,
13882         libc_multiple_threads, register-atfork and unregister-atfork.
13883         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13884         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13885         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13886         pthread-pi-defines.sym, structsem.sym.
13887         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13888         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13889         [$(subdir) = nptl] (tests): Add tst-setgetname.
13890         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13891         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13892         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13893         [!LIBC_SIGACTION]: Remove aliases.
13894         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13895         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13896         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13897         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13898         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13899         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13901         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13902         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13903         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13904         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13905         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13906         __libc_allocate_rtsig_private.
13907         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13908         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13909         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13910         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13911         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13912         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13913         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13914         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13915         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13916         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13917         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13918         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13919         * nptl/internaltypes.h: ... here.
13920         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13921         * sysdeps/nptl/jmp-unwind.c: ... here.
13922         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13923         * nptl/libc-lowlevellock.c: ... here.
13924         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13925         * nptl/libc_multiple_threads.c: ... here.
13926         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13927         * nptl/libc_pthread_init.c: ... here.
13928         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13929         * nptl/lowlevelbarrier.sym: ... here.
13930         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13931         * nptl/lowlevelcond.sym: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13933         * nptl/lowlevellock.c: ... here.
13934         * nptl/lowlevellock.h: Moved ...
13935         * sysdeps/nptl/lowlevellock.h: ... here.
13936         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13937         * nptl/lowlevelrobustlock.c: ... here.
13938         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13939         * nptl/lowlevelrobustlock.sym: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13941         * nptl/lowlevelrwlock.sym: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13943         * nptl/pt-fork.c: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13945         * nptl/pthread-pi-defines.sym: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13947         * nptl/pthread_attr_getaffinity.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13949         * nptl/pthread_attr_setaffinity.c: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13951         * nptl/pthread_mutex_cond_lock.c: ... here.
13952         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13953         Update #include.
13954         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13955         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13956         * nptl/pthread_once.c: ... here, replacing old file.
13957         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13958         * nptl/pthread_yield.c: ... here.
13959         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13960         * nptl/register-atfork.c: ... here.
13961         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13962         * nptl/sem_post.c: ... here.
13963         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13964         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13965         * nptl/sem_timedwait.c: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13967         * nptl/sem_trywait.c: ... here.
13968         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13969         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13970         * nptl/sem_wait.c: ... here.
13971         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13972         * nptl/structsem.sym: ... here.
13973         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13974         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13975         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13976         * nptl/unregister-atfork.c: ... here.
13977         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13978         * nptl/unwindbuf.sym: ... here.
13979         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13980         * sysdeps/nptl/fork.c: ... here.
13981         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13982         * sysdeps/nptl/fork.h: ... here.
13983         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13984         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13985         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13986         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13987         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13988         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13989         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13990         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13991         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13992         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13993         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13994         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13995         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13996         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13997         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13998         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13999         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14000         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14001         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14002         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14003         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14004         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14005         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14006         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14007         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14008         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14009         * sysdeps/unix/sysv/linux/raise.c: ... here.
14010         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14011         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14012         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14013         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14014         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14015         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14016         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14017         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14018         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14019         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14020         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14021         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14022         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14023         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14024         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14026 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14028         * sysdeps/generic/memcopy.h: Add comment for
14029         MEMCPY_OK_FOR_FWD_MEMMOVE.
14031 2014-07-04  Will Newton  <will.newton@linaro.org>
14033         * string/memchr.c: Merge from gnulib.
14034         [_LIBC]: Remove conditionals.
14035         (__ptr_t): Remove define.
14036         (LONG_MAX_32_BITS): Likewise.
14037         (LONG_MAX): Likewise.
14038         (MEMCHR): Use ANSI prototype and optimize algorithm.
14040         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14042 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14044         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14045         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14047         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14048         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14049         in a bare environment with no <stdlib.h> installed.
14050         * sysdeps/nptl/configure: Regenerated.
14052         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14054         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14055         AC_EGREP_CPP for kernel header checks, so they only succeed if
14056         including <linux/version.h> actually works right.
14057         * sysdeps/unix/sysv/linux/configure: Regenerated.
14059         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14060         value so it's not diagnosed as unused.
14062         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14063         thing) with "ifeq ($(subdir),rt)".
14065 2014-07-03  Richard Henderson  <rth@redhat.com>
14067         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14068         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14069         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14071         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14072         (math_force_eval): New.
14074         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14075         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14077         * sysdeps/alpha/fpu/s_round.c: Remove file.
14078         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14080         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14081         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14082         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14083         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14084         (_dl_start, print_statistics): Likewise.
14085         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14086         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14088         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14089         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14090         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14091         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14092         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14093         (HP_SMALL_TIMING_AVAIL): Define.
14094         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14095         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14096         (HP_SMALL_TIMING_AVAIL): Define.
14097         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14098         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14100         * sysdeps/aarch64/hp-timing.h: New file.
14102         * sysdeps/generic/hp-timing.h: Remove dead comment.
14103         * sysdeps/generic/hp-timing-common.h: New file.
14104         * sysdeps/alpha/hp-timing.h: Include it.
14105         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14106         * sysdeps/i386/i686/hp-timing.h: Likewise.
14107         * sysdeps/ia64/hp-timing.h: Likewise.
14108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14109         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14111         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14112         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14113         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14114         (hp_timing_t): New.
14116         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14117         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14118         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14119         * elf/rtld.c (_dl_start_final): Likewise.
14120         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14121         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14122         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14123         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14124         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14125         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14126         (HP_TIMING_DIFF_INIT): Remove.
14127         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14128         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14129         (HP_TIMING_DIFF_INIT): Remove.
14130         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14131         * sysdeps/i386/i686/hp-timing.c: Remove file.
14132         * sysdeps/x86_64/hp-timing.c: Remove file.
14133         * sysdeps/ia64/hp-timing.c: Remove file.
14134         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14135         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14136         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14137         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14139         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14140         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14141         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14142         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14143         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14144         (HP_TIMING_ACCUM): Remove.
14145         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14146         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14147         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14149         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14150         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14151         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14152         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14154         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14155         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14156         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14158         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14160 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14162         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14164 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14166         Sync up with gettext.
14167         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14168         [_MSC_VER]: Include malloc.h
14169         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14170         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14171         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14172         TEMP_FAILURE_RETRY.  Cast return of alloca.
14173         [!_LIBC] Call gl_rwlock_init.
14174         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14176 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14178         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14179         before checking its value.
14181 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14183         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14185         * debug/memcpy_chk.c: Don't include pagecopy.h.
14186         * debug/mempcpy_chk.c: Likewise.
14187         * string/memcpy.c: Likewise.
14188         * string/memmove.c: Likewise.
14189         * sysdeps/powerpc/memmove.c: Likewise.
14190         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14191         definition of PAGE_COPY_FWD_MAYBE here...
14192         * sysdeps/generic/pagecopy.h: ... from here.
14193         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14195 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14198         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14200         optimizations.
14201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14202         (__libc_ifunc_impl_list): Likewise.
14203         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14204         multiarch strcat for PPC64.
14205         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14206         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14208 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14210         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14212 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14214         * intl/loadmsgcat.c: Remove declaration of
14215         get_sysdep_segment_value.
14216         (get_sysdep_segment_value): Use ISO C style.
14217         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14218         semicolon.  Fix typo and formatting in comment.
14219         (_nl_unload_domain): Use ISO C style.
14221         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14223 2014-07-02  Will Newton  <will.newton@linaro.org>
14225         * malloc/obstack.c: Merge from gnulib master.
14226         [HAVE_CONFIG_H]: Remove conditional code.
14227         [!_LIBC]: Include config.h.
14228         [!ELIDE_CODE]: Don't include inttypes.h, include
14229         stdint.h unconditionally.
14230         (print_and_abort): Mark as _Noreturn.
14231         (_obstack_allocated_p): Mark as __attribute_pure__.
14232         (obstack_free): Rename to __obstack_free.
14233         [!__attribute__]: Remove conditional code.
14234         * malloc/obstack.h: Merge from gnulib master.
14235         [__cplusplus]: Move conditional down.
14236         [!__attribute_pure__]: Define __attribute_pure__ here
14237         if it is not already defined.
14238         (_obstack_memory_used): Mark as __attribute_pure__.
14239         [!__obstack_free]: Define as obstack_free.
14240         [__GNUC__]: Remove check for ancient NeXT gcc.
14242 2014-07-02  Will Newton  <will.newton@linaro.org>
14243             Paul Eggert  <eggert@cs.ucla.edu>
14245         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14247 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14249         * resolv/gethnamaddr.c: Add comment warning that the file is
14250         not maintained.
14252 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14254         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14255         entries.
14257         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14258         entry for aio_cancel and aio_cancel64.
14259         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14260         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14261         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14262         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14263         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14264         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14265         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14266         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14267         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14268         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14269         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14270         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14271         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14273 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14275         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14276         * nptl/pthread_mutex_lock.c: Likewise.
14277         * nptl/pthread_mutex_timedlock.c: Likewise.
14278         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14280 2014-07-01  Richard henderson  <rth@redhat.com>
14282         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14283         (__isnan, __isnanl): Remove.
14284         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14286         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14288 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14290         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14292 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14294         * resolv/nss_dns/dns-host.c (getanswer_r)
14295         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14297 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14300         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14301         undefine.
14302         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14303         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14305 2014-07-01  Roland McGrath <roland@hack.frob.com>
14307         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14308         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14310         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14311         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14313         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14314         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14315         ... here.
14316         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14319         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14320         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14321         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14322         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14324         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14325         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14326         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14327         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14328         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14329         Moved ...
14330         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14331         ... here.
14332         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14333         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14334         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14335         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14337         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14338         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14339         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14340         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14341         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14342         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14343         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14344         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14345         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14346         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14347         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14348         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14349         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14350         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14351         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14352         ... here.
14353         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14354         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14355         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14356         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14357         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14358         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14359         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14360         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14362 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14364         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14365         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14366         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14367         Add sysdep.
14369 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14373 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14375         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14376         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14378         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14380         * sysdeps/arm/libm-test-ulps: Regenerated.
14382 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14383             Roland McGrath <roland@hack.frob.com>
14385         * test-skeleton.c (signal_handler): Kill the whole process group
14386         before killing the child individually.
14387         (main): Report any failure on `setpgid'.
14389 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14391         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14392         from _TLS_H to _ARM_NPTL_TLS_H.
14393         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14394         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14396 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14398         [BZ #16539]
14399         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14400         (__expm1l): Return argument unchanged when small but not
14401         subnormal.
14403         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14404         include macro name.
14405         (_FP_UNPACK_RAW_1_P): Likewise.
14406         (_FP_PACK_RAW_1): Likewise.
14407         (_FP_PACK_RAW_1_P): Likewise.
14408         (_FP_MUL_MEAT_1_wide): Likewise.
14409         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14410         (_FP_MUL_MEAT_1_hard): Likewise.
14411         (_FP_DIV_MEAT_1_imm): Likewise.
14412         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14413         (_FP_DIV_MEAT_1_udiv): Likewise.
14414         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14415         (_FP_UNPACK_RAW_2): Likewise.
14416         (_FP_UNPACK_RAW_2_P): Likewise.
14417         (_FP_PACK_RAW_2): Likewise.
14418         (_FP_PACK_RAW_2_P): Likewise.
14419         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14420         (_FP_MUL_MEAT_2_wide): Likewise.
14421         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14422         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14423         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14424         (_FP_MUL_MEAT_2_gmp): Likewise.
14425         (_FP_DIV_MEAT_2_udiv): Likewise.
14426         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14427         (_FP_FRAC_SRL_4): Likewise.
14428         (_FP_FRAC_SRST_4): Likewise.
14429         (_FP_FRAC_SRS_4): Likewise.
14430         (_FP_UNPACK_RAW_4): Likewise.
14431         (_FP_UNPACK_RAW_4_P): Likewise.
14432         (_FP_PACK_RAW_4): Likewise.
14433         (_FP_PACK_RAW_4_P): Likewise.
14434         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14435         (_FP_MUL_MEAT_4_wide): Likewise.
14436         (_FP_MUL_MEAT_4_gmp): Likewise.
14437         (umul_ppppmnnn): Likewise.
14438         (_FP_DIV_MEAT_4_udiv): Likewise.
14439         (__FP_FRAC_ADD_4): Likewise.
14440         (__FP_FRAC_SUB_3): Likewise.
14441         (__FP_FRAC_SUB_4): Likewise.
14442         (__FP_FRAC_DEC_3): Likewise.
14443         (__FP_FRAC_DEC_4): Likewise.
14444         (__FP_FRAC_ADDI_4): Likewise.
14445         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14446         (_FP_FRAC_SRL_8): Likewise.
14447         (_FP_FRAC_SRS_8): Likewise.
14449         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14450         include macro name.
14451         (FP_UNPACK_RAW_EP): Likewise.
14452         (FP_PACK_RAW_E): Likewise.
14453         (FP_PACK_RAW_EP): Likewise.
14454         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14455         (_FP_ISSIGNAN): Likewise.
14456         (_FP_ADD_INTERNAL): Likewise.
14457         (_FP_FMA): Likewise.
14458         (_FP_CMP): Likewise.
14459         (_FP_SQRT): Likewise.
14460         (_FP_TO_INT): Likewise.
14461         (_FP_FROM_INT): Likewise.
14462         (FP_EXTEND): Likewise.
14463         (_FP_DIV_MEAT_N_loop): Likewise.
14465 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14467         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14468         throughout.
14470 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14472         [BZ #17097]
14473         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14474         result with correct sign in case of exponents that produce
14475         overflow except for X very close to 1.
14477 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14479         mktime: merge #if/#ifdef usage from glibc
14480         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14481         as that works with both Glibc's and Gnulib's style.
14482         See thread starting at Siddhesh Poyarekar's bug report at:
14483         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14485 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14487         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14488         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14489         * sysdeps/tile/tilegx/memmove.c: Remove file.
14491 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14493         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14494         abi-name definition.
14495         * scripts/soversions.awk: Do not handle or generate ABI lines.
14496         * shlib-versions: Remove ABI entries.
14497         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14498         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14500 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14503         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14504         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14505         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14507         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14509         Moved ...
14510         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14511         ... here.
14512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14513         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14515         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14517         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14519         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14521         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14523         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14525         Moved ...
14526         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14528         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14530         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14532         Moved ...
14533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14535         Moved ...
14536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14538         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14540         Moved ...
14541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14543         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14545         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14547         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14549         Moved ...
14550         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14552         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14554         Moved ...
14555         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14557         Moved ...
14558         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14560         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14562         Moved ...
14563         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14564         ... here.
14565         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14566         Identical file removed.
14567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14568         Moved ...
14569         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14571         Identical file removed.
14572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14573         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14575         Moved ...
14576         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14578         Identical file removed.
14579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14580         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14582         Identical file removed.
14583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14584         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14585         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14586         Identical file removed.
14587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14588         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14590         Identical file removed.
14591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14592         Moved ...
14593         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14595         Identical file removed.
14596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14597         Moved ...
14598         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14600         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14602         Identical file removed.
14603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14604         Moved ...
14605         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14606         ... here.
14607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14608         Identical file removed.
14609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14610         Moved ...
14611         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14613         Identical file removed.
14614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14615         Moved ...
14616         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14618         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14620         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14622         Moved ...
14623         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14624         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14625         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14627         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14628         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14629         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14630         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14631         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14633 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14635         [BZ #17092]
14636         * nscd/nscd.c (monitor_child): Return exit status of child
14637         instead of return value from wait syscall.
14639 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14641         * configure.ac (libc_commonpagesize): Remove variable.
14642         (libc_relro_required): Likewise.
14643         (libc_cv_z_relro): Remove configure test.
14644         * configure: Regenerated.
14645         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14646         variable.
14647         (libc_relro_required): Likewise.
14648         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14649         (libc_relro_required): Likewise.
14650         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14651         (libc_relro_required): Likewise.
14652         * sysdeps/arm/preconfigure: Regenerated.
14653         * sysdeps/ia64/preconfigure: Remove file.
14654         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14655         variable.
14656         (libc_relro_required): Likewise.
14658         [BZ #16561]
14659         [BZ #16562]
14660         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14661         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14662         recompute overflowing results in original rounding mode.
14663         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14664         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14665         recompute overflowing results in original rounding mode.
14666         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14667         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14668         recompute overflowing results in original rounding mode.
14669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14670         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14671         recompute overflowing results in original rounding mode.
14672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14673         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14674         recompute overflowing results in original rounding mode.
14675         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14676         (libc_feholdsetround_ctx): New macro.
14677         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14678         * sysdeps/i386/fpu/libm-test-ulps: Update.
14679         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14681 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14683         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14684         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14685         corresponding .cpsetup call.
14687 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14689         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14690         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14691         * sysdeps/arm/Makefile [$(subdir) = csu]
14692         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14693         (static-only-routines): Add aeabi_read_tp here.
14694         (shared-only-routines): Add libc-aeabi_read_tp here.
14695         (CFLAGS-libc-start.c): Add -fexceptions here.
14696         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14697         (sysdep_routines, static-only-routines, shared-only-routines):
14698         Don't add to these here.
14699         (CFLAGS-libc-start.c): Likewise.
14701         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14702         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14703         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14704         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14705         * sysdeps/arm/Makefile [$(subdir) = rt]
14706         (librt-sysdep_routines, librt-shared-only-routines):
14707         Append rt-aeabi_unwind_cpp_pr1 here.
14708         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14709         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14710         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14711         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14712         Append nptl-aeabi_unwind_cpp_pr1 here.
14713         (tests): Filter out tst-cleanupx4 here.
14714         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14715         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14716         Don't do those here.
14718 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14720         * scripts/list-sources.sh: Do not handle ports specially.
14722 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14724         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14725         * sysdeps/arm/feupdateenv.c: Likewise.
14727         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14729 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14731         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14732         trailing whitespace removed.
14733         * scripts/config.guess: Update to version 2014-03-23.
14734         * scripts/config.sub: Update to version 2014-05-01
14735         * scripts/install-sh: Update to version 2013-12-25.23.
14736         * scripts/move-if-change: Update from gnulib.
14738 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         * debug/memmove_chk.c: Remove pagecopy.h include.
14742 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14744         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14745         identical to gnulib mktime.
14747 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14749         * configure.ac: Do not test for machine being rs6000.  Do not test
14750         for powerpc*-*soft.
14751         * configure: Regenerated.
14753         [BZ #11505]
14754         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14755         test.
14756         * configure: Regenerated.
14757         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14758         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14759         Remove configure test.
14760         * sysdeps/arm/configure: Regenerated.
14761         * sysdeps/nptl/configure.ac: Do not check
14762         libc_cv_asm_cfi_directives.
14763         * sysdeps/nptl/configure: Regenerated.
14764         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14765         * sysdeps/x86_64/nptl/configure: Remove generated file.
14766         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14767         unconditional.
14768         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14770 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14772         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14773         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14774         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14775         it is defined.
14777         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14778         instead of whether it is defined.
14779         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14780         * sysdeps/hppa/dl-machine.h: Likewise.
14781         * sysdeps/ia64/dl-machine.h: Likewise.
14782         * sysdeps/m68k/dl-machine.h: Likewise.
14783         * sysdeps/microblaze/dl-machine.h: Likewise.
14784         * sysdeps/mips/dl-machine.: Likewise.
14785         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14786         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14787         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14788         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14789         * sysdeps/sh/dl-machine.h: Likewise.
14790         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14791         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14792         * sysdeps/tile/dl-machine.h: Likewise.
14793         * sysdeps/x86_64/dl-machine.h: Likewise.
14795         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14796         code.
14797         (verify_persistent_db): Likewise.
14799 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14802         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14808         ... here.
14809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14812         Identical file removed.
14813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14818         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14822         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14824         Moved ...
14825         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14827         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14829         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14831         Moved ...
14832         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14834         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14836         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14838         Identical file removed.
14839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14840         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14842         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14844         Moved ...
14845         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14846         ... here.
14847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14848         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14850         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14852         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14854         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14856         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14858         Moved ...
14859         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14861         Moved ...
14862         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14864         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14866         Moved ...
14867         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14869         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14871         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14872         folded into ...
14873         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14874         * sysdeps/unix/sysv/linux/s390/Versions
14875         (libpthread: GLIBC_2.19): New version set.
14876         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14877         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14878         (librt: GLIBC_2.3.3): New version set.
14879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14880         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14881         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14882         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14883         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14884         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14885         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14886         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14887         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14888         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14889         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14890         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14891         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14892         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14893         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14894         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14895         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14896         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14897         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14898         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14899         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14901         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14903         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14905         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14909         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14910         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14911         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14915         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14917         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14919         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14925         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14926         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14927         (__libc_vfork): Define the function under this name.
14928         [!NOT_IN_libc] (__vfork): Make this an alias.
14929         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14931         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14932         (__libc_vfork): Define the function under this name.
14933         [!NOT_IN_libc] (__vfork): Make this an alias.
14934         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14935         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14936         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14939         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14941         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14942         code that was previously under [RESET_PID].
14943         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14944         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14947         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14948         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14949         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14950         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14952         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14953         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14954         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14955         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14958         Moved ...
14959         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14960         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14961         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14962         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14963         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14964         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14965         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14966         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14967         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14968         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14969         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14970         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14971         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14972         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14973         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14974         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14975         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14976         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14977         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14978         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14979         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14980         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14981         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14982         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14983         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14984         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14985         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14987         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14989 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14991         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14992         that was previously under [RESET_PID].
14993         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14995 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14997         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14998         not undefine and redefine.
14999         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15000         [O_CLOEXEC]: Make code unconditional.
15001         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15002         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15003         <kernel-features.h>.
15004         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15005         conditional variable definition.
15006         (shm_open) [O_CLOEXEC]: Make code unconditional.
15007         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15008         code.
15010         * configure.ac (USE_REGPARMS): Don't define here.
15011         * configure: Regenerated.
15012         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15013         * sysdeps/i386/configure: Regenerated.
15015         * nptl/createthread.c: Don't include kernel-features.h.
15016         * nptl/pthread_cancel.c: Likewise.
15017         * nptl/pthread_condattr_setclock.c: Likewise.
15018         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15019         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15020         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15021         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15022         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15023         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15024         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15027         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15028         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15029         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15030         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15031         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15032         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15033         * nscd/gai.c: Likewise.
15034         * nss/nss_db/db-open.c: Likewise.
15035         * sysdeps/generic/ldsodefs.h: Likewise.
15036         * sysdeps/sh/nptl/tls.h: Likewise.
15037         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15038         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15039         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15040         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15041         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15042         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15043         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15044         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15045         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15046         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15047         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15048         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15049         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15050         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15051         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15052         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15053         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15054         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15055         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15056         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15059         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15060         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15065         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15066         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15067         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15068         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15069         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15070         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15071         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15072         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15073         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15074         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15075         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15076         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15077         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15078         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15079         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15080         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15081         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15082         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15083         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15084         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15085         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15086         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15087         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15088         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15089         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15090         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15091         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15092         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15093         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15094         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15117         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15118         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15119         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15120         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15121         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15122         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15123         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15124         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15125         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15126         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15127         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15128         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15129         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15130         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15131         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15132         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15133         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15134         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15135         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15136         * sysdeps/unix/sysv/linux/system.c: Likewise.
15137         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15138         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15139         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15140         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15141         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15142         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15143         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15145         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15146         * configure: Regenerated.
15147         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15149         * configure.ac (base_machine): Do not set specially for particular
15150         machines here.
15151         * configure: Regenerated.
15152         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15153         settings from configure.ac.
15154         * sysdeps/i386/preconfigure: New file.
15155         * sysdeps/s390/preconfigure: Likewise.
15156         * sysdeps/sh/preconfigure: Likewise.
15157         * sysdeps/sparc/preconfigure: Likewise.
15159 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15161         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15162         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15163         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15164         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15165         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15166         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15167         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15168         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15169         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15170         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15171         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15172         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15173         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15174         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15178         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15179         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15181         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15182         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15183         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15184         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15185         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15186         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15187         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15188         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15189         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15190         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15191         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15192         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15193         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15194         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15195         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15196         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15197         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15198         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15199         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15200         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15202         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15203         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15204         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15206         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15211         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15212         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15214         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15216         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15218         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15223         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15225         Moved ...
15226         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15227         ... here.
15228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15229         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15231         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15233         Moved ...
15234         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15242         Moved ...
15243         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15245         Moved ...
15246         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15248         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15250         Moved ...
15251         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15253         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15255         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15259         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15261         Moved ...
15262         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15263         ... here.
15264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15265         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15269         Moved ...
15270         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15272         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15278         Moved ...
15279         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15281         Moved ...
15282         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15284         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15286         Moved ...
15287         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15289         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15291         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15293 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15295         * timezone/checktab.awk: Update from tzcode 2014e.
15296         * timezone/private.h: Likewise.
15297         * timezone/tzfile.h: Likewise.
15298         * timezone/zdump.c: Likewise.
15299         * timezone/zic.c: Likewise.
15301         * sysdeps/unix/sysv/linux/kernel-features.h
15302         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15304         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15305         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15306         Remove conditional code.
15308 2014-06-25  Will Newton  <will.newton@linaro.org>
15310         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15311         (_dl_arm_cap_flags): Add HWCAP2 values.
15312         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15313         (_DL_HWCAP_COUNT): Increase to 37.
15314         (_DL_HWCAP_LAST): New define.
15315         (_DL_HWCAP2_LAST): New define.
15316         (_dl_procinfo): Add support for printing
15317         AT_HWCAP2 entries.
15318         (_dl_string_hwcap): Use _dl_hwcap_string.
15320 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15324 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15326         * README: Do not mention ports directory.
15328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15329         Remove macro.
15330         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15331         <kernel-features.h>.
15332         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15333         conditional variable definition.
15334         (__futimes): Update comment.
15335         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15336         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15338         [BZ #16560]
15339         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15340         arguments close to 0.
15341         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15342         Likewise.
15343         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15344         Likewise.
15345         * math/auto-libm-test-in: Add more tests of exp10.
15346         * math/auto-libm-test-out: Regenerated.
15347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15349         * sysdeps/unix/sysv/linux/kernel-features.h
15350         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15351         * sysdeps/unix/sysv/linux/readv.c: Do not include
15352         <kernel-features.h>.
15353         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15354         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15355         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15356         unconditional.
15357         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15358         conditional code.
15359         * sysdeps/unix/sysv/linux/writev.c: Do not include
15360         <kernel-features.h>.
15361         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15362         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15363         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15364         unconditional.
15365         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15366         conditional code.
15368 2014-06-25  Will Newton  <will.newton@linaro.org>
15370         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15371         comment changes throughout the file.  Remove checks
15372         for HAVE_*_H definitions that are not required.
15373         (__gen_tempname): Call abort if an unknown kind value is
15374         passed.
15376 2014-06-25  Andreas Schwab  <schwab@suse.de>
15378         [BZ #17086]
15379         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15380         scalbln, scalblnf, scalblnl in libc.
15382 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15384         [BZ #17086]
15385         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15386         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15387         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15389 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15391         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15392         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15393         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15394         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15395         Update #include.
15396         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15397         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15398         Update #include.
15399         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15400         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15401         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15403         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15404         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15405         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15406         * sysdeps/x86/bits/semaphore.h: ... here.
15407         * sysdeps/x86/nptl/elide.h: Moved ...
15408         * sysdeps/x86/elide.h: ... here.
15409         * sysdeps/x86_64/nptl/Implies: File removed.
15410         * sysdeps/i386/nptl/Implies: File removed.
15412 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15414         [BZ #16539]
15415         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15416         return the argument for normal arguments with exponent below -64.
15417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15418         Likewise.
15419         * math/auto-libm-test-in: Add another test of expm1.
15420         * math/auto-libm-test-out: Regenerated.
15422         [BZ #16287]
15423         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15424         calling __erfcl for arguments at least 16.
15425         * math/auto-libm-test-in: Add more tests of erf.
15426         * math/auto-libm-test-out: Regenerated.
15428         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15429         individual architectures.
15430         * sysdeps/unix/sysv/linux/configure: Regenerated.
15431         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15432         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15433         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15434         (ldd_rewrite_script): Define variable.
15435         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15437         file.
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15439         generated file.
15440         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15441         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15442         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15443         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15444         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15445         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15446         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15447         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15449 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15451         [BZ #17084]
15452         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15453         Rename member __data.d to __data.__elision_data.
15455 2014-06-24  Wilco  <wdijkstr@arm.com>
15457         * NEWS: Add 16918 to fixed bug list.
15459 2014-06-24  Wilco  <wdijkstr@arm.com>
15461         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15463 2014-06-24  Wilco  <wdijkstr@arm.com>
15465         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15466         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15467         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15468         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15469         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15470         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15471         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15472         Use _FPU_MASK_RM.
15474 2014-06-24  Wilco  <wdijkstr@arm.com>
15476         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15478 2014-06-24  Wilco  <wdijkstr@arm.com>
15480         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15481         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15482         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15483         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15485 2014-06-24  Wilco  <wdijkstr@arm.com>
15487         [BZ #16918]
15488         * sysdeps/arm/feupdateenv.c (feupdateenv):
15489         Rewrite to reduce FPSCR accesses and fix return value.
15491 2014-06-24  Wilco  <wdijkstr@arm.com>
15493         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15494         Optimize to avoid unnecessary FPSCR writes.
15495         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15496         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15497         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15498         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15500 2014-06-24  Wilco  <wdijkstr@arm.com>
15502         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15503         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15504         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15505         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15506         Call libc_fetestexcept_vfp.
15507         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15508         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15509         __SOFTFP__ ifdef so that they can be built for softfp.
15511 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15513         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15514         argument type signed char.
15516         * Makerules (check-abi): Dump diff of symlist if the test
15517         fails.
15519 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15521         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15522         using abort.
15524         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15525         Remove unused variable ST.
15527 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15529         [BZ #16354]
15530         [BZ #17061]
15531         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15532         small arguments before calling __expm1.
15533         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15534         small arguments before calling __expm1f.
15535         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15536         small arguments before calling __expm1l.
15537         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15538         Likewise.
15539         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15540         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15541         spurious underflow for some cosh tests.
15542         * math/auto-libm-test-out: Regenerated.
15543         * sysdeps/i386/fpu/libm-test-ulps: Update.
15545         [BZ #17050]
15546         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15547         (__ieee754_y1): Set errno if return value overflows.
15548         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15549         (__ieee754_y1f): Set errno if return value overflows.
15550         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15551         (__ieee754_y1l): Set errno if return value overflows.
15552         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15553         (__ieee754_y1l): Set errno if return value overflows.
15554         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15555         * math/auto-libm-test-out: Regenerated.
15557         * math/gen-auto-libm-tests.c: Document use of
15558         ignore-zero-inf-sign.
15559         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15560         (input_flags): Add ignore-zero-inf-sign.
15561         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15562         * math/gen-libm-test.pl (generate_testfile): Handle
15563         ignore-zero-inf-sign.
15564         * math/auto-libm-test-in: Mark some cpow tests with
15565         ignore-zero-inf-sign and some with xfail-rounding.
15566         * math/auto-libm-test-out: Regenerated.
15567         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15568         * sysdeps/i386/fpu/libm-test-ulps: Update.
15569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571         [BZ #16315]
15572         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15573         overflowing or underflowing operations take place with sign of
15574         result.
15575         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15576         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15577         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15578         (__ieee754_pow): Recompute overflowing and underflowing results in
15579         original rounding mode.
15580         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15581         (__powl_helper): Allow negative argument X and scale negated value
15582         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15583         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15584         overflowing or underflowing operations take place with sign of
15585         result.
15586         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15587         Include <math.h>.
15588         * math/auto-libm-test-in: Add more tests of pow.
15589         * math/auto-libm-test-out: Regenerated.
15590         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15591         (pow_tonearest_test_data): Remove.
15592         (pow_test_tonearest): Likewise.
15593         (pow_towardzero_test_data): Likewise.
15594         (pow_test_towardzero): Likewise.
15595         (pow_downward_test_data): Likewise.
15596         (pow_test_downward): Likewise.
15597         (pow_upward_test_data): Likewise.
15598         (pow_test_upward): Likewise.
15599         (main): Don't call removed functions.
15600         * sysdeps/i386/fpu/libm-test-ulps: Update.
15601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15603 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15606         Moved ...
15607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15609         Moved ...
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15612         Moved ...
15613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15615         Moved ...
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15618         File removed.
15619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15620         File removed.
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15622         File removed.
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15624         File removed.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15626         File removed.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15628         File removed.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15630         File removed.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15632         File removed.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15634         File removed.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15636         File removed.
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15638         File removed.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15640         File removed.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15645         Moved ...
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15647         ... here.
15648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15649         Moved ...
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15652         Moved ...
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15655         Moved ...
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15658         Moved ...
15659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15661         Moved ...
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15664         Moved ...
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15667         Moved ...
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15671         ... here.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15673         Moved ...
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15676         Moved ...
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15678         ... here.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15680         Moved ...
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15682         ... here.
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15684         Moved ...
15685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15686         ... here.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15688         Moved ...
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15691         Moved ...
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15696         Moved ...
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15698         ... here.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15700         Moved ...
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15702         ... here.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15704         Moved ...
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15710         Moved ...
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15713         Moved ...
15714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15716         Moved ...
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15718         ... here.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15720         Moved ...
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15723         Moved ...
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15726         Moved ...
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15729         Moved ...
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15734         Moved ...
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15737         Moved ...
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15740         Moved ...
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15742         ... here.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15744         Moved ...
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15746         ... here.
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15748         Moved ...
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15750         ... here.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15752         Moved ...
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15755         Moved ...
15756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15758         Moved ...
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15761         Moved ...
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15763         ... here.
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15765         Moved ...
15766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15767         ... here.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15769         Moved ...
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15771         ... here.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15773         Moved ...
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15776         Moved ...
15777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15779 2014-06-23  Will Newton  <will.newton@linaro.org>
15780             Wilco  <wdijkstr@arm.com>
15782         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15783         implementation.  Include get-rounding-mode.h.
15784         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15785         [!libc_feholdsetround_noex_ctx]: Define
15786         libc_feholdsetround_noex_ctx.
15787         [!libc_feholdsetround_noexf_ctx]: Define
15788         libc_feholdsetround_noexf_ctx.
15789         [!libc_feholdsetround_noexl_ctx]: Define
15790         libc_feholdsetround_noexl_ctx.
15791         (libc_feholdsetround_ctx): New function.
15792         (libc_feresetround_ctx): New function.
15793         (libc_feholdsetround_noex_ctx): New function.
15794         (libc_feresetround_noex_ctx): New function.
15796 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15798         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15799         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15800         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15801         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15802         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15803         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15805         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15806         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15807         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15808         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15809         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15810         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15812         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15816         Moved ...
15817         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15818         ... here.
15819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15820         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15822         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15824         Moved ...
15825         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15833         Moved ...
15834         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15836         Moved ...
15837         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15841         Moved ...
15842         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15844         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15845         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15846         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15847         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15848         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15850         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15852         Moved ...
15853         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15854         ... here.
15855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15856         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15858         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15860         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15862         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15864         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15866         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15868         Moved ...
15869         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15871         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15873         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15875         Moved ...
15876         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15878         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15880         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15882         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15883         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15884         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15885         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15886         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15887         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15888         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15889         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15890         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15891         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15892         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15893         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15895         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15896         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15897         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15898         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15899         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15900         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15901         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15902         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15903         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15904         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15905         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15906         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15907         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15908         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15909         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15911 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15914         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15915         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15916         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15917         (IPV6_PMTUDISC_INTERFACE): Likewise.
15918         (IPV6_PMTUDISC_OMIT): Likewise.
15920 2014-06-23  Andreas Schwab  <schwab@suse.de>
15922         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15923         Remove unused errout label.
15925 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15927         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15928         macro: hardware supports Vector Crypto instructions.
15930 2014-06-23  Will Newton  <will.newton@linaro.org>
15932         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15933         rather than __builtin_expect.
15935         * elf/dl-lookup.c (undefined_msg): Remove variable.
15936         (_dl_lookup_symbol_x): Replace undefined_msg with string
15937         literal.
15939         * elf/dl-lookup.c (do_lookup_unique): New function.
15940         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15941         to a separate function.
15943 2014-06-23  Andreas Schwab  <schwab@suse.de>
15945         [BZ #17079]
15946         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15947         before reading the next line.
15949 2014-06-23  Will Newton  <will.newton@linaro.org>
15951         * test-skeleton.c (signal_handler): Use printf and %m
15952         rather than perror.  Use printf rather than fprintf to
15953         stderr.  Use puts rather than fputs to stderr.
15954         (main): Likewise.
15956 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15958         * nscd/nscd.c (thread_info_t): Remove typedef.
15959         (thread_info): Remove variable.
15961 2014-06-21  Allan McRae  <allan@archlinux.org>
15963         * NEWS: Mention CVE-2014-4043.
15965 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15967         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15968         * nptl/smp.h: ... here.
15970         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15972         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15973         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15974         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15975         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15977         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15978         * nptl/stack-aliasing.h: New file.
15979         * sysdeps/i386/i686/stack-aliasing.h: New file.
15980         * sysdeps/i386/i686/nptl/Makefile: File removed.
15981         * sysdeps/x86_64/stack-aliasing.h: New file.
15982         * sysdeps/x86_64/nptl/Makefile
15983         (CFLAGS-pthread_create.c): Variable removed.
15985         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15986         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15987         old file.
15988         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15989         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15990         old file.
15992 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15995         (__ASSUME_SIGFRAME_V2): Remove macro.
15996         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15997         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15998         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15999         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16000         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16001         Declare as function.  Remove conditional macro definitions.
16002         (__default_rt_sa_restorer): Likewise.
16003         (__default_sa_restorer_v1): Remove declaration.
16004         (__default_sa_restorer_v2): Likewise.
16005         (__default_rt_sa_restorer_v1): Likewise.
16006         (__default_rt_sa_restorer_v2): Likewise.
16007         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16008         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16009         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16011 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16013         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16014         (libpthread-routines): Add sysdep.
16015         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16016         * sysdeps/unix/sysv/linux/sparc/Versions
16017         (libpthread: GLIBC_2.3.3): New version set.
16018         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16019         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16020         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16022         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16023         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16024         Moved ...
16025         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16026         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16027         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16028         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16029         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16030         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16031         * sysdeps/sparc/nptl/sem_init.c: ... here.
16032         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16033         * sysdeps/sparc/nptl/sem_post.c: ... here.
16034         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16035         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16037         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16040         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16041         (libpthread-routines): Add cpu_relax.
16042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16043         File removed.
16044         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16045         (librt: GLIBC_2.3.3): New version set.
16046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16047         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16049         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16052         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16054         Moved ...
16055         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16057         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16059         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16061         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16063         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16065         Moved ...
16066         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16067         Update #include.
16068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16069         Moved ...
16070         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16071         Update #include.
16072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16073         Moved ...
16074         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16075         Update #include.
16076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16077         Moved ...
16078         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16079         Update #include.
16080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16081         Moved ...
16082         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16083         Update #include.
16084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16085         Moved ...
16086         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16087         Update #include.
16088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16089         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16095         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16097         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16099         Moved ...
16100         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16106 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16108         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16109         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16110         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16111         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16112         * nscd/nscd.c: Likewise.
16113         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16114         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16115         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16116         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16118         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16119         <kernel-features.h>.
16120         (init_mq_netlink): Remove conditional have_sock_cloexec
16121         definitions.  Remove code conditional on have_sock_cloexec < 0.
16122         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16123         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16124         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16125         <kernel-features.h>.
16126         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16127         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16129 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16132         Add tests for memset_chk and memset.
16134         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16135         with AVX2_Usable.
16137 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16139         [BZ #16046]
16140         * elf/tst-dl-iter-static.c: New file.
16141         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16143         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16144         error.
16146 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16148         * sysdeps/unix/sysv/linux/kernel-features.h
16149         (__ASSUME_F_GETOWN_EX): Remove macro.
16150         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16151         <kernel-features.h>.
16152         (miss_F_GETOWN_EX): Remove variable or macro.
16153         (do_fcntl): Do not check miss_F_GETOWN_EX.
16154         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16157         Remove macro.
16158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16159         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16160         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16162         * sysdeps/unix/sysv/linux/kernel-features.h
16163         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16164         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16165         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16166         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16168 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16170         [BZ #17075]
16171         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16172         Fix calculation of the symbol's value.
16173         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16174         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16175         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16176         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16177         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16178         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16179         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16180         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16181         (modules-names): Add `tst-armtlsdescmod',
16182         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16183         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16184         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16185         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16186         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16187         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16188         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16189         ($(objpfx)tst-armtlsdescloc): New dependency.
16190         ($(objpfx)tst-armtlsdescextnow): Likewise.
16191         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16192         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16193         TLS scheme support.
16194         * sysdeps/arm/configure: Regenerate.
16196 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16198         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16199         (__atfct_seterrno_2): Likewise.
16200         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16201         <kernel-features.h>.
16202         (__ASSUME_ATFCTS): Do not undefine and redefine.
16203         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16204         (__have_atfcts): Remove conditional definition.
16205         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16206         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16207         unreachable if [__ASSUME_ATFCTS].
16208         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16209         not undefine and redefine.
16210         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16211         <kernel-features.h>.
16212         (faccessat) [__NR_faccessat]: Make code unconditional.
16213         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16214         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16215         <kernel-features.h>.
16216         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16217         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16218         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16219         <kernel-features.h>.
16220         (fchownat) [__NR_fchownat]: Make code unconditional.
16221         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16222         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16223         <kernel-features.h>.
16224         (futimesat) [__NR_futimesat]: Make code unconditional.
16225         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16226         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16227         <kernel-features.h>.
16228         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16229         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16230         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16231         <kernel-features.h>.
16232         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16233         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16234         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16235         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16236         <kernel-features.h>.
16237         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16238         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16239         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16240         <kernel-features.h>.
16241         (linkat) [__NR_linkat]: Make code unconditional.
16242         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16243         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16244         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16245         <kernel-features.h>.
16246         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16247         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16248         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16249         <kernel-features.h>.
16250         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16251         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16252         * sysdeps/unix/sysv/linux/openat.c: Do not include
16253         <kernel-features.h>.
16254         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16255         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16256         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16257         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16258         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16259         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16260         <kernel-features.h>.
16261         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16262         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16263         result of INLINE_SYSCALL directly, not via int variable.
16264         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16265         <kernel-features.h>.
16266         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16267         (renameat) [__NR_renameat]: Make code unconditional.
16268         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16269         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16270         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16271         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16272         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16273         (__ASSUME_ATFCTS): Do not undefine and redefine.
16274         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16275         <kernel-features.h>.
16276         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16277         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16278         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16279         <kernel-features.h>.
16280         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16281         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16282         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16283         (__ASSUME_ATFCTS): Do not undefine and redefine.
16284         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16285         <kernel-features.h>.
16286         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16287         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16288         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16289         <kernel-features.h>.
16290         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16291         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16293 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16295         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16297 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16299         [BZ #17069]
16300         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16301         constructed tree before returning error.
16302         * posix/bug-regexp36.c: Expand test case.
16304 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16306         [BZ #6803]
16307         * math/libm-test.inc (scalbln_test_date):
16308         Add errno expectations.
16309         * math/w_scalblnf.c: New File.
16310         Add wrapper which checks for setting errno to ERANGE.
16311         Add weak_alias for corresponding scalbln function.
16312         * math/w_scalbln.c: Likewise.
16313         * math/w_scalblnl.c: Likewise.
16314         * math/Makefile (libm-calls): Add w_scalbln.
16315         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16316         Remove weak_alias for corresponding scalbln function.
16317         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16319         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16320         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16321         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16322         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16323         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16324         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16325         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16326         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16327         Remove long_double_symbol for scalblnl function in libm, libc.
16328         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16329         Add wrapper which checks for setting errno to ERANGE.
16330         Add long_double_symbol for scalblnl function in libm, libc.
16331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16332         Remove long_double_symbol for scalblnl in libm.
16333         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16334         Add wrapper which checks for setting errno to ERANGE.
16335         Add long_double_symbol for scalblnl function in libm.
16336         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16337         Do not use wrapper because of own implementation.
16339 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16341         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16342         3 bytes for __pad1 for x32.
16343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16345 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16346             H.J. Lu  <hongjiu.lu@intel.com>
16348         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16349         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16350         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16351         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16352         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16354 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16356         [BZ #17069]
16357         * posix/regcomp.c (parse_expression): Deallocate partially
16358         constructed tree before returning error.
16359         * posix/Makefile.c (tests): Add bug-regex36.
16360         (generated): Add bug-regex36.mtrace.
16361         (tests-special): Add $(objpfx)bug-regex36-mem.out
16362         (bug-regex36-ENV): New variable.
16363         ($(objpfx)bug-regex36-mem.out): New rule.
16364         * posix/bug-regex36.c: New file.
16366 2014-06-19  Will Newton  <will.newton@linaro.org>
16368         * malloc/malloc.c (systrim): If extra is zero then return
16369         early.
16371 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16373         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16375 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16377         * sysdeps/aarch64/strchr.S: New file.
16379 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16381         [BZ #17022]
16382         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16383         from arguments -2 or below.
16384         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16385         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16387 2014-06-18  Andreas Schwab  <schwab@suse.de>
16389         [BZ #17062]
16390         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16391         of a bracket expr not to run off the end of the string.
16392         * posix/Makefile (tests): Add tst-fnmatch3.
16393         * posix/tst-fnmatch3.c: New file.
16395 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16397         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16398         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16399         [$(cross-compiling) = no]: Likewise.
16400         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16401         [$(cross-compiling) = no]: Likewise.
16403 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16405         [BZ #17031]
16406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16407         double, adjusted for any remainder from the high double.
16408         * math/libm-test.inc (nearbyint): Add tests.
16409         (rint): Likewise.
16411 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16413         * nptl/sysdeps/powerpc/Makefile: Moved ...
16414         * sysdeps/powerpc/nptl/Makefile: ... here.
16415         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16416         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16417         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16418         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16419         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16420         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16421         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16422         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16423         * nptl/sysdeps/powerpc/tls.h: Moved ...
16424         * sysdeps/powerpc/nptl/tls.h: ... here.
16426 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #16681]
16429         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16430         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16431         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16432         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16433         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16434         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16435         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16436         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16437         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16439 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16441         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16443 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16445         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16446         defined operator.
16448         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16449         $TIMEOUTFACTOR.
16451 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16453         [BZ #17058]
16454         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16455         non-executed part of the test.
16457 2014-06-16  Andreas Schwab  <schwab@suse.de>
16459         * string/bits/string2.h (strdup, strndup): Update feature guard.
16461 2014-06-14  David S. Miller  <davem@davemloft.net>
16463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16465 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16467         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16468         that was previously under [RESET_PID].
16469         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16471         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16472         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16473         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16475         (__libc_vfork): New strong alias.
16476         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16478 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16480         * sysdeps/generic/elide.h: New file.
16482 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16484         * Makefile (installed-headers): Adjust path of pthread.h header.
16486 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16488         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16489         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16490         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16491         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16493         * nptl/sysdeps/s390/Makefile: Moved ...
16494         * sysdeps/s390/nptl/Makefile: ... here.
16495         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16496         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16497         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16498         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16499         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16500         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16501         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16502         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16503         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16504         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16505         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16506         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16507         * nptl/sysdeps/s390/tls.h: Moved ...
16508         * sysdeps/s390/nptl/tls.h: ... here.
16510         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16511         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16513 2014-06-13  David S. Miller  <davem@davemloft.net>
16515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16518         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16522         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16523         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16524         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16525         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16526         Remove RESET_PID cpp guards.
16527         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16528         Remove RESET_PID cpp guards.
16529         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16531 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16533         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16534         __sp to uintptr_t.
16536 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16548         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16554         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16559         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16560         (pthread_rwlock_rdlock): Add elision.
16561         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16562         (pthread_rwlock_wrlock): Add elision.
16563         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16564         (pthread_rwlock_trywrlock): Add elision.
16565         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16566         (pthread_rwlock_tryrdlock): Add elision.
16567         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16568         (pthread_rwlock_tryrdlock): Add elision unlock.
16569         * nptl/sysdeps/pthread/pthread.h:
16570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16571         (PTHREAD_RWLOCK_INITIALIZER,
16572         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16573         Handle new elision field.
16574         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16575         * sysdeps/arm/nptl/bits/pthreadtypes.h
16576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16577         * sysdeps/sh/nptl/bits/pthreadtypes.h
16578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16579         * sysdeps/tile/nptl/bits/pthreadtypes.h
16580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16581         * sysdeps/a/nptl/bits/pthreadtypes.h
16582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16583         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16585         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16587         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16589         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16591         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16593         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16595         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16597         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16599         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16600         (elision_init): Set try_xbegin to zero when no RTM.
16601         * sysdeps/x86/nptl/bits/pthreadtypes.h
16602         (pthread_rwlock_t): Change __pad1 to __rwelision.
16603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16605 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16607         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16608         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16609         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16610         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16612 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16614         [BZ #16996]
16615         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16616         that the cached result has been set before returning it.
16618 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16620         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16621         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16623         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16625         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16627         * nptl/sysdeps/sparc/Makefile: Moved ...
16628         * sysdeps/sparc/nptl/Makefile: ... here.
16629         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16630         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16631         * nptl/sysdeps/sparc/tls.h: Moved ...
16632         * sysdeps/sparc/nptl/tls.h: ... here.
16633         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16634         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16635         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16636         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16637         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16638         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16639         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16640         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16641         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16642         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16643         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16644         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16645         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16646         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16647         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16648         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16649         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16650         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16651         Update #include.
16652         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16654         Update #include.
16655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16657         Update #include.
16658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16660         Update #include.
16662         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16664         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16665         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16667         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16668         (struct list_links): Type removed.
16669         (struct thread_node, struct timer_node): Replace struct list_links
16670         with struct list_head.
16671         (list_unlink_ip): Likewise.
16672         * sysdeps/pthread/timer_routines.c
16673         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16674         (list_append, list_insbefore): Likewise.
16675         (list_init): Function removed.
16676         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16677         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16678         * sysdeps/pthread/Makefile: ... here, new file.
16680         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16681         * sysdeps/nptl/Implies: ... here.
16682         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16683         * nptl/sysdeps/pthread/list.h: Moved ...
16684         * include/list.h: ... here.
16685         * nptl/sysdeps/pthread/createthread.c: Moved ...
16686         * nptl/createthread.c: ... here.
16687         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16688         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16689         * nptl/pt-longjmp.c: ... here.
16690         * nptl/sysdeps/pthread/Makefile: Moved ...
16691         * sysdeps/nptl/Makefile: ... here.
16692         * nptl/sysdeps/pthread/Subdirs: Moved ...
16693         * sysdeps/nptl/Subdirs: ... here.
16694         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16695         * sysdeps/nptl/aio_misc.h: ... here.
16696         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16697         * sysdeps/nptl/bits/libc-lock.h: ... here.
16698         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16699         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16700         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16701         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16702         * nptl/sysdeps/pthread/configure: Moved ...
16703         * sysdeps/nptl/configure: ... here.
16704         * nptl/sysdeps/pthread/configure.ac: Moved ...
16705         * sysdeps/nptl/configure.ac: ... here.
16706         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16707         * sysdeps/nptl/gai_misc.h: ... here.
16708         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16709         * sysdeps/nptl/librt-cancellation.c: ... here.
16710         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16711         * sysdeps/nptl/malloc-machine.h: ... here.
16712         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16713         * sysdeps/nptl/pthread-functions.h: ... here.
16714         * nptl/sysdeps/pthread/pthread.h: Moved ...
16715         * sysdeps/nptl/pthread.h: ... here.
16716         * nptl/sysdeps/pthread/setxid.h: Moved ...
16717         * sysdeps/nptl/setxid.h: ... here.
16718         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16719         * sysdeps/nptl/sigfillset.c: ... here.
16720         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16721         * sysdeps/nptl/tcb-offsets.h: ... here.
16722         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16723         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16724         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16725         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16726         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16727         * sysdeps/pthread/allocalim.h: ... here.
16728         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16729         * sysdeps/pthread/bits/sigthread.h: ... here.
16730         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16731         * sysdeps/pthread/flockfile.c: ... here.
16732         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16733         * sysdeps/pthread/ftrylockfile.c: ... here.
16734         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16735         * sysdeps/pthread/funlockfile.c: ... here.
16736         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16737         * sysdeps/pthread/posix-timer.h: ... here.
16738         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16739         * sysdeps/pthread/timer_create.c: ... here.
16740         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16741         * sysdeps/pthread/timer_delete.c: ... here.
16742         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16743         * sysdeps/pthread/timer_getoverr.c: ... here.
16744         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16745         * sysdeps/pthread/timer_gettime.c: ... here.
16746         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16747         * sysdeps/pthread/timer_routines.c: ... here.
16748         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16749         * sysdeps/pthread/timer_settime.c: ... here.
16750         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16751         * sysdeps/pthread/tst-timer.c: ... here.
16752         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16753         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16755         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16756         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16758         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16759         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16760         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16761         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16762         Update #include target.
16763         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16764         * sysdeps/i386/i686/nptl/Makefile: ... here.
16765         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16766         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16767         Update #include target.
16768         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16769         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16770         * nptl/sysdeps/i386/Makefile: Moved ...
16771         * sysdeps/i386/nptl/Makefile: ... here.
16772         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16773         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16774         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16775         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16776         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16777         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16778         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16779         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16780         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16781         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16782         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16783         * nptl/sysdeps/i386/tls.h: Moved ...
16784         * sysdeps/i386/nptl/tls.h: ... here.
16786         * sysdeps/sh/Makefile [$(subdir) = csu]
16787         (gen-as-const-headers): Add tcb-offsets.sym.
16788         * nptl/sysdeps/sh/Makefile: File removed.
16789         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16790         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16791         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16792         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16793         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16794         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16795         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16796         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16797         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16798         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16799         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16800         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16801         * nptl/sysdeps/sh/tls.h: Moved ...
16802         * sysdeps/sh/nptl/tls.h: ... here.
16803         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16804         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16805         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16806         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16807         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16808         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16809         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16810         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16812         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16813         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16814         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16816         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16818         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16820         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16822         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16824         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16828         Moved ...
16829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16837         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16838         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16839         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16840         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16841         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16842         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16843         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16844         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16845         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16846         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16847         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16848         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16850         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16852 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16854         * posix/spawn_faction_addopen.c: Include string.h.
16856 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16858         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16859         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16860         * nptl/sysdeps/x86_64/Makefile: Moved ...
16861         * sysdeps/x86_64/nptl/Makefile: ... here.
16862         * nptl/sysdeps/x86_64/configure: Moved ...
16863         * sysdeps/x86_64/nptl/configure: ... here.
16864         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16865         * sysdeps/x86_64/nptl/configure.ac: ... here.
16866         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16867         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16868         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16869         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16870         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16871         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16872         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16873         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16874         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16875         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16876         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16877         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16878         * nptl/sysdeps/x86_64/tls.h: Moved ...
16879         * sysdeps/x86_64/nptl/tls.h: ... here.
16880         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16881         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16882         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16883         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16885         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16887 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16891 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16893         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16894         type.
16895         [POSIX] (off_t): Likewise.
16896         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16897         [POSIX] (S_ISBLK): Require macro.
16898         [POSIX] (S_ISCHR): Likewise.
16899         [POSIX] (S_ISDIR): Likewise.
16900         [POSIX] (S_ISFIFO): Likewise.
16901         [POSIX] (S_ISREG): Likewise.
16902         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16903         optional-macro.
16904         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16905         type.
16906         [POSIX] (time_t): Likewise.
16907         [POSIX] (timer_t): Likewise.
16909 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16911         [BZ #17048]
16912         * posix/spawn_int.h (struct __spawn_action): Make the path string
16913         non-const to support deallocation.
16914         * posix/spawn_faction_addopen.c
16915         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16916         * posix/spawn_faction_destroy.c
16917         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16918         path in all spawn_do_open actions.
16919         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16920         posix_spawn_file_actions_addopen.
16922 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16924         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16925         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16926         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16927         conditional code always true.
16928         (__libc_vfork): New alias.
16930 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16932         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16933         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16935         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16937         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16938         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16940         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16941         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16943         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16944         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16946 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16948         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16949         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16950         multiarch strcmp for PPC64.
16951         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16952         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16954         multiarch optimizations.
16955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16956         (__libc_ifunc_impl_list): Likewise.
16958 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16960         * benchtests/scripts/validate_benchout.py: New script.
16961         * benchtests/Makefile (bench-func): Call it.
16962         * benchtests/scripts/benchout.schema.json: New file.
16964 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16966         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16967         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16968         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16969         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16970         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16971         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16972         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16973         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16974         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16975         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16976         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16977         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16978         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16979         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16980         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16981         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16985         ... here.
16986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16987         Moved ...
16988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16990         Moved ...
16991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16992         ... here.
16993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16994         Moved ...
16995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16996         ... here.
16997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16998         Moved ...
16999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17001         Moved ...
17002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17003         ... here.
17004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17005         Moved ...
17006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17007         ... here.
17008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17009         Moved ...
17010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17012         Moved ...
17013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17014         ... here.
17015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17016         Moved ...
17017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17018         ... here.
17019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17020         Moved ...
17021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17022         ... here.
17023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17024         Moved ...
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17027         Moved ...
17028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17029         ... here.
17030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17031         Moved ...
17032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17033         ... here.
17034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17035         Moved ...
17036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17037         ... here.
17038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17039         Moved ...
17040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17042         Moved ...
17043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17044         ... here.
17045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17046         Moved ...
17047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17048         ... here.
17049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17050         Moved ...
17051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17053         Moved ...
17054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17055         ... here.
17056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17057         Moved ...
17058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17060         Moved ...
17061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17063         Moved ...
17064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17065         ... here.
17066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17067         Moved ...
17068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17069         ... here.
17070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17071         Moved ...
17072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17073         ... here.
17074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17075         Moved ...
17076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17078         Moved ...
17079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17080         ... here.
17081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17082         Moved ...
17083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17084         ... here.
17085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17086         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17088         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17090         Moved ...
17091         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17092         ... here.
17093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17094         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17100         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17102         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17104         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17106         Moved ...
17107         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17109         Moved ...
17110         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17112         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17114         Moved ...
17115         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17117         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17118         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17119         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17120         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17121         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17123 2014-06-10  Wilco  <wdijkstr@arm.com>
17125         * math/test-fenv-return.c: New file.
17126         * math/Makefile: Add new test test-fenv-return.
17128 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17130         [BZ #17042]
17131         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17132         when x - 1 is zero.
17133         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17134         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17135         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17136         0.0L for an argument of 1.0L.
17137         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17138         Likewise.
17139         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17140         value when x - 1 is zero.
17141         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17142         * sysdeps/i386/fpu/libm-test-ulps: Update.
17143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17147         [BZ #15119]
17148         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17150 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17152         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17153         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17155 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17157         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17158         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17160         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17161         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17163         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17164         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17166         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17167         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17169         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17170         if not already defined.
17171         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17172         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17173         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17174         (TLS_INIT_TP): Use it.
17175         (TLS_DEFINE_INIT_TP): New macro.
17176         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17178 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17180         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17181         constant.
17182         [POSIX] (IXANY): Likewise.
17183         [POSIX] (OLCUC): Likewise.
17184         [POSIX || POSIX2008] (CBAUD): Do not allow.
17185         [POSIX || POSIX2008] (DEFECHO): Likewise.
17186         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17187         [POSIX || POSIX2008] (ECHOKE): Likewise.
17188         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17189         [POSIX || POSIX2008] (EXTA): Likewise.
17190         [POSIX || POSIX2008] (EXTB): Likewise.
17191         [POSIX || POSIX2008] (FLUSHO): Likewise.
17192         [POSIX || POSIX2008] (LOBLK): Likewise.
17193         [POSIX || POSIX2008] (PENDIN): Likewise.
17194         [POSIX || POSIX2008] (SWTCH): Likewise.
17195         [POSIX || POSIX2008] (VDISCARD): Likewise.
17196         [POSIX || POSIX2008] (VDSUSP): Likewise.
17197         [POSIX || POSIX2008] (VLNEXT): Likewise.
17198         [POSIX || POSIX2008] (VREPRINT): Likewise.
17199         [POSIX || POSIX2008] (VSTATUS): Likewise.
17200         [POSIX || POSIX2008] (VWERASE): Likewise.
17201         (B*): Change to B[0123456789]*.
17202         * conform/data/time.h-data [POSIX || UNIX98]
17203         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17204         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17205         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17206         [POSIX] (tm_*): Do not allow.
17208 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17210         * Makefile (install): Don't set LANGUAGE.
17211         * Makefile.in (install): Likewise.
17212         * assert/Makefile (test-assert-ENV): Remove variable.
17213         (test-assert-perr-ENV): Likewise.
17214         * elf/Makefile (neededtest4-ENV): Likewise.
17215         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17216         [$(cross-compiling) = no]: Don't set LANGUAGE.
17217         * io/ftwtest-sh (LANG): Remove variable.
17218         * libio/Makefile (tst-widetext-ENV): Likewise.
17219         * manual/install.texi (Running make install): Don't refer to
17220         environment settings for make install.
17221         * INSTALL: Regenerated.
17222         * nptl/tst-tls6.sh: Don't set LANG.
17223         * posix/globtest.sh (LANG): Remove variable.
17224         * string/Makefile (tester-ENV): Likewise.
17225         (inl-tester-ENV): Likewise.
17226         (noinl-tester-ENV): Likewise.
17227         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17228         [$(cross-compiling) = no]: Don't set LANGUAGE.
17229         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17230         without explicit environment settings.
17232 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17234         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17235         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17236         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17237         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17239 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17241         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17242         other files in the crypt directory.
17243         * crypt/crypt.c: Remove duplicate includes.
17244         * crypt/crypt-entry.c: Likewise.
17245         * crypt/crypt_util.c: Likewise.
17247 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17249         * Makeconfig (run-program-env): New variable.
17250         (run-program-prefix-before-env): Likewise.
17251         (run-program-prefix-after-env): Likewise.
17252         (run-program-prefix): Define in terms of new variables.
17253         (built-program-cmd-before-env): New variable.
17254         (built-program-cmd-after-env): Likewise.
17255         (built-program-cmd): Define in terms of new variables.
17256         (test-program-prefix-before-env): New variable.
17257         (test-program-prefix-after-env): Likewise.
17258         (test-program-prefix): Define in terms of new variables.
17259         (test-program-cmd-before-env): New variable.
17260         (test-program-cmd-after-env): Likewise.
17261         (test-program-cmd): Define in terms of new variables.
17262         * Rules (make-test-out): Use $(run-program-env).
17263         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17264         (help): Do not mention environment variables.  Mention
17265         --timeoutfactor option.
17266         (timeoutfactor): New variable.
17267         (blacklist_exports): Remove function.
17268         (exports): Remove variable.
17269         (command): Do not include ${exports}.
17270         * manual/install.texi (Configuring and compiling): Do not mention
17271         test wrappers preserving environment variables.  Mention that last
17272         assignment to a variable must take precedence.
17273         * INSTALL: Regenerated.
17274         * benchtests/Makefile (run-bench): Use $(run-program-env).
17275         * catgets/Makefile ($(objpfx)test1.cat): Use
17276         $(built-program-cmd-before-env), $(run-program-env) and
17277         $(built-program-cmd-after-env).
17278         ($(objpfx)test2.cat): Do not specify environment variables
17279         explicitly.
17280         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17281         $(run-program-env) and $(built-program-cmd-after-env).
17282         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17283         $(run-program-env) and $(test-program-cmd-after-env).
17284         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17285         explicitly.
17286         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17287         run_program_env and test_program_cmd_after_env arguments.
17288         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17289         * elf/tst-pathopt.sh: Use run_program_env argument.
17290         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17291         $(test-wrapper-env) and $(run-program-env).
17292         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17293         run_program_env arguments.
17294         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17295         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17296         $(test-program-prefix-before-env), $(run-program-env) and
17297         $(test-program-prefix-after-env).
17298         ($(objpfx)tst-gettext2.out): Likewise.
17299         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17300         run_program_env and test_program_prefix_after_env arguments.
17301         * intl/tst-gettext2.sh: Likewise.
17302         * intl/tst-gettext4.sh: Do not set environment variables
17303         explicitly.
17304         * intl/tst-gettext6.sh: Likewise.
17305         * intl/tst-translit.sh: Likewise.
17306         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17307         $(test-program-prefix-before-env), $(run-program-env) and
17308         $(test-program-prefix-after-env).
17309         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17310         run_program_env and test_program_prefix_after_env arguments.
17311         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17312         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17313         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17314         explicitly with each use of ${test_wrapper_env}.
17315         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17316         $(test-program-prefix-before-env), $(run-program-env) and
17317         $(test-program-prefix-after-env).
17318         * posix/tst-getconf.sh: Do not set environment variables
17319         explicitly.
17320         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17321         run_program_env and test_program_prefix_after_env arguments.
17322         * stdio-common/tst-printf.sh: Do not set environment variables
17323         explicitly.
17324         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17325         $(test-program-prefix-before-env), $(run-program-env) and
17326         $(test-program-prefix-after-env).
17327         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17328         run_program_env and test_program_prefix_after_env arguments.
17329         Split $test calls into $test_pre and $test.
17330         * timezone/Makefile (build-testdata): Use
17331         $(built-program-cmd-before-env), $(run-program-env) and
17332         $(built-program-cmd-after-env).
17334 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17336         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17337         strlen for non SHARED builds.
17339 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17341         * nptl/allocatestack.c (check_list): Inlined function...
17342         (__reclaim_stacks): ... here.
17344 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17346         [BZ #15698]
17347         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17348         memory overrun.
17350 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17352         * Rules (make-test-out): Include
17353         LOCPATH=$(common-objpfx)localedata in default environment.
17354         * debug/Makefile (tst-chk1-ENV): Remove variable.
17355         (tst-chk2-ENV): Likewise.
17356         (tst-chk3-ENV): Likewise.
17357         (tst-chk4-ENV): Likewise.
17358         (tst-chk5-ENV): Likewise.
17359         (tst-chk6-ENV): Likewise.
17360         (tst-lfschk1-ENV): Likewise.
17361         (tst-lfschk2-ENV): Likewise.
17362         (tst-lfschk3-ENV): Likewise.
17363         (tst-lfschk4-ENV): Likewise.
17364         (tst-lfschk5-ENV): Likewise.
17365         (tst-lfschk6-ENV): Likewise.
17366         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17367         (tst-iconv7-ENV): Likewise.
17368         * intl/Makefile (LOCPATH-ENV): Likewise.
17369         (tst-codeset-ENV): Likewise.
17370         (tst-gettext3-ENV): Likewise.
17371         (tst-gettext5-ENV): Likewise.
17372         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17373         (tst-fopenloc-ENV): Likewise.
17374         (tst-fgetws-ENV): Remove variable.
17375         (tst-ungetwc1-ENV): Likewise.
17376         (tst-ungetwc2-ENV): Likewise.
17377         (bug-ungetwc2-ENV): Likewise.
17378         (tst-swscanf-ENV): Likewise.
17379         (bug-ftell-ENV): Likewise.
17380         (tst-fgetwc-ENV): Likewise.
17381         (tst-fseek-ENV): Likewise.
17382         (tst-ftell-partial-wide-ENV): Likewise.
17383         (tst-ftell-active-handler-ENV): Likewise.
17384         (tst-ftell-append-ENV): Likewise.
17385         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17386         (tst-regexloc-ENV): Likewise.
17387         (bug-regex1-ENV): Likewise.
17388         (tst-regex-ENV): Likewise.
17389         (tst-regex2-ENV): Likewise.
17390         (bug-regex5-ENV): Likewise.
17391         (bug-regex6-ENV): Likewise.
17392         (bug-regex17-ENV): Likewise.
17393         (bug-regex18-ENV): Likewise.
17394         (bug-regex19-ENV): Likewise.
17395         (bug-regex20-ENV): Likewise.
17396         (bug-regex22-ENV): Likewise.
17397         (bug-regex23-ENV): Likewise.
17398         (bug-regex25-ENV): Likewise.
17399         (bug-regex26-ENV): Likewise.
17400         (bug-regex30-ENV): Likewise.
17401         (bug-regex32-ENV): Likewise.
17402         (bug-regex33-ENV): Likewise.
17403         (bug-regex34-ENV): Likewise.
17404         (bug-regex35-ENV): Likewise.
17405         (tst-rxspencer-ENV): Likewise.
17406         (tst-rxspencer-no-utf8-ENV): Likewise.
17407         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17408         (tst-sscanf-ENV): Likewise.
17409         (tst-swprintf-ENV): Likewise.
17410         (tst-swscanf-ENV): Likewise.
17411         (test-vfprintf-ENV): Likewise.
17412         (scanf13-ENV): Likewise.
17413         (bug14-ENV): Likewise.
17414         (tst-grouping-ENV): Likewise.
17415         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17416         (tst-strtod3-ENV): Likewise.
17417         (tst-strtod4-ENV): Likewise.
17418         (tst-strtod5-ENV): Likewise.
17419         (testmb2-ENV): Likewise./
17420         * string/Makefile (tst-strxfrm-ENV): Likewise.
17421         (tst-strxfrm2-ENV): Likewise.
17422         (bug-strcoll1-ENV): Likewise.
17423         (test-strcasecmp-ENV): Likewise.
17424         (test-strncasecmp-ENV): Likewise.
17425         * time/Makefile (tst-strptime-ENV): Likewise.
17426         (tst-ftime_l-ENV): Likewise.
17427         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17428         (tst-mbrtowc-ENV): Likewise.
17429         (tst-wcrtomb-ENV): Likewise.
17430         (tst-mbrtowc2-ENV): Likewise.
17431         (tst-c16c32-1-ENV): Likewise.
17432         (tst-mbsnrtowcs-ENV): Likewise.
17434 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17436         * manual/resource.texi (How to get information about the memory
17437         subsystem?): Fix typo.
17438         Reported by Peon de la Parra Ivan <peon@keba.com>
17440 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17442         [BZ #16882]
17443         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17444         (pthread_spin_lock): Branch out of spin loop to proper location.
17445         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17446         (pthread_spin_lock): Likewise.
17448         * nptl/tst-spin4.c: New test.
17449         * nptl/Makefile (tests): Add tst-spin4.
17451 2014-06-03  Andreas Schwab  <schwab@suse.de>
17453         [BZ #15946]
17454         * resolv/res_send.c (send_dg): Reload file descriptor after
17455         calling reopen.
17457 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17459         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17461 2014-06-03  Richard Henderson  <rth@redhat.com>
17463         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17464         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17465         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17466         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17467         in the SAVE_PID block.
17468         (__libc_vfork): New alias.
17469         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17471         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17472         child in registers, not on the stack.  Remove RESET_PID conditionals.
17473         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17475 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17477         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17479 2014-06-03  Wilco  <wdijkstr@arm.com>
17481         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17482         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17483         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17484         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17485         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17486         Likewise.
17488 2014-06-03  Wilco  <wdijkstr@arm.com>
17490         * sysdeps/aarch64/fpu/math_private.h
17491         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17492         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17493         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17494         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17495         Fix declarations.
17497 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17499         * crypt/crypt-private.h: Include ufc-crypt.h.
17500         (__b64_from_24bit): Declare extern.
17501         * crypt/crypt_util.c(__b64_from_24bit): New function.
17502         (b64t): New static const variable.
17503         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17504         (b64t): Remove variable.
17505         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17506         * crypt/sha256-crypt.c: Include crypt-private.h.
17507         (b64t): Remove variable.
17508         (__sha256_crypt_r): Remove b64_from_24bit and replace
17509         with __b64_from_24bit.
17510         * crypt/sha512-crypt.c: Likewise.
17512 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17514         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17515         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17516         Label the code __libc_vfork rather than __vfork.
17517         [!NOT_IN_libc] (vfork): Define as weak alias.
17518         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17519         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17520         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17522 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17524         * malloc/malloc.c (malloc_info): Fix format specifier for
17525         n_mmaps.
17527 2014-06-02  Wilco  <wdijkstr@arm.com>
17529         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17530         FPCR write.
17532 2014-06-02  Wilco  <wdijkstr@arm.com>
17534         [BZ #17009]
17535         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17536         Rewrite to reduce FPCR/FPSR accesses.
17538 2014-06-01  David S. Miller  <davem@davemloft.net>
17540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17542 2014-05-31  David S. Miller  <davem@davemloft.net>
17544         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17545         to occur in round to nearest mode when |x| >= 2.0
17547 2014-05-30  Richard Henderson  <rth@twiddle.net>
17549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17550         (PSEUDO_RET_NOERRNO): Remove.
17551         (ret): Don't redefine.
17552         (ret_NOERRNO): Define in terms of ret.
17553         (ret_ERRVAL): Likewise.
17555         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17556         use of PSEUDO_RET; perform the error check directly.
17558 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17560         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17561         with __int128_t.
17563 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17565         * malloc/malloc (malloc_info): Fix formatting.
17567 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17568             Roland McGrath  <roland@hack.frob.com>
17570         * malloc/malloc (malloc_info): Also print mmapped statistics.
17572 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17574         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17575         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17577 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17579         * malloc/malloc.c (malloc_info): Inline mi_arena.
17581 2014-05-29  Richard Henderson  <rth@twiddle.net>
17583         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17584         Remove comma before expanding ASM_ARGS_##nr.
17585         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17586         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17587         of ASM_ARGS_##nr.
17588         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17589         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17590         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17591         (ASM_ARGS_1): Add leading comma.
17593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17594         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17595         to __errno_location.
17596         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17597         Remove the expected plt for __errno_location.
17599         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17600         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17601         call to __read_tp.
17603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17604         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17605         it and break it down.
17606         (DOCARGS_0, DOCARGS_1): Do nothing.
17607         (DOCARGS_2): Update to store into the new stack frame.
17608         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17609         (UNDOCARGS_1): Update to restore from the new stack frame.
17610         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17611         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17613         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17614         (SINGLE_THREAD_P): New parameter for result regno.
17615         (PSEUDO): Update to match; use cbz instead of beq.
17617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17618         Use ENTRY to define the _nocancel entry point.  Share the syscall
17619         and syscall error check paths with the cancel path.
17620         (PSEUDO_END): New.
17622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17623         whitespace; tabs before and after asm mnemonics.
17625 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17627         [BZ #15132]
17628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17629         Call fstat64 or stat64 internally, depending on arguments passed.
17630         Replace stat buffer argument with file descriptor argument.
17631         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17632         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17633         Pass fd to __internal_statvfs instead of calling fstat64.
17634         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17635         Pass fd to __internal_statvfs64 instead of calling fstat64.
17636         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17637         Pass -1 to __internal_statvfs instead of calling stat64.
17638         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17639         Pass -1 to __internal_statvfs64 instead of calling stat64.
17641 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17643         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17644         that was previously under [RESET_PID].
17645         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17647         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17648         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17650 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17652         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17654         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17655         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17657 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17659         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17661 2014-05-27  Andreas Schwab  <schwab@suse.de>
17663         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17664         TLS_INIT_TP macro.
17665         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17666         * elf/rtld.c (init_tls, dl_main): Likewise.
17667         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17668         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17669         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17670         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17671         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17672         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17673         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17674         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17675         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17676         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17677         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17678         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17679         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17680         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17681         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17682         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17683         * sysdeps/generic/tls.h: Update description.
17685 2014-05-27  Will Newton  <will.newton@linaro.org>
17687         [BZ #16990]
17688         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17689         and restore r2 rather than just restoring.
17691 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17693         [BZ #16724]
17694         * libio/tst-ftell-append.c: New test case.
17695         * libio/Makefile (tests): Add test case.
17696         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17697         append mode.
17698         * libio/wfileops.c (do_ftell_wide): Likewise.
17700 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17704         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17705         ...
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17708         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17709         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17711         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17713         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17715         Moved ...
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17718         Moved ...
17719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17721         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17723         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17725         ...
17726         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17727         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17728         Moved ...
17729         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17730         here.
17731         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17732         ...
17733         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17735         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17737         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17738         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17739         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17740         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17743         merge into ...
17744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17746         ...
17747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17749         ...
17750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17752         Moved ...
17753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17754         here.
17755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17756         Moved ...
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17759         Moved ...
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17763         conditional [RESET_PID].
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17766         removed.
17767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17768         removed.
17770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17771         <tcb-offsets.h>.
17772         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17773         (__libc_vfork): New strong alias.
17774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17775         removed.
17776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17777         Removed.
17779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17780         <tcb-offsets.h>.
17781         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17782         (__libc_vfork): New strong alias.
17783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17784         removed.
17785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17786         removed.
17788 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17790         * malloc/malloc.c (mi_arena): New function.
17791         (malloc_info): Remove nested function mi_arena. Call non-nosted
17792         function mi_arena.
17794 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17796         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17797         by insrwi.
17798         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17799         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17800         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17801         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17802         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17803         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17804         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17806 2014-05-26  Andreas Schwab  <schwab@suse.de>
17808         [BZ #16984]
17809         * locale/programs/repertoire.c (repertoire_read): Add slash
17810         between I18NPATH element and file name.
17811         * locale/programs/locfile.c (locfile_read): Likewise.
17813 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17815         * nptl/pthread_mutexattr_settype.c
17816         (__pthread_mutexattr_settype):
17817         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17819 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17821         * nptl/tst-mutex5 (do_test):
17822         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17824 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17826         * benchtests/README: Document 'init' directive.
17827         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17828         BENCH_INIT.
17829         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17830         (parse_file): Recognize 'init' directive.
17832 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17834         [BZ #16796]
17835         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17836         alignment of struct pthread.
17838 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17840         [BZ #16878]
17841         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17842         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17843         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17844         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17846 2014-05-25  Richard Henderson  <rth@twiddle.net>
17848         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17849         (SINGLE_THREAD_P_PIC): Remove.
17850         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17851         (SINGLE_THREAD_P_PIC): Remove.
17853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17854         branch to syscall error ...
17855         (PSEUDO): ... here.
17856         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17857         from __local_syscall_error to .Lsyscall_error.
17858         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17859         (SYSCALL_ERROR): Update label name.
17861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17862         Do not use DOARGS/UNDOARGS.
17863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17864         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17865         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17866         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17867         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17870         block comment.
17872         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17873         define if !NOT_IN_libc.
17874         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17875         define with non-default symbol versions.
17877 2014-05-23  Richard Henderson  <rth@twiddle.net>
17879         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17880         (vfork, __vfork): Define via compat_symbol.
17882         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17883         [!HAVE_IFUNC] (vfork_compat): Remove.
17884         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17886 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #16978]
17889         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17890         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17891         variable.
17893 2014-05-23  Richard Henderson  <rth@twiddle.net>
17895         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17896         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17897         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17898         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17900         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17901         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17902         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17903         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17905         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17906         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17907         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17908         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17909         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17910         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17911         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17912         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17913         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17914         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17915         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17916         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17917         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17918         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17919         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17920         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17921         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17922         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17923         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17924         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17925         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17926         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17927         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17928         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17929         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17930         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17931         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17932         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17933         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17934         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17935         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17936         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17937         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17938         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17939         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17940         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17941         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17942         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17943         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17944         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17945         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17947         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17949         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17951         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17953         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17955         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17957         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17958         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17959         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17960         before exiting on error.
17961         (__libc_vfork): New strong alias.
17962         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17963         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17965         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17966         that was previously under [RESET_PID].
17967         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17969         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17971 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17973         [BZ #16977]
17974         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17975         value when x - 1 is zero.
17976         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17977         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17978         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17979         0.0L for an argument of 1.0L.
17980         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17981         Likewise.
17982         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17983         value when x - 1 is zero.
17984         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17985         * sysdeps/i386/fpu/libm-test-ulps: Update.
17986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17988 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17990         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17991         alphasort and versionsort.
17993 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17995         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17996         macro.
17997         [copysignf]: Likewise.
17999 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18001         * crypt/md5-crypt.c: Fix formatting.
18003 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18005         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18006         (b64_from_24bit): New function.
18008 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18011         libc_hidden_builtin_def to ifunc.
18012         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18013         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18015 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18017         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18018         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18020 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18022         * nscd/Depend (linuxthreads): Remove.
18023         (nptl): Add.
18024         * resolv/Depend (linuxthreads): Remove.
18025         * rt/Depend (linuxthreads): Remove.
18027         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18028         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18029         $(common-objpfx)elf/.
18030         (link-libc-before-gnulib): Likewise.
18031         (elfobjdir): Remove variable.
18032         * Makefile (install): Use $(elf-objpfx) instead of
18033         $(common-objpfx)elf/.
18034         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18035         $(elfobjdir)/.
18036         (link-libc-deps): Likewise.
18037         ($(common-objpfx)libc.so): Likewise.
18038         ($(common-objpfx)linkobj/libc.so): Likewise.
18039         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18040         instead of $(common-objpfx)elf/.
18041         (symbolic-link-list): Likewise.
18042         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18043         [$(cross-compiling) = no]: Likewise.
18044         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18045         $(elfobjdir)/.
18046         (static-gnulib-arch): Likewise.
18047         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18048         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18049         $(common-objpfx)elf/.
18051 2014-05-21  Richard Henderson  <rth@redhat.com>
18053         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18054         (SINGLE_THREAD_P): Use the correct width load.  Fold
18055         into the ldr offset.
18057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18058         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18060 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18062         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18063         (libgcc_s_resume): Use __attribute_used__.
18064         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18065         Likewise.
18067 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18069         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18070         optimization when used with float constants.
18072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18074 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18076         [BZ #16915]
18077         * locale/nl_langinfo_l.c: Make direct reference to every
18078         _nl_current_CATEGORY symbol.
18079         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18080         (tests-static): Add tst-langinfo-static.
18081         (tests-special): Add tst-langinfo-static.out.
18082         ($(objpfx)tst-langinfo.out): Redirect output.
18083         ($(objpfx)tst-langinfo-static.out): New.
18084         * localedata/tst-langinfo.sh: Send output to stdout.
18085         * localedata/tst-langinfo-static.c: New file.
18087         [BZ #16965]
18088         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18089         when the shift amount is modulo the limb size.
18091 2014-05-20  Richard Henderson  <rth@redhat.com>
18093         [BZ #16967]
18094         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18095         Change type of sa_flags from unsigned int to int.
18097         [BZ #16966]
18098         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18100         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18102 2014-05-20  Will Newton  <will.newton@linaro.org>
18104         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18105         Test the return value of the system call in the nocancel case.
18107 2014-05-20  Will Newton  <will.newton@linaro.org>
18108             Yvan Roux  <yvan.roux@linaro.org>
18110         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18111         #include of asm/ptrace.h.
18112         (PTRACE_GET_THREAD_AREA): Remove #undef.
18113         (PTRACE_GETHBPREGS): Likewise.
18114         (PTRACE_SETHBPREGS): Likewise.
18115         (struct user_regs_struct): New structure.
18116         (struct user_fpsimd_struct): New structure.
18117         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18118         #include of asm/ptrace.h and second #include of sys/user.h.
18119         (PTRACE_GET_THREAD_AREA): Remove #undef.
18120         (PTRACE_GETHBPREGS): Likewise.
18121         (PTRACE_SETHBPREGS): Likewise.
18122         (ELF_NGREG): Use new struct user_regs_struct.
18123         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18125 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18130 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18132         [BZ #16958]
18133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18134         membar to avoid block loads/stores to overlap previous stores.
18136 2014-05-17  Richard Henderson  <rth@redhat.com>
18138         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18139         Create the __##syscall_name##_nocancel entry point.
18140         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18141         Remove; let the sysdep-cancel.h code create it.
18143 2014-05-17  David S. Miller  <davem@davemloft.net>
18145         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18146         Protect with __USE_GNU.
18147         (TIOCSET_TEMPT): Likewise.
18148         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18149         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18150         these are already provided in bits/ioctl-types.h
18152 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18154         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18155         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18157         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18158         Use wait4 regardless of [__NR_waitpid].
18160 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18162         PR libgcc/60166
18163         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18164         (_FP_NANSIGN_Q): Set the quiet bit.
18166 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18168         * benchtests/Makefile
18169         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18170         not $(common-objpfx)math/libm.so.
18171         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18172         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18173         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18174         $(common-objpfx)dlfcn/libdl.so.
18175         ($(objpfx)tst-audit8): Depend on $(libm), not
18176         $(common-objpfx)math/libm.so.
18177         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18178         not $(common-objpfx)dlfcn/libdl.so.
18179         * math/Makefile
18180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18181         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18182         [$(build-shared) = yes].
18183         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18184         $(common-objpfx)nptl/libpthread.so.
18185         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18186         $(common-objpfx)math/libm.so$(libm.so-version) or
18187         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18188         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18189         $(common-objpfx)dlfcn/libdl.so.
18190         * setjmp/Makefile (link-libm): Remove variable.
18191         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18192         * stdio-common/Makefile (link-libm): Remove variable.
18193         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18194         * stdlib/Makefile (link-libm): Remove variable.
18195         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18196         ($(objpfx)tst-strtod-round): Likewise.
18197         ($(objpfx)tst-tininess): Likewise.
18198         ($(objpfx)tst-strtod-underflow): Likewise.
18199         ($(objpfx)tst-strtod6): Likewise.
18200         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18201         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18202         $(common-objpfx)dlfcn/libdl.so.
18204 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18206         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18207         BSD terminal modes definitions.
18209 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18211         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18212         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18214         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18215         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18216         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18217         Don't do #include_next.
18218         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18219         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18220         Don't do #include_next.
18221         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18222         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18223         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18224         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18226 2014-05-16  Allan McRae  <allan@archlinux.org>
18228         * po/sv.po: Update Swedish translation from translation project.
18230         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18231         in sed expression.
18233 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18235         [BZ #16917]
18236         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18237         errno if the TIOCGPTN ioctl fails with an error different than
18238         EINVAL.
18239         * login/tst-ptsname.c: New file.
18240         * login/Makefile (tests): Add tst-ptsname.
18242         [BZ #16943]
18243         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18244         and prlimit64.
18246 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18248         [BZ #16849]
18249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18250         herrno to return EAI_AGAIN.
18252 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18254         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18255         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18256         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18257         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18258         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18259         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18260         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18261         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18263         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18264         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18265         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18266         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18267         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18268         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18269         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18270         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18271         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18273         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18275         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18283         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18285         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18289         Moved ...
18290         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18292         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18294         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18296         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18298         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18300         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18302         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18304         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18306         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18308         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18310         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18312         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18314         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18316         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18318         Moved ...
18319         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18321         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18323         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18325         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18327         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18329         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18331         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18333         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18335         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18337         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18339         Moved ...
18340         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18342         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18345         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18346         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18347         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18348         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18349         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18350         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18351         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18352         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18354         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18355         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18356         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18358         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18360         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18362         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18364         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18365         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18366         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18367         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18368         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18369         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18370         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18372         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18376         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18377         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18379         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18380         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18381         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18382         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18383         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18385         Moved ...
18386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18388         Moved ...
18389         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18391         Moved ...
18392         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18394         Moved ...
18395         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18396         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18397         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18398         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18399         Moved ...
18400         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18401         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18402         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18404         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18405         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18406         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18407         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18408         Moved ...
18409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18411         Moved ...
18412         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18413         ... here.
18414         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18415         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18416         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18417         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18418         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18419         Moved ...
18420         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18421         ... here.
18422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18423         Moved ...
18424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18425         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18426         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18427         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18428         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18430         Moved ...
18431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18433         Moved ...
18434         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18436         Moved ...
18437         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18439         Moved ...
18440         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18441         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18442         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18443         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18444         Moved ...
18445         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18446         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18447         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18450         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18451         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18452         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18453         Moved ...
18454         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18456         Moved ...
18457         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18458         ... here.
18459         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18460         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18461         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18462         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18463         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18464         Moved ...
18465         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18466         ... here.
18467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18468         Moved ...
18469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18470         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18471         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18472         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18473         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18474         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18475         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18476         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18477         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18479         Moved ...
18480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18482         Moved ...
18483         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18485         Moved ...
18486         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18488         Moved ...
18489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18490         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18491         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18492         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18493         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18494         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18495         Moved ...
18496         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18498         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18500         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18502         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18504         Moved ...
18505         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18509         ... here.
18510         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18511         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18513         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18514         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18515         Moved ...
18516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18517         ... here.
18518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18519         Moved ...
18520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18522         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18526         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18527         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18528         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18529         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18530         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18532         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18533         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18535         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18536         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18538         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18539         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18540         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18542         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18544         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18546         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18547         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18549         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18551         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18552         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18554         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18556         Moved ...
18557         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18559         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18561         Moved ...
18562         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18566         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18570         Moved ...
18571         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18573         Moved ...
18574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18580         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18581         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18582         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18583         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18584         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18585         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18586         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18588         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18589         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18590         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18592         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18593         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18594         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18595         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18596         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18598         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18599         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18600         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18601         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18602         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18603         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18604         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18605         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18606         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18607         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18612         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18613         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18614         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18615         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18616         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18617         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18618         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18619         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18620         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18621         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18623         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18625         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18627         Update #include.
18628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18629         Likewise.
18630         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18631         Likewise.
18632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18633         Likewise.
18634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18635         Likewise.
18636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18637         Likewise.
18638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18639         Likewise.
18640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18641         Likewise.
18642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18643         Likewise.
18644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18645         Likewise.
18646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18662         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18663         that was previously under [RESET_PID].
18664         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18665         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18666         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18668         * sysdeps/i386/nptl/Implies: New file.
18669         * sysdeps/x86_64/nptl/Implies: New file.
18670         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18671         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18672         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18673         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18675         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18676         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18677         (__libc_vfork): New strong alias.
18678         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18679         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18681         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18683         (__libc_vfork): New strong alias.
18684         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18685         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18687         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18688         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18689         (__libc_vfork): New strong alias.
18690         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18691         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18692         * nptl/pt-vfork.c: New file.
18693         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18694         (libpthread: GLIBC_2.20): New version set (empty).
18696 2014-05-14  Will Newton  <will.newton@linaro.org>
18698         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18699         rather than #if.
18701 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #16564]
18704         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18705         arguments with exponent 65 or above.
18706         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18707         arguments 0x1p113L or above.
18708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18709         to arguments 0x1p107L or above.
18710         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18711         positive arguments with exponent 65 or above.
18712         * math/auto-libm-test-in: Add more tests of log1p.
18713         * math/auto-libm-test-out: Regenerated.
18715         [BZ #16928]
18716         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18717         non-finite arguments is +0.
18718         * math/s_cacosf.c (__cacosf): Likewise.
18719         * math/s_cacosl.c (__cacosl): Likewise.
18720         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18721         * sysdeps/i386/fpu/libm-test-ulps: Update.
18722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18724         [BZ #16927]
18725         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18726         value.
18727         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18728         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18729         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18730         for explicit high bit of mantissa when testing for argument equal
18731         to 1.
18732         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18733         * sysdeps/i386/fpu/libm-test-ulps: Update.
18734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18736         [BZ #16516]
18737         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18738         (__erf): Scale by 16 instead of 8 in potentially underflowing
18739         case.  Ensure exception if result actually underflows.
18740         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18741         (__erff): Scale by 16 instead of 8 in potentially underflowing
18742         case.  Ensure exception if result actually underflows.
18743         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18744         (efx8): Remove variable.
18745         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18746         case.  Ensure exception if result actually underflows.
18747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18748         (efx8): Remove variable.
18749         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18750         case.  Ensure exception if result actually underflows.
18751         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18752         (efx8): Remove variable.
18753         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18754         case.  Ensure exception if result actually underflows.
18755         * math/auto-libm-test-in: Add more tests of erf.
18756         * math/auto-libm-test-out: Regenerated.
18758 2014-05-14  Andreas Schwab  <schwab@suse.de>
18760         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18761         Remove code conditionalized on USE___THREAD.
18763         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18764         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18765         not definedness.
18767 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18770         Define unconditionally.
18771         (__ASSUME_O_CLOEXEC): Likewise.
18772         (__ASSUME_SOCK_CLOEXEC): Likewise.
18773         (__ASSUME_IN_NONBLOCK): Likewise.
18774         (__ASSUME_PIPE2): Likewise.
18775         (__ASSUME_EVENTFD2): Likewise.
18776         (__ASSUME_SIGNALFD4): Likewise.
18777         (__ASSUME_DUP3): Likewise.
18778         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18779         (__ASSUME_DUP3): Do not define.
18780         (__ASSUME_EVENTFD2): Likewise.
18781         (__ASSUME_IN_NONBLOCK): Likewise.
18782         (__ASSUME_O_CLOEXEC): Likewise.
18783         (__ASSUME_PIPE2): Likewise.
18784         (__ASSUME_SIGNALFD4): Likewise.
18785         (__ASSUME_SOCK_CLOEXEC): Likewise.
18786         (__ASSUME_UTIMES): Undefine.
18787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18788         (__ASSUME_UTIMES): Do not define.
18789         (__ASSUME_O_CLOEXEC): Likewise.
18790         (__ASSUME_SOCK_CLOEXEC): Likewise.
18791         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18792         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18793         0x020621].
18794         (__ASSUME_PIPE2): Likewise.
18795         (__ASSUME_EVENTFD2): Likewise.
18796         (__ASSUME_SIGNALFD4): Likewise.
18797         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18798         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18799         Do not define.
18800         (__ASSUME_EVENTFD2): Likewise.
18801         (__ASSUME_SIGNALFD4): Likewise.
18802         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18803         (__ASSUME_32BITUIDS): Likewise.
18804         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18805         (__ASSUME_IPC64): Likewise.
18806         (__ASSUME_ST_INO_64_BIT): Likewise.
18807         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18808         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18809         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18810         (__ASSUME_UTIMES): Do not define.
18811         (__ASSUME_PSELECT): Likewise.
18812         (__ASSUME_PPOLL): Likewise.
18813         (__ASSUME_O_CLOEXEC): Likewise.
18814         (__ASSUME_SOCK_CLOEXEC): Likewise.
18815         (__ASSUME_IN_NONBLOCK): Likewise.
18816         (__ASSUME_PIPE2): Likewise.
18817         (__ASSUME_EVENTFD2): Likewise.
18818         (__ASSUME_SIGNALFD4): Likewise.
18819         (__ASSUME_DUP3): Likewise.
18820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18821         (__ASSUME_UTIMES): Likewise.
18822         (__ASSUME_O_CLOEXEC): Likewise.
18823         (__ASSUME_SOCK_CLOEXEC): Likewise.
18824         (__ASSUME_IN_NONBLOCK): Likewise.
18825         (__ASSUME_PIPE2): Likewise.
18826         (__ASSUME_EVENTFD2): Likewise.
18827         (__ASSUME_SIGNALFD4): Likewise.
18828         (__ASSUME_DUP3): Likewise.
18829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18830         (__ASSUME_UTIMES): Likewise.
18831         (__ASSUME_O_CLOEXEC): Likewise.
18832         (__ASSUME_SOCK_CLOEXEC): Likewise.
18833         (__ASSUME_IN_NONBLOCK): Likewise.
18834         (__ASSUME_PIPE2): Likewise.
18835         (__ASSUME_EVENTFD2): Likewise.
18836         (__ASSUME_SIGNALFD4): Likewise.
18837         (__ASSUME_DUP3): Likewise.
18838         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18839         Likewise.
18840         (__ASSUME_UTIMES): Likewise.
18841         (__ASSUME_EVENTFD2): Likewise.
18842         (__ASSUME_SIGNALFD4): Likewise.
18843         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18844         (__ASSUME_O_CLOEXEC): Likewise.
18845         (__ASSUME_SOCK_CLOEXEC): Likewise.
18846         (__ASSUME_IN_NONBLOCK): Likewise.
18847         (__ASSUME_PIPE2): Likewise.
18848         (__ASSUME_EVENTFD2): Likewise.
18849         (__ASSUME_SIGNALFD4): Likewise.
18850         (__ASSUME_DUP3): Likewise.
18851         (__ASSUME_UTIMES): Undefine.
18853         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18854         feclearexcept.  Remove symbol versioning code.
18855         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18856         symbol versioning code.
18857         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18858         symbol versioning code.
18859         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18860         feupdateenv.  Remove symbol versioning code.
18861         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18862         fegetexceptflag.  Remove symbol versioning code.
18863         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18864         fesetexceptflag.  Remove symbol versioning code.
18865         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18866         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18867         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18868         (__posix_fadvise64_l32): Remove prototype.
18869         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18870         code.
18872 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18874         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18875         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18876         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18877         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18879 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18881         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18882         current working directory
18884 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18886         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18887         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18888         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18889         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18890         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18891         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18892         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18893         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18894         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18895         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18896         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18897         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18898         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18899         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18900         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18901         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18902         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18903         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18904         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18905         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18906         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18907         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18908         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18909         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18910         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18911         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18912         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18913         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18914         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18915         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18916         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18917         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18918         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18919         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18920         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18921         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18922         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18923         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18924         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18925         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18926         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18927         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18929         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18930         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18932         * sysdeps/unix/sysv/linux/arm/Makefile
18933         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18934         Add rt-aeabi_unwind_cpp_pr1.
18935         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18936         Add nptl-aeabi_unwind_cpp_pr1.
18937         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18938         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18939         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18940         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18941         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18942         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18944         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18945         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18946         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18947         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18949         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18950         Deconditionalize the code that was previously under [RESET_PID].
18951         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18953         * sysdeps/generic/exit-thread.h: New file.
18954         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18955         * include/unistd.h (__exit_thread): Remove declaration.
18956         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18957         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18958         * csu/libc-start.c: Include <exit-thread.h>.
18959         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18960         * nptl/pthread_create.c: Include <exit-thread.h>.
18961         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18962         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18963         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18964         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18965         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18966         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18967         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18968         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18969         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18970         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18971         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18972         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18973         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18974         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18975         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18976         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18977         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18979 2014-05-13  Andreas Schwab  <schwab@suse.de>
18981         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18983 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18985         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18986         (__ASSUME_UTIMES): Do not condition on kernel version.
18987         (__ASSUME_PSELECT): Define unconditionally.
18988         (__ASSUME_PPOLL): Likewise.
18989         (__ASSUME_ATFCTS): Likewise.
18990         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18991         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18992         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18993         (__ASSUME_UTIMENSAT): Define unconditionally.
18994         (__ASSUME_PRIVATE_FUTEX): Likewise.
18995         (__ASSUME_FALLOCATE): Likewise.
18996         (__ASSUME_O_CLOEXEC): Likewise.
18997         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18998         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18999         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19000         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19001         (__ASSUME_IN_NONBLOCK): Likewise.
19002         (__ASSUME_PIPE2): Likewise.
19003         (__ASSUME_EVENTFD2): Likewise.
19004         (__ASSUME_SIGNALFD4): Likewise.
19005         (__ASSUME_DUP3): Likewise.
19006         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19007         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19008         (__ASSUME_AT_RANDOM): Likewise.
19009         (__ASSUME_PREADV): Likewise.
19010         (__ASSUME_PWRITEV): Likewise.
19011         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19012         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19013         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19014         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19015         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19017         (__ASSUME_O_CLOEXEC): Define unconditionally.
19018         (__ASSUME_PSELECT): Do not undefine conditionally.
19019         (__ASSUME_PPOLL): Likewise.
19020         (__ASSUME_ATFCTS): Likewise.
19021         (__ASSUME_SET_ROBUST_LIST): Likewise.
19022         (__ASSUME_UTIMENSAT): Likewise.
19023         (__ASSUME_FDATASYNC): Define unconditionally.
19024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19025         (__ASSUME_SIGFRAME_V2): Likewise.
19026         )__ASSUME_EVENTFD2): Likewise.
19027         (__ASSUME_SIGNALFD4): Likewise.
19028         (__ASSUME_PSELECT): Do not undefine conditionally.
19029         (__ASSUME_PPOLL): Likewise.
19030         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19031         (__ASSUME_PSELECT): Define unconditionally.
19032         (__ASSUME_PPOLL): Likewise.
19033         (__ASSUME_O_CLOEXEC): Likewise.
19034         (__ASSUME_SOCK_CLOEXEC): Likewise.
19035         (__ASSUME_IN_NONBLOCK): Likewise.
19036         (__ASSUME_PIPE2): Likewise.
19037         (__ASSUME_EVENTFD2): Likewise.
19038         (__ASSUME_SIGNALFD4): Likewise.
19039         (__ASSUME_DUP3): Likewise.
19040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19041         (__ASSUME_O_CLOEXEC): Likewise.
19042         (__ASSUME_SOCK_CLOEXEC): Likewise.
19043         (__ASSUME_IN_NONBLOCK): Likewise.
19044         (__ASSUME_PIPE2): Likewise.
19045         (__ASSUME_EVENTFD2): Likewise.
19046         (__ASSUME_SIGNALFD4): Likewise.
19047         (__ASSUME_DUP3): Likewise.
19048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19049         (__ASSUME_EVENTFD2): Likewise.
19050         (__ASSUME_SIGNALFD4): Likewise.
19051         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19053 2014-05-12  Andreas Schwab  <schwab@suse.de>
19055         [BZ #16932]
19056         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19057         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19058         than maximum RPC packet size.
19059         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19060         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19061         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19062         (_nss_nis_getservbyport_r): Likewise.
19064 2014-05-12  Will Newton  <will.newton@linaro.org>
19066         * malloc/Makefile (tests): Add tst-mallopt.
19067         * malloc/tst-mallopt.c: New file.
19069 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19071         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19072         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19074 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19076         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19077         (tst-tlsmod6.so): Likewise.
19079 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19081         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19083 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19085         [BZ #16064]
19086         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19087         and <dl-procinfo.h>.
19088         (__fegetenv): Save SSE state in envp->__eip if supported.
19089         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19090         envp->__eip if supported.
19091         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19092         and <dl-procinfo.h>.
19093         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19094         __data_offset and __data_selector in environment to 0.  Set SSE
19095         state if supported.
19096         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19097         test-fenv-sse.
19098         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19099         -mfpmath=sse.
19100         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19102 2014-05-09  Will Newton  <will.newton@linaro.org>
19104         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19105         and libc_relro_required for ARM.
19106         * sysdeps/arm/preconfigure: Regenerate.
19108 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19109             Stefan Liebler  <stli@linux.vnet.ibm.com>
19111         * config.make.in (enable-lock-elision): New Makefile variable.
19112         * configure.ac: Likewise.
19113         * configure: Regenerate.
19114         * sysdeps/s390/configure.ac:
19115         Add check for gcc transactions support.
19116         * sysdeps/s390/configure: Regenerate.
19117         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19118         Build elision files if enabled.
19119         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19120         Add lock elision support for s390.
19121         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19122         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19123         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19124         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19125         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19126         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19127         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19128         Likewise.
19129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19130         Likewise.
19131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19132         Likewise.
19133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19134         Likewise.
19135         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19136         (__lll_timedlock_elision, __lll_lock_elision)
19137         (__lll_unlock_elision, __lll_trylock_elision)
19138         (lll_timedlock_elision, lll_lock_elision)
19139         (lll_unlock_elision, lll_trylock_elision): Add.
19140         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19141         (pthread_mutex_t): Add lock elision support for s390.
19143 2014-05-14  Wilco  <wdijkstr@arm.com>
19145         * sysdeps/arm/fclrexcpt.c: Cleanup.
19146         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19147         * sysdeps/arm/feenablxcpt.c: Cleanup.
19148         * sysdeps/arm/fegetenv.c: Cleanup.
19149         * sysdeps/arm/fegetexcept.c: Cleanup.
19150         * sysdeps/arm/fegetround.c: Cleanup.
19151         * sysdeps/arm/feholdexcpt.c: Cleanup.
19152         * sysdeps/arm/fesetenv.c: Cleanup.
19153         * sysdeps/arm/fesetround.c: Cleanup.
19154         * sysdeps/arm/feupdateenv.c: Cleanup.
19155         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19156         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19157         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19158         * sysdeps/arm/ftestexcept.c: Cleanup.
19159         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19160         * sysdeps/arm/setfpucw.c: Cleanup.
19162 2014-05-09  Will Newton  <will.newton@linaro.org>
19164         * sysdeps/arm/armv7/strcmp.S: New file.
19165         * NEWS: Mention addition of ARMv7 optimized strcmp.
19167 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19169         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19170         look for %.ac rather than %.in.
19172         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19173         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19174         * sysdeps/mach/hurd/configure: Regenerated.
19175         * sysdeps/unix/sysv/linux/configure: Regenerated.
19177         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19179 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19181         [BZ# 16922]
19182         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19183         (LONG_SUB): Ditto.
19184         (PTR_SUB): Ditto.
19186 2014-05-07  Andreas Schwab  <schwab@suse.de>
19188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19189         when skipping over non-matching result from nscd.
19191 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19193         [BZ #16876]
19194         * nptl/sockperf.c (client): Check socket return value.
19196         [BZ #16877]
19197         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19198         nscd security class.
19200 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19202         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19203         * sysdeps/arm/unwind.h: ... here.
19205 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19207         [BZ# 16916]
19208         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19209         Define.
19211 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19213         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19214         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19215         multiarch strncpy for PPC64.
19216         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19217         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19219         multiarch optimizations.
19220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19221         (__libc_ifunc_impl_list): Likewise.
19222         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19223         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19224         multiarch stpncpy for PPC64.
19225         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19226         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19228 2014-05-06  Andreas Schwab  <schwab@suse.de>
19230         [BZ #16912]
19231         * gmon/mcount.c (_MCOUNT_DECL): Use
19232         atomic_compare_and_exchange_bool_acq instead of
19233         catomic_compare_and_exchange_bool_acq.
19235 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19237         * elf/Makefile (others, install-bin): Remove pldd.
19238         (pldd-modules): Variable removed.
19239         ($(objpfx)pldd): Target removed.
19240         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19241         (others, install-bin): Append pldd here.
19242         ($(objpfx)pldd): New target.
19244         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19245         to 0, so the first #if test emitted later doesn't see it undefined.
19246         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19247         * sysdeps/gnu/errlist.c: Regenerated.
19249 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19251         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19252         [libc_hidden_builtin_def]: Define to empty value.
19253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19254         [libc_hidden_builtin_def]: Likewise.
19255         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19256         [libc_hidden_builtin_def]: Likewise.
19257         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19258         [libc_hidden_builtin_def]: Likewise.
19259         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19260         __redirect_memcpy and define ifunc as default hidden symbol.
19261         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19262         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19264 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19266         * locale/iso-4217.def: Reintroduce XDR currency.
19268 2014-05-04  Allan McRae  <allan@archlinux.org>
19270         * po/eo.po: Update Esperanto translation from translation project.
19272 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19274         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19275         and FEATURE_INDEX_MAX to 1.
19276         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19278 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19280         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19281         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19282         * iconvdata/big5.c (ONE_DIRECTION): Define.
19283         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19284         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19285         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19286         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19287         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19288         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19289         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19290         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19291         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19292         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19293         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19294         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19295         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19296         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19297         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19298         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19299         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19300         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19301         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19302         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19303         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19304         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19305         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19306         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19307         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19308         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19309         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19310         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19311         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19312         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19313         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19314         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19315         * iconvdata/johab.c (ONE_DIRECTION): Define.
19316         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19317         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19318         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19319         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19320         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19321         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19322         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19323         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19324         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19325         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19327 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19329         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19330         (_IO_JUMPS_OFFSET): Define to 0.
19332         * nptl/sysdeps/pthread/bits/libc-lock.h
19333         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19334         (__libc_lock_define_initialized_recursive): Always define using
19335         initializer.  Modern compilers treat uninitialized (implicit zero) and
19336         explicit zero initializers the same (i.e. put the datum in bss).
19338 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19340         * nscd/nscd-client.h: Include <string.h>.
19342 2014-05-01  David S. Miller  <davem@davemloft.net>
19344         [BZ #16885]
19345         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19346         multiple zero bytes exist at the end of a string.
19347         Reported by Aurelien Jarno <aurelien@aurel32.net>
19349         * string/test-strcmp.c (check): Add explicit test for situations where
19350         there are multiple zero bytes after the first.
19352 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19354         [BZ #16890]
19355         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19356         when compiling wprintf.
19357         * stdio-common/tstdiomisc.c (t3): New function.
19358         (main): Call it.
19360 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19362         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19363         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19364         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19365         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19367 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19369         * stdlib/longlong.h: Updated from GCC.
19371 2014-05-01  Will Newton  <will.newton@linaro.org>
19372             Bernard Ogden  <bernie.ogden@linaro.org>
19374         * NEWS: Update fixed bug list.
19376         [BZ #15119]
19377         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19379 2014-04-30  David S. Miller  <davem@davemloft.net>
19381         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19382         (libc_feholdexcept_setround_sparc_ctx): New function.
19383         (libc_fesetenv_sparc_ctx): Likewise.
19384         (libc_feupdateenv_sparc_ctx): Likewise.
19385         (libc_feholdsetround_sparc_ctx): Likewise.
19386         (libc_feholdexcept_setround_ctx): Define.
19387         (libc_feholdexcept_setroundf_ctx): Likewise.
19388         (libc_feholdexcept_setroundl_ctx): Likewise.
19389         (libc_fesetenv_ctx): Likewise.
19390         (libc_fesetenvf_ctx): Likewise.
19391         (libc_fesetenvl_ctx): Likewise.
19392         (libc_feupdateenv_ctx): Likewise.
19393         (libc_feupdateenvf_ctx): Likewise.
19394         (libc_feupdateenvl_ctx): Likewise.
19395         (libc_feresetround_ctx): Likewise.
19396         (libc_feresetroundf_ctx): Likewise.
19397         (libc_feresetroundl_ctx): Likewise.
19398         (libc_feholdsetround_ctx): Likewise.
19399         (libc_feholdsetroundf_ctx): Likewise.
19400         (libc_feholdsetroundl_ctx): Likewise.
19402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19403         with __USE_GNU instead of XOPEN cpp guards.
19405         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19406         0.
19408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19409         with XOPEN cpp guards.
19411 2014-04-30  Julian Brown  <julian@codesourcery.com>
19413         [BZ #16888]
19414         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19415         handling.
19417 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19419         [BZ #9894]
19420         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19421         Change to 2.6.32.
19422         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19423         * sysdeps/unix/sysv/linux/configure: Regenerated.
19424         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19425         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19426         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19427         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19428         * README: Update reference to required Linux kernel version.
19429         * manual/install.texi (Linux): Update reference to required Linux
19430         kernel headers version.
19431         * INSTALL: Regenerated.
19433         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19434         header inclusion.
19435         [POSIX] (limits.h): Likewise.
19436         [POSIX] (math.h): Likewise.
19437         [POSIX] (sys/wait.h): Likewise.
19438         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19439         function.
19440         [POSIX] (stddef.h): Do not allow header inclusion.
19442 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19444         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19446 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19448         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19449         Return immediately after lll_futex_wake.
19451 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19453         [BZ #16791]
19454         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19455         structure.
19456         (datahead_init_pos): Call datahead_init_common early.
19457         (datahead_init_neg): Likewise.
19459         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19460         datahead_init_neg): New functions.
19461         * nscd/aicache.c (addhstaiX): Use them.
19462         * nscd/grpcache.c (cache_addgr): Likewise.
19463         * nscd/hstcache.c (cache_addhst): Likewise.
19464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19465         * nscd/netgroupcache.c (do_notfound): Likewise.
19466         (addgetnetgrentX): Likewise.
19467         (addinnetgrX): Likewise.
19468         * nscd/pwdcache.c (cache_addpw): Likewise.
19469         * nscd/servicescache.c (cache_addserv): Likewise.
19471 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19472             Atsushi Onoe  <atsushi@onoe.org>
19474         [BZ #14308]
19475         [BZ #12994]
19476         [BZ #13651]
19477         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19478         one response is valid.
19479         * resolv/res_send.c (send_dg): Check for validity of other
19480         response if the current response is a referral.
19482 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19484         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19486 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19488         [BZ #16823]
19489         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19490         Always divide by positive zero when computing -Inf result.
19491         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19492         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19494 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19496         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19497         FPSCR if value do not change.
19498         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19499         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19500         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19501         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19502         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19503         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19504         function.
19506 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19508         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19509         * sysdeps/unix/sysv/linux/hppa: Move directory from
19510         ports/systeps/unix/sysv/linux/hppa.
19511         * README: Update listing for hppa-*-linux-gnu.
19513 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19515         [BZ #16754]
19516         * manual/stdio.texi (Hook functions): Fix types of stream hook
19517         functions.
19518         [BZ #16854]
19519         * socket/sys/socket.h: Fix typo in comment.
19521 2014-04-28  Wilco  <wdijkstr@arm.com>
19523         * sysdeps/arm/fenv_private.h: New file.
19524         * sysdeps/arm/math_private.h: New file.
19525         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19527 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19529         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19530         with __int128_t.
19531         (La_x86_64_retval): Likewise.
19533 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19535         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19536         fpsr if value didn't change.
19537         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19538         to fpcr if value didn't change.
19539         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19540         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19541         fpsr or fpcr if value didn't change.
19542         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19543         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19544         fpcr if value didn't change.
19545         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19546         to fpsr if value didn't change.
19548 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550         * nptl/tst-sem3.c: Use test-skeleton.c
19551         (main): Rename to do_test.  Use return instead of
19552         exit.
19553         * nptl/tst-sem4.c: Use test-skeleton.c
19554         (main): Rename to do_test.
19556 2014-04-22  David S. Miller  <davem@davemloft.net>
19558         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19559         (struct sigaction): New struct member __glibc_reserved0, change
19560         type of sa_flags to int.
19562 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19564         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19565         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19567 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19569         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19570         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19572 2014-04-22  Will Newton  <will.newton@linaro.org>
19573             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19575         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19576         (__longjmp): Add longjmp and longjmp_target SystemTap
19577         probes.
19578         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19579         (__sigsetjmp): Add setjmp SystemTap probe.
19581 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19583         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19584         match manual order.
19586 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19588         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19590         * sysdeps/powerpc/fpu/fenv_private.h
19591         (libc_feholdexcept_setroundl_ctx): Define to
19592         libc_feholdexcept_setround_ppc_ctx.
19593         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19594         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19595         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19596         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19598 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19600         * sysdeps/aarch64/math-tests.h: New file.
19602 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19604         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19605         New.
19606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19607         Check and set bit_AVX2_Usable.
19608         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19609         macro.
19610         (bit_AVX2): Likewise.
19611         (index_AVX2_Usable): Likewise.
19612         (CPUID_AVX2): Likewise.
19613         (HAS_AVX2): Likewise.
19615 2014-04-17  Will Newton  <will.newton@linaro.org>
19617         * manual/setjmp.texi (System V contexts): Add note that
19618         calling setcontext on a context created by a call to a
19619         signal handler is undefined.  Update text to note that
19620         setcontext from a signal handler is possible but not
19621         recommended.
19623         [BZ #16629]
19624         * stdlib/tst-setcontext.c: Include signal.h.
19625         (main): Check that the signal stack before and
19626         after swapcontext is the same.
19628         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19629         Re-implement to restore registers in user code and avoid
19630         rt_sigreturn system call.
19632 2014-04-17  Wilco  <wdijkstr@arm.com>
19634         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19635         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19636         * math/test-fenv.c: Skip exception trap tests on targets which only
19637         support non-stop mode.
19639 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19640             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19642         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19643         (libc_feholdsetround_aarch64_ctx)
19644         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19645         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19646         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19647         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19648         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19649         (libc_feresetround_noexl_ctx): Define.
19651 2014-04-16  Richard Henderson  <rth@redhat.com>
19653         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19655         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19656         unwind tables.
19658         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19659         const from the non-libc, non-ldso copy.
19661         * sysdeps/alpha/libm-test-ulps: Regenerate.
19663 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19664             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19666         * sysdeps/aarch64/fpu/math_private.h: New file.
19668 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19670         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19672 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19674         [BZ #16275]
19675         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19676         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19678         Intel MPX bound registers before _dl_profile_fixup.
19679         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19680         registers after _dl_profile_fixup.  Save and restore bound
19681         registers bnd0/bnd1 when calling _dl_call_pltexit.
19682         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19683         (LR_BND_OFFSET): Likewise.
19684         (LRV_BND0_OFFSET): Likewise.
19685         (LRV_BND1_OFFSET): Likewise.
19687 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19689         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19690         to...
19691         * sysdeps/mach/hurd/i386/tls.h: ... here.
19692         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19693         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19694         fields.
19696 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19698         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19700 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19702         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19704 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19706         [BZ #14770]
19707         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19708         * sysdeps/s390/configure: Regenerate.
19710         [BZ #16824]
19711         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19712         Set round-to-nearest internally to reduce error accumulation.
19714 2014-04-16  Alan Modra  <amodra@gmail.com>
19716         [BZ #16740]
19717         [BZ #16619]
19718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19719         * math/libm-test.inc (frexp_test_data): Add tests.
19720         * NEWS: Update fixed bug list.
19722 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19724         * benchtests/Makefile: Depend on libraries in build directory.
19725         (bench-math): Separate out math tests.
19726         (bench-pthread): Separate out pthread tests.
19727         (bench): Include math and pthread tests.
19729 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19731         [BZ #16831]
19732         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19733         _dl_debug_initialize.
19735         * configure.ac: Remove SELinux header check.
19736         * configure: Regenerate.
19737         * nscd/selinux.c (perms): Array of const char* to permission names.
19738         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19739         default policy. Call string_to_security_class and string_to_av_perm to
19740         translate strings. Enforce default policy and call avs_has_perm with
19741         results of translated strings.
19743 2014-04-13  David S. Miller  <davem@davemloft.net>
19745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19747 2014-04-12  Allan McRae  <allan@archlinux.org>
19749         [BZ #16838]
19750         * manual/string.texi (Collation Functions): Fix qsort argument
19751         order in example.
19752         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19754 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19756         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19757         Make the test a no-op if there are no exceptions defined.
19759 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19761         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19762         enable-hardcoded-path-in-tests
19764 2014-04-11  Will Newton  <will.newton@linaro.org>
19766         * benchtests/Makefile (extra-objs): Add json-lib.o.
19767         (bench-func): Tidy up JSON output.
19768         * benchtests/bench-skeleton.c: Include json-lib.h.
19769         (main): Use JSON library functions to do output of
19770         benchmark results.
19771         * benchtests/bench-timing-type.c (main): Output the
19772         timing type simply, leaving formatting to the user.
19773         * benchtests/json-lib.c: New file.
19774         * benchtests/json-lib.h: Likewise.
19776 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19778         [BZ #15215]
19779         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19780         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19781         memory barriers.  Add comments.
19782         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19783         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19784         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19785         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19786         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19787         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19789 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19791         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19792         * sysdeps/s390/s390-64/configure.ac: ... this ...
19793         * sysdeps/s390/configure.ac: ... to here.
19794         * sysdeps/s390/s390-32/configure: Delete file.
19795         * sysdeps/s390/s390-64/configure: Delete file.
19796         * sysdeps/s390/configure: Regenerate.
19798 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19800         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19802 2014-04-11  Will Newton  <will.newton@linaro.org>
19804         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19805         to zero if it is not defined elsewhere.  (mtrim): Test
19806         the value of MALLOC_DEBUG with #if rather than #ifdef.
19808 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19810         * benchtests/pthread_once-inputs: New file.
19811         * benchtests/pthread_once-source.c: New file.
19812         * benchtests/README: Update documentation.
19814 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19815             H.J. Lu  <hongjiu.lu@intel.com>
19817         [BZ #16275]
19818         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19819         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19820         * sysdeps/x86_64/configure: Regenerated.
19821         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19822         macro.
19823         (REGISTER_SAVE_RAX): Likewise.
19824         (REGISTER_SAVE_RCX): Likewise.
19825         (REGISTER_SAVE_RDX): Likewise.
19826         (REGISTER_SAVE_RSI): Likewise.
19827         (REGISTER_SAVE_RDI): Likewise.
19828         (REGISTER_SAVE_R8): Likewise.
19829         (REGISTER_SAVE_R9): Likewise.
19830         (REGISTER_SAVE_BND0): Likewise.
19831         (REGISTER_SAVE_BND1): Likewise.
19832         (REGISTER_SAVE_BND2): Likewise.
19833         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19834         bound registers when calling _dl_fixup.
19836 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19839         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19840         of its definition.
19841         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19842         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19843         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19844         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19845         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19846         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19847         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19849 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19851         [BZ #15514]
19852         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19853         pathconf(_PC_NAME_MAX).
19855 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19857         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19858         Remove macro usage.
19859         (__PTHREAD_SPINS): Move definition to ...
19860         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19861         (__PTHREAD_SPINS): ... here.
19862         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19863         (__PTHREAD_SPIN): Likewise.
19864         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19865         (__PTHREAD_SPIN): Likewise.
19866         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19867         (__PTHREAD_SPIN): Likewise.
19868         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19869         (__PTHREAD_SPIN): Likewise.
19870         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19871         (__PTHREAD_SPIN): Likewise.
19872         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19873         (__PTHREAD_SPIN): Likewise.
19874         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19875         (__PTHREAD_SPIN): Likewise.
19876         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19877         (__PTHREAD_SPIN): Likewise.
19878         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19879         (__PTHREAD_SPIN): Likewise.
19880         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19881         (__PTHREAD_SPIN): Likewise.
19882         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19883         (__PTHREAD_SPIN): Likewise.
19884         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19885         (__PTHREAD_SPIN): Likewise.
19887         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19888         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19889         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19890         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19891         imply folder.
19892         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19893         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19894         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19895         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19896         correct imply path.
19897         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19898         strlen symbol for non multi-arch builds.
19899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19900         missing hidden_def and weak_alias.
19902 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19904         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19906 2014-04-07  Will Newton  <will.newton@linaro.org>
19908         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19909         and contents.  [!_LIBC] Remove #ifndef and contents.
19910         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19911         * string/memccpy.c (__memccpy): Use ANSI prototype.
19912         * string/memfrob.c (memfrob): Likewise.
19913         * string/strcoll.c (STRCOLL): Likewise.
19914         * string/strlen.c (strlen): Likewise.
19915         * string/strtok.c (STRTOK): Likewise.
19916         * string/strcat.c: Remove unused #include of memcopy.h.
19917         (strcat): Use ANSI prototype.
19918         * string/strchr.c: Remove unused #include of memcopy.h.
19919         (strchr): Use ANSI prototype.
19920         * string/strcmp.c: Remove unused #include of memcopy.h.
19921         (strcmp): Use ANSI prototype.
19922         * string/strcpy.c: Remove unused #include of memcopy.h.
19923         (strcpy): Use ANSI prototype.
19925 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19927         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19928         * config.make.in (config-extra-cppflags): Set it from
19929         libc_extra_cppflags.
19930         * configure.ac (libc_extra_cflags): Make it accumulate over
19931         configure fragments.
19932         (libc_extra_cppflags): New flag.
19933         * configure. Regenerate.
19934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19935         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19936         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19939         [BZ #16815]
19940         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19941         result for FE_DOWNWARD rounding mode.
19942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19943         Likewise.
19944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19946 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19948         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19949         in function argument name.
19951 2014-04-03  David Svoboda  <svoboda@cert.org>
19953         [BZ #5666]
19954         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19955         explicitly.
19957 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19959         * elf/dl-unmap-segments.h: New file.
19960         * sysdeps/generic/ldsodefs.h
19961         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19962         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19963         * elf/dl-fptr.c: Likewise.
19964         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19965         * sysdeps/aarch64/tlsdesc.c: Likewise.
19966         * sysdeps/arm/tlsdesc.c: Likewise.
19967         * sysdeps/i386/tlsdesc.c: Likewise.
19968         * sysdeps/tile/dl-runtime.c: Likewise.
19969         * sysdeps/x86_64/tlsdesc.c: Likewise.
19970         * elf/dl-load.h: New file.
19971         * elf/dl-load.c: Include it.
19972         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19973         Macros moved to dl-load.h.
19974         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19975         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19976         Use _dl_unmap_segments in place of __munmap.
19977         Break out segment-mapping loop into ...
19978         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19980 2014-04-03  Will Newton  <will.newton@linaro.org>
19982         * elf/dl-lookup.c (do_lookup_x): Remove comment
19983         referring to nested function and move variable
19984         declarations down to before first use.
19986 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19988         [BZ #16799]
19989         [BZ #16800]
19990         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19991         with 0 numerator.
19992         * math/s_catanf.c (__catanf): Likewise.
19993         * math/s_catanh.c (__catanh): Likewise.
19994         * math/s_catanhf.c (__catanhf): Likewise.
19995         * math/s_catanhl.c (__catanhl): Likewise.
19996         * math/s_catanl.c (__catanl): Likewise.
19997         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19998         by positive zero when computing -Inf result.
19999         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20000         (catanh_test): Likewise.
20001         * sysdeps/i386/fpu/libm-test-ulps: Update.
20002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004         [BZ #16789]
20005         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20006         instead of using underflowing value in computing result.
20007         * math/s_clog10.c (__clog10): Likewise.
20008         * math/s_clog10f.c (__clog10f): Likewise.
20009         * math/s_clog10l.c (__clog10l): Likewise.
20010         * math/s_clogf.c (__clogf): Likewise.
20011         * math/s_clogl.c (__clogl): Likewise.
20012         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20013         (clog10_test): Likewise.
20014         * sysdeps/i386/fpu/libm-test-ulps: Update.
20015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017 2014-04-02  Alan Modra  <amodra@gmail.com>
20019         [BZ #16739]
20020         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20021         output when value is near a power of two.  Use int64_t for lx and
20022         remove casts.  Use decimal rather than hex exponent constants.
20023         Don't use long double multiplication when double will suffice.
20024         * math/libm-test.inc (nextafter_test_data): Add tests.
20025         * NEWS: Add 16739 and 16786 to bug list.
20027         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20029         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20031 2014-04-01  Will Newton  <will.newton@linaro.org>
20033         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20034         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20036 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20038         [BZ #13347]
20039         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20040         * nptl/tst-setuid2.c: New file.
20041         * nptl/Makefile (xtests): Add tst-setuid2.
20043 2014-04-01  Alan Modra  <amodra@gmail.com>
20045         [BZ #16786]
20046         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20048 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20050         [BZ #6803]
20051         [BZ #6804]
20052         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20053         set errno as appropriate.
20054         * math/w_scalbf.c (__scalbf): Likewise.
20055         * math/w_scalbl.c (__scalbl): Likewise.
20056         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20057         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20058         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20059         Add more NaN tests.
20061         [BZ #16349]
20062         * math/w_atan2.c: Include <errno.h>.
20063         (__atan2): Set errno for result underflowing to zero.
20064         * math/w_atan2f.c: Include <errno.h>.
20065         (__atan2f): Set errno for result underflowing to zero.
20066         * math/w_atan2l.c: Include <errno.h>.
20067         (__atan2l): Set errno for result underflowing to zero.
20068         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20069         tests.
20070         * math/auto-libm-test-out: Regenerated.
20072 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20074         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20075         Encode instruction correctly in little endian.
20076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20077         Likewise.
20078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20079         Likewise.
20080         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20081         Likewise.
20082         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20083         Likewise.
20085 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20087         [BZ #9894]
20088         * sysdeps/unix/sysv/linux/kernel-features.h
20089         [__sparc__ && !__arch64__ && !__sparc_v9__]
20090         (__ASSUME_SET_ROBUST_LIST): Do not define.
20091         [__sparc__ && !__arch64__ && !__sparc_v9__]
20092         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20093         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20094         Likewise.
20095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20096         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20097         (__ASSUME_REQUEUE_PI): Likewise.
20098         (__ASSUME_SET_ROBUST_LIST): Likewise.
20099         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20100         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20101         Undefine.
20102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20104         Likewise.
20105         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20106         Likewise.
20107         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20108         Likewise.
20109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20110         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20111         Undefine.
20112         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20113         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20114         Likewise.
20116         [BZ #16648]
20117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20118         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20119         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20121 2014-03-31  Will Newton  <will.newton@linaro.org>
20123         * benchtests/Makefile (bench): Add ffs and ffsll to list
20124         of tests.
20125         * benchtests/ffs-inputs: New file.
20126         * benchtests/ffsll-inputs: Likewise.
20128 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #16770]
20131         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20132         too large before casting to int.
20133         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20134         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20135         * math/libm-test.inc (scalb_test_data): Add more tests.
20137 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20139         * benchtests/Makefile (DETAILED_OPT): New make option.
20140         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20141         set.
20142         * benchtests/bench-skeleton.c: Include stdbool.h.
20143         (main): Store and print timings per input.
20144         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20145         member to each argument value.
20146         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20147         (_print_arg_data): Initialize per-input timing to 0.
20149         * benchtests/Makefile (timing-type): New binary.
20150         (bench-clean): Also remove bench-timing-type.
20151         (bench): New target for timing-type.
20152         (bench-func): Print output in JSON format.
20153         * benchtests/bench-skeleton.c (main): Print output in JSON
20154         format.
20155         * benchtests/bench-timing-type.c: New file.
20156         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20157         (TIMING_PRINT_STATS): Remove.
20158         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20159         name separately.
20161         * benchtests/bench-modf.c: Remove.
20162         * benchtests/modf-inputs: New inputs file.
20164 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20166         [BZ #16362]
20167         * math/s_clog10.c (M_PI_LOG10E): New macro.
20168         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20169         imaginary parts are 0.
20170         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20171         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20172         imaginary parts are 0.
20173         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20174         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20175         imaginary parts are 0.
20176         * math/libm-test.inc (clog10_test_data): Update expected results
20177         for when real and imaginary parts are 0.
20179 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20181         * elf/dl-load.c: Finish conversion of __builtin_expect into
20182         __glibc_{un}likely.
20184 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20186         [BZ #16348]
20187         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20188         1+x for argument with exponent below -67.
20189         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20190         Likewise.
20191         * math/auto-libm-test-in: Add more tests of exp.
20192         * math/auto-libm-test-out: Regenerated.
20194 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20196         [BZ #16759]
20197         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20198         (nscd_getnetgrent): Use it.
20200         [BZ #16760]
20201         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20202         of stpcpy.
20204 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20206         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20207         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20208         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20209         (lll_robust_unlock): Remove out of line section. Use cfi
20210         intrinsics.
20211         (LLL_STUB_UNWIND_INFO*): Remove.
20212         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20213         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20214         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20215         (lll_robust_unlock): Remove out of line section. Use cfi
20216         intrinsics.
20217         (LLL_STUB_UNWIND_INFO*): Remove.
20219 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20221         [BZ #16758]
20222         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20223         blank values.
20225 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20227         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20229 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #16198]
20232         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20233         fnstenv.
20234         * math/test-fenv-preserve.c: New file.
20235         * math/Makefile (tests): Add test-fenv-preserve.
20237 2014-03-26  Will Newton <will.newton@linaro.org>
20239         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20241 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20243         * scripts/versionlist.awk: Partition the version sets and emit all
20244         GLIBC_* (sorted) before all others (sorted).
20246 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20248         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20249         GLIBC_2.2.5 version.
20251 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20254         calls.
20256         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20257         previous change.
20259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20261 2014-03-25  Andreas Schwab  <schwab@suse.de>
20263         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20264         label to be used after in6ailist is initialized.
20266 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20268         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20269         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20271 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20273         [BZ #16357]
20274         [BZ #16599]
20275         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20276         min_plus_half.
20277         (fp_formats): Update initializers.
20278         (init_fp_formats): Initialize new field.
20279         (output_for_one_input_case): Allow underflow for results up to
20280         min_plus_half.
20281         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20282         * math/auto-libm-test-in: Don't mark some underflows from asin and
20283         atanh as spurious.
20284         * math/auto-libm-test-out: Regenerated.
20285         * sysdeps/i386/fpu/libm-test-ulps: Update.
20286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20288 2014-03-25  Andreas Schwab  <schwab@suse.de>
20290         * libio/Makefile (tst-ftell-partial-wide-ENV)
20291         (tst-ftell-active-handler-ENV): Define.
20293 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20295         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20297 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20299         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20301 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20303         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20304         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20305         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20307 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20309         [BZ #16634]
20310         * elf/dl-load.c (open_verify): Add mode parameter.
20311         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20312         (open_path): Change from boolean 'secure' to complete flag 'mode'
20313         (_dl_map_object): Adjust.
20314         * elf/Makefile (tests): Add tst-dlopen-aout.
20315         * elf/tst-dlopen-aout.c: New test.
20317 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20319         [BZ #16714]
20320         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20321         (struct stat): Rename member pad0 to __glibc_reserved0.
20323         [BZ #16712]
20324         * sysdeps/s390/s390-32/bits/wordsize.h
20325         (__WORDSIZE32_SIZE_ULONG): New define.
20326         * sysdeps/s390/s390-64/bits/wordsize.h
20327         (__WORDSIZE32_SIZE_ULONG): Likewise.
20328         * sysdeps/generic/stdint.h (SIZE_MAX):
20329         Define as UL if __WORDSIZE32_SIZE_ULONG.
20331         [BZ #16713]
20332         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20333         (__glibc_reserved0): New variable.
20334         (sa_flags): Change type to int.
20336         * posix/Makefile (before-compile): Use += before-compile instead
20337         of a :=.
20339         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20340         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20342 2014-03-20  Andreas Schwab  <schwab@suse.de>
20344         [BZ #16743]
20345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20346         non-matching result from nscd.
20348 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * scripts/bench.py: Moved to ...
20351         * benchtests/scripts/bench.py: ... here.
20352         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20354 2014-03-24  Andreas Schwab  <schwab@suse.de>
20356         [BZ #16002]
20357         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20358         alloca_account and account alloca use for struct in6ailist.
20360 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20362         [BZ #16284]
20363         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20364         rounding mode to recompute results that overflow to infinity or
20365         underflow to zero.
20366         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20367         bug 16284.
20368         * math/auto-libm-test-out: Regenerated.
20369         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20370         (ccosh_test): Likewise.
20371         (csin_test_data): Use plus_oflow.
20372         (csin_test): Use ALL_RM_TEST.
20373         (csinh_test_data): Use plus_oflow.
20374         (csinh_test): Use ALL_RM_TEST.
20375         * sysdeps/i386/fpu/libm-test-ulps: Update.
20376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20380         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20381         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20382         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20384         [BZ #16731]
20385         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20386         when x - 1 is zero.
20387         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20388         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20389         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20390         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20391         argument is 1.
20392         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20393         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20394         zero.
20395         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20396         * sysdeps/i386/fpu/libm-test-ulps: Update.
20397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20401         * scripts/bench.pl: Remove file.
20402         * scripts/bench.py: New benchmark script.
20403         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20404         * benchtests/README: Mention python dependency.
20405         * scripts/pylintrc: New file.
20406         * scripts/pylint: New file.
20408         * bits/mathdef.h: Use #ifdef instead of #if.
20409         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20410         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20411         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20412         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20413         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20414         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20416 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20417             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20419         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20421         and strpbrk-ppc64 objects.
20422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20423         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20424         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20425         multiarch strpbrk for POWER7.
20426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20427         multiarch strpbrk for PPC64.
20428         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20429         ifunc selector.
20430         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20431         strpbrk for POWER7.
20433 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20435         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20436         (atan_test): Likewise.
20437         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20438         (atanh_test): Use ALL_RM_TEST.
20439         (atan2_test_data): Likewise.
20440         (cabs_test): Likewise.
20441         (cacosh_test): Likewise.
20442         (carg_test): Likewise.
20443         (casin_test): Likewise.
20444         (casinh_test): Likewise.
20445         (cbrt_test): Likewise.
20446         (csqrt_test): Likewise.
20447         (erf_test): Likewise.
20448         (erfc_test): Likewise.
20449         (pow10_test): Likewise.
20450         (exp2_test): Likewise.
20451         (hypot_test): Likewise.
20452         (j0_test): Likewise.
20453         (j1_test): Likewise.
20454         (lgamma_test): Likewise.
20455         (gamma_test): Likewise.
20456         (sincos_test): Likewise.
20457         (tanh_test): Likewise.
20458         (y0_test): Likewise.
20459         (y1_test): Likewise.
20460         * sysdeps/i386/fpu/libm-test-ulps: Update.
20461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20463 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20465         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20467         and strcspn-ppc64 objects.
20468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20469         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20470         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20471         multiarch strcspn for POWER7.
20472         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20473         multiarch strcspn for PPC64.
20474         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20475         ifunc selector.
20476         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20477         strcspn for POWER7.
20479 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20481         * math/gen-libm-test.pl (generate_testfile): Expect only function
20482         name as argument to AUTO_TESTS_* and pass results for all rounding
20483         modes to parse_args.
20484         (parse_auto_input): Separate inputs of automatic tests from
20485         outputs before storing in %auto_tests.
20486         * math/libm-test.inc (acos_test_data): Update call to
20487         AUTO_TESTS_f_f.
20488         (acos_test): Use ALL_RM_TEST.
20489         (acos_tonearest_test_data): Remove.
20490         (acos_test_tonearest): Likewise.
20491         (acos_towardzero_test_data): Likewise.
20492         (acos_test_towardzero): Likewise.
20493         (acos_downward_test_data): Likewise.
20494         (acos_test_downward): Likewise.
20495         (acos_upward_test_data): Likewise.
20496         (acos_test_upward): Likewise.
20497         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20498         (asin_test_data): Likewise.
20499         (asin_test): Use ALL_RM_TEST.
20500         (asin_tonearest_test_data): Remove.
20501         (asin_test_tonearest): Likewise.
20502         (asin_towardzero_test_data): Likewise.
20503         (asin_test_towardzero): Likewise.
20504         (asin_downward_test_data): Likewise.
20505         (asin_test_downward): Likewise.
20506         (asin_upward_test_data): Likewise.
20507         (asin_test_upward): Likewise.
20508         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20509         (atan_test_data): Likewise.
20510         (atanh_test_data): Likewise.
20511         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20512         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20513         (carg_test_data): Likewise.
20514         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20515         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20516         (ccosh_test_data): Likewise.
20517         (cexp_test_data): Likewise.
20518         (clog_test_data): Likewise.
20519         (clog10_test_data): Likewise.
20520         (cos_test_data): Update call to AUTO_TESTS_f_f.
20521         (cos_test): Use ALL_RM_TEST.
20522         (cos_tonearest_test_data): Remove.
20523         (cos_test_tonearest): Likewise.
20524         (cos_towardzero_test_data): Likewise.
20525         (cos_test_towardzero): Likewise.
20526         (cos_downward_test_data): Likewise.
20527         (cos_test_downward): Likewise.
20528         (cos_upward_test_data): Likewise.
20529         (cos_test_upward): Likewise.
20530         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20531         (cosh_test): Use ALL_RM_TEST.
20532         (cosh_tonearest_test_data): Remove.
20533         (cosh_test_tonearest): Likewise.
20534         (cosh_towardzero_test_data): Likewise.
20535         (cosh_test_towardzero): Likewise.
20536         (cosh_downward_test_data): Likewise.
20537         (cosh_test_downward): Likewise.
20538         (cosh_upward_test_data): Likewise.
20539         (cosh_test_upward): Likewise.
20540         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20541         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20542         (ctan_test_data): Likewise.
20543         (ctan_test): Use ALL_RM_TEST.
20544         (ctan_tonearest_test_data): Remove.
20545         (ctan_test_tonearest): Likewise.
20546         (ctan_towardzero_test_data): Likewise.
20547         (ctan_test_towardzero): Likewise.
20548         (ctan_downward_test_data): Likewise.
20549         (ctan_test_downward): Likewise.
20550         (ctan_upward_test_data): Likewise.
20551         (ctan_test_upward): Likewise.
20552         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20553         (ctanh_test): Use ALL_RM_TEST.
20554         (ctanh_tonearest_test_data): Remove.
20555         (ctanh_test_tonearest): Likewise.
20556         (ctanh_towardzero_test_data): Likewise.
20557         (ctanh_test_towardzero): Likewise.
20558         (ctanh_downward_test_data): Likewise.
20559         (ctanh_test_downward): Likewise.
20560         (ctanh_upward_test_data): Likewise.
20561         (ctanh_test_upward): Likewise.
20562         (erf_test_data): Update call to AUTO_TESTS_f_f.
20563         (erfc_test_data): Likewise.
20564         (exp_test_data): Likewise.
20565         (exp_test): Use ALL_RM_TEST.
20566         (exp_tonearest_test_data): Remove.
20567         (exp_test_tonearest): Likewise.
20568         (exp_towardzero_test_data): Likewise.
20569         (exp_test_towardzero): Likewise.
20570         (exp_downward_test_data): Likewise.
20571         (exp_test_downward): Likewise.
20572         (exp_upward_test_data): Likewise.
20573         (exp_test_upward): Likewise.
20574         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20575         (exp10_test): Use ALL_RM_TEST.
20576         (exp10_tonearest_test_data): Remove.
20577         (exp10_test_tonearest): Likewise.
20578         (exp10_towardzero_test_data): Likewise.
20579         (exp10_test_towardzero): Likewise.
20580         (exp10_downward_test_data): Likewise.
20581         (exp10_test_downward): Likewise.
20582         (exp10_upward_test_data): Likewise.
20583         (exp10_test_upward): Likewise.
20584         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20585         (expm1_test_data): Likewise.
20586         (expm1_test): Use ALL_RM_TEST.
20587         (expm1_tonearest_test_data): Remove.
20588         (expm1_test_tonearest): Likewise.
20589         (expm1_towardzero_test_data): Likewise.
20590         (expm1_test_towardzero): Likewise.
20591         (expm1_downward_test_data): Likewise.
20592         (expm1_test_downward): Likewise.
20593         (expm1_upward_test_data): Likewise.
20594         (expm1_test_upward): Likewise.
20595         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20596         (fma_test): Use ALL_RM_TEST.
20597         (fma_towardzero_test_data): Remove.
20598         (fma_test_towardzero): Likewise.
20599         (fma_downward_test_data): Likewise.
20600         (fma_test_downward): Likewise.
20601         (fma_upward_test_data): Likewise.
20602         (fma_test_upward): Likewise.
20603         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20604         (j0_test_data): Update call to AUTO_TESTS_f_f.
20605         (j1_test_data): Likewise.
20606         (jn_test_data): Update call to AUTO_TESTS_if_f.
20607         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20608         (log_test_data): Update call to AUTO_TESTS_f_f.
20609         (log10_test_data): Likewise.
20610         (log1p_test_data): Likewise.
20611         (log2_test_data): Likewise.
20612         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20613         (pow_tonearest_test_data): Likewise.
20614         (sin_test_data): Update call to AUTO_TESTS_f_f.
20615         (sin_test): Use ALL_RM_TEST.
20616         (sin_tonearest_test_data): Remove.
20617         (sin_test_tonearest): Likewise.
20618         (sin_towardzero_test_data): Likewise.
20619         (sin_test_towardzero): Likewise.
20620         (sin_downward_test_data): Likewise.
20621         (sin_test_downward): Likewise.
20622         (sin_upward_test_data): Likewise.
20623         (sin_test_upward): Likewise.
20624         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20625         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20626         (sinh_test): Use ALL_RM_TEST.
20627         (sinh_tonearest_test_data): Remove.
20628         (sinh_test_tonearest): Likewise.
20629         (sinh_towardzero_test_data): Likewise.
20630         (sinh_test_towardzero): Likewise.
20631         (sinh_downward_test_data): Likewise.
20632         (sinh_test_downward): Likewise.
20633         (sinh_upward_test_data): Likewise.
20634         (sinh_test_upward): Likewise.
20635         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20636         (sqrt_test): Use ALL_RM_TEST.
20637         (sqrt_tonearest_test_data): Remove.
20638         (sqrt_test_tonearest): Likewise.
20639         (sqrt_towardzero_test_data): Likewise.
20640         (sqrt_test_towardzero): Likewise.
20641         (sqrt_downward_test_data): Likewise.
20642         (sqrt_test_downward): Likewise.
20643         (sqrt_upward_test_data): Likewise.
20644         (sqrt_test_upward): Likewise.
20645         (tan_test_data): Update call to AUTO_TESTS_f_f.
20646         (tan_test): Use ALL_RM_TEST.
20647         (tan_tonearest_test_data): Remove.
20648         (tan_test_tonearest): Likewise.
20649         (tan_towardzero_test_data): Likewise.
20650         (tan_test_towardzero): Likewise.
20651         (tan_downward_test_data): Likewise.
20652         (tan_test_downward): Likewise.
20653         (tan_upward_test_data): Likewise.
20654         (tan_test_upward): Likewise.
20655         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20656         (tgamma_test_data): Likewise.
20657         (y0_test_data): Likewise.
20658         (y1_test_data): Likewise.
20659         (yn_test_data): Update call to AUTO_TESTS_if_f.
20660         (main): Do not call removed functions.
20662 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20664         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20665         (ldexp_test_data): Remove.
20666         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20667         scalbn_test_data.
20668         (scalb_test): Use ALL_RM_TEST.
20670 2014-03-19  Andreas Schwab  <schwab@suse.de>
20672         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20674 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20676         [BZ #16649]
20677         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20678         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20679         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20681         (__ASSUME_PREADV): Undefine.
20682         (__ASSUME_PWRITEV): Likewise.
20684 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20686         * bits/mman-linux.h: Add comment about non-Linux use.
20687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20688         bits/mman-linux.h resting place.
20690         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20691         * bits/mman-linux.h: ... here.
20693 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20695         * conform/conformtest.pl: Add standard definition when calling C
20696         preprocessor on data files.
20697         (checknamespace): Remove unused variable.
20699 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20701         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20702         minus_oflow, plus_uflow and minus_uflow in expected results.
20703         * math/libm-test.inc (scalbn_test_data): Add more tests of
20704         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20705         minus_uflow.
20706         (scalbn_test): Use ALL_RM_TEST.
20707         (scalbln_test_data): Add more tests of negative arguments.  Use
20708         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20709         (scalbln_test): Use ALL_RM_TEST.
20711 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20713         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20715 2014-03-18  Will Newton  <will.newton@linaro.org>
20717         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20718         inaccurate comment.
20720 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20722         * Makerules [!subdir] (check-abi): Exit with error status if a
20723         test failed.
20725 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20727         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20728         for rint.  Include results for all rounding modes.
20729         (nearbyint_test): Use ALL_RM_TEST.
20730         (rint_test_data): Include all tests used for nearbyint.
20732 2014-03-17  Will Newton  <will.newton@linaro.org>
20734         * nptl/sysdeps/pthread/pthread.h: Revert previous
20735         change.
20737         * sysdeps/generic/ldsodefs.h: Revert previous
20738         change.
20740         * libio/genops.c: Revert previous change.
20741         * libio/libioP.h: Likewise.
20742         * stdio-common/vfprintf.c: Likewise.
20744         * sysdeps/generic/math_private.h: Revert previous
20745         change.
20747         * sysdeps/generic/math_private.h: Check whether
20748         HAVE_RM_CTX is defined with #ifdef rather
20749         than #if.
20751         * argp/argp-fmtstream.h: Check whether
20752         __STRICT_ANSI__ is defined with #ifdef rather
20753         than #if.
20754         * argp/argp.h: Likewise.
20756         * libio/genops.c: Check whether
20757         _IO_JUMPS_OFFSET is defined with #ifdef rather
20758         than #if.
20759         * libio/libioP.h: Likewise.
20760         * stdio-common/vfprintf.c: Likewise.
20762         * sysdeps/generic/ldsodefs.h: Check whether
20763         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20764         than #if.
20766         * nptl/sysdeps/pthread/pthread.h: Check
20767         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20768         its value.
20770 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20772         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20773         setting O_APPEND.
20774         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20775         test case.
20777         [BZ #16680]
20778         * libio/fileops.c (_IO_file_open): Seek to end of file but
20779         don't cache the offset.
20780         (get_file_offset): Remove function.
20781         (do_ftell): Use cached offset when available.
20782         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20783         don't cache the offset.
20784         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20785         case.
20786         (do_one_test): Call it.
20787         (do_ftell_test): Fix up expected old offset for a+ mode.
20788         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20789         available.
20791         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20792         up test status with function return status.
20793         (do_write_test): Likewise.
20794         (do_append_test): Likewise.
20796         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20797         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20798         Remove.
20800 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20802         * math/gen-libm-test.pl (parse_args): Handle results specified for
20803         each rounding mode separately.
20804         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20805         tests and results from lrint_tonearest_test_data,
20806         lrint_towardzero_test_data, lrint_downward_test_data and
20807         lrint_upward_test_data.
20808         (lrint_test): Use ALL_RM_TEST.
20809         (lrint_tonearest_test_data): Remove.
20810         (lrint_test_tonearest): Likewise.
20811         (lrint_towardzero_test_data): Likewise.
20812         (lrint_test_towardzero): Likewise.
20813         (lrint_downward_test_data): Likewise.
20814         (lrint_test_downward): Likewise.
20815         (lrint_upward_test_data): Likewise.
20816         (lrint_test_upward): Likewise.
20817         (llrint_test_data): Merge in per-rounding-mode tests and results
20818         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20819         llrint_downward_test_data and llrint_upward_test_data.
20820         (llrint_test): Use ALL_RM_TEST.
20821         (llrint_tonearest_test_data): Remove.
20822         (llrint_test_tonearest): Likewise.
20823         (llrint_towardzero_test_data): Likewise.
20824         (llrint_test_towardzero): Likewise.
20825         (llrint_downward_test_data): Likewise.
20826         (llrint_test_downward): Likewise.
20827         (llrint_upward_test_data): Likewise.
20828         (llrint_test_upward): Likewise.
20829         (rint_test_data): Merge in per-rounding-mode tests and results
20830         from rint_tonearest_test_data, rint_towardzero_test_data,
20831         rint_downward_test_data and rint_upward_test_data.  Add
20832         per-rounding-mode results for tests not in those arrays.
20833         (rint_test): Use ALL_RM_TEST.
20834         (rint_tonearest_test_data): Remove.
20835         (rint_test_tonearest): Likewise.
20836         (rint_towardzero_test_data): Likewise.
20837         (rint_test_towardzero): Likewise.
20838         (rint_downward_test_data): Likewise.
20839         (rint_test_downward): Likewise.
20840         (rint_upward_test_data): Likewise.
20841         (rint_test_upward): Likewise.
20842         (main): Don't call removed functions.
20844 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20846         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20847         "Compiled on ..." crapola.  It is anti-useful.
20849 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20851         * scripts/evaluate-test.sh: Handle fourth argument to determine
20852         whether test run should stop on failure.
20853         * Makeconfig (stop-on-test-failure): New variable.
20854         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20855         $(stop-on-test-failure).
20856         * Makefile (tests): Give a summary of results from testing and
20857         exit with failure status if they include an ERROR or FAIL.
20858         (xtests): Likewise.
20859         * manual/install.texi (Configuring and compiling): Mention
20860         stop-on-test-failure=y.
20861         * INSTALL: Regenerated.
20863 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20865         * scripts/versionlist.awk: New file.
20866         * Makerules [$(build-shared) = yes]
20867         (postclean-generated): Add Versions.def, not Versions.def.v and
20868         Versions.def.v.i.
20869         ($(common-objpfx)Versions.def.v.i): Target removed.
20870         ($(common-objpfx)Versions.def): New target.
20871         ($(common-objpfx)Versions.all): Depend on that rather that
20872         $(common-objpfx)Versions.def.v.
20873         * Versions.def: File removed.
20875         * Makeconfig (+gccwarn): Add -Wundef.
20876         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20877         a dl-sysdep.h breaking its contract.
20878         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20879         * include/stackinfo.h: New file.
20880         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20881         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20882         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20883         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20884         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20885         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20886         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20887         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20888         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20889         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20890         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20891         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20892         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20893         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20894         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20896 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20898         [BZ #16707]
20899         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20900         implementation.
20901         * math/libm-test.inc (round_test_data): Add more tests.
20903         [BZ #16706]
20904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20905         implementation.
20906         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20908         [BZ #16701]
20909         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20910         implementation.
20911         * math/libm-test.inc (ceil_test_data): Add more tests.
20913         * math/libm-test.inc (trunc_test_data): Add more tests related to
20914         BZ#16414.
20916 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20918         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20919         with #if rather than #ifdef.
20920         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20922 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20924         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20925         first.  Disable AVX-512 GCC support if assembler doesn't support
20926         it.
20927         * sysdeps/x86_64/configure: Regenerated.
20929 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20931         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20932         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20933         (__old_pthread_attr_setstack): Likewise.
20934         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20935         [!_STACK_GROWS_DOWN]: Likewise.
20937 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20939         * config.make.in (have-bash2): Delete.
20940         * configure.ac (libc_cv_have_bash2): Delete.
20941         * configure: Regenerate.
20942         * elf/Makefile (common-ldd-rewrite): Rename to ...
20943         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20944         (sh-ldd-rewrite): Delete.
20945         (bash-ldd-rewrite): Delete.
20946         (have-bash2): Delete checks.
20947         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20948         ldd-rewrite.
20950         * config.make.in (have-ksh): Delete.
20951         (KSH): Delete.
20952         * configure.ac (libc_cv_have_ksh): Delete.
20953         * configure: Regenerate.
20955         * elf/Makefile: Delete $(have-ksh) check.
20956         ($(objpfx)sotruss): Change KSH to BASH.
20957         * elf/sotruss.ksh: Rename to ...
20958         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20959         function style to match POSIX.  Drop ksh vim mode setting.
20961         * manual/time.texi (Specifying the Time Zone with TZ): Change
20962         Tuesday to Thursday.
20964         * debug/tst-longjmp_chk2.c: Update header comment.
20965         (stackoverflow_handler): Add comment.  Call assert on pass value.
20967 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20969         [BZ #16194]
20970         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20971         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20972         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20973         (La_x86_64_vector): Add zmm.
20974         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20975         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20976         ($(objpfx)tst-audit10): New target.
20977         ($(objpfx)tst-audit10.out): Likewise.
20978         (tst-audit10-ENV): New.
20979         (AVX512-CFLAGS): Likewise.
20980         (CFLAGS-tst-audit10.c): Likewise.
20981         (CFLAGS-tst-auditmod10a.c): Likewise.
20982         (CFLAGS-tst-auditmod10b.c): Likewise.
20983         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20984         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20985         * sysdeps/x86_64/configure: Regenerated.
20986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20987         AVX-512 zmm register support.
20988         (_dl_x86_64_save_sse): Likewise.
20989         (_dl_x86_64_restore_sse): Likewise.
20990         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20991         size vector registers.
20992         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20993         (ZMM_SIZE): Likewise.
20994         * sysdeps/x86_64/tst-audit10.c: New file.
20995         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20996         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20998 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21000         * configure.ac (HAVE_EHDR_START): New check.
21001         * configure: Regenerated.
21002         * config.h.in (HAVE_EHDR_START): New #undef.
21003         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21004         assuming the lowest-addressed segment maps the start of the file.
21006 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21008         * INSTALL: Regenerated.
21010 2014-03-13  Will Newton  <will.newton@linaro.org>
21012         * manual/setjmp.texi (System V contexts): Improve
21013         clarity and grammar of documentation.
21015 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21017         [BZ #16381]
21018         * elf/Makefile (tests): Add tst-pie2.
21019         (tests-pie): Add tst-pie2.
21020         * elf/tst-pie2.c: New file.
21021         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21022         for ET_EXEC.
21023         * elf/rtld.c (map_doit): Load executable as lt_executable.
21024         (dl_main): Likewise.
21026 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21028         [BZ #16642]
21029         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21030         (__ASSUME_PSELECT): Undefine.
21032 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21034         [BZ #16689]
21035         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21036         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21037         static build.
21038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21039         selector for static builds.
21041 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21043         [BZ #16695]
21044         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21045         key in the buffer.
21047 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21049         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21050         IFUNC selector for static builds.
21052 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21054         * sysdeps/mips/math_private.h [__mips_hard_float]
21055         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21056         libc_feresetround_mips_ctx.
21057         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21058         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21059         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21061         [BZ #16677]
21062         * math/s_nextafter.c (__nextafter): Do not return value from
21063         overflowing computation.
21064         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21065         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21066         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21067         Likewise.
21068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21069         Likewise.
21070         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21071         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21073 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21075         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21076         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21077         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21078         the new mov targetting sp.
21080 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21082         [BZ #16683]
21083         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21084         Define it for static builds as well.
21085         (NO_BZERO_IMPL): Likewise.
21087 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21089         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21090         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21091         multiarch strspn for PPC64.
21092         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21093         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21095         (__libc_ifunc_impl_list): Likewise.
21096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21097         multiarch optimizations
21098         * string/strspn.c (strspn): Using macro to redefine symbol name.
21100 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21101             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21103         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21104         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21105         multiarch strncat for PPC64.
21106         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21107         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21109         (__libc_ifunc_impl_list): Likewise.
21110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21111         multiarch optimizations
21113 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21115         [BZ #16639]
21116         * nscd/nscd.service: Make service type forking.
21118 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21120         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21121         sign in non default rounding modes.
21122         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21124 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21126         * math/libm-test.inc (ALL_RM_TEST): New macro.
21127         (ceil_test): Use ALL_RM_TEST.
21128         (cimag_test): Likewise.
21129         (conj_test): Likewise.
21130         (copysign_test): Likewise.
21131         (cproj_test): Likewise.
21132         (creal_test): Likewise.
21133         (fabs_test): Likewise.
21134         (floor_test): Likewise.
21135         (fmax_test): Likewise.
21136         (fmin_test): Likewise.
21137         (fmod_test): Likewise.
21138         (fpclassify_test): Likewise.
21139         (frexp_test): Likewise.
21140         (ilogb_test): Likewise.
21141         (isfinite_test): Likewise.
21142         (finite_test): Likewise.
21143         (isgreater_test): Likewise.
21144         (isgreaterequal_test): Likewise.
21145         (isinf_test): Likewise.
21146         (isless_test): Likewise.
21147         (islessequal_test): Likewise.
21148         (islessgreater_test): Likewise.
21149         (isnan_test): Likewise.
21150         (isnormal_test): Likewise.
21151         (issignaling_test): Likewise.
21152         (isunordered_test): Likewise.
21153         (logb_test): Likewise.
21154         (logb_downward_test_data): Remove.
21155         (logb_test_downward): Likewise.
21156         (lround_test): Use ALL_RM_TEST.
21157         (llround_test): Likewise.
21158         (modf_test): Likewise.
21159         (nexttoward_test): Likewise.
21160         (remainder_test): Likewise.
21161         (drem_test): Likewise.
21162         (remainder_tonearest_test_data): Likewise.
21163         (remainder_test_tonearest): Likewise.
21164         (drem_test_tonearest): Likewise.
21165         (remainder_towardzero_test_data): Likewise.
21166         (remainder_test_towardzero): Likewise.
21167         (drem_test_towardzero): Likewise.
21168         (remainder_downward_test_data): Likewise.
21169         (remainder_test_downward): Likewise.
21170         (drem_test_downward): Likewise.
21171         (remainder_upward_test_data): Likewise.
21172         (remainder_test_upward): Likewise.
21173         (drem_test_upward): Likewise.
21174         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21175         (round_test): Use ALL_RM_TEST.
21176         (signbit_test): Likewise.
21177         (trunc_test): Likewise.
21178         (significand_test): Likewise.
21179         (main): Don't call removed functions.
21181 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21183         [BZ #16674]
21184         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21185         || __USE_XOPEN2K8].
21186         (ILL_ILLOPN): Likewise.
21187         (ILL_ILLADR): Likewise.
21188         (ILL_ILLTRP): Likewise.
21189         (ILL_PRVOPC): Likewise.
21190         (ILL_PRVREG): Likewise.
21191         (ILL_COPROC): Likewise.
21192         (ILL_BADSTK): Likewise.
21193         (FPE_INTDIV): Likewise.
21194         (FPE_INTOVF): Likewise.
21195         (FPE_FLTDIV): Likewise.
21196         (FPE_FLTOVF): Likewise.
21197         (FPE_FLTUND): Likewise.
21198         (FPE_FLTRES): Likewise.
21199         (FPE_FLTINV): Likewise.
21200         (FPE_FLTSUB): Likewise.
21201         (SEGV_MAPERR): Likewise.
21202         (SEGV_ACCERR): Likewise.
21203         (BUS_ADRALN): Likewise.
21204         (BUS_ADRERR): Likewise.
21205         (BUS_OBJERR): Likewise.
21206         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21207         (TRAP_TRACE): Likewise.
21208         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21209         __USE_XOPEN2K8].
21210         (CLD_KILLED): Likewise.
21211         (CLD_DUMPED): Likewise.
21212         (CLD_TRAPPED): Likewise.
21213         (CLD_STOPPED): Likewise.
21214         (CLD_CONTINUED): Likewise.
21215         (POLL_IN): Likewise.
21216         (POLL_OUT): Likewise.
21217         (POLL_MSG): Likewise.
21218         (POLL_ERR): Likewise.
21219         (POLL_PRI): Likewise.
21220         (POLL_HUP): Likewise.
21221         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21222         Likewise.
21223         (ILL_ILLOPN): Likewise.
21224         (ILL_ILLADR): Likewise.
21225         (ILL_ILLTRP): Likewise.
21226         (ILL_PRVOPC): Likewise.
21227         (ILL_PRVREG): Likewise.
21228         (ILL_COPROC): Likewise.
21229         (ILL_BADSTK): Likewise.
21230         (FPE_INTDIV): Likewise.
21231         (FPE_INTOVF): Likewise.
21232         (FPE_FLTDIV): Likewise.
21233         (FPE_FLTOVF): Likewise.
21234         (FPE_FLTUND): Likewise.
21235         (FPE_FLTRES): Likewise.
21236         (FPE_FLTINV): Likewise.
21237         (FPE_FLTSUB): Likewise.
21238         (SEGV_MAPERR): Likewise.
21239         (SEGV_ACCERR): Likewise.
21240         (BUS_ADRALN): Likewise.
21241         (BUS_ADRERR): Likewise.
21242         (BUS_OBJERR): Likewise.
21243         (BUS_MCEERR_AR): Likewise.
21244         (BUS_MCEERR_AO): Likewise.
21245         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21246         (TRAP_TRACE): Likewise.
21247         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21248         __USE_XOPEN2K8].
21249         (CLD_KILLED): Likewise.
21250         (CLD_DUMPED): Likewise.
21251         (CLD_TRAPPED): Likewise.
21252         (CLD_STOPPED): Likewise.
21253         (CLD_CONTINUED): Likewise.
21254         (POLL_IN): Likewise.
21255         (POLL_OUT): Likewise.
21256         (POLL_MSG): Likewise.
21257         (POLL_ERR): Likewise.
21258         (POLL_PRI): Likewise.
21259         (POLL_HUP): Likewise.
21260         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21261         (ILL_ILLOPN): Likewise.
21262         (ILL_ILLADR): Likewise.
21263         (ILL_ILLTRP): Likewise.
21264         (ILL_PRVOPC): Likewise.
21265         (ILL_PRVREG): Likewise.
21266         (ILL_COPROC): Likewise.
21267         (ILL_BADSTK): Likewise.
21268         (FPE_INTDIV): Likewise.
21269         (FPE_INTOVF): Likewise.
21270         (FPE_FLTDIV): Likewise.
21271         (FPE_FLTOVF): Likewise.
21272         (FPE_FLTUND): Likewise.
21273         (FPE_FLTRES): Likewise.
21274         (FPE_FLTINV): Likewise.
21275         (FPE_FLTSUB): Likewise.
21276         (SEGV_MAPERR): Likewise.
21277         (SEGV_ACCERR): Likewise.
21278         (BUS_ADRALN): Likewise.
21279         (BUS_ADRERR): Likewise.
21280         (BUS_OBJERR): Likewise.
21281         (BUS_MCEERR_AR): Likewise.
21282         (BUS_MCEERR_AO): Likewise.
21283         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21284         (TRAP_TRACE): Likewise.
21285         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21286         __USE_XOPEN2K8].
21287         (CLD_KILLED): Likewise.
21288         (CLD_DUMPED): Likewise.
21289         (CLD_TRAPPED): Likewise.
21290         (CLD_STOPPED): Likewise.
21291         (CLD_CONTINUED): Likewise.
21292         (POLL_IN): Likewise.
21293         (POLL_OUT): Likewise.
21294         (POLL_MSG): Likewise.
21295         (POLL_ERR): Likewise.
21296         (POLL_PRI): Likewise.
21297         (POLL_HUP): Likewise.
21298         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21299         Likewise.
21300         (ILL_ILLOPN): Likewise.
21301         (ILL_ILLADR): Likewise.
21302         (ILL_ILLTRP): Likewise.
21303         (ILL_PRVOPC): Likewise.
21304         (ILL_PRVREG): Likewise.
21305         (ILL_COPROC): Likewise.
21306         (ILL_BADSTK): Likewise.
21307         (ILL_BADIADDR): Likewise.
21308         (ILL_BREAK): Likewise.
21309         (FPE_INTDIV): Likewise.
21310         (FPE_INTOVF): Likewise.
21311         (FPE_FLTDIV): Likewise.
21312         (FPE_FLTOVF): Likewise.
21313         (FPE_FLTUND): Likewise.
21314         (FPE_FLTRES): Likewise.
21315         (FPE_FLTINV): Likewise.
21316         (FPE_FLTSUB): Likewise.
21317         (FPE_DECOVF): Likewise.
21318         (FPE_DECDIV): Likewise.
21319         (FPE_DECERR): Likewise.
21320         (FPE_INVASC): Likewise.
21321         (FPE_INVDEC): Likewise.
21322         (SEGV_MAPERR): Likewise.
21323         (SEGV_ACCERR): Likewise.
21324         (SEGV_PSTKOVF): Likewise.
21325         (BUS_ADRALN): Likewise.
21326         (BUS_ADRERR): Likewise.
21327         (BUS_OBJERR): Likewise.
21328         (BUS_MCEERR_AR): Likewise.
21329         (BUS_MCEERR_AO): Likewise.
21330         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21331         (TRAP_TRACE): Likewise.
21332         (TRAP_BRANCH): Likewise.
21333         (TRAP_HWBKPT): Likewise.
21334         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21335         __USE_XOPEN2K8].
21336         (CLD_KILLED): Likewise.
21337         (CLD_DUMPED): Likewise.
21338         (CLD_TRAPPED): Likewise.
21339         (CLD_STOPPED): Likewise.
21340         (CLD_CONTINUED): Likewise.
21341         (POLL_IN): Likewise.
21342         (POLL_OUT): Likewise.
21343         (POLL_MSG): Likewise.
21344         (POLL_ERR): Likewise.
21345         (POLL_PRI): Likewise.
21346         (POLL_HUP): Likewise.
21347         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21348         (ILL_ILLOPN): Likewise.
21349         (ILL_ILLADR): Likewise.
21350         (ILL_ILLTRP): Likewise.
21351         (ILL_PRVOPC): Likewise.
21352         (ILL_PRVREG): Likewise.
21353         (ILL_COPROC): Likewise.
21354         (ILL_BADSTK): Likewise.
21355         (FPE_INTDIV): Likewise.
21356         (FPE_INTOVF): Likewise.
21357         (FPE_FLTDIV): Likewise.
21358         (FPE_FLTOVF): Likewise.
21359         (FPE_FLTUND): Likewise.
21360         (FPE_FLTRES): Likewise.
21361         (FPE_FLTINV): Likewise.
21362         (FPE_FLTSUB): Likewise.
21363         (SEGV_MAPERR): Likewise.
21364         (SEGV_ACCERR): Likewise.
21365         (BUS_ADRALN): Likewise.
21366         (BUS_ADRERR): Likewise.
21367         (BUS_OBJERR): Likewise.
21368         (BUS_MCEERR_AR): Likewise.
21369         (BUS_MCEERR_AO): Likewise.
21370         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21371         (TRAP_TRACE): Likewise.
21372         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21373         __USE_XOPEN2K8].
21374         (CLD_KILLED): Likewise.
21375         (CLD_DUMPED): Likewise.
21376         (CLD_TRAPPED): Likewise.
21377         (CLD_STOPPED): Likewise.
21378         (CLD_CONTINUED): Likewise.
21379         (POLL_IN): Likewise.
21380         (POLL_OUT): Likewise.
21381         (POLL_MSG): Likewise.
21382         (POLL_ERR): Likewise.
21383         (POLL_PRI): Likewise.
21384         (POLL_HUP): Likewise.
21385         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21386         (ILL_ILLOPN): Likewise.
21387         (ILL_ILLADR): Likewise.
21388         (ILL_ILLTRP): Likewise.
21389         (ILL_PRVOPC): Likewise.
21390         (ILL_PRVREG): Likewise.
21391         (ILL_COPROC): Likewise.
21392         (ILL_BADSTK): Likewise.
21393         (FPE_INTDIV): Likewise.
21394         (FPE_INTOVF): Likewise.
21395         (FPE_FLTDIV): Likewise.
21396         (FPE_FLTOVF): Likewise.
21397         (FPE_FLTUND): Likewise.
21398         (FPE_FLTRES): Likewise.
21399         (FPE_FLTINV): Likewise.
21400         (FPE_FLTSUB): Likewise.
21401         (SEGV_MAPERR): Likewise.
21402         (SEGV_ACCERR): Likewise.
21403         (BUS_ADRALN): Likewise.
21404         (BUS_ADRERR): Likewise.
21405         (BUS_OBJERR): Likewise.
21406         (BUS_MCEERR_AR): Likewise.
21407         (BUS_MCEERR_AO): Likewise.
21408         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21409         (TRAP_TRACE): Likewise.
21410         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21411         __USE_XOPEN2K8].
21412         (CLD_KILLED): Likewise.
21413         (CLD_DUMPED): Likewise.
21414         (CLD_TRAPPED): Likewise.
21415         (CLD_STOPPED): Likewise.
21416         (CLD_CONTINUED): Likewise.
21417         (POLL_IN): Likewise.
21418         (POLL_OUT): Likewise.
21419         (POLL_MSG): Likewise.
21420         (POLL_ERR): Likewise.
21421         (POLL_PRI): Likewise.
21422         (POLL_HUP): Likewise.
21423         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21424         (ILL_ILLOPN): Likewise.
21425         (ILL_ILLADR): Likewise.
21426         (ILL_ILLTRP): Likewise.
21427         (ILL_PRVOPC): Likewise.
21428         (ILL_PRVREG): Likewise.
21429         (ILL_COPROC): Likewise.
21430         (ILL_BADSTK): Likewise.
21431         (FPE_INTDIV): Likewise.
21432         (FPE_INTOVF): Likewise.
21433         (FPE_FLTDIV): Likewise.
21434         (FPE_FLTOVF): Likewise.
21435         (FPE_FLTUND): Likewise.
21436         (FPE_FLTRES): Likewise.
21437         (FPE_FLTINV): Likewise.
21438         (FPE_FLTSUB): Likewise.
21439         (SEGV_MAPERR): Likewise.
21440         (SEGV_ACCERR): Likewise.
21441         (BUS_ADRALN): Likewise.
21442         (BUS_ADRERR): Likewise.
21443         (BUS_OBJERR): Likewise.
21444         (BUS_MCEERR_AR): Likewise.
21445         (BUS_MCEERR_AO): Likewise.
21446         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21447         (TRAP_TRACE): Likewise.
21448         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21449         __USE_XOPEN2K8].
21450         (CLD_KILLED): Likewise.
21451         (CLD_DUMPED): Likewise.
21452         (CLD_TRAPPED): Likewise.
21453         (CLD_STOPPED): Likewise.
21454         (CLD_CONTINUED): Likewise.
21455         (POLL_IN): Likewise.
21456         (POLL_OUT): Likewise.
21457         (POLL_MSG): Likewise.
21458         (POLL_ERR): Likewise.
21459         (POLL_PRI): Likewise.
21460         (POLL_HUP): Likewise.
21461         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21462         (ILL_ILLOPN): Likewise.
21463         (ILL_ILLADR): Likewise.
21464         (ILL_ILLTRP): Likewise.
21465         (ILL_PRVOPC): Likewise.
21466         (ILL_PRVREG): Likewise.
21467         (ILL_COPROC): Likewise.
21468         (ILL_BADSTK): Likewise.
21469         (ILL_DBLFLT): Likewise.
21470         (ILL_HARDWALL): Likewise.
21471         (FPE_INTDIV): Likewise.
21472         (FPE_INTOVF): Likewise.
21473         (FPE_FLTDIV): Likewise.
21474         (FPE_FLTOVF): Likewise.
21475         (FPE_FLTUND): Likewise.
21476         (FPE_FLTRES): Likewise.
21477         (FPE_FLTINV): Likewise.
21478         (FPE_FLTSUB): Likewise.
21479         (SEGV_MAPERR): Likewise.
21480         (SEGV_ACCERR): Likewise.
21481         (BUS_ADRALN): Likewise.
21482         (BUS_ADRERR): Likewise.
21483         (BUS_OBJERR): Likewise.
21484         (BUS_MCEERR_AR): Likewise.
21485         (BUS_MCEERR_AO): Likewise.
21486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21487         (TRAP_TRACE): Likewise.
21488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21489         __USE_XOPEN2K8].
21490         (CLD_KILLED): Likewise.
21491         (CLD_DUMPED): Likewise.
21492         (CLD_TRAPPED): Likewise.
21493         (CLD_STOPPED): Likewise.
21494         (CLD_CONTINUED): Likewise.
21495         (POLL_IN): Likewise.
21496         (POLL_OUT): Likewise.
21497         (POLL_MSG): Likewise.
21498         (POLL_ERR): Likewise.
21499         (POLL_PRI): Likewise.
21500         (POLL_HUP): Likewise.
21501         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21502         (ILL_ILLOPN): Likewise.
21503         (ILL_ILLADR): Likewise.
21504         (ILL_ILLTRP): Likewise.
21505         (ILL_PRVOPC): Likewise.
21506         (ILL_PRVREG): Likewise.
21507         (ILL_COPROC): Likewise.
21508         (ILL_BADSTK): Likewise.
21509         (FPE_INTDIV): Likewise.
21510         (FPE_INTOVF): Likewise.
21511         (FPE_FLTDIV): Likewise.
21512         (FPE_FLTOVF): Likewise.
21513         (FPE_FLTUND): Likewise.
21514         (FPE_FLTRES): Likewise.
21515         (FPE_FLTINV): Likewise.
21516         (FPE_FLTSUB): Likewise.
21517         (SEGV_MAPERR): Likewise.
21518         (SEGV_ACCERR): Likewise.
21519         (BUS_ADRALN): Likewise.
21520         (BUS_ADRERR): Likewise.
21521         (BUS_OBJERR): Likewise.
21522         (BUS_MCEERR_AR): Likewise.
21523         (BUS_MCEERR_AO): Likewise.
21524         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21525         (TRAP_TRACE): Likewise.
21526         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21527         __USE_XOPEN2K8].
21528         (CLD_KILLED): Likewise.
21529         (CLD_DUMPED): Likewise.
21530         (CLD_TRAPPED): Likewise.
21531         (CLD_STOPPED): Likewise.
21532         (CLD_CONTINUED): Likewise.
21533         (POLL_IN): Likewise.
21534         (POLL_OUT): Likewise.
21535         (POLL_MSG): Likewise.
21536         (POLL_ERR): Likewise.
21537         (POLL_PRI): Likewise.
21538         (POLL_HUP): Likewise.
21539         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21540         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21542         [BZ #16670]
21543         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21544         before #include of <time.h>.
21545         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21546         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21547         (test-xfail-UNIX98/sched.h/conform): Likewise.
21549 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21551         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21552         error absence of trapping exception support.
21553         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21555 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21557         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21558         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21559         * timezone/Makefile (testdata): Move definition above include of
21560         Rules.
21561         (test-zones): New variable.
21562         (tests-special): Add zone files.
21563         (build-testdata): Use $(evaluate-test).
21565         * elf/Makefile (tests-special): Rename tests to end with .out.
21566         ($(objpfx)noload-mem): Likewise.
21567         ($(objpfx)tst-leaks1-mem): Likewise.
21568         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21569         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21570         $(objpfx)test-iconvconfig.out.
21571         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21572         set -e inside subshell and redirect output to file.
21573         * iconvdata/Makefile (generated): Rename tests to end with .out.
21574         Correct type.
21575         (tests-special): Rename tests to end with .out.
21576         ($(objpfx)mtrace-tst-loading): Likewise.
21577         * intl/Makefile (generated): Likewise.
21578         (tests-special): Likewise.
21579         ($(objpfx)mtrace-tst-gettext): Likewise.
21580         * misc/Makefile (generated): Likewise.
21581         (tests-special): Likewise.
21582         ($(objpfx)tst-error1-mem): Likewise.
21583         * nptl/Makefile (tests-special): Likewise.
21584         ($(objpfx)tst-stack3-mem): Likewise.
21585         (generated): Likewise.
21586         * posix/Makefile (generated): Likewise.
21587         (tests-special): Likewise.
21588         (xtests-special): Likewise.
21589         ($(objpfx)tst-fnmatch-mem): Likewise.
21590         ($(objpfx)bug-regex2-mem): Likewise.
21591         ($(objpfx)bug-regex14-mem): Likewise.
21592         ($(objpfx)bug-regex21-mem): Likewise.
21593         ($(objpfx)bug-regex31-mem): Likewise.
21594         ($(objpfx)tst-vfork3-mem): Likewise.
21595         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21596         ($(objpfx)tst-pcre-mem): Likewise.
21597         ($(objpfx)tst-boost-mem): Likewise.
21598         ($(objpfx)bug-ga2-mem): Likewise.
21599         ($(objpfx)bug-glob2-mem): Likewise.
21600         * resolv/Makefile (generate): Likewise.
21601         (tests-special): Likewise.
21602         (xtests-special): Likewise.
21603         (generated): Likewise.
21604         ($(objpfx)mtrace-tst-leaks): Likewise.
21605         ($(objpfx)mtrace-tst-leaks2): Likewise.
21607         * scripts/merge-test-results.sh: New file.
21608         * Makefile (tests-special-notdir): New variable.
21609         (tests): Run merge-test-results.sh.
21610         (xtests): Likewise.
21611         * Rules (tests-special-notdir): New variable.
21612         (xtests-special-notdir): Likewise.
21613         (tests): Run merge-test-results.sh
21614         (xtests): Likewise.
21616         * Makeconfig (test-xfail-name): New variable.
21617         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21618         compute variable name for expected failures.
21619         * conform/Makefile (conformtest-headers-data): New variable.
21620         (conformtest-standards): Likewise.
21621         (conformtest-headers-ISO): Likewise.
21622         (conformtest-headers-ISO99): Likewise.
21623         (conformtest-headers-ISO11): Likewise.
21624         (conformtest-headers-POSIX): Likewise.
21625         (conformtest-headers-XPG3): Likewise.
21626         (conformtest-headers-XPG4): Likewise.
21627         (conformtest-headers-UNIX98): Likewise.
21628         (conformtest-headers-XOPEN2K): Likewise.
21629         (conformtest-headers-POSIX2008): Likewise.
21630         (conformtest-headers-XOPEN2K8): Likewise.
21631         (conformtest-header-list-base): Likewise.
21632         (conformtest-header-list-tests): Likewise.
21633         (conformtest-header-base): Likewise.
21634         (conformtest-header-tests): Likewise.
21635         (tests-special): Add $(conformtest-header-list-tests).  If
21636         [$(fast-check) && !$(cross-compiling)], add
21637         $(conformtest-header-tests) instead of
21638         $(objpfx)run-conformtest.out.
21639         (generated): Add $(conformtest-header-list-base).  If
21640         [$(fast-check) && !$(cross-compiling)], add
21641         $(conformtest-header-base).  Remove previous setting.
21642         ($(conformtest-header-list-tests)): New target.
21643         (test-xfail-run-conformtest): Remove variable.
21644         ($(objpfx)run-conformtest.out): Remove target.
21645         (test-xfail-ISO11/complex.h/conform): New variable.
21646         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21647         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21648         (test-xfail-XPG3/varargs.h/conform): Likewise.
21649         (test-xfail-XPG4/varargs.h/conform): Likewise.
21650         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21651         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21652         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21653         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21654         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21655         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21656         (test-xfail-XPG3/ftw.h/conform): Likewise.
21657         (test-xfail-XPG3/grp.h/conform): Likewise.
21658         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21659         (test-xfail-XPG3/limits.h/conform): Likewise.
21660         (test-xfail-XPG3/pwd.h/conform): Likewise.
21661         (test-xfail-XPG3/search.h/conform): Likewise.
21662         (test-xfail-XPG3/signal.h/conform): Likewise.
21663         (test-xfail-XPG3/stdio.h/conform): Likewise.
21664         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21665         (test-xfail-XPG3/string.h/conform): Likewise.
21666         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21667         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21668         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21669         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21670         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21671         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21672         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21673         (test-xfail-XPG3/termios.h/conform): Likewise.
21674         (test-xfail-XPG3/time.h/conform): Likewise.
21675         (test-xfail-XPG3/unistd.h/conform): Likewise.
21676         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21677         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21678         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21679         (test-xfail-XPG4/netdb.h/conform): Likewise.
21680         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21681         (test-xfail-XPG4/signal.h/conform): Likewise.
21682         (test-xfail-XPG4/stdio.h/conform): Likewise.
21683         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21684         (test-xfail-XPG4/stropts.h/conform): Likewise.
21685         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21686         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21687         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21688         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21689         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21690         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21691         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21692         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21693         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21694         (test-xfail-XPG4/termios.h/conform): Likewise.
21695         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21696         (test-xfail-XPG4/unistd.h/conform): Likewise.
21697         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21698         (test-xfail-POSIX/sched.h/conform): Likewise.
21699         (test-xfail-POSIX/signal.h/conform): Likewise.
21700         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21701         (test-xfail-POSIX/tar.h/conform): Likewise.
21702         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21703         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21704         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21705         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21706         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21707         (test-xfail-UNIX98/sched.h/conform): Likewise.
21708         (test-xfail-UNIX98/signal.h/conform): Likewise.
21709         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21710         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21711         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21712         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21713         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21714         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21715         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21716         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21717         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21718         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21719         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21720         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21721         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21722         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21723         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21724         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21725         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21726         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21727         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21728         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21729         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21730         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21731         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21732         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21733         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21734         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21735         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21736         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21737         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21738         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21739         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21740         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21741         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21742         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21743         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21744         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21745         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21746         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21747         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21748         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21749         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21750         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21751         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21752         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21753         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21754         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21755         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21756         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21757         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21758         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21759         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21760         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21761         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21762         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21763         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21764         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21765         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21766         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21767         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21768         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21769         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21770         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21771         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21772         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21773         (conformtest-cc-flags): Likewise.
21774         ($(conformtest-header-tests): New target.
21775         * conform/check-header-lists.sh: New file.
21776         * conform/run-conformtest.sh: Remove.
21778         * conform/conformtest.pl: Allow ' and \ in values given for
21779         constants.
21780         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21781         inclusion.
21782         [POSIX] (sys/types.h): Likewise.
21783         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21784         inclusion.
21785         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21786         inclusion.
21787         * conform/data/signal.h-data (SIGIO): Remove expectation.
21788         [XPG3] (SIGBUS): Do not expect.
21789         [POSIX || XPG3] (SIGPOLL): Likewise.
21790         [POSIX || XPG3] (SIGPROF): Likewise.
21791         [POSIX || XPG3] (SIGSYS): Likewise.
21792         [XPG3] (SIGTRAP): Likewise.
21793         [POSIX || XPG3] (SIGURG): Likewise.
21794         [POSIX || XPG3] (SIGVTALRM): Likewise.
21795         [POSIX || XPG3] (SIGXCPU): Likewise.
21796         [POSIX || XPG3] (SIGXFSZ): Likewise.
21797         [POSIX] (SA_SIGINFO): Expect.
21798         [XPG3] (siginfo_t): Do not expect type or contents.
21799         [POSIX] (si_pid): Do not expect element.
21800         [POSIX] (si_uid): Likewise.
21801         [POSIX] (si_addr): Likewise.
21802         [POSIX] (si_status): Likewise.
21803         [POSIX] (si_band): Likewise.
21804         [XPG4] (si_value): Likewise.
21805         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21806         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21807         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21808         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21809         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21810         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21811         [POSIX || XPG3] (ILL_COPROC): Likewise.
21812         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21813         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21814         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21815         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21816         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21817         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21818         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21819         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21820         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21821         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21822         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21823         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21824         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21825         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21826         [POSIX || XPG3] (CLD_EXITED): Likewise.
21827         [POSIX || XPG3] (CLD_KILLED): Likewise.
21828         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21829         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21830         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21831         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21832         [POSIX || XPG3] (POLL_IN): Likewise.
21833         [POSIX || XPG3] (POLL_OUT): Likewise.
21834         [POSIX || XPG3] (POLL_MSG): Likewise.
21835         [POSIX || XPG3] (POLL_ERR): Likewise.
21836         [POSIX || XPG3] (POLL_PRI): Likewise.
21837         [POSIX || XPG3] (POLL_HUP): Likewise.
21838         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21839         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21840         (SIG*): Do not allow.
21841         [XPG3] (si_*): Likewise.
21842         [XPG3] (SI_*): Likewise.
21843         [XPG3 || XPG4] (sigev_*): Likewise.
21844         [XPG3 || XPG4] (SIGEV_*): Likewise.
21845         [XPG3 || XPG4] (sival_*): Likewise.
21846         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21847         [POSIX || XPG3] (BUS_*): Likewise.
21848         [POSIX || XPG3] (CLD_*): Likewise.
21849         [POSIX || XPG3] (FPE_*): Likewise.
21850         [POSIX || XPG3] (ILL_*): Likewise.
21851         [POSIX || XPG3] (POLL_*): Likewise.
21852         [POSIX || XPG3] (SEGV_*): Likewise.
21853         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21854         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21855         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21856         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21857         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21858         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21859         Specify type and value.
21860         (TVERSLEN): Likewise.
21861         (REGTYPE): Likewise.
21862         (AREGTYPE): Likewise.
21863         (LNKTYPE): Likewise.
21864         (SYMTYPE): Likewise.
21865         (CHRTYPE): Likewise.
21866         (BLKTYPE): Likewise.
21867         (DIRTYPE): Likewise.
21868         (FIFOTYPE): Likewise.
21869         (CONTTYPE): Likewise.
21870         (TSUID): Likewise.
21871         (TSGID): Likewise.
21872         (TSVTX): Likewise.
21873         (TUREAD): Likewise.
21874         (TUWRITE): Likewise.
21875         (TUEXEC): Likewise.
21876         (TGREAD): Likewise.
21877         (TGWRITE): Likewise.
21878         (TGEXEC): Likewise.
21879         (TOREAD): Likewise.
21880         (TOWRITE): Likewise.
21881         (TOEXEC): Likewise.
21882         [POSIX] (TSVTX): Expect constant.
21884 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21886         * Makefile (tests): Change dependencies to ....
21887         (tests-special): ... additions to this variable.
21888         (tests): Depend on $(tests-special).
21889         * Makerules (check-abi-list): New variable.
21890         (check-abi): Depend on $(check-abi-list).
21891         [$(subdir) = elf] (tests-special): Add
21892         $(objpfx)check-abi-libc.out.
21893         [$(build-shared) = yes && subdir] (tests-special): Add
21894         $(check-abi-list).
21895         [$(build-shared) = yes && subdir] (tests): Do not depend on
21896         check-abi.
21897         * Rules (tests): Depend on $(tests-special).
21898         (xtests): Depend on $(xtests-special).
21899         * catgets/Makefile (tests): Change dependencies to ....
21900         (tests-special): ... additions to this variable.
21901         * conform/Makefile (tests): Change dependencies to ....
21902         (tests-special): ... additions to this variable.
21903         * elf/Makefile (tests): Change dependencies to ....
21904         (tests-special): ... additions to this variable.
21905         * grp/Makefile (tests): Change dependencies to ....
21906         (tests-special): ... additions to this variable.
21907         * iconv/Makefile (xtests): Change dependencies to ....
21908         (xtests-special): ... additions to this variable.
21909         * iconvdata/Makefile (tests): Change dependencies to ....
21910         (tests-special): ... additions to this variable.
21911         * intl/Makefile (tests): Change dependencies to ....
21912         (tests-special): ... additions to this variable.  Also add
21913         $(objpfx)tst-gettext.out.
21914         * io/Makefile (tests): Change dependencies to ....
21915         (tests-special): ... additions to this variable.
21916         * libio/Makefile (tests): Change dependencies to ....
21917         (tests-special): ... additions to this variable.
21918         * malloc/Makefile (tests): Change dependencies to ....
21919         (tests-special): ... additions to this variable.
21920         * misc/Makefile (tests): Change dependencies to ....
21921         (tests-special): ... additions to this variable.
21922         * nptl/Makefile (tests): Change dependencies to ....
21923         (tests-special): ... additions to this variable.
21924         * nptl_db/Makefile (tests): Change dependencies to ....
21925         (tests-special): ... additions to this variable.
21926         * posix/Makefile (tests): Change dependencies to ....
21927         (tests-special): ... additions to this variable.
21928         (xtests): Change dependencies to ....
21929         (xtests-special): ... additions to this variable.
21930         * resolv/Makefile (tests): Change dependencies to ....
21931         (tests-special): ... additions to this variable.
21932         (xtests): Change dependencies to ....
21933         (xtests-special): ... additions to this variable.
21934         * stdio-common/Makefile (tests): Change dependencies to ....
21935         (tests-special): ... additions to this variable.
21936         (do-tst-unbputc): Remove target.
21937         (do-tst-printf): Likewise.
21938         * stdlib/Makefile (tests): Change dependencies to ....
21939         (tests-special): ... additions to this variable.
21940         * string/Makefile (tests): Change dependencies to ....
21941         (tests-special): ... additions to this variable.
21942         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21943         (tests-special): ... additions to this variable.
21945         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21946         whole file.
21947         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21948         whole file.
21949         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21950         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21952         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21953         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21954         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21955         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21956         * conform/data/libgen.h-data [XPG3]: Likewise.
21957         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21958         * conform/data/ndbm.h-data [XPG3]: Likewise.
21959         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21960         * conform/data/netdb.h-data [XPG3]: Likewise.
21961         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21962         * conform/data/poll.h-data [XPG3]: Likewise.
21963         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21964         * conform/data/strings.h-data [XPG3]: Likewise.
21965         * conform/data/stropts.h-data [XPG3]: Likewise.
21966         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21967         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21968         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21969         Likewise.
21970         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21971         * conform/data/sys/time.h-data [XPG3]: Likewise.
21972         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21973         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21974         * conform/data/sys/un.h-data [XPG3]: Likewise.
21975         * conform/data/syslog.h-data [XPG3]: Likewise.
21976         * conform/data/ucontext.h-data [XPG3]: Likewise.
21977         * conform/data/utmpx.h-data [XPG3]: Likewise.
21978         * conform/data/varargs.h-data [UNIX98]: Enable file.
21980         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21982         * math/libm-test.inc (struct test_f_f_data): Move expected results
21983         into structure for each rounding mode.
21984         (struct test_ff_f_data): Likewise.
21985         (struct test_ff_f_data_nexttoward): Likewise.
21986         (struct test_fi_f_data): Likewise.
21987         (struct test_fl_f_data): Likewise.
21988         (struct test_if_f_data): Likewise.
21989         (struct test_fff_f_data): Likewise.
21990         (struct test_c_f_data): Likewise.
21991         (struct test_f_f1_data): Likewise.
21992         (struct test_fF_f1_data): Likewise.
21993         (struct test_ffI_f1_data): Likewise.
21994         (struct test_c_c_data): Likewise.
21995         (struct test_cc_c_data): Likewise.
21996         (struct test_f_i_data): Likewise.
21997         (struct test_ff_i_data): Likewise.
21998         (struct test_f_l_data): Likewise.
21999         (struct test_f_L_data): Likewise.
22000         (struct test_fFF_11_data): Likewise.
22001         (RM_): New macro.
22002         (RM_FE_DOWNWARD): Likewise.
22003         (RM_FE_TONEAREST): Likewise.
22004         (RM_FE_TOWARDZERO): Likewise.
22005         (RM_FE_UPWARD): Likewise.
22006         (RUN_TEST_LOOP_f_f): Update references to expected results.
22007         (RUN_TEST_LOOP_2_f): Likewise.
22008         (RUN_TEST_LOOP_fff_f): Likewise.
22009         (RUN_TEST_LOOP_c_f): Likewise.
22010         (RUN_TEST_LOOP_f_f1): Likewise.
22011         (RUN_TEST_LOOP_fF_f1): Likewise.
22012         (RUN_TEST_LOOP_fI_f1): Likewise.
22013         (RUN_TEST_LOOP_ffI_f1): Likewise.
22014         (RUN_TEST_LOOP_c_c): Likewise.
22015         (RUN_TEST_LOOP_cc_c): Likewise.
22016         (RUN_TEST_LOOP_f_i): Likewise.
22017         (RUN_TEST_LOOP_f_i_tg): Likewise.
22018         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22019         (RUN_TEST_LOOP_f_b): Likewise.
22020         (RUN_TEST_LOOP_f_b_tg): Likewise.
22021         (RUN_TEST_LOOP_f_l): Likewise.
22022         (RUN_TEST_LOOP_f_L): Likewise.
22023         (RUN_TEST_LOOP_fFF_11): Likewise.
22024         * math/gen-libm-test.pl (parse_args): Output four copies of
22025         expected results for each test.
22027         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22028         (__ASSUME_UTIMES): Remove.
22029         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22030         (__ASSUME_UTIMES): Likewise.
22032         * math/gen-auto-libm-tests.c: Update comment on output format.
22033         (output_for_one_input_case): Generate before-rounding and
22034         after-rounding information as conditions on output flags not
22035         floating-point format.
22036         * math/auto-libm-test-out: Regenerated.
22037         * math/gen-libm-test.pl (cond_value): New function.
22038         (or_cond_value): Use cond_value.
22039         (generate_testfile): Handle conditional exceptions.
22041 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22043         * math/libm-test.inc (max_valid_error): New variable.
22044         (init_max_error): Take new argument specifying whether function
22045         results are exactly determined.  Set max_valid_error and bound
22046         other variables for errors based on this argument.
22047         (set_max_error): Do not record results above max_valid_error.
22048         (check_float_internal): Only accept errors of up to 0.5ulps if
22049         also at most max_valid_error.
22050         (START): Take new argument EXACT and pass it to init_max_error.
22051         (acos_test): Update call to START.
22052         (acos_test_tonearest): Likewise.
22053         (acos_test_towardzero): Likewise.
22054         (acos_test_downward): Likewise.
22055         (acos_test_upward): Likewise.
22056         (acosh_test): Likewise.
22057         (asin_test): Likewise.
22058         (asin_test_tonearest): Likewise.
22059         (asin_test_towardzero): Likewise.
22060         (asin_test_downward): Likewise.
22061         (asin_test_upward): Likewise.
22062         (asinh_test): Likewise.
22063         (atan_test): Likewise.
22064         (atanh_test): Likewise.
22065         (atan2_test): Likewise.
22066         (cabs_test): Likewise.
22067         (cacos_test): Likewise.
22068         (cacosh_test): Likewise.
22069         (carg_test): Likewise.
22070         (casin_test): Likewise.
22071         (casinh_test): Likewise.
22072         (catan_test): Likewise.
22073         (catanh_test): Likewise.
22074         (cbrt_test): Likewise.
22075         (ccos_test): Likewise.
22076         (ccosh_test): Likewise.
22077         (ceil_test): Likewise.
22078         (cexp_test): Likewise.
22079         (cimag_test): Likewise.
22080         (clog_test): Likewise.
22081         (clog10_test): Likewise.
22082         (conj_test): Likewise.
22083         (copysign_test): Likewise.
22084         (cos_test): Likewise.
22085         (cos_test_tonearest): Likewise.
22086         (cos_test_towardzero): Likewise.
22087         (cos_test_downward): Likewise.
22088         (cos_test_upward): Likewise.
22089         (cosh_test): Likewise.
22090         (cosh_test_tonearest): Likewise.
22091         (cosh_test_towardzero): Likewise.
22092         (cosh_test_downward): Likewise.
22093         (cosh_test_upward): Likewise.
22094         (cpow_test): Likewise.
22095         (cproj_test): Likewise.
22096         (creal_test): Likewise.
22097         (csin_test): Likewise.
22098         (csinh_test): Likewise.
22099         (csqrt_test): Likewise.
22100         (ctan_test): Likewise.
22101         (ctan_test_tonearest): Likewise.
22102         (ctan_test_towardzero): Likewise.
22103         (ctan_test_downward): Likewise.
22104         (ctan_test_upward): Likewise.
22105         (ctanh_test): Likewise.
22106         (ctanh_test_tonearest): Likewise.
22107         (ctanh_test_towardzero): Likewise.
22108         (ctanh_test_downward): Likewise.
22109         (ctanh_test_upward): Likewise.
22110         (erf_test): Likewise.
22111         (erfc_test): Likewise.
22112         (exp_test): Likewise.
22113         (exp_test_tonearest): Likewise.
22114         (exp_test_towardzero): Likewise.
22115         (exp_test_downward): Likewise.
22116         (exp_test_upward): Likewise.
22117         (exp10_test): Likewise.
22118         (exp10_test_tonearest): Likewise.
22119         (exp10_test_towardzero): Likewise.
22120         (exp10_test_downward): Likewise.
22121         (exp10_test_upward): Likewise.
22122         (pow10_test): Likewise.
22123         (exp2_test): Likewise.
22124         (expm1_test): Likewise.
22125         (expm1_test_tonearest): Likewise.
22126         (expm1_test_towardzero): Likewise.
22127         (expm1_test_downward): Likewise.
22128         (expm1_test_upward): Likewise.
22129         (fabs_test): Likewise.
22130         (fdim_test): Likewise.
22131         (floor_test): Likewise.
22132         (fma_test): Likewise.
22133         (fma_test_towardzero): Likewise.
22134         (fma_test_downward): Likewise.
22135         (fma_test_upward): Likewise.
22136         (fmax_test): Likewise.
22137         (fmin_test): Likewise.
22138         (fmod_test): Likewise.
22139         (fpclassify_test): Likewise.
22140         (frexp_test): Likewise.
22141         (hypot_test): Likewise.
22142         (ilogb_test): Likewise.
22143         (isfinite_test): Likewise.
22144         (finite_test): Likewise.
22145         (isgreater_test): Likewise.
22146         (isgreaterequal_test): Likewise.
22147         (isinf_test): Likewise.
22148         (isless_test): Likewise.
22149         (islessequal_test): Likewise.
22150         (islessgreater_test): Likewise.
22151         (isnan_test): Likewise.
22152         (isnormal_test): Likewise.
22153         (issignaling_test): Likewise.
22154         (isunordered_test): Likewise.
22155         (j0_test): Likewise.
22156         (j1_test): Likewise.
22157         (jn_test): Likewise.
22158         (ldexp_test): Likewise.
22159         (lgamma_test): Likewise.
22160         (gamma_test): Likewise.
22161         (lrint_test): Likewise.
22162         (lrint_test_tonearest): Likewise.
22163         (lrint_test_towardzero): Likewise.
22164         (lrint_test_downward): Likewise.
22165         (lrint_test_upward): Likewise.
22166         (llrint_test): Likewise.
22167         (llrint_test_tonearest): Likewise.
22168         (llrint_test_towardzero): Likewise.
22169         (llrint_test_downward): Likewise.
22170         (llrint_test_upward): Likewise.
22171         (log_test): Likewise.
22172         (log10_test): Likewise.
22173         (log1p_test): Likewise.
22174         (log2_test): Likewise.
22175         (logb_test): Likewise.
22176         (logb_test_downward): Likewise.
22177         (lround_test): Likewise.
22178         (llround_test): Likewise.
22179         (modf_test): Likewise.
22180         (nearbyint_test): Likewise.
22181         (nextafter_test): Likewise.
22182         (nexttoward_test): Likewise.
22183         (pow_test): Likewise.
22184         (pow_test_tonearest): Likewise.
22185         (pow_test_towardzero): Likewise.
22186         (pow_test_downward): Likewise.
22187         (pow_test_upward): Likewise.
22188         (remainder_test): Likewise.
22189         (drem_test): Likewise.
22190         (remainder_test_tonearest): Likewise.
22191         (drem_test_tonearest): Likewise.
22192         (remainder_test_towardzero): Likewise.
22193         (drem_test_towardzero): Likewise.
22194         (remainder_test_downward): Likewise.
22195         (drem_test_downward): Likewise.
22196         (remainder_test_upward): Likewise.
22197         (drem_test_upward): Likewise.
22198         (remquo_test): Likewise.
22199         (rint_test): Likewise.
22200         (rint_test_tonearest): Likewise.
22201         (rint_test_towardzero): Likewise.
22202         (rint_test_downward): Likewise.
22203         (rint_test_upward): Likewise.
22204         (round_test): Likewise.
22205         (scalb_test): Likewise.
22206         (scalbn_test): Likewise.
22207         (scalbln_test): Likewise.
22208         (signbit_test): Likewise.
22209         (sin_test): Likewise.
22210         (sin_test_tonearest): Likewise.
22211         (sin_test_towardzero): Likewise.
22212         (sin_test_downward): Likewise.
22213         (sin_test_upward): Likewise.
22214         (sincos_test): Likewise.
22215         (sinh_test): Likewise.
22216         (sinh_test_tonearest): Likewise.
22217         (sinh_test_towardzero): Likewise.
22218         (sinh_test_downward): Likewise.
22219         (sinh_test_upward): Likewise.
22220         (sqrt_test): Likewise.
22221         (sqrt_test_tonearest): Likewise.
22222         (sqrt_test_towardzero): Likewise.
22223         (sqrt_test_downward): Likewise.
22224         (sqrt_test_upward): Likewise.
22225         (tan_test): Likewise.
22226         (tan_test_tonearest): Likewise.
22227         (tan_test_towardzero): Likewise.
22228         (tan_test_downward): Likewise.
22229         (tan_test_upward): Likewise.
22230         (tanh_test): Likewise.
22231         (tgamma_test): Likewise.
22232         (trunc_test): Likewise.
22233         (y0_test): Likewise.
22234         (y1_test): Likewise.
22235         (yn_test): Likewise.
22236         (significand_test): Likewise.
22238         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22239         individual tests in comment.
22240         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22241         (prev_max_error): New variable.
22242         (prev_real_max_error): Likewise.
22243         (prev_imag_max_error): Likewise.
22244         (compare_ulp_data): Don't refer to test names in comment.
22245         (find_test_ulps): Remove function.
22246         (find_function_ulps): Likewise.
22247         (find_complex_function_ulps): Likewise.
22248         (init_max_error): Take function name as argument.  Look up ulps
22249         for that function.
22250         (print_ulps): Remove function.
22251         (print_max_error): Use prev_max_error instead of calling
22252         find_function_ulps.
22253         (print_complex_max_error): Use prev_real_max_error and
22254         prev_imag_max_error instead of calling find_complex_function_ulps.
22255         (check_float_internal): Take max_ulp parameter instead of calling
22256         find_test_ulps.  Don't call print_ulps.
22257         (check_float): Update call to check_float_internal.
22258         (check_complex): Update calls to check_float_internal.
22259         (START): Pass argument to init_max_error.
22260         * math/gen-libm-test.pl (%results): Don't include "kind"
22261         information.
22262         (parse_ulps): Don't handle ulps of individual tests.
22263         (print_ulps_file): Likewise.
22264         (output_ulps): Likewise.
22265         * math/README.libm-test: Update.
22266         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22267         individual tests.
22268         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22269         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22270         * sysdeps/arm/libm-test-ulps: Likewise.
22271         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22272         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22273         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22274         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22275         * sysdeps/microblaze/libm-test-ulps: Likewise.
22276         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22277         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22279         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22281         * sysdeps/sh/libm-test-ulps: Likewise.
22282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22283         * sysdeps/tile/libm-test-ulps: Likewise.
22284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22286 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22288         * math/libm-test.inc (print_complex_max_error): Check separately
22289         whether real and imaginary errors are within allowed range and
22290         pass 0 to print_complex_function_ulps instead of value within
22291         allowed range.
22293 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22295         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22296         formatting.
22297         (get_handles_fopen): Likewise.
22298         (do_write_test): Likewise.
22300         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22302         * libio/fileops.c (do_ftell): Use cached offset when
22303         available.
22304         * libio/iofwide.c (do_ftell_wide): Likewise.
22305         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22306         _IO_file_attach.
22307         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22309         [BZ #16532]
22310         * libio/libioP.h (get_file_offset): New function.
22311         * libio/fileops.c (get_file_offset): Likewise.
22312         (do_ftell): Likewise.
22313         (_IO_new_file_seekoff): Split out ftell logic.
22314         * libio/wfileops.c (do_ftell_wide): Likewise.
22315         (_IO_wfile_seekoff): Split out ftell logic.
22316         * libio/tst-ftell-active-handler.c: New test case.
22317         * libio/Makefile (tests): Add it.
22319 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22321         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22322         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22324 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22326         [BZ #16639]
22327         * nscd/connections.c (nscd_init): Call do_exit.
22328         (start_threads): Call do_exit and notify_parent.
22329         (begin_drop_privileges): Call do_exit.
22330         (finish_drop_privileges): Likewise.
22331         * nscd/selinux.c (preserve_capabilities): Likewise.
22332         (install_real_capabilities): Likewise.
22333         (nscd_selinux_enabled): Likewise.
22334         (avc_create_thread): Likewise.
22335         (avc_alloc_lock): Likewise.
22336         (nscd_avc_init): Likewise.
22337         * nscd/nscd.c (parent_fd): New static variable.
22338         (main): Create a pipe between parent and child processes.
22339         Skip closing parent_fd.
22340         (monitor_child): New function.
22341         (do_exit): Likewise.
22342         (notify_parent): Likewise.
22343         * nscd/nscd.h (notify_parent): Likewise.
22344         (do_exit): Likewise.
22346 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22348         * malloc/malloc.c (__libc_calloc): Revert last change.
22350 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22354 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22356         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22358         implementation.
22359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22360         (__libc_ifunc_impl_list): Likewise.
22361         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22362         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22363         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22364         * string/strrchr.c: Define STRRCHR.
22366 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22368         * benchtest/bench-strtok.c (simple_strtok): Delete.
22369         (strtok_string): Use as benchmark.
22370         * string/strtok (STRTOK): New macro.
22372 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22374         * manual/threads.texi: Add header and standard comments to all
22375         functions.
22377         * elf/dl-lookup.c (check_match): New function.
22378         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22379         (do_lookup_x): Remove nested function check_match. Use non-nested
22380         function check_match.
22382 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22384         * csu/Makefile (generated, before-compile): Use += rather than =.
22385         * catgets/Makefile (generated, generated-dirs): Likewise.
22386         * debug/Makefile (generated): Likewise.
22387         * dlfcn/Makefile (generated): Likewise.
22388         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22389         * iconvdata/Makefile (before-compile, generated): Likewise.
22390         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22391         * libio/Makefile (generated): Likewise.
22392         * malloc/Makefile (generated): Likewise.
22393         * manual/Makefile (generated, generated-dirs): Likewise.
22394         * misc/Makefile (generated): Likewise.
22395         * posix/Makefile (generated): Likewise.
22396         * resolv/Makefile (generated): Likewise.
22397         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22398         * timezone/Makefile (generated, generated-dirs): Likewise.
22400         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22402 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22405         power8 implementation.
22406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22407         file: POWER8 llround ifunc implementation.
22408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22409         (__lllround): Add POWER8 implementation.
22410         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22411         POWER8 llround implementation.
22413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22414         power8 implementation.
22415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22416         file: POWER8 llrint ifunc implementation.
22417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22418         Add POWER8 implementation.
22419         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22420         POWER8 llrint implementation.
22422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22423         power8 implementation.
22424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22425         file: POWER8 finite ifunc implementation.
22426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22427         Add POWER8 implementation.
22428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22429         Likewise.
22430         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22431         POWER8 finite implementation.
22432         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22435         power8 implementation.
22436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22437         file: POWER8 isinf ifunc implementation.
22438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22439         POWER8 implementation.
22440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22441         Likewise.
22442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22443         isinf implementation.
22444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22446         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22447         (INIT_ARCH): Add hwcap2 initialization.
22448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22449         power8 implementation.
22450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22451         file: POWER8 isnan ifunc implementation.
22452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22453         POWER8 implementation.
22454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22455         Likewise.
22456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22457         isnan implementation.
22458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22460 2014-02-27  Joey Ye  <joey.ye@arm.com>
22462         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22463         (_FP_NANFRAC_Q): Set to zero.
22465 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22467         [BZ #16623]
22468         * math/auto-libm-test-in: New test inputs.
22469         * math/auto-libm-test-out: Regenerate.
22470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22471         and DA.
22472         (__cos): Likewise.
22473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22475 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22477         * scripts/evaluate-test.sh: Take new argument indicating whether
22478         failure is expected.
22479         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22480         indicating whether failure is expected.
22481         * conform/Makefile (test-xfail-run-conformtest): New variable.
22482         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22483         level.
22484         * posix/Makefile (test-xfail-annexc): New variable.
22485         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22487 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22489         * argp/Makefile: Include Makeconfig immediately after defining
22490         subdir.
22491         * assert/Makefile: Likewise.
22492         * benchtests/Makefile: Likewise.
22493         * catgets/Makefile: Likewise.
22494         * conform/Makefile: Likewise.
22495         * crypt/Makefile: Likewise.
22496         * csu/Makefile: Likewise.
22497         (all): Remove target.
22498         * ctype/Makefile: Include Makeconfig immediately after defining
22499         subdir.
22500         * debug/Makefile: Likewise.
22501         * dirent/Makefile: Likewise.
22502         * dlfcn/Makefile: Likewise.
22503         * gmon/Makefile: Likewise.
22504         * gnulib/Makefile: Likewise.
22505         * grp/Makefile: Likewise.
22506         * gshadow/Makefile: Likewise.
22507         * hesiod/Makefile: Likewise.
22508         * hurd/Makefile: Likewise.
22509         (all): Remove target.
22510         * iconvdata/Makefile: Include Makeconfig immediately after
22511         defining subdir.
22512         * inet/Makefile: Likewise.
22513         * intl/Makefile: Likewise.
22514         * io/Makefile: Likewise.
22515         * libio/Makefile: Likewise.
22516         (all): Remove target.
22517         * locale/Makefile: Include Makeconfig immediately after defining
22518         subdir.
22519         * login/Makefile: Likewise.
22520         * mach/Makefile: Likewise.
22521         (all): Remove target.
22522         * malloc/Makefile: Include Makeconfig immediately after defining
22523         subdir.
22524         (all): Remove target.
22525         * manual/Makefile: Include Makeconfig immediately after defining
22526         subdir.
22527         * math/Makefile: Likewise.
22528         * misc/Makefile: Likewise.
22529         * nis/Makefile: Likewise.
22530         * nss/Makefile: Likewise.
22531         * po/Makefile: Likewise.
22532         (all): Remove target.
22533         * posix/Makefile: Include Makeconfig immediately after defining
22534         subdir.
22535         * pwd/Makefile: Likewise.
22536         * resolv/Makefile: Likewise.
22537         * resource/Makefile: Likewise.
22538         * rt/Makefile: Likewise.
22539         * setjmp/Makefile: Likewise.
22540         * shadow/Makefile: Likewise.
22541         * signal/Makefile: Likewise.
22542         * socket/Makefile: Likewise.
22543         * soft-fp/Makefile: Likewise.
22544         * stdio-common/Makefile: Likewise.
22545         * stdlib/Makefile: Likewise.
22546         * streams/Makefile: Likewise.
22547         * string/Makefile: Likewise.
22548         * sunrpc/Makefile: Likewise.
22549         (all): Remove target.
22550         * sysvipc/Makefile: Include Makeconfig immediately after defining
22551         subdir.
22552         * termios/Makefile: Likewise.
22553         * time/Makefile: Likewise.
22554         * timezone/Makefile: Likewise.
22555         (all): Remove target.
22556         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22557         subdir.
22558         * wctype/Makefile: Likewise.
22560 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22562         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22563         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22564         (libc_feholdexcept_setround_mips): Ditto.
22565         (libc_feholdsetround): New.
22566         (libc_feholdsetroundf): New.
22567         (libc_feholdsetroundl): New.
22568         (libc_feupdateenv_test_mips): New.
22569         (libc_feupdateenv_test): New.
22570         (libc_feupdateenv_testf): New.
22571         (libc_feupdateenv_testl): New.
22572         (libc_feresetround): New.
22573         (libc_feresetroundf): New.
22574         (libc_feresetroundl): New.
22575         (libc_fetestexcept_mips): New.
22576         (libc_fetestexcept): New.
22577         (libc_fetestexceptf): New.
22578         (libc_fetestexceptl): New.
22579         (HAVE_RM_CTX): New.
22580         (libc_feholdexcept_setround_mips_ctx): New.
22581         (libc_feholdexcept_setround_ctx): New.
22582         (libc_feholdexcept_setroundf_ctx): New.
22583         (libc_feholdexcept_setroundl_ctx): New.
22584         (libc_fesetenv_mips_ctx): New.
22585         (libc_fesetenv_ctx): New.
22586         (libc_fesetenv_ctxf): New.
22587         (libc_fesetenv_ctxl): New.
22588         (libc_feupdateenv_mips_ctx): New.
22589         (libc_feupdateenv_ctx): New.
22590         (libc_feupdateenvf_ctx): New.
22591         (libc_feupdateenvl_ctx): New.
22592         (libc_feholdsetround_mips_ctx): New.
22593         (libc_feholdsetround_ctx): New.
22594         (libc_feholdsetroundf_ctx): New.
22595         (libc_feholdsetroundl_ctx): New.
22596         (libc_feresetround_mips_ctx): New.
22597         (libc_feresetround_ctx): New.
22598         (libc_feresetroundf_ctx): New.
22599         (libc_feresetroundl_ctx): New.
22601 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22603         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22605         * manual/ipc.texi: New file.
22606         * manual/Makefile (chapters): Add ipc.
22607         * manual/job.texi: Add "Inter-Process Communication" to next.
22608         * manual/process.texi: Add "Inter-Process Communication" to prev.
22610 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22614 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22616         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22618         * manual/arith.texi: Fix spaces after sentences.
22619         * manual/charset.texi: Likewise.
22620         * manual/errno.texi: Likewise.
22621         * manual/install.texi: Likewise.
22622         * manual/llio.texi: Likewise.
22623         * manual/locale.texi: Likewise.
22624         * manual/maint.texi: Likewise.
22625         * manual/math.texi: Likewise.
22626         * manual/memory.texi: Likewise.
22627         * manual/message.texi: Likewise.
22628         * manual/probes.texi: Likewise.
22629         * manual/resource.texi: Likewise.
22630         * manual/signal.texi: Likewise.
22631         * manual/socket.texi: Likewise.
22632         * manual/stdio.texi: Likewise.
22633         * manual/string.texi: Likewise.
22634         * manual/time.texi: Likewise.
22635         * manual/users.texi: Likewise.
22637 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22639         [BZ #16632]
22640         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22641         _DEFAULT_SOURCE is defined.
22643 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22644             Carlos O'Donell  <carlos@redhat.com>
22646         [BZ #16613]
22647         * elf/dl-tls.c (_dl_count_modids): New function.
22648         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22649         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22650         audit library and increment generation counter.
22651         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22652         * elf/tst-audit9.c: New file.
22653         * elf/tst-auditmod9a.c: New file.
22654         * elf/tst-auditmod9b.c: New file.
22655         * elf/Makefile: Add rules to build and run tst-audit9.
22657 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22659         [BZ #15347]
22660         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22662 2014-02-25  Will Newton  <will.newton@linaro.org>
22664         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22665         (__longjmp): Restore sp and lr before restoring callee
22666         saved registers.  Add longjmp and longjmp_target
22667         SystemTap probe point.
22668         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22669         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22670         Define to zero to match jmpbuf layout.
22671         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22672         (__sigsetjmp): Save sp and lr before saving callee
22673         saved registers.  Add setjmp SystemTap probe point.
22675 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22677         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22679 2014-02-24  Andreas Schwab  <schwab@suse.de>
22681         [BZ #15804]
22682         * elf/pldd.c (wait_for_ptrace_stop): New function.
22683         (main): Call it after attaching.
22685 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22687         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22688         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22689         Versions files is now verboten.
22690         * hurd/Versions (libc: GLIBC_2.0):
22691         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22692         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22693         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22694         * mach/Versions: Likewise.
22696         * csu/Versions: Remove unused %include.
22697         * resolv/Versions: Likewise.
22699 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22701         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22702         ($(objpfx)check-local-headers.out): Likewise.
22703         ($(objpfx)begin-end-check.out): Likewise.
22704         * Makerules (check-abi-%.out): Likewise.
22705         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22706         ($(objpfx)test2.cat): Likewise.
22707         ($(objpfx)de/libc.cat): Likewise.
22708         ($(objpfx)test-gencat.out): Likewise.
22709         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22710         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22711         ($(objpfx)noload-mem): Likewise.
22712         ($(objpfx)tst-pathopt.out): Likewise.
22713         ($(objpfx)tst-rtld-load-self.out): Likewise.
22714         ($(objpfx)tst-array1-cmp.out): Likewise.
22715         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22716         ($(objpfx)tst-array2-cmp.out): Likewise.
22717         ($(objpfx)tst-array3-cmp.out): Likewise.
22718         ($(objpfx)tst-array4-cmp.out): Likewise.
22719         ($(objpfx)tst-array5-cmp.out): Likewise.
22720         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22721         ($(objpfx)check-textrel.out): Likewise.
22722         ($(objpfx)check-execstack.out): Likewise.
22723         ($(objpfx)check-localplt.out): Likewise.
22724         ($(objpfx)order2-cmp.out): Likewise.
22725         ($(objpfx)tst-leaks1-mem): Likewise.
22726         ($(objpfx)tst-leaks1-static-mem): Likewise.
22727         ($(objpfx)tst-initorder-cmp.out): Likewise.
22728         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22729         ($(objpfx)tst-unused-dep.out): Likewise.
22730         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22731         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22732         * iconv/Makefile (test-iconvconfig): Likewise.
22733         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22734         ($(objpfx)iconv-test.out): Likewise.
22735         ($(objpfx)tst-tables.out): Likewise.
22736         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22737         ($(objpfx)tst-gettext.out): Likewise.
22738         ($(objpfx)tst-translit.out): Likewise.
22739         ($(objpfx)tst-gettext2.out): Likewise.
22740         ($(objpfx)tst-gettext4.out): Likewise.
22741         ($(objpfx)tst-gettext6.out): Likewise.
22742         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22743         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22744         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22745         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22746         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22747         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22748         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22749         ($(objpfx)wordexp-tst.out): Likewise.
22750         ($(objpfx)annexc.out): Likewise.
22751         ($(objpfx)tst-fnmatch-mem): Likewise.
22752         ($(objpfx)bug-regex2-mem): Likewise.
22753         ($(objpfx)bug-regex14-mem): Likewise.
22754         ($(objpfx)bug-regex21-mem): Likewise.
22755         ($(objpfx)bug-regex31-mem): Likewise.
22756         ($(objpfx)tst-vfork3-mem): Likewise.
22757         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22758         ($(objpfx)tst-pcre-mem): Likewise.
22759         ($(objpfx)tst-boost-mem): Likewise.
22760         ($(objpfx)tst-getconf.out): Likewise.
22761         ($(objpfx)bug-ga2-mem): Likewise.
22762         ($(objpfx)bug-glob2-mem): Likewise.
22763         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22764         ($(objpfx)mtrace-tst-leaks2): Likewise.
22765         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22766         ($(objpfx)tst-printf.out): Likewise.
22767         ($(objpfx)tst-setvbuf1.out): Likewise.
22768         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22769         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22770         ($(objpfx)tst-fmtmsg.out): Likewise.
22771         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22772         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22774         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22775         * bits/sigaction.h [__USE_MISC]: Likewise.
22776         * bits/waitstatus.h: Update #endif comments.
22777         * ctype/ctype.h: Likewise.
22778         * dirent/dirent.h: Likewise.
22779         [__USE_MISC]: Remove redundant conditionals.
22780         * grp/grp.h: Update #endif comments.
22781         [__USE_GNU]: Remove redundant conditionals.
22782         [__USE_MISC]: Likewise.
22783         * inet/netinet/in.h [__USE_GNU]: Likewise.
22784         * io/sys/stat.h [__USE_MISC]: Likewise.
22785         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22786         * libio/bits/stdio.h: Update #endif comments.
22787         [__USE_MISC]: Remove redundant conditionals.
22788         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22789         * libio/stdio.h: Update #endif comments.
22790         [__USE_MISC]: Remove redundant conditionals.
22791         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22792         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22793         * math/math.h: Update #else and #endif comments.
22794         [__USE_MISC]: Remove redundant conditionals.
22795         * misc/sys/uio.h: Update #endif comments.
22796         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22797         * posix/glob.h [__USE_MISC]: Likewise.
22798         * posix/sys/types.h: Update #endif comments.
22799         [__USE_MISC]: Remove redundant conditionals.
22800         * posix/sys/wait.h: Update #endif comments.
22801         [__USE_MISC]: Remove redundant conditionals.
22802         * posix/unistd.h: Update #endif comments.
22803         [__USE_MISC]: Remove redundant conditionals.
22804         * pwd/pwd.h [__USE_GNU]: Likewise.
22805         [__USE_MISC]: Likewise.
22806         * resolv/netdb.h [__USE_GNU]: Likewise.
22807         * signal/signal.h: Update #endif comments.
22808         [__USE_MISC]: Remove redundant conditionals.
22809         * stdlib/stdlib.h: Update #else and #endif comments.
22810         [__USE_MISC]: Remove redundant conditionals.
22811         [__USE_GNU]: Likewise.
22812         * string/bits/string2.h [__USE_MISC]: Likewise.
22813         * string/string.h: Update #endif comments.
22814         [__USE_MISC]: Remove redundant conditionals.
22815         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22816         Likewise.
22817         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22818         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22819         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22822         Likewise.
22823         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22824         comments.
22825         [__USE_MISC]: Remove redundant conditionals.
22826         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22827         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22828         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22829         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22830         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22831         Likewise.
22832         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22833         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22834         Likewise.
22835         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22836         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22837         Likewise.
22838         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22839         Likewise.
22840         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22841         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22842         Likewise.
22843         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22844         Likewise.
22845         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22846         * sysdeps/x86/bits/string.h: Update #endif comments.
22847         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22848         conditionals.
22849         * time/sys/time.h: Update #endif comments.
22850         * time/time.h: Likewise.
22851         [__USE_MISC]: Remove redundant conditionals.
22853 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22855         [BZ #16600]
22856         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22858 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22860         * Versions.def (librt): Add GLIBC_2.17.
22862 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22864         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22865         synonym for _SYS_AUXV_H to allow direct inclusion.
22866         * sysdeps/sparc/bits/hwcap.h: Likewise.
22867         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22868         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22869         * sysdeps/sparc/sysdep.h: Likewise.
22871 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22873         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22875 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22877         * benchtests/bench-strrchr.c: Print length instead of position.
22879 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22881         [BZ #16611]
22882         * sysdeps/unix/sysv/linux/kernel-features.h
22883         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22884         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22885         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22886         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22887         Likewise.
22888         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22889         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22890         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22891         (__ASSUME_SENDMMSG): Define instead of using previous
22892         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22893         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22894         (__ASSUME_SENDMMSG_SYSCALL): Define.
22895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22896         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22897         Likewise.
22898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22899         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22900         Likewise.
22901         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22902         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22903         Likewise.
22904         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22905         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22906         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22907         [__ASSUME_SENDMMSG]: Change conditionals to
22908         [__ASSUME_SENDMMSG_SOCKETCALL].
22909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22910         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22911         Define.
22912         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22913         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22914         Likewise.
22915         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22916         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22917         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22918         [!__ASSUME_SENDMMSG]: Change conditional to
22919         [!__ASSUME_SENDMMSG_SOCKETCALL].
22920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22921         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22922         Define.
22924         [BZ #16610]
22925         * sysdeps/unix/sysv/linux/kernel-features.h
22926         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22927         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22928         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22929         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22930         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22931         [__i386__ || __sparc__]
22932         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22933         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22934         (__ASSUME_RECVMMSG): Define instead of using previous
22935         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22937         (__ASSUME_RECVMMSG_SYSCALL): Define.
22938         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22940         Likewise.
22941         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22943         Likewise.
22944         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22946         Likewise.
22947         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22948         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22949         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22950         [__ASSUME_RECVMMSG]: Change condition to
22951         [__ASSUME_RECVMMSG_SOCKETCALL].
22952         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22953         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22954         Define.
22955         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22956         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22957         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22958         Likewise.
22959         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22960         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22961         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22962         [!__ASSUME_RECVMMSG]: Change condition to
22963         [!__ASSUME_RECVMMSG_SOCKETCALL].
22964         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22965         (__ASSUME_RECVMMSG_SYSCALL): Define.
22967         [BZ #16609]
22968         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22969         __powerpc__ || __s390__ || __sh__ || __sparc__]
22970         (__ASSUME_SOCKETCALL): Define.
22971         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22972         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22973         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22974         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22975         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22976         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22977         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22978         (__ASSUME_ACCEPT4): Define instead of using previous
22979         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22980         __powerpc__ || __sparc__ || __s390__)] condition.
22981         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22982         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22983         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22984         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22985         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22986         [!__ASSUME_ACCEPT4]: Change condition to
22987         [!__ASSUME_ACCEPT4_SOCKETCALL].
22988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22989         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22990         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22992         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22993         __ASSUME_ACCEPT4_SYSCALL.
22994         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22995         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22996         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22997         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22998         __ASSUME_ACCEPT4_SYSCALL.
22999         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23000         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23001         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23002         [__ASSUME_ACCEPT4]: Change condition to
23003         [__ASSUME_ACCEPT4_SOCKETCALL].
23004         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23005         (__ASSUME_SOCKETCALL): Define.
23006         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23008         (__ASSUME_SOCKETCALL): Define.
23009         (__ASSUME_ACCEPT4): Remove.
23010         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23011         Define.
23012         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23013         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23014         Likewise.
23015         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23016         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23018         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23019         macro.
23020         (HWCAP_ARM_LPAE): Likewise.
23021         (HWCAP_ARM_EVTSTRM): Likewise.
23022         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23023         Add vpfd32, lpae and evtstrm.
23024         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23025         Increase to 22.
23027 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23029         * math/auto-libm-test-in: Add tests of clog10.
23030         * math/auto-libm-test-out: Regenerated.
23031         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23032         * sysdeps/i386/fpu/libm-test-ulps: Update.
23033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23035 2014-02-18  Andreas Schwab  <schwab@suse.de>
23037         [BZ #16574]
23038         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23039         Store non-zero if the second buffer was newly allocated.
23040         (send_dg): Likewise.
23041         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23042         to send_vc and send_dg.
23043         (res_nsend): Pass NULL for ansp2_malloced.
23044         * resolv/res_query.c (__libc_res_nquery): Add parameter
23045         answerp2_malloced and pass it down to __libc_res_nsend.
23046         (res_nquery): Pass additional NULL to __libc_res_nquery.
23047         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23048         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23049         second answer buffer if answerp2_malloced was set.
23050         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23051         (__libc_res_nquerydomain): Add parameter
23052         answerp2_malloced and pass it down to __libc_res_nquery.
23053         (res_nquerydomain): Pass additional NULL to
23054         __libc_res_nquerydomain.
23055         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23056         additional NULL to __libc_res_nsend and __libc_res_nquery.
23057         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23058         additional NULL to __libc_res_nsearch.
23059         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23060         parameter of __libc_res_nsearch to check for separately allocated
23061         second buffer.
23062         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23063         __libc_res_nquery.
23064         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23065         additional NULL to __libc_res_nquery.
23066         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23067         __libc_res_nsearch.
23068         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23069         * include/resolv.h: Update prototypes of __libc_res_nquery,
23070         __libc_res_nsearch, __libc_res_nsend.
23072 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23074         * math/auto-libm-test-in: Add tests of fma.
23075         * math/auto-libm-test-out: Regenerated.
23076         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23077         (fma_towardzero_test_data): Likewise.
23078         (fma_downward_test_data): Likewise.
23079         (fma_upward_test_data): Likewise.
23080         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23081         mpc_mode.
23082         (rounding_modes): Add values for new field.
23083         (func_calc_method): Add value mpfr_fff_f.
23084         (func_calc_desc): Add mpfr_fff_f union field.
23085         (test_function): Add field exact_args.
23086         (FUNC): Add macro argument EXACT_ARGS.
23087         (FUNC_mpfr_f_f): Update call to FUNC.
23088         (FUNC_mpfr_f_f): Likewise.
23089         (FUNC_mpfr_ff_f): Likewise.
23090         (FUNC_mpfr_if_f): Likewise.
23091         (FUNC_mpc_c_f): Likewise.
23092         (FUNC_mpc_c_c): Likewise.
23093         (test_functions): Add fma.  Update calls to FUNC.
23094         (handle_input_arg): Add argument exact_args.
23095         (add_test): Update call to handle_input_arg.
23096         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23097         (output_for_one_input_case): Update call to calc_generic_results.
23098         Recalculate exact zero results in each rounding mode.
23100         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23101         non-negative before setting low bit.
23102         * math/auto-libm-test-in: Mark one asin test possibly having
23103         spurious underflow.
23104         * math/auto-libm-test-out: Regenerated.
23105         * sysdeps/i386/fpu/libm-test-ulps: Update.
23106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23108 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23110         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23111         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23112         ports/sysdeps/unix/sysv/linux/microblaze.
23113         * README: Add missing listing for microblaze*-*-linux-gnu.
23115 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23117         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23118         duplicate code
23120 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23122         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23123         * sysdeps/unix/sysv/linux/ia64: Move directory from
23124         ports/sysdeps/unix/sysv/linux/ia64.
23125         * README: Update listing for ia64-*-linux-gnu.
23127 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23128             Joseph Myers  <joseph@codesourcery.com>
23130         * Makeconfig (test-name): New variable.
23131         (evaluate-test): Likewise.
23132         * Makerules (do-test-clean): Remove .test-result files.
23133         (common-mostlyclean): Likewise.
23134         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23135         * scripts/evaluate-test.sh: New file.
23137 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23139         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23140         separate $(objpfx)tst-fopenloc-cmp.out and
23141         $(objpfx)tst-fopenloc-mem.out targets.
23142         (tests): Update dependencies.
23143         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23144         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23145         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23146         (tst-rxspencer-no-utf8-ARGS): New variable.
23147         (tst-rxspencer-no-utf8-ENV): Likewise.
23148         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23149         instead of $(objpfx)tst-rxspencer-mem.
23150         ($(objpfx)tst-rxspencer-mem): Change target to
23151         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23152         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23153         * posix/tst-rxspencer-no-utf8.c: New file.
23155         * elf/Makefile ($(objpfx)order.out): Remove rule.
23156         [$(run-built-tests) = yes] (tests): Depend on
23157         $(objpfx)order-cmp.out.
23158         ($(objpfx)order-cmp.out): New rule.
23159         [$(run-built-tests) = yes] (tests): Depend on
23160         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23161         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23162         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23163         $(objpfx)tst-array5-static-cmp.out.
23164         ($(objpfx)tst-array1.out): Remove rule.
23165         ($(objpfx)tst-array1-cmp.out): New rule.
23166         ($(objpfx)tst-array1-static.out): Remove rule.
23167         ($(objpfx)tst-array1-static-cmp.out): New rule.
23168         ($(objpfx)tst-array2.out): Remove rule.
23169         ($(objpfx)tst-array2-cmp.out): New rule.
23170         ($(objpfx)tst-array3.out): Remove rule.
23171         ($(objpfx)tst-array3-cmp.out): New rule.
23172         ($(objpfx)tst-array4.out): Remove rule.
23173         ($(objpfx)tst-array4-cmp.out): New rule.
23174         ($(objpfx)tst-array5.out): Remove rule.
23175         ($(objpfx)tst-array5-cmp.out): New rule.
23176         ($(objpfx)tst-array5-static.out): Remove rule.
23177         ($(objpfx)tst-array5-static-cmp.out): New rule.
23178         [$(run-built-tests) = yes] (tests): Depend on
23179         $(objpfx)order2-cmp.out.
23180         ($(objpfx)order2.out): Remove rule.
23181         ($(objpfx)order2-cmp.out): New rule.
23182         ($(objpfx)tst-initorder.out): Remove rule.
23183         [$(run-built-tests) = yes] (tests): Depend on
23184         $(objpfx)tst-initorder-cmp.out.
23185         ($(objpfx)tst-initorder-cmp.out): New rule.
23186         ($(objpfx)tst-initorder2.out): Remove rule.
23187         [$(run-built-tests) = yes] (tests): Depend on
23188         $(objpfx)tst-initorder2-cmp.out.
23189         ($(objpfx)tst-initorder2-cmp.out): New rule.
23190         [$(run-built-tests) = yes] (tests): Depend on
23191         $(objpfx)tst-unused-dep-cmp.out.
23192         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23193         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23194         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23195         on $(objpfx)tst-setvbuf1-cmp.out.
23196         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23197         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23198         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23199         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23200         ($(objpfx)tst-svc.out): Remove rule.
23201         ($(objpfx)tst-svc-cmp.out): New rule.
23203 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23205         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23206         * ctype/ctype.h [__USE_MISC]: Likewise.
23207         * dirent/dirent.h [__USE_MISC]: Likewise.
23208         * grp/grp.h [__USE_MISC]: Likewise.
23209         * io/fcntl.h [__USE_MISC]: Likewise.
23210         * io/sys/stat.h [__USE_MISC]: Likewise.
23211         * libio/stdio.h [__USE_MISC]: Likewise.
23212         * posix/unistd.h [__USE_MISC]: Likewise.
23213         * pwd/pwd.h [__USE_MISC]: Likewise.
23214         * stdlib.h [__USE_MISC]: Likewise.
23215         * string/bits/string2.h [__USE_MISC]: Likewise.
23216         * string/string.h [__USE_MISC]: Likewise.
23217         * time/time.h [__USE_MISC]: Likewise.
23219 2014-02-13  Andreas Schwab  <schwab@suse.de>
23221         [BZ #16574]
23222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23223         second answer buffer if it was separately allocated.
23225 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23227         * sysdeps/mips/math-tests.h: Include <features.h>.
23228         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23229         (ROUNDING_TESTS_long_double): Do not define.
23230         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23231         (EXCEPTION_TESTS_long_double): Likewise.
23232         * sysdeps/mips/mips64/libm-test-ulps: Update.
23234         * include/features.h (__USE_BSD): Remove macro definitions.
23235         (__USE_SVID): Likewise.
23236         (_BSD_SOURCE): Likewise.
23237         (_SVID_SOURCE): Likewise.
23238         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23239         from definition of _DEFAULT_SOURCE.
23240         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23241         [_DEFAULT_SOURCE].
23242         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23243         * bits/mman.h [__USE_BSD]: Likewise.
23244         * bits/termios.h [__USE_BSD]: Likewise.
23245         * bits/waitstatus.h [__USE_BSD]: Likewise.
23246         * ctype/ctype.h [__USE_SVID]: Likewise.
23247         * dirent/dirent.h [__USE_BSD]: Likewise.
23248         * grp/grp.h [__USE_SVID]: Likewise.
23249         [__USE_BSD]: Likewise.
23250         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23251         * io/fcntl.h [__USE_BSD]: Likewise.
23252         * io/ftw.h [__USE_BSD]: Likewise.
23253         * io/sys/stat.h [__USE_BSD]: Likewise.
23254         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23255         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23256         * libio/stdio.h [__USE_SVID]: Likewise.
23257         [__USE_BSD]: Likewise.
23258         * math/math.h [__USE_SVID]: Likewise.
23259         [__USE_BSD]: Likewise.
23260         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23261         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23262         * misc/search.h [__USE_SVID]: Likewise.
23263         * misc/sys/mman.h [__USE_BSD]: Likewise.
23264         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23265         * misc/sys/uio.h [__USE_BSD]: Likewise.
23266         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23267         * posix/glob.h [__USE_BSD]: Likewise.
23268         * posix/regex.h [__USE_BSD]: Likewise.
23269         * posix/sys/types.h [__USE_BSD]: Likewise.
23270         [__USE_SVID]: Likewise.
23271         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23272         * posix/sys/wait.h [__USE_BSD]: Likewise.
23273         [__USE_SVID]: Likewise.
23274         * posix/unistd.h [__USE_BSD]: Likewise.
23275         [__USE_SVID]: Likewise.
23276         * pwd/pwd.h [__USE_SVID]: Likewise.
23277         * resolv/netdb.h [__USE_BSD]: Likewise.
23278         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23279         * signal/signal.h [__USE_BSD]: Likewise.
23280         [__USE_SVID]: Likewise.
23281         * socket/sys/socket.h [__USE_BSD]: Likewise.
23282         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23283         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23284         [__USE_SVID]: Likewise.
23285         * string/bits/string2.h [__USE_BSD]: Likewise.
23286         [__USE_SVID]: Likewise.
23287         * string/bits/string3.h [__USE_BSD]: Likewise.
23288         * string/endian.h [__USE_BSD]: Likewise.
23289         * string/string.h [__USE_SVID]: Likewise.
23290         [__USE_BSD]: Likewise.
23291         * string/strings.h [__USE_BSD]: Likewise.
23292         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23293         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23294         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23295         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23296         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23297         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23298         Likewise.
23299         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23300         Likewise.
23301         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23302         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23303         Likewise.
23304         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23305         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23310         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23314         Likewise.
23315         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23316         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23317         * termios/termios.h [__USE_BSD]: Likewise.
23318         * time/sys/time.h [__USE_BSD]: Likewise.
23319         * time/time.h [__USE_BSD]: Likewise.
23320         [__USE_SVID]: Likewise.
23322         * Makefile (subdir_targets): Remove subdir_lint.out.
23324         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23325         (do-tst-printf): Likewise.
23326         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23327         $(objpfx)tst-printf.out.
23329         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23331         * Makerules (check-abi-%): Change target to
23332         $(objpfx)check-abi-%.out.
23333         (check-abi target): Update dependencies.
23334         (check-abi-pattern variable): Redirect output of diff to $@.
23335         (check-abi variable): Likewise.
23336         * elf/Makefile (check-abi): Update dependencies.
23338         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23339         unused.
23340         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23341         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23342         subnormal range.
23343         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23344         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23345         value has largest subnormal exponent.
23346         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23347         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23348         * sysdeps/aarch64/soft-fp/sfp-machine.h
23349         (_FP_TININESS_AFTER_ROUNDING): New macro.
23350         * sysdeps/alpha/soft-fp/sfp-machine.h
23351         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23352         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23353         Likewise.
23354         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23356         * sysdeps/mips/soft-fp/sfp-machine.h
23357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23358         * sysdeps/powerpc/soft-fp/sfp-machine.h
23359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23360         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23361         Likewise.
23362         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23364         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23366         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23367         Likewise.
23369 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23371         [BZ #16545]
23372         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23373         model 1.
23375 2014-02-12  Richard Henderson  <rth@redhat.com>
23377         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23378         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23379         * sysdeps/unix/sysv/linux/alpha: Move directory from
23380         ports/sysdeps/unix/sysv/linux/alpha.
23381         * README: Update listing for alpha-*-linux-gnu.
23383 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23385         * include/features.h: Update comment documenting feature test
23386         macros.
23387         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23388         _DEFAULT_SOURCE.
23389         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23390         (_SVID_SOURCE): Likewise.
23391         (_DEFAULT_SOURCE): Update description of default features.
23392         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23393         with _GNU_SOURCE.
23394         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23395         (S_ISVTX): Likewise.
23396         * manual/math.texi (Mathematical Constants): Likewise.
23397         * manual/signal.texi (Interrupted Primitives): Likewise.
23398         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23399         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23400         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23401         Don't refer to _SVID_SOURCE in warning text.
23403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23405         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23406         already defined.
23407         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23408         * sysdeps/mips/dl-lookup.c: Remove.
23409         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23411 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23413         [BZ #16447]
23414         * math/auto-libm-test-in: Add testcase for expl.
23415         * math/auto-libm-test-out: Regenerate.
23416         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23417         calculation of unsafe.
23418         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23420 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23422         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23423         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23424         ports/sysdeps/unix/sysv/linux/aarch64.
23425         * README: Update listing for aarch64*-*-linux-gnu.
23427 2014-02-11  Will Newton  <will.newton@linaro.org>
23429         * manual/probes.texi (Mathematical Function Probes): Use
23430         "triggered" instead of "hit".
23432         * manual/probes.texi (Internal Probes): Add documentation
23433         of setjmp, longjmp and longjmp_target probes.
23435         * include/stap-probe.h: Add comment about probe argument
23436         format.
23438         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23439         definition.  (tr_where, tr_freehook, tr_mallochook,
23440         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23442 2014-02-11  David S. Miller  <davem@davemloft.net>
23444         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23445         processing int_tests.
23447 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23449         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23450         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23451         * sysdeps/unix/sysv/linux/mips: Move directory from
23452         ports/sysdeps/unix/sysv/linux/mips.
23453         * README: Update listing for mips-*-linux-gnu and
23454         mips64-*-linux-gnu.
23456 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23458         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23459         * sysdeps/unix/sysv/linux/m68k: Move directory from
23460         ports/sysdeps/unix/sysv/linux/m68k.
23461         * README: Update listing for m68k-*-linux-gnu.
23463 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23465         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23466         * sysdeps/unix/sysv/linux/generic: Move directory from
23467         ports/sysdeps/unix/sysv/linux/generic.
23468         * sysdeps/unix/sysv/linux/tile: Move directory from
23469         ports/sysdeps/unix/sysv/linux/tile.
23470         * README: Update listing for tile*-*-linux-gnu.
23472 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23474         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23475         __builtin_expect.
23476         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23477         * catgets/open_catalog.c (__open_catalog): Likewise.
23478         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23479         * debug/confstr_chk.c: Likewise.
23480         * debug/fread_chk.c (__fread_chk): Likewise.
23481         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23482         * debug/getgroups_chk.c: Likewise.
23483         * debug/mbsnrtowcs_chk.c: Likewise.
23484         * debug/mbsrtowcs_chk.c: Likewise.
23485         * debug/mbstowcs_chk.c: Likewise.
23486         * debug/memcpy_chk.c: Likewise.
23487         * debug/memmove_chk.c: Likewise.
23488         * debug/mempcpy_chk.c: Likewise.
23489         * debug/memset_chk.c: Likewise.
23490         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23491         * debug/strcat_chk.c (__strcat_chk): Likewise.
23492         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23493         * debug/strncat_chk.c (__strncat_chk): Likewise.
23494         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23495         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23496         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23497         * debug/wcpncpy_chk.c: Likewise.
23498         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23499         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23500         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23501         * debug/wcsncpy_chk.c: Likewise.
23502         * debug/wcsnrtombs_chk.c: Likewise.
23503         * debug/wcsrtombs_chk.c: Likewise.
23504         * debug/wcstombs_chk.c: Likewise.
23505         * debug/wmemcpy_chk.c: Likewise.
23506         * debug/wmemmove_chk.c: Likewise.
23507         * debug/wmempcpy_chk.c: Likewise.
23508         * debug/wmemset_chk.c: Likewise.
23509         * dirent/scandirat.c (SCANDIRAT): Likewise.
23510         * dlfcn/dladdr1.c (dladdr1): Likewise.
23511         * dlfcn/dladdr.c (dladdr): Likewise.
23512         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23513         * dlfcn/dlerror.c (__dlerror): Likewise.
23514         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23515         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23516         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23517         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23518         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23519         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23520         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23521         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23522         Likewise.
23523         * elf/dl-conflict.c: Likewise.
23524         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23525         * elf/dl-dst.h: Likewise.
23526         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23527         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23528         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23529         * elf/dl-init.c (call_init, _dl_init): Likewise.
23530         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23531         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23532         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23533         Likewise.
23534         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23535         Likewise.
23536         * elf/dl-minimal.c (__libc_memalign): Likewise.
23537         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23538         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23539         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23540         * elf/dl-sym.c (do_sym): Likewise.
23541         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23542         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23543         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23544         * elf/dl-writev.h (_dl_writev): Likewise.
23545         * elf/ldconfig.c (search_dir): Likewise.
23546         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23547         (dl_main): Likewise.
23548         * elf/setup-vdso.h (setup_vdso): Likewise.
23549         * grp/compat-initgroups.c (compat_call): Likewise.
23550         * grp/fgetgrent.c (fgetgrent): Likewise.
23551         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23552         * grp/putgrent.c (putgrent): Likewise.
23553         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23554         Likewise.
23555         * hurd/hurdinit.c: Likewise.
23556         * iconvdata/8bit-gap.c (struct): Likewise.
23557         * iconvdata/ansi_x3.110.c : Likewise.
23558         * iconvdata/big5.c : Likewise.
23559         * iconvdata/big5hkscs.c : Likewise.
23560         * iconvdata/cp1255.c: Likewise.
23561         * iconvdata/cp1258.c : Likewise.
23562         * iconvdata/cp932.c : Likewise.
23563         * iconvdata/euc-cn.c: Likewise.
23564         * iconvdata/euc-jisx0213.c : Likewise.
23565         * iconvdata/euc-jp.c: Likewise.
23566         * iconvdata/euc-jp-ms.c : Likewise.
23567         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23568         * iconvdata/gb18030.c : Likewise.
23569         * iconvdata/gbbig5.c (const): Likewise.
23570         * iconvdata/gbgbk.c: Likewise.
23571         * iconvdata/gbk.c : Likewise.
23572         * iconvdata/ibm1364.c : Likewise.
23573         * iconvdata/ibm930.c : Likewise.
23574         * iconvdata/ibm932.c: Likewise.
23575         * iconvdata/ibm933.c : Likewise.
23576         * iconvdata/ibm935.c : Likewise.
23577         * iconvdata/ibm937.c : Likewise.
23578         * iconvdata/ibm939.c : Likewise.
23579         * iconvdata/ibm943.c: Likewise.
23580         * iconvdata/iso_11548-1.c: Likewise.
23581         * iconvdata/iso-2022-cn.c : Likewise.
23582         * iconvdata/iso-2022-cn-ext.c : Likewise.
23583         * iconvdata/iso-2022-jp-3.c: Likewise.
23584         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23585         * iconvdata/iso-2022-kr.c : Likewise.
23586         * iconvdata/iso646.c (gconv_end): Likewise.
23587         * iconvdata/iso_6937-2.c : Likewise.
23588         * iconvdata/iso_6937.c : Likewise.
23589         * iconvdata/iso8859-1.c: Likewise.
23590         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23591         * iconvdata/shift_jisx0213.c : Likewise.
23592         * iconvdata/sjis.c : Likewise.
23593         * iconvdata/t.61.c : Likewise.
23594         * iconvdata/tcvn5712-1.c : Likewise.
23595         * iconvdata/tscii.c: Likewise.
23596         * iconvdata/uhc.c : Likewise.
23597         * iconvdata/unicode.c (gconv_end): Likewise.
23598         * iconvdata/utf-16.c (gconv_end): Likewise.
23599         * iconvdata/utf-32.c (gconv_end): Likewise.
23600         * iconvdata/utf-7.c (base64): Likewise.
23601         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23602         * iconv/gconv_close.c (__gconv_close): Likewise.
23603         * iconv/gconv_open.c (__gconv_open): Likewise.
23604         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23605         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23606         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23607         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23608         (ucs4le_internal_loop_single): Likewise.
23609         * iconv/iconv.c (iconv): Likewise.
23610         * iconv/iconv_close.c: Likewise.
23611         * iconv/loop.c (SINGLE): Likewise.
23612         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23613         * include/atomic.h: Likewise.
23614         * inet/inet6_option.c (option_alloc): Likewise.
23615         * intl/bindtextdom.c (set_binding_values): Likewise.
23616         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23617         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23618         * intl/localealias.c (read_alias_file): Likewise.
23619         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23620         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23621         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23622         * libio/fmemopen.c (fmemopen): Likewise.
23623         * libio/iofgets.c (_IO_fgets): Likewise.
23624         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23625         * libio/iofgetws.c (fgetws): Likewise.
23626         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23627         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23628         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23629         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23630         * locale/findlocale.c (_nl_find_locale): Likewise.
23631         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23632         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23633         Likewise.
23634         * locale/setlocale.c (setlocale): Likewise.
23635         * login/programs/pt_chown.c (main): Likewise.
23636         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23637         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23638         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23639         (mmap, mmap64, mremap, munmap): Likewise.
23640         * math/e_exp2l.c: Likewise.
23641         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23642         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23643         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23644         * math/s_catan.c (__catan): Likewise.
23645         * math/s_catanf.c (__catanf): Likewise.
23646         * math/s_catanh.c (__catanh): Likewise.
23647         * math/s_catanhf.c (__catanhf): Likewise.
23648         * math/s_catanhl.c (__catanhl): Likewise.
23649         * math/s_catanl.c (__catanl): Likewise.
23650         * math/s_ccosh.c (__ccosh): Likewise.
23651         * math/s_ccoshf.c (__ccoshf): Likewise.
23652         * math/s_ccoshl.c (__ccoshl): Likewise.
23653         * math/s_cexp.c (__cexp): Likewise.
23654         * math/s_cexpf.c (__cexpf): Likewise.
23655         * math/s_cexpl.c (__cexpl): Likewise.
23656         * math/s_clog10.c (__clog10): Likewise.
23657         * math/s_clog10f.c (__clog10f): Likewise.
23658         * math/s_clog10l.c (__clog10l): Likewise.
23659         * math/s_clog.c (__clog): Likewise.
23660         * math/s_clogf.c (__clogf): Likewise.
23661         * math/s_clogl.c (__clogl): Likewise.
23662         * math/s_csin.c (__csin): Likewise.
23663         * math/s_csinf.c (__csinf): Likewise.
23664         * math/s_csinh.c (__csinh): Likewise.
23665         * math/s_csinhf.c (__csinhf): Likewise.
23666         * math/s_csinhl.c (__csinhl): Likewise.
23667         * math/s_csinl.c (__csinl): Likewise.
23668         * math/s_csqrt.c (__csqrt): Likewise.
23669         * math/s_csqrtf.c (__csqrtf): Likewise.
23670         * math/s_csqrtl.c (__csqrtl): Likewise.
23671         * math/s_ctan.c (__ctan): Likewise.
23672         * math/s_ctanf.c (__ctanf): Likewise.
23673         * math/s_ctanh.c (__ctanh): Likewise.
23674         * math/s_ctanhf.c (__ctanhf): Likewise.
23675         * math/s_ctanhl.c (__ctanhl): Likewise.
23676         * math/s_ctanl.c (__ctanl): Likewise.
23677         * math/w_pow.c: Likewise.
23678         * math/w_powf.c: Likewise.
23679         * math/w_powl.c: Likewise.
23680         * math/w_scalb.c (sysv_scalb): Likewise.
23681         * math/w_scalbf.c (sysv_scalbf): Likewise.
23682         * math/w_scalbl.c (sysv_scalbl): Likewise.
23683         * misc/error.c (error_tail): Likewise.
23684         * misc/pselect.c (__pselect): Likewise.
23685         * nis/nis_callback.c (__nis_create_callback): Likewise.
23686         * nis/nis_call.c (__nisfind_server): Likewise.
23687         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23688         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23689         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23690         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23691         * nis/nis_lookup.c (nis_lookup): Likewise.
23692         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23693         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23694         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23695         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23696         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23697         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23698         * nis/nss_compat/compat-initgroups.c (add_group)
23699         (internal_getgrent_r): Likewise.
23700         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23701         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23702         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23703         (internal_getspnam_r): Likewise.
23704         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23705         (_nss_nis_getaliasbyname_r): Likewise.
23706         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23707         (_nss_nis_getntohost_r): Likewise.
23708         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23709         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23710         (_nss_nis_getgrgid_r): Likewise.
23711         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23712         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23713         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23714         (_nss_nis_gethostbyname4_r): Likewise.
23715         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23716         (initgroups_netid): Likewise.
23717         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23718         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23719         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23720         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23721         (_nss_nis_getprotobynumber_r): Likewise.
23722         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23723         (_nss_nis_getsecretkey): Likewise.
23724         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23725         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23726         (_nss_nis_getpwuid_r): Likewise.
23727         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23728         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23729         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23730         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23731         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23732         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23733         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23734         Likewise.
23735         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23736         (_nss_nisplus_getntohost_r): Likewise.
23737         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23738         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23739         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23740         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23741         Likewise.
23742         * nis/nss_nisplus/nisplus-initgroups.c
23743         (_nss_nisplus_initgroups_dyn): Likewise.
23744         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23745         (_nss_nisplus_getnetbyaddr_r): Likewise.
23746         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23747         (_nss_nisplus_getprotobynumber_r): Likewise.
23748         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23749         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23750         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23751         Likewise.
23752         * nis/nss_nisplus/nisplus-service.c
23753         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23754         (_nss_nisplus_getservbyport_r): Likewise.
23755         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23756         (_nss_nisplus_getspnam_r): Likewise.
23757         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23758         Likewise.
23759         * nscd/aicache.c (addhstaiX): Likewise.
23760         * nscd/cache.c (cache_search, prune_cache): Likewise.
23761         * nscd/connections.c (register_traced_file, send_ro_fd)
23762         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23763         (main_loop_epoll): Likewise.
23764         * nscd/grpcache.c (addgrbyX): Likewise.
23765         * nscd/hstcache.c (addhstbyX): Likewise.
23766         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23767         * nscd/mem.c (gc, mempool_alloc): Likewise.
23768         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23769         (addinnetgrX): Likewise.
23770         * nscd/nscd-client.h (__nscd_acquire_maplock)
23771         (__nscd_drop_map_ref): Likewise.
23772         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23773         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23774         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23775         Likewise.
23776         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23777         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23778         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23779         (__nscd_get_map_ref): Likewise.
23780         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23781         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23782         Likewise.
23783         * nscd/pwdcache.c (addpwbyX): Likewise.
23784         * nscd/selinux.c (preserve_capabilities): Likewise.
23785         * nscd/servicescache.c (addservbyX): Likewise.
23786         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23787         * posix/fnmatch.c (fnmatch): Likewise.
23788         * posix/getopt.c (_getopt_internal_r): Likewise.
23789         * posix/glob.c (glob, glob_in_dir): Likewise.
23790         * posix/wordexp.c (exec_comm_child): Likewise.
23791         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23792         (getanswer_r, gaih_getanswer_slice): Likewise.
23793         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23794         * resolv/res_init.c: Likewise.
23795         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23796         * resolv/res_query.c (__libc_res_nquery): Likewise.
23797         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23798         Likewise.
23799         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23800         * stdio-common/perror.c (perror): Likewise.
23801         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23802         * stdio-common/tmpnam.c (tmpnam): Likewise.
23803         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23804         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23805         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23806         Likewise.
23807         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23808         * stdlib/putenv.c (putenv): Likewise.
23809         * stdlib/setenv.c (__add_to_environ): Likewise.
23810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23811         * stdlib/strtol_l.c (INTERNAL): Likewise.
23812         * string/memmem.c (memmem): Likewise.
23813         * string/strerror.c (strerror): Likewise.
23814         * string/strnlen.c (__strnlen): Likewise.
23815         * string/test-memmem.c (simple_memmem): Likewise.
23816         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23817         * sunrpc/pm_getport.c (__get_socket): Likewise.
23818         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23819         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23820         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23821         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23822         Likewise.
23823         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23824         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23825         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23826         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23828         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23829         Likewise.
23830         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23831         Likewise.
23832         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23833         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23834         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23835         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23836         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23838         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23839         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23840         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23841         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23842         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23843         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23844         Likewise.
23845         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23846         Likewise.
23847         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23848         Likewise.
23849         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23850         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23851         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23852         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23853         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23854         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23855         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23856         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23858         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23859         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23861         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23862         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23864         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23865         Likewise.
23866         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23867         Likewise.
23868         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23869         Likewise.
23870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23871         Likewise.
23872         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23874         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23875         Likewise.
23876         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23877         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23878         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23879         * sysdeps/posix/sleep.c: Likewise.
23880         * sysdeps/posix/tempname.c: Likewise.
23881         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23882         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23883         Likewise.
23884         * sysdeps/powerpc/powerpc32/dl-machine.h
23885         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23886         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23887         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23888         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23889         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23890         Likewise.
23891         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23892         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23893         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23894         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23895         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23896         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23897         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23898         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23899         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23900         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23902         (elf_machine_lazy_rel): Likewise.
23903         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23905         (elf_machine_lazy_rel): Likewise.
23906         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23907         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23908         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23909         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23910         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23911         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23912         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23913         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23914         Likewise.
23915         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23916         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23917         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23918         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23919         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23920         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23921         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23922         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23923         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23924         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23925         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23926         Likewise.
23927         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23928         (__posix_fallocate64_l64): Likewise.
23929         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23930         (posix_fallocate): Likewise.
23931         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23932         Likewise.
23933         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23934         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23935         (getifaddrs_internal): Likewise.
23936         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23937         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23938         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23939         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23940         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23941         (__posix_fallocate64_l64): Likewise.
23942         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23943         Likewise.
23944         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23945         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23946         (__get_clockfreq): Likewise.
23947         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23948         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23949         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23952         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23953         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23954         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23955         Likewise.
23956         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23957         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23958         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23959         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23960         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23961         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23962         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23963         Likewise.
23964         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23965         (posix_fallocate): Likewise.
23966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23967         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23968         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23969         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23970         (elf_machine_rela, elf_machine_rela_relative)
23971         (elf_machine_lazy_rel): Likewise.
23972         * time/asctime.c (asctime_internal): Likewise.
23973         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23974         * time/tzset.c (__tzset_parse_tz): Likewise.
23975         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23976         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23977         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23978         * wcsmbs/wcsmbsload.h: Likewise.
23980         [BZ #15894]
23981         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23983         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23984         (arena_get2): Remove THREAD_STATS conditionals.
23985         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23986         (__malloc_stats, int): Likewise.
23988 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23991         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23993         * manual/setjmp.texi: Fix typos/grammar errors.
23995         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23996         Only return early when n is <= 0.  Delete unused return statement.
23998         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23999         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24000         * debug/tst-longjmp_chk3.c: New file.
24002         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24003         (test_main): Replace code with set_fortify_handler call.
24004         * debug/test-strcpy_chk.c: Likewise.
24005         * debug/tst-chk1.c: Likewise.
24006         * debug/tst-longjmp_chk.c: Likewise.
24007         * test-skeleton.c: Include fcntl.h & paths.h
24008         (set_fortify_handler): Define.
24010         * debug/tst-longjmp_chk.c: Add header comment and include
24011         ../test-skeleton.c.
24012         (do_test): Mark static.
24013         (TEST_FUNCTION): Define.
24015         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24016         (IP_PMTUDISC_INTERFACE): Likewise.
24017         (IP_MULTICAST_IF): Likewise.
24018         (IP_MULTICAST_TTL): Likewise.
24019         (IP_MULTICAST_LOOP): Likewise.
24020         (IP_ADD_MEMBERSHIP): Likewise.
24021         (IP_DROP_MEMBERSHIP): Likewise.
24022         (IP_UNBLOCK_SOURCE): Likewise.
24023         (IP_BLOCK_SOURCE): Likewise.
24024         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24025         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24026         (IP_MSFILTER): Likewise.
24027         (MCAST_JOIN_GROUP): Likewise.
24028         (MCAST_BLOCK_SOURCE): Likewise.
24029         (MCAST_UNBLOCK_SOURCE): Likewise.
24030         (MCAST_LEAVE_GROUP): Likewise.
24031         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24032         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24033         (MCAST_MSFILTER): Likewise.
24034         (IP_MULTICAST_ALL): Likewise.
24035         (IP_UNICAST_IF): Likewise.
24037         * timezone/Makefile: Delete $(have-ksh) check.
24038         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24039         * timezone/tzselect.ksh: Add +x mode bits.
24041         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24042         (ANON_INODE_FS_MAGIC): Likewise.
24043         (BDEVFS_MAGIC): Likewise.
24044         (BINFMTFS_MAGIC): Likewise.
24045         (BTRFS_TEST_MAGIC): Likewise.
24046         (CRAMFS_MAGIC_WEND): Likewise.
24047         (DEBUGFS_MAGIC): Likewise.
24048         (ECRYPTFS_SUPER_MAGIC): Likewise.
24049         (EXT3_SUPER_MAGIC): Likewise.
24050         (EXT4_SUPER_MAGIC): Likewise.
24051         (FUTEXFS_SUPER_MAGIC): Likewise.
24052         (HOSTFS_SUPER_MAGIC): Likewise.
24053         (HUGETLBFS_MAGIC): Likewise.
24054         (MINIX3_SUPER_MAGIC): Likewise.
24055         (MTD_INODE_FS_MAGIC): Likewise.
24056         (NILFS_SUPER_MAGIC): Likewise.
24057         (OPENPROM_SUPER_MAGIC): Likewise.
24058         (PIPEFS_MAGIC): Likewise.
24059         (PSTOREFS_MAGIC): Likewise.
24060         (QNX6_SUPER_MAGIC): Likewise.
24061         (RAMFS_MAGIC): Likewise.
24062         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24063         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24064         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24065         (SECURITYFS_MAGIC): Likewise.
24066         (SELINUX_MAGIC): Likewise.
24067         (SMACK_MAGIC): Likewise.
24068         (SOCKFS_MAGIC): Likewise.
24069         (SQUASHFS_MAGIC): Likewise.
24070         (STACK_END_MAGIC): Likewise.
24071         (TMPFS_MAGIC): Likewise.
24072         (USBDEVICE_SUPER_MAGIC): Likewise.
24073         (V9FS_MAGIC): Likewise.
24074         (XENFS_SUPER_MAGIC): Likewise.
24075         (CRAMFS_MAGIC): Fix typo in comment.
24076         (EXT2_SUPER_MAGIC): Update comment.
24077         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24079 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24081         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24082         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24083         * sysdeps/unix/sysv/linux/arm: Move directory from
24084         ports/sysdeps/unix/sysv/linux/arm.
24085         * README: Update listing for arm-*-linux-gnueabi.
24087         * README: Remove mention of am33.
24089 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24091         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24092         than the comma operator, to avoid "rhs of comma has no effect"
24093         compiler warnings.
24094         (__sigfillset, __sigandset, __sigorset): Likewise.
24095         * include/signal.h (__sigemptyset): Likewise.
24096         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24098 2014-02-07  Allan McRae  <allan@archlinux.org>
24100         * version.h (RELEASE): Set to "development".
24101         (VERSION): Set to "2.19.90"
24102         * NEWS: Add 2.20 section.
24104 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24106         [BZ #16529]
24107         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24109 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24111         * manual/contrib.texi: Update entry for Carlos O'Donell,
24112         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24114 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24116         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24118         * sysdeps/unix/sysv/linux/kernel-features.h
24119         [__LINUX_KERNEL_VERSION >= 0x020621]
24120         (__ASSUME_PROC_PID_TASK_COMM): Define.
24122 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24124         [BZ #16398]
24125         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24126         conversion when destination buffer does not have enough space.
24127         * libio/tst-ftell-partial-wide.c: New test case.
24128         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24130         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24131         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24132         Leonard and Allan McRae.
24134 2014-02-04  David S. Miller  <davem@davemloft.net>
24136         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24137         32-bit.
24139 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24142         New file
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24144         New file
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24146         New file.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24148         New file.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24150         New file.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24152         New file.
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24154         New file.
24155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24156         New file.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24158         New file.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24160         New file.
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24162         New file.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24164         New file.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24166         New file.
24168 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24170         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24171         * shlib-versions: Likewise.
24173 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24174             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24176         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24177         (abilist-pattern): New variable, set to %-le.abilist.
24179         * Makerules (abilist-pattern): New variable.
24180         (vpath): Use $(abilist-pattern) in place of %.abilist.
24181         (check-abi-% pattern rule): Likewise.
24182         (check-abi, update-abi): Likewise.
24184 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24188 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24190         * manual/startup.texi: Add next, previous, and top entries for
24191         the `Program Arguments' and `Environment Variables' nodes.
24193 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24195         * manual/macros.texi: Add comments before MTASC-safety macros.
24197         * manual/users.texi: Document MTASC-safety properties.
24199         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24200         (pthread_getspecific, pthread_setspecific): Format with
24201         @deftypefun, and add @safety note.
24202         * manual/signal.texi: Move comments that analyze the above
24203         functions to their home place.
24205 2014-02-03  Allan McRae  <allan@archlinux.org>
24207         * po/sl.po: Update Slovenian translation from translation project.
24209 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24211         * manual/time.texi (timegm): Add missing blank after @c.
24212         Reported by Joseph Myers <joseph@codesourcery.com>.
24214 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24216         * manual/check-safety.sh: New.
24217         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24219         * manual/terminal.texi: Document MTASC-safety properties.
24221         * manual/filesys.texi: Document MTASC-safety properties.
24223         * manual/errno.texi: Document MTASC-safety properties.
24225         * manual/intro.texi: Document safety identifiers and
24226         conditionals.
24228         * manual/string.texi (wcstok): Fix prototype.
24229         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24231         * manual/time.texi: Document MTASC-safety properties.
24233         * manual/string.texi: Document MTASC-safety properties.
24235         * manual/threads.texi: Document MTASC-safety properties.
24237         * manual/stdio.texi: Document MTASC-safety properties.
24239         * manual/syslog.texi: Document MTASC-safety properties.
24241         * manual/sysinfo.texi: Document MTASC-safety properties.
24243         * manual/startup.texi: Document MTASC-safety properties.
24245         * manual/socket.texi: Document MTASC-safety properties.
24247         * manual/signal.texi: Document MTASC-safety properties.
24249 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24251         * manual/setjmp.texi: Document MTASC-safety properties.
24253         * manual/search.texi: Document MTASC-safety properties.
24255         * manual/resource.texi: Document MTASC-safety properties.
24257         * manual/process.texi: Document MTASC-safety properties.
24259         * manual/platform.texi: Document MTASC-safety properties.
24261         * manual/pipe.texi: Document MTASC-safety properties.
24263         * manual/pattern.texi: Document MTASC-safety properties.
24265         * manual/message.texi: Document MTASC-safety properties.
24267         [BZ #12751]
24268         * manual/memory.texi: Document MTASC-safety properties.
24270         * manual/math.texi: Document MTASC-safety properties.
24272         * manual/locale.texi: Document MTASC-safety properties.
24274         * manual/llio.texi: Document MTASC-safety properties.
24276         * manual/libdl.texi: New.
24278         * manual/lang.texi: Document MTASC-safety properties.
24280         * manual/job.texi: Document MTASC-safety properties.
24282         * manual/getopt.texi: Document MTASC-safety properties.
24284         * manual/ctype.texi: Document MTASC-safety properties.
24286 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24288         [BZ #16046]
24289         * csu/libc-tls.c (static_map): Remove variable.
24290         (__libc_setup_tls): Use main executable's link map for TLS data.
24291         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24292         casing for LM_ID_BASE and GL(dl_nns).
24293         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24294         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24295         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24296         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24297         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24298         member.
24299         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24300         l_phnum members.
24302 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24304         * manual/debug.texi: Document MTASC-safety properties.
24306 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24308         [BZ #16510]
24309         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24310         of __x86_64__ when disabling x87 inline functions.
24312 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24314         * manual/charset.texi: Document MTASC-safety properties.
24316         * manual/crypt.texi: Document MTASC-safety properties.
24318         * manual/conf.texi: Document MTASC-safety properties.
24320         * manual/arith.texi: Document MTASC-safety properties.
24322         * manual/argp.texi: Document MTASC-safety properties.
24324         * manual/macros.texi: Introduce macros to document multi
24325         thread, asynchronous signal and asynchronous cancellation
24326         safety properties.
24327         * manual/intro.texi: Introduce the properties themselves.
24329 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24331         * sysdeps/sh/sh4/Makefile: New file.
24333 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24335         * math/gen-libm-test.pl ($srcdir): New variable.
24336         ($auto_input): Use it.
24338 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24340         [BZ #16506]
24341         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24342         access beyond array bounds when parsing netgroups file.
24344         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24345         the old buffer before realloc.
24347 2014-01-27  Allan McRae  <allan@archlinux.org>
24349         * po/fr.po: Update French translation from translation project.
24351 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24353         * sysdeps/sh/libm-test-ulps: Regenerate.
24355 2014-01-24  David S. Miller  <davem@davemloft.net>
24357         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24359 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24361         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24362         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24364 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24366         [BZ #16474]
24367         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24368         string pointers after reallocation.
24370 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24372         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24373         __SH4A__ instead of __SH_FPU_ANY__.
24375 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24377         * sysdeps/sh/fpu_control.h: New file.
24378         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24379         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24380         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24381         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24382         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24383         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24384         * sysdeps/sh/sys/ucontext.h: Remove.
24385         * sysdeps/sh/sys: Remove directory.
24387 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24389         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24390         s390/sys/ucontext.h.
24391         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24392         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24394 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24396         [BZ #15605]
24397         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24399 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24401         [BZ#16431]
24402         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24403         Adjust the vDSO correctly for internal calls.
24404         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24406 2014-01-20  Allan McRae  <allan@archlinux.org>
24408         * po/ca.po: Update Catalan translation from translation project.
24410 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24412         * sysdeps/s390/sotruss-lib.c: New file.
24414 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24416         [BZ#16430]
24417         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24418         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24419         local calls issues by not having a PLT stub required for IFUNC calls.
24420         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24422 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24424         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24425         * math/test-fpucw-static.c: Likewise.
24427 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24429         [BZ #16453]
24430         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24432 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24434         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24435         implementation for powerpc.
24437 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24439         [BZ #14782]
24440         * sysdeps/posix/system.c (__libc_system): Do not enable
24441         asynchronous cancellation.
24443 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24445         [BZ #16427]
24446         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24447         handling only for numbers special also in the IEEE case.
24449 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24451         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24453 2014-01-11  Allan McRae  <allan@archlinux.org>
24455         * po/bg.po: Update Bulgarian translation from translation project.
24457         * po/de.po: Update German translation from translation project.
24459 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24461         * sysdeps/generic/gcc-compat.h: New file.
24463 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24465         * benchtests/asin-inputs: Correct slow inputs.
24466         * benchtests/acos-inputs: Likewise.
24468 2014-01-10  Allan McRae  <allan@archlinux.org>
24470         * po:sv.po: Update Swedish translation from translation project.
24472         * po/vi.po: Update Vietnamese translation from translation project.
24474         * po/eo.po: Update Esperanto translation from translation project.
24476         * po/cs.po: Update Czech translation from translation project.
24478         * po/nl.po: Update Dutch translation from translation project.
24480         * po/pl.po: Update Polish translation from translation project.
24482         * po/ru.po: Update Russian translation from translation project.
24484         * po/uk.po: Update Ukrainian translation from translation project.
24486 2014-01-08  Brooks Moses  <bmoses@google.com>
24488         * elf/dl-load.c: Fix comment typo.
24490 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24492         * po/header.pot: Rename to...
24493         * po/pot.header: ... this.
24494         * po/Makefile: Use pot.header.
24496 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24497             Maxim Kuvyrkov  <maxim@kugelworks.com>
24499         [BZ #16394]
24500         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24501         SRC and DEST against LEN.
24503 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24505         [BZ #16414]
24506         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24507         implementation.
24508         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24510 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24514 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24516         [BZ #16408]
24517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24518         for large positive arguments.
24520 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24522         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24524         * math/auto-libm-test-in: Mark various tests with
24525         xfail-rounding:ldbl-128ibm.
24526         * math/auto-libm-test-out: Regenerated.
24528         [BZ #16407]
24529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24530         Increase overflow threshold.
24532 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24534         [BZ #14286]
24535         * stdio-common/vfprintf.c: Check for integer overflow.
24537 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24539         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24540         the first argument and return value of __tls_get_addr_internal.
24542 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24544         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24545         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24547 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24549         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24550         * sysdeps/s390/rtld-global-offsets.sym: New file.
24551         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24552         GLIBC_2.19 symbol.
24553         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24554         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24555         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24556         ... this.
24557         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24559         ... this.
24560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24561         Regenerate.
24562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24563         Regenerate.
24564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24565         halfs of GPRs for high_gprs contexts.
24566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24567         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24568         field.
24569         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24570         uc_flags field.
24571         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24572         64 bit versions:
24573         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24574         for high GPRs (uc_high_gprs) and for future extensions
24575         (__reserved).
24576         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24577         for future extensions (__reserved).
24578         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24579         64 bit versions:
24580         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24581         SC_HIGHGPRS offset definition.
24582         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24583         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24585         * Versions.def: Add GLIBC_2.19 for libpthread.
24586         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24587         siglongjmp for libpthread with GLIBC_2.19 symver.
24588         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24589         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24590         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24591         * sysdeps/s390/__longjmp.c: New file.
24592         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24593         * sysdeps/s390/longjmp.c: New file.
24594         * sysdeps/s390/setjmp.S: New file.
24595         * sysdeps/s390/sigjmp.S: New file.
24596         * sysdeps/s390/v1-longjmp.c: New file.
24597         * sysdeps/s390/v1-setjmp.h: New file.
24598         * sysdeps/s390/v1-sigjmp.c: New file.
24599         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24600         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24601         GLIBC_2.19 version.
24602         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24603         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24604         versioned symbols for ____longjmp_chk.
24605         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24606         Likewise.
24607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24608         Regenerate.
24609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24610         Regenerate.
24611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24612         Regenerate.
24613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24614         Regenerate.
24615         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24616         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24617         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24618         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24619         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24620         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24621         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24622         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24623         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24624         * sysdeps/s390/rtld-__longjmp.c: New file.
24625         * sysdeps/s390/rtld-setjmp.S: New file.
24627 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #16400]
24630         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24631         Return -__logl (x) for small positive arguments without evaluating
24632         a polynomial.
24634 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24636         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24637         Rename to ...
24638         (__ptrace_peeksiginfo_args): ... this.
24639         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24641         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24643 2014-01-06  Allan McRae  <allan@archlinux.org>
24645         * inet/netinet/in.h: Fix typo in comment.
24647 2014-01-05  Andreas Jaeger  <aj@suse.de>
24649         * sysdeps/i386/fpu/libm-test-ulps: Update.
24651 2014-01-05  Allan McRae  <allan@archlinux.org>
24653         * po/libc.pot: Regenerated.
24655         * malloc/memusagestat.c: Fix gettext call formatting.
24657 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24659         * nscd/nscd.c: Improve usage() output.
24661 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24663         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24664         * sysdeps/unix/sysv/linux/configure: Regenerated.
24665         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24666         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24668 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24670         [BZ #16390]
24671         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24672         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24674 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24677         extra tokens at end of #undef directive.
24678         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24679         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24680         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24682 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24684         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24686         * math/auto-libm-test-in: Mark various tests with
24687         xfail-rounding:ldbl-128ibm.
24688         * math/auto-libm-test-out: Regenerated.
24690 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #16386]
24693         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24694         numbers with subnormal high part when calculating exponent.
24696         [BZ #16385]
24697         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24698         fabs.
24700         [BZ #16384]
24701         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24702         M_LN2l.
24703         (__ieee754_acoshl): Use __log1pl not __log1p.
24705 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24707         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24708         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24709         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24710         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24711         (reused_arena, arena_get2): Convert to GNU style.
24712         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24713         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24714         (memalign_check, __malloc_set_state): Likewise.
24715         * malloc/mallocbug.c (main): Likewise.
24716         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24717         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24718         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24719         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24720         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24721         (__posix_memalign, malloc_info): Likewise.
24722         * malloc/malloc.h: Likewise.
24723         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24724         (mallochook, memalignhook, reallochook, mabort): Likewise.
24725         * malloc/mcheck.h: Likewise.
24726         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24727         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24728         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24729         * malloc/morecore.c (__default_morecore): Likewise.
24730         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24731         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24732         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24733         (print_and_abort): Likewise.
24734         * malloc/obstack.h: Likewise.
24735         * malloc/set-freeres.c (__libc_freeres): Likewise.
24736         * malloc/tst-mallocstate.c (main): Likewise.
24737         * malloc/tst-mtrace.c (main): Likewise.
24738         * malloc/tst-realloc.c (do_test): Likewise.
24740 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24742         [BZ #16366]
24743         * nscd/netgroupcache.c (do_notfound): New function.
24744         (addgetnetgrentX): Use it.
24746         [BZ # 16365]
24747         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24748         NSS_STATUS_NOTFOUND.
24750 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24752         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24755 2014-01-01  Allan McRae  <allan@archlinux.org>
24757         * scripts/update-copyrights: Update configure input file suffix.
24759         * NEWS: Update copyright year.
24760         * catgets/gencat.c: Likewise.
24761         * csu/version.c: Likewise.
24762         * debug/catchsegv.sh: Likewise.
24763         * debug/pcprofiledump.c: Likewise.
24764         * debug/xtrace.sh: Likewise.
24765         * elf/ldconfig.c: Likewise.
24766         * elf/ldd.bash.in: Likewise.
24767         * elf/pldd.c: Likewise.
24768         * elf/sotruss.ksh: Likewise.
24769         * elf/sprof.c: Likewise.
24770         * iconv/iconv_prog.c: Likewise.
24771         * iconv/iconvconfig.c: Likewise.
24772         * locale/programs/locale.c: Likewise.
24773         * locale/programs/localedef.c: Likewise.
24774         * login/programs/pt_chown.c: Likewise.
24775         * malloc/memusage.sh: Likewise.
24776         * malloc/memusagestat.c: Likewise.
24777         * malloc/mtrace.pl: Likewise.
24778         * manual/libc.texinfo: Likewise.
24779         * nscd/nscd.c: Likewise.
24780         * nss/getent.c: Likewise.
24781         * nss/makedb.c: Likewise.
24782         * posix/getconf.c: Likewise.
24783         * scripts/test-installation.pl: Likewise.
24785         * All files with FSF copyright notices: Update copyright dates
24786         using scripts/update-copyrights.
24787         * intl/plural.c: Regenerated.
24788         * locale/programs/charmap-kw.h: Likewise.
24789         * locale/programs/locfile-kw.h: Likewise.
24791 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24793         * sysdeps/unix/sysv/linux/configure: Regenerated.
24794         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24795         the linux/fanotify.h header.
24796         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24797         HAVE_LINUX_FANOTIFY_H is defined.
24799 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         * benchtests/cos-inputs: New inputs.
24802         * benchtests/sin-inputs: Likewise.
24804         * benchtests/atan-inputs: New inputs. Fix name of multiple
24805         precision fallback inputs.
24807         * benchtests/atanh-inputs: New inputs.
24808         * benchtests/tanh-inputs: Likewise.
24810         * benchtests/acosh-inputs: New inputs.
24811         * benchtests/asinh-inputs: Likewise.
24813         * benchtests/cosh-inputs: New inputs.
24814         * benchtests/sinh-inputs: Likewise.
24816         * benchtests/acos-inputs: Add more inputs.
24817         * benchtests/asin-inputs: Likewise.
24819 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24821         [BZ #16375]
24822         * manual/arith.texi: Fix spelling.
24823         * manual/charset.texi: Likewise.
24824         * manual/errno.texi: Likewise.
24825         * manual/filesys.texi: Likewise.
24826         * manual/lang.texi: Likewise.
24827         * manual/llio.texi: Likewise.
24828         * manual/locale.texi: Likewise.
24829         * manual/message.texi: Likewise.
24830         * manual/resource.texi: Likewise.
24831         * manual/search.texi: Likewise.
24832         * manual/setjmp.texi: Likewise.
24833         * manual/stdio.texi: Likewise.
24834         * manual/string.texi: Likewise.
24835         * manual/sysinfo.texi: Likewise.
24836         * manual/time.texi: Likewise.
24838 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24840         * po/sl.po: New file.
24842 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24844         * .gitignore: Add core/.gdbinit/.gdb_history.
24846 2013-12-27  Allan McRae  <allan@archlinux.org>
24848         [BZ #16369]
24849         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24850         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24852 2013-12-24  Brooks Moses  <bmoses@google.com>
24854         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24855         all compilers that claim C++98 compliance, not just GCC.
24856         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24857         Likewise.
24859 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24861         * NEWS: Restore accidentally deleted bug-fix entries.
24863 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24864             Ondřej Bílka  <neleai@seznam.cz>
24866         [BZ #15073]
24867         * malloc/malloc.c (_int_free): Perform sanity check only if we
24868         have_lock.
24870 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24872         [BZ #12986]
24873         * manual/stdio.texi (String Input Conversions): Clarify that character
24874         classes are not supported.
24876 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24880 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24882         [BZ #16337]
24883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24884         Calculate results for small negative arguments directly rather
24885         than using reflection formula with special underflow handling.
24887         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24888         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24889         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24890         (fchflags): Likewise.
24891         (revoke): Likewise.
24892         (setlogin): Likewise.
24893         (sigaltstack): Likewise.
24894         (wait4): Likewise.
24895         (sigblock): Remove.
24896         (sigsetmask): Likewise.
24897         (wait3): Likewise.
24898         (waitpid): Likewise.
24899         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24900         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24901         file.
24902         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24903         * sysdeps/unix/bsd/Makefile: ... here.
24904         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24905         * sysdeps/unix/bsd/Versions: ... here.
24906         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24907         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24908         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24909         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24910         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24911         * sysdeps/unix/bsd/sigblock.c: ... here.
24912         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24913         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24914         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24915         * sysdeps/unix/bsd/sigvec.c: ... here.
24916         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24917         * sysdeps/unix/bsd/tcdrain.c: ... here.
24918         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24919         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24920         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24921         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24922         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24923         * sysdeps/unix/bsd/wait.c: ... here.
24924         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24925         * sysdeps/unix/bsd/wait3.c: ... here.
24926         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24927         * sysdeps/unix/bsd/waitpid.c: ... here.
24929 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24931         [BZ #16356]
24932         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24933         round-to-nearest for [!USE_AS_EXPM1L].
24934         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24935         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24936         more tests of exp and exp10.  Expect some exp10 tests to miss
24937         exceptions or fail in directed rounding modes.
24938         * math/auto-libm-test-out: Regenerated.
24939         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24940         (exp10_test_tonearest): New function.
24941         (exp10_towardzero_test_data): New array.
24942         (exp10_test_towardzero): New function.
24943         (exp10_downward_test_data): New array.
24944         (exp10_test_downward): New function.
24945         (exp10_upward_test_data): New array.
24946         (exp10_test_upward): New function.
24947         (main): Call the new functions.
24948         * sysdeps/i386/fpu/libm-test-ulps: Update.
24949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24951 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24953         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24954         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24955         * math/auto-libm-test-out: Regenerated.
24956         * math/libm-test.inc (acosh_test_data): Add more tests.
24957         (atanh_test_data): Likewise.
24958         (ceil_test_data): Likewise.
24959         (copysign_test_data): Likewise.
24960         * sysdeps/i386/fpu/libm-test-ulps: Update.
24961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24963         * timezone/checktab.awk: Update from tzcode 2013i.
24964         * timezone/private.h: Likewise.
24965         * timezone/scheck.c: Likewise.
24966         * timezone/tzfile.h: Likewise.
24967         * timezone/tzselect.ksh: Likewise.
24968         * timezone/zdump.c: Likewise.
24969         * timezone/zic.c: Likewise.
24971         * math/auto-libm-test-in: Add tests of cpow.
24972         * math/auto-libm-test-out: Regenerated.
24973         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24974         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24975         mpc_cc_c.
24976         (func_calc_desc): Add mpc_cc_c union field.
24977         (test_functions): Add cpow.
24978         (special_fill_2pi): New function.
24979         (special_real_inputs): Add 2pi.
24980         (calc_generic_results): Handle mpc_cc_c.
24981         * sysdeps/i386/fpu/libm-test-ulps: Update.
24982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24984         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24985         csqrt, ctan and ctanh.
24986         * math/auto-libm-test-out: Regenerated.
24987         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24988         (TEST_COND_x86): Likewise.
24989         (ccos_test_data): Use AUTO_TESTS_c_c.
24990         (ccosh_test_data): Likewise.
24991         (cexp_test_data): Likewise.
24992         (clog_test_data): Likewise.
24993         (csqrt_test_data): Likewise.
24994         (ctan_test_data): Likewise.
24995         (ctan_tonearest_test_data): Likewise.
24996         (ctan_towardzero_test_data): Likewise.
24997         (ctan_downward_test_data): Likewise.
24998         (ctan_upward_test_data): Likewise.
24999         (ctanh_test_data): Likewise.
25000         (ctanh_tonearest_test_data): Likewise.
25001         (ctanh_towardzero_test_data): Likewise.
25002         (ctanh_downward_test_data): Likewise.
25003         (ctanh_upward_test_data): Likewise.
25004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25005         mpc_c_c.
25006         (func_calc_desc): Add mpc_c_c union field.
25007         (FUNC_mpc_c_c): New macro.
25008         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25009         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25010         ctanh.
25011         (special_fill_min_subnorm_p120): New function.
25012         (special_real_inputs): Add min_subnorm_p120.
25013         (calc_generic_results): Handle mpc_c_c.
25014         * sysdeps/i386/fpu/libm-test-ulps: Update.
25015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25017 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25019         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25020         (do_sin_slow): New functions.
25021         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25022         (cslow2, csloww1, csloww2): Use the new functions.
25024         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25025         Use M to change sign of result instead of X.  Assume X is
25026         positive.
25027         (csloww1): Likewise.
25028         (__sin): Adjust.
25029         (__cos): Adjust.
25031         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25032         arguments A and DA.
25033         (__sin): Adjust.
25034         (__cos): Likewise.
25036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25037         (__cos): Likewise.
25038         (sloww1): Don't adjust sign of DX.
25039         (csloww1): Likewise.
25040         (sloww2): Use X directly and don't adjust sign of DX.
25041         (csloww2): Likewise.
25043 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25045         * math/auto-libm-test-in: Add tests of cabs and carg.
25046         * math/auto-libm-test-out: Regenerated.
25047         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25048         (carg_test_data): Likewise.
25049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25050         mpc_c_f.
25051         (func_calc_desc): Add mpc_c_f union field.
25052         (test_functions): Add cabs and carg.
25053         (calc_generic_results): Handle mpc_c_f.
25055         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25056         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25057         as a macro and a compat symbol.
25058         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25059         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25060         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25061         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25062         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25064         not use .hidden.
25065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25066         Likewise.
25067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25068         Likewise.
25069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25070         Likewise.
25071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25072         Likewise.
25073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25074         Likewise.
25075         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25076         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25077         from GLIBC_2.3.2.
25079 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25083 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25085         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25086         trailing whitespace removed.
25087         * scripts/config.guess: Update to version 2013-11-29.
25088         * scripts/config.sub: Update to version 2013-10-01.
25090         * math/auto-libm-test-in: Add tests of sincos.
25091         * math/auto-libm-test-out: Regenerated.
25092         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25093         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25094         mpfr_f_11.
25095         (func_calc_desc): Add mpfr_f_11 union field.
25096         (test_functions): Add sincos.
25097         (calc_generic_results): Handle mpfr_f_11.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101 2013-12-19  Andreas Schwab  <schwab@suse.de>
25103         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25104         CALL_MCOUNT.
25105         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25106         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25107         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25109 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25111         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25112         * sysdeps/i386/fpu/libm-test-ulps: Update.
25113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25115         [BZ #16293]
25116         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25117         round-to-nearest mode when using frndint.
25118         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25119         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25120         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25121         Likewise.
25122         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25123         sinh test to fail.
25124         * math/auto-libm-test-out: Regenerated.
25125         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25126         (TEST_COND_x86): Likewise.
25127         (expm1_tonearest_test_data): New array.
25128         (expm1_test_tonearest): New function.
25129         (expm1_towardzero_test_data): New array.
25130         (expm1_test_towardzero): New function.
25131         (expm1_downward_test_data): New array.
25132         (expm1_test_downward): New function.
25133         (expm1_upward_test_data): New array.
25134         (expm1_test_upward): New function.
25135         (main): Run the new test functions.
25136         * sysdeps/i386/fpu/libm-test-ulps: Update.
25137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25139         * include/features.h: Update comment documenting feature test
25140         macros.  Mention _DEFAULT_SOURCE in comment.
25141         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25142         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25143         _BSD_SOURCE and _SVID_SOURCE.
25144         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25145         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25146         !_SVID_SOURCE]: Likewise.
25147         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25148         (__USE_POSIX_IMPLICITLY): Define.
25149         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25150         (_POSIX_SOURCE): Undefine and redefine.
25151         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25152         (_POSIX_C_SOURCE): Likewise.
25153         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25154         (Feature Test Macros): Update documentation of default features.
25156 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25158         * benchtests/Makefile: Add bench-strtok.
25159         * benchtests/bench-strtok.c: New file: strtok benchtest.
25161 2013-12-19  Allan McRae  <allan@archlinux.org>
25163         * manual/install.texi: Suppress menu for plain text output.
25164         * INSTALL: Regenerated.
25166 2013-12-18  Brooks Moses  <bmoses@google.com>
25168         [BZ #15846]
25169         * misc/getauxval.c: Include errno.h.
25170         (__getauxval): Set errno to ENOENT if the requested type is not
25171         found.
25172         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25173         don't declare with __attribute_const__.
25174         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25175         * manual/startup.texi: Document that getauxval sets errno.
25177 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25179         * math/auto-libm-test-in: Add tests of jn and yn.
25180         * math/auto-libm-test-out: Regenerated.
25181         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25182         (yn_test_data): Likewise.
25183         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25184         mpfr_if_f.
25185         (func_calc_desc): Add mpfr_if_f union field.
25186         (FUNC_mpfr_if_f): New macro.
25187         (test_functions): Add jn and yn.
25188         (calc_generic_results): Assert type of second input for
25189         mpfr_ff_f.  Handle mpfr_if_f.
25190         (output_for_one_input_case): Disable all checking for arguments
25191         fitting floating-point types in case of an integer argument.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25196         Don't expect fegetround reference in libm.so.
25198 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25200         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25201         $(config-cflags-nofma).
25203 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25205         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25206         * math/auto-libm-test-out: Regenerated.
25208         [BZ #16338]
25209         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25210         to determine exponent and adjust argument to have exponent of -1.
25211         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25212         log2.
25213         * math/auto-libm-test-out: Regenerated.
25214         * sysdeps/i386/fpu/libm-test-ulps: Update.
25215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25217 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25219         * manual/probes.texi: Remove cases when per-thread arenas are
25220         disabled.
25222 2013-12-18  Andreas Schwab  <schwab@suse.de>
25224         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25225         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25226         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25227         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25228         * sysdeps/i386/i686/multiarch/Makefile: Update.
25229         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25231 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25233         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25234         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25236 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25238         [BZ #15968]
25239         Support TZ transition times < 00:00:00.
25240         This is needed for version-3 tz-format files; it supports time
25241         stamps past 2037 for America/Godthab (the only entry in the tz
25242         database for which this change is relevant).
25243         * manual/time.texi (TZ Variable): Document transition times
25244         from -167:59:59 through -00:00:01.
25245         * time/tzset.c (tz_rule): Time of day is now signed.
25246         (__tzset_parse_tz): Parse negative time of day.
25248         Document TZ transition times >= 25:00:00.
25249         * manual/time.texi (TZ Variable): Document transition times from
25250         25:00:00 through 167:59:59.  These are already supported, and this
25251         support will help with version-3 tz-format files.
25253         * manual/time.texi (TZ Variable): Modernize North America example
25254         to reflect current (i.e., 2007-and-later) daylight saving rules.
25256         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25258 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25260         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25261         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25262         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25264         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25265         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25266         * sysdeps/unix/bsd/clock.c: Likewise.
25267         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25268         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25269         * sysdeps/unix/bsd/init-posix.c: Likewise.
25270         * sysdeps/unix/bsd/poll.c: Likewise.
25271         * sysdeps/unix/bsd/ptsname.c: Likewise.
25272         * sysdeps/unix/bsd/seekdir.c: Likewise.
25273         * sysdeps/unix/bsd/setegid.c: Likewise.
25274         * sysdeps/unix/bsd/seteuid.c: Likewise.
25275         * sysdeps/unix/bsd/setgid.c: Likewise.
25276         * sysdeps/unix/bsd/setrgid.c: Likewise.
25277         * sysdeps/unix/bsd/setruid.c: Likewise.
25278         * sysdeps/unix/bsd/setsid.c: Likewise.
25279         * sysdeps/unix/bsd/setuid.c: Likewise.
25280         * sysdeps/unix/bsd/sigaction.c: Likewise.
25281         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25282         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25283         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25284         * sysdeps/unix/bsd/telldir.c: Likewise.
25285         * sysdeps/unix/bsd/times.c: Likewise.
25286         * sysdeps/unix/bsd/usleep.c: Likewise.
25288         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25289         ($(objpfx)libbsd-compat.a): Remove rule.
25291         * include/features.h (__FAVOR_BSD): Do not define.
25292         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25293         features conflicting with POSIX.
25294         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25295         (_BSD_SOURCE): Remove description of not being a subset of other
25296         feature test macros.
25297         * manual/job.texi (getpgrp): Do not document BSD version.
25298         (getpgid): Do not document by reference to BSD getpgrp.
25299         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25300         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25301         * signal/signal.h [__FAVOR_BSD]: Likewise.
25302         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25303         instead of making contents conditional on [__FAVOR_BSD].
25304         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25306 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25310 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25312         [BZ #16314]
25313         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25314         values below 2**-450, not 2**-500.
25315         * math/auto-libm-test-in: Don't allow spurious underflow from
25316         hypot.
25317         * math/auto-libm-test-out: Regenerated.
25319         [BZ #16316]
25320         [BZ #16330]
25321         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25322         values of ha and hb and sort them after adjusting subnormal
25323         arguments.
25324         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25325         Likewise.
25326         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25327         values of ea and eb and sort them after adjusting subnormal
25328         arguments.
25329         * math/auto-libm-test-in: Do not expect some hypot tests of
25330         subnormals to fail.  Add more hypot tests.
25331         * math/auto-libm-test-out: Regenerated.
25333 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25335         [BZ #13304]
25336         * sysdeps/sh/s_fma.c: New file.
25337         * sysdeps/sh/s_fmaf.c: New file.
25338         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25339         version.
25340         * sysdeps/sh/Implies: Add sh/soft-fp.
25342 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25344         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25345         level of indirection to members `objname', `errstring', `malloced'.
25346         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25347         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25348         it as the __longjmp argument (just pass 1 instead).
25349         (_dl_catch_error): Initialize C with argument pointers and address of
25350         volatile local ERRCODE rather than copying values out of C at return.
25352 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25354         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25355         * math/auto-libm-test-out: Regenerated.
25356         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25357         (hypot_test_data): Likewise.
25358         (pow_test_data): Likewise.
25359         (pow_tonearest_test_data): Likewise.
25360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25361         mpfr_ff_f.
25362         (func_calc_desc): Add mpfr_ff_f union field.
25363         (FUNC_mpfr_ff_f): New macro.
25364         (test_functions): Add atan2, hypot and pow.
25365         (special_fill_min): New function.
25366         (special_fill_minus_min): Likewise.
25367         (special_fill_min_subnorm): Likewise.
25368         (special_fill_minus_min_subnorm): Likewise.
25369         (special_real_inputs): Add min, -min, min_subnorm and
25370         -min_subnorm.
25371         (calc_generic_results): Handle mpfr_ff_f.
25372         * sysdeps/i386/fpu/libm-test-ulps: Update.
25373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25375 2013-12-16  Will Newton  <will.newton@linaro.org>
25377         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25378         (Aligned Memory Blocks): Add documentation for aligned_alloc
25379         and suggest it as an alternative to posix_memalign.
25380         (Hooks for Malloc): Document __memalign_hook is also called
25381         for aligned_alloc.  (Summary of Malloc): Add summary for
25382         aligned alloc.  Document __memalign_hook is also called
25383         for aligned_alloc.
25385 2013-12-16  Will Newton  <will.newton@linaro.org>
25387         * manual/memory.texi (Malloc Examples): Clarify default
25388         alignment documentation.  Suggest posix_memalign rather
25389         than memalign or valloc.
25390         (Aligned Memory Blocks): Remove suggestion to use memalign
25391         or valloc.  Remove obsolete comment about BSD.
25392         Document memalign errno values and mark the function obsolete.
25393         Document posix_memalign returned error codes.  Mark valloc
25394         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25395         called for posix_memalign and valloc.
25396         (Summary of Malloc): Add posix_memalign to function summary.
25397         __memalign_hook is also called for posix_memalign and valloc.
25399 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25401         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25402         TAYLOR_SIN.
25403         (__sin): Adjust.
25404         (__cos): Likewise.
25405         (sloww): Use mynumber union.  Expand ternary operator into
25406         if-else statements.
25407         (cslow): use mynumber union.
25409 2013-12-16  Allan McRae  <allan@archlinux.org>
25411         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25412         * configure: Regenerated.
25414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25416         [BZ #14120]
25417         * configure.ac: Added --enable-maintainer-mode. Check for
25418         autoconf when enabled.
25419         * configure: Regenerated.
25421         * nscd/nscd.service: New file.
25422         * nscd/nscd.tmpfiles: New file.
25424 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25426         [BZ #12100]
25427         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25428         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25429         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25430         (strstr): Add __strstr_sse2_unaligned ifunc.
25431         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25432         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25433         (strcasestr): Remove __strcasestr_sse42 ifunc.
25434         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25438 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25440         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25441         * sysdeps/sh/bits/fenv.h: ... here.
25442         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25444 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25446         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25449         hypotf multiarch implementations.
25450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25453         multiarch hypot for PPC64.
25454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25457         multiarch hypotf for PPC64.
25459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25460         modff multiarch implementations.
25461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25464         multiarch modf for PPC64.
25465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25468         multiarch modff for PPC64.
25470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25471         and logl multiarch implementations.
25472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25475         multiarch logb for PPC64.
25476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25479         multiarch logb for PPC64.
25480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25483         multiarch logb for PPC64.
25485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25486         isinff multiarch implementation.
25487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25488         file.
25489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25491         multiarch isinf for PPC64.
25492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25493         file.
25494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25495         multiarch isinff for PPC64.
25497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25498         finitef multiarch implementation.
25499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25500         file.
25501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25503         multiarch finite for PPC64.
25504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25505         file.
25506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25507         multiarch finitef for PPC64.
25509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25510         lrint multiarch implementation.
25511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25512         file.
25513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25515         multiarch llrint for PPC64.
25516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25517         multiarch lrint for PPC64.
25519         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25520         copysignf multiarch implementation.
25521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25522         file.
25523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25524         file.
25525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25526         multiarch copysign for PPC64.
25527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25528         multiarch copysignf for PPC64.
25530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25531         multiarch implementation.
25532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25533         file.
25534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25535         file.
25536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25537         file.
25538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25539         file.
25540         multiarch llround for PPC64.
25541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25542         multiarch trunc for PPC64.
25543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25544         multiarch truncf for PPC64.
25546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25547         multiarch implementation.
25548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25549         file.
25550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25551         file.
25552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25553         file.
25554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25555         file.
25556         multiarch llround for PPC64.
25557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25558         multiarch round for PPC64.
25559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25560         multiarch roundf for PPC64.
25562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25563         multiarch implementation.
25564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25565         file.
25566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25567         file.
25568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25569         file.
25570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25571         file.
25572         multiarch llround for PPC64.
25573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25574         multiarch floor for PPC64.
25575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25576         multiarch floorf for PPC64.
25578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25579         multiarch implementation.
25580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25581         file.
25582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25583         file.
25584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25585         file.
25586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25587         file.
25588         multiarch llround for PPC64.
25589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25590         multiarch ceil for PPC64.
25591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25592         multiarch ceilf for PPC64.
25594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25595         multiarch implementation.
25596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25597         file.
25598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25599         file.
25600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25601         file.
25602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25603         multiarch llround for PPC64.
25604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25605         multiarch lround for PPC64.
25607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25608         multiarch implementation.
25609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25612         file.
25613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25616         multiarch isnan for PPC64.
25617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25618         multiarch isnanf for PPC64.
25620         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25621         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25622         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25623         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25624         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25627         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25628         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25633         multiarch implementations.
25634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25635         (__libc_ifunc_impl_list): Likewise.
25636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25639         multiarch stpcpy for PPC64.
25641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25642         multiarch implementations.
25643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25644         (__libc_ifunc_impl_list): Likewise.
25645         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25647         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25648         multiarch strcpy for PPC64.
25650         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25651         redefine function name.
25652         (_wordcopy_fwd_dest_aligned): Likewise.
25653         (_wordcopy_bwd_aligned): Likewise.
25654         (_wordcopy_bwd_dest_aligned): Likewise.
25655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25656         multiarch implementations.
25657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25658         (__libc_ifunc_impl_list): Likewise.
25659         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25663         multiarch wcscpy for PPC64.
25665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25666         multiarch implementations.
25667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25668         (__libc_ifunc_impl_list): Likewise.
25669         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25673         multiarch wcscpy for PPC64.
25675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25676         multiarch implementations.
25677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25678         (__libc_ifunc_impl_list): Likewise.
25679         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25683         multiarch wcsrchr for PPC64.
25685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25686         multiarch implementations.
25687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25688         (__libc_ifunc_impl_list): Likewise.
25689         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25690         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25691         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25692         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25693         multiarch wcschr for PPC64.
25695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25696         multiarch implementations.
25697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25698         (__libc_ifunc_impl_list): Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25700         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25702         multiarch strchrnul for PPC64.
25704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25705         implementations.
25706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25707         (__libc_ifunc_impl_list): Likewise.
25708         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25709         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25710         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25711         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25712         strchr for PPC64.
25714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25715         implementations.
25716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25717         (__libc_ifunc_impl_list): Likewise.
25718         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25719         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25721         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25722         strncmp for PPC64.
25724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25725         multiarch implementations.
25726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25727         (__libc_ifunc_impl_list): Likewise.
25728         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25729         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25730         strncasecmp for PPC64.
25731         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25732         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25733         multiarch strncasecmp_l for PPC64.
25735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25736         multiarch implementations.
25737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25738         (__libc_ifunc_impl_list): Likewise.
25739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25741         multiarch strcasecmp for PPC64.
25742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25743         file.
25744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25745         multiarch strcasecmp_l for PPC64.
25747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25748         implementations.
25749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25750         (__libc_ifunc_impl_list): Likewise.
25751         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25752         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25753         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25754         strnlen for PPC64.
25756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25757         implementations.
25758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25759         (__libc_ifunc_impl_list): Likewise.
25760         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25761         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25762         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25763         strlen for PPC64.
25765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25766         implementations.
25767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25768         (__libc_ifunc_impl_list): Likewise.
25769         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25770         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25772         rawmemrchr for PPC64.
25774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25775         implementation.
25776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25777         (__libc_ifunc_impl_list): Likewise.
25778         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25779         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25780         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25781         memrchr for PPC64.
25783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25784         implementation.
25785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25786         (__libc_ifunc_impl_list): Likewise.
25787         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25788         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25789         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25790         memchr for PPC64.
25792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25793         implementation.
25794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25795         (__libc_ifunc_impl_list): Likewise.
25796         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25797         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25799         mempcpy for PPC64.
25801         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25802         avoid cretion of __bzero symbol.
25803         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25804         Likewise.
25805         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25806         Likewise.
25807         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25808         Likewise.
25809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25810         multiarch implementations.
25811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25812         (__libc_ifunc_impl_list): Likewise.
25813         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25814         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25816         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25817         bzero for PPC32.
25818         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25819         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25820         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25821         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25822         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25823         memset for PPC64.
25824         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25826         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25828         implementations.
25829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25830         (__libc_ifunc_impl_list): Likewise.
25831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25832         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25833         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25834         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25835         memcmp for PPC64.
25837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25838         multiarch for POWER/PPC64.
25839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25840         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25841         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25847         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25848         memcpy for PPC64.
25850         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25851         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25852         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25853         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25854         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25855         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25856         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25857         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25858         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25859         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25860         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25861         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25862         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25863         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25864         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25873 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25875         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25877 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25879         * benchtests/Makefile (bench): Add exp2 and log2.
25880         (LDLIBS-bench-exp2): Add -lm.
25881         (LDLIBS-bench-log2): Likewise.
25882         * benchtests/exp2-inputs: New inputs file.
25883         * benchtests/log2-inputs: New inputs file.
25884         * benchtests/log-inputs: Add new inputs.
25885         * benchtests/tan-inputs: Likewise.
25887 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25889         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25890         definition...
25891         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25892         (csloww2): ... from here.
25894         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25895         instead of structures.
25896         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25897         (POLYNOMIAL): Likewise.
25898         (TAYLOR_SLOW): Likewise.
25899         (__sin): Likewise.
25900         (__cos): Likewise.
25901         (slow1): Likewise.
25902         (slow2): Likewise.
25903         (sloww): Likewise.
25904         (sloww1); Likewise.
25905         (sloww2): Likewise.
25906         (bsloww1): Likewise.
25907         (bsloww2): Likewise.
25908         (cslow2): Likewise.
25909         (csloww): Likewise.
25910         (csloww1): Likewise.
25911         (csloww2): Likewise.
25913 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25915         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25916         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25917         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25918         * malloc/hooks.c (realloc_check): Likewise.
25920         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25921         * malloc/arena.c: Remove PER_THREAD conditional.
25922         [!PER_THREAD]: Remove code.
25923         (ptmalloc_unlock_all2): Likewise.
25924         (ptmalloc_init): Likewise.
25925         (_int_new_arena): Likewise.
25926         (arena_get2): Likewise.
25927         * malloc/hooks.c (__malloc_get_state): Likewise.
25928         (__malloc_set_state): Likewise.
25929         * malloc/malloc.c: Likewise.
25930         (struct malloc_state): Likewise.
25931         (struct malloc_par): Likewise.
25932         (__libc_realloc): Likewise.
25933         (__libc_mallopt): Likewise.
25935 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25937         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25939 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25941         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25942         macro to a function.  Check for zero perturb_byte.
25943         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25945         * malloc/malloc.c: (force_reg): Remove.
25946         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25947         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25948         force_reg by atomic_forced_read.
25949         * malloc/arena.c (ptmalloc_init): Likewise.
25950         * malloc/hooks.c (top_check): Likewise.
25952 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25956 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25960 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25962         * math/auto-libm-test-in: Add tests of lgamma.
25963         * math/auto-libm-test-out: Regenerated.
25964         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25965         (M_LOG_2_SQRT_PIl): Likewise.
25966         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25967         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25968         mpfr_f_f1.
25969         (func_calc_desc): Add mpfr_f_f1 union field.
25970         (ARGS1): New macro.
25971         (ARGS2): Likewise.
25972         (ARGS3): Likewise.
25973         (ARGS4): Likewise.
25974         (RET1): Likewise.
25975         (RET2): Likewise.
25976         (CALC): Likewise.
25977         (FUNC): Likewise.
25978         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25979         (test_functions): Add lgamma.
25980         (calc_generic_results): Handle mpfr_f_f1.
25981         * sysdeps/i386/fpu/libm-test-ulps: Update.
25982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25984 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25986         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25987         __mpn_add_n for PowerPC64/POWER7.
25988         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25989         __mpn_sub_n for PowerPC64/POWER7.
25991         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25992         __mpn_addmul_1 for PowerPC64.
25993         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25994         __mpn_submul_1 for PowerPC64.
25995         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25996         for PowerPC64.
25997         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25998         for PowerPC64.
26000 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26002         [BZ #15089]
26003         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26005 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26007         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26009         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26010         add multiarch folders.
26011         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26012         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26013         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26014         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26015         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26016         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26017         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26018         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26019         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26020         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26021         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26030         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26032         New file.
26033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26034         New file.
26035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26036         multiarch __ieee754_hypot for PowerPC32.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26038         New file.
26039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26040         New file.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26042         multiarch __ieee754_hypotf for PowerPC32.
26044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26045         long_double_symbol only if __logbl is defined.
26046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26047         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26049         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26051         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26053         path for implementation.
26054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26057         logb, and logbl multiarch implementations for PowerPC32.
26058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26059         file.
26060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26061         file.
26062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26063         multiarch logb for PowerPC32.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26065         file.
26066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26067         file.
26068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26069         multiarch logbf for PowerPC32.
26070         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26072         file.
26073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26074         multiarch logbl implementation for PowerPC32.
26076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26077         and modff multiarch implementations.
26078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26079         New file.
26080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26081         New file.
26082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26083         multiarch modf for PowerPC32.
26084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26085         New file.
26086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26087         New file.
26088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26089         multiarch modff for PowerPC32.
26091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26092         and lrintf multiarch implementations.
26093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26094         New file.
26095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26096         New file.
26097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26098         multiarch lrint for PowerPC32.
26099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26100         file: multiarch lrintf for PowerPC32.
26102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26103         and lroundf multiarch implementations.
26104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26105         New file.
26106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26107         New file.
26108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26109         New file.
26110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26111         multiarch lround for PowerPC32.
26112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26113         file: multiarch lroundf for PowerPC32.
26115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26116         copysign and copysignf multiarch implementations.
26117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26118         New file.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26120         New file.
26121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26122         file: multiarch copysign for PowerPC32.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26124         file: multiarch copysignf for PowerPC32.
26126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26127         and truncf multiarch implementations.
26128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26129         New file.
26130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26131         file.
26132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26133         multiarch trunc for PowerPC32.
26134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26135         New file.
26136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26137         New file.
26138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26139         multiarch truncf for PowerPC32.
26141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26142         and roundf multiarch implementations.
26143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26144         New file.
26145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26146         file.
26147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26148         multiarch round for PowerPC32.
26149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26150         New file.
26151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26152         New file.
26153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26154         multiarch roundf for PowerPC32.
26156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26157         and floorf multiarch implementations.
26158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26159         New file.
26160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26161         file.
26162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26163         multiarch floor for PowerPC32.
26164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26165         New file.
26166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26167         New file.
26168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26169         multiarch floorf for PowerPC32.
26171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26172         and ceilf multiarch implementations.
26173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26174         New file.
26175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26176         file.
26177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26178         multiarch ceil for PowerPC32.
26179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26180         New file.
26181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26182         file.
26183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26184         multiarch ceilf for PowerPC32.
26186         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26187         is defined.
26188         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26189         FINITEF is defined.
26190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26191         and finitef multiarch implementations.
26192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26193         New file.
26194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26195         file.
26196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26197         multiarch finite for PowerPC32.
26198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26199         New file.
26200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26201         file: multiarch finitef for PowerPC32.
26203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26204         and isinff multiarch implementations.
26205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26206         file.
26207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26208         file.
26209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26210         multiarch isinf for PowerPC32.
26211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26212         New file.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26214         multiarch isinff for PowerPC32.
26216         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26217         alias when __isnan is defined.
26218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26219         and isnanf multiarch implementations.
26220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26221         file.
26222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26223         file.
26224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26225         file.
26226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26227         file.
26228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26229         multiarch isnan for PowerPC32.
26230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26231         New file.
26232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26233         New file.
26234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26235         multiarch isnanf for PowerPC32.
26237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26238         and sqrtf multiarch implementations.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26240         file.
26241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26242         file.
26243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26244         multiarch sqrt for PowerPC32.
26245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26246         file.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26248         file.
26249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26250         multiarch sqrtf for PowerPC32.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26253         and llroundf multiarch implementations.
26254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26255         New file.
26256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26257         New file.
26258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26259         New file.
26260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26261         file: multiarch llround for PowerPC32.
26262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26263         file: multiarch llroundf for PowerPC32.
26265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26266         multiarch PowerPC32 fpu implementations.
26267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26268         New file.
26269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26270         New file.
26271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26272         multiarch llrint for PowerPC32.
26273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26274         New file.
26275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26276         New file.
26277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26278         file.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26283         file.
26284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26285         file.
26286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26287         file.
26288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26289         multiarch wordcopy for PPC32.
26290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26291         wordcopy objects.
26292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26293         (__libc_ifunc_impl_list): Likewise.
26294         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26295         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26296         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26297         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26298         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26299         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26301         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26303         file.
26304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26305         file.
26306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26307         file.
26308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26309         multiarch wcscpy for PPC32.
26310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26311         multiarch objects.
26312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26313         (__libc_ifunc_impl_list): Likewise.
26314         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26315         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26316         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26317         sysdeps/powerpc/power6/wcscpy.c.
26319         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26321         file.
26322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26323         file.
26324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26325         file.
26326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26327         multiarch wcsrchr for PPC32.
26328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26329         multiarch objects.
26330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26331         (__libc_ifunc_impl_list): Likewise.
26332         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26333         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26334         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26335         sysdeps/powerpc/power6/wcsrchr.c.
26337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26338         file.
26339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26340         file.
26341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26343         multiarch wcschr for PPc32.
26344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26345         multiarch objects.
26346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26347         (__libc_ifunc_impl_list): Likewise.
26348         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26349         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26350         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26351         sysdeps/powerpc/power6/wcschr.c.
26353         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26354         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26355         file.
26356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26357         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26358         file: multiarch strchr for PPC32.
26359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26360         multiarch objects.
26361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26362         (__libc_ifunc_impl_list): Likewise.
26364         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26365         name.
26366         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26367         file.
26368         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26369         file.
26370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26371         multiarch strchrnul for PPC32.
26372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26373         multiarch objects.
26374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26375         (__libc_ifunc_impl_list): Likewise.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26378         file.
26379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26380         multiarch strncasecmp for PPC32.
26381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26382         file.
26383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26384         multiarch strncasecmp_l for PPC32.
26385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26386         strncasecmp multiarch objects.
26387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26388         (__libc_ifunc_impl_list): Likewise.
26390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26391         file.
26392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26393         multiarch strncasecmp for PPC32.
26394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26395         New file.
26396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26397         multiarch strcasecmp_l for PPC32.
26398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26399         multiarch objects.
26400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26401         (__libc_ifunc_impl_list): Likewise.
26403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26404         file.
26405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26406         file.
26407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26408         multiarch strncmp for PPC32.
26409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26410         multiarch objects.
26411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26412         (__libc_ifunc_impl_list): Likewise.
26414         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26415         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26416         file.
26417         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26418         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26420         multiarch objects.
26421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26422         (__libc_ifunc_impl_list): Likewise.
26424         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26425         file.
26426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26427         file.
26428         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26430         multiarch objects.
26431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26432         (__libc_ifunc_impl_list): Likewise.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26435         file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26437         file.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26439         multiarch rawmemchr for PPC32.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26441         multiarch objects.
26442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26443         (__libc_ifunc_impl_list): Likewise.
26445         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26446         file.
26447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26448         file.
26449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26450         file: memrchr multiarch for PPC32.
26451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26452         multiarch objects.
26453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26454         (__libc_ifunc_impl_list): Likewise.
26456         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26458         file.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26461         multiarch memchr for PPC32.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26463         multiarch objects.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26465         (__libc_ifunc_impl_list): Likewise.
26467         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26469         file.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26471         file.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26473         file: multiarch mempcpy for PPC32.
26474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26475         multiarch objects.
26476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26477         (__libc_ifunc_impl_list): Likewise.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26483         multiarch bzero for PPC32.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26485         file.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26487         file.
26488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26489         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26490         file: multiarch memset for PPC32.
26491         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26493         memset multiarch objects.
26494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26495         (__libc_ifunc_impl_list): Likewise.
26497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26498         file.
26499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26501         memcmp for PPC32.
26502         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26504         multiarch objects.
26505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26506         (__libc_ifunc_impl_list): Likewise.
26508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26509         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26511         file.
26512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26513         file.
26514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26515         file.
26516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26517         multiarch memcpy for PPC32.
26518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26519         multiarch objects.
26520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26521         (__libc_ifunc_impl_list): Likewise.
26523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26524         support multiarch for POWER/PPC32.
26525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26526         Likewise.
26527         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26529         Implies file to make multiarch folder appers before the fpu and
26530         default folder for power4 configuration.
26532 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26534         * scripts/bench.pl: Append volatile keyword to type.
26536 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26538         * sysdeps/sh/sotruss-lib.c: New file.
26539         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26541 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26545 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26547         [BZ #6810]
26548         * math/w_tgamma.c: Include <errno.h>.
26549         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26550         * math/w_tgammaf.c: Include <errno.h>.
26551         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26552         * math/w_tgammal.c: Include <errno.h>.
26553         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26554         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26555         underflow.  Add more tgamma tests.
26556         * math/auto-libm-test-out: Regenerated.
26557         * sysdeps/i386/fpu/libm-test-ulps: Update.
26558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26560         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26561         sin, sinh, tan, tanh, tgamma, y0 and y1.
26562         * math/auto-libm-test-out: Regenerated.
26563         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26564         (TEST_COND_x86): Likewise.
26565         (M_E2l): Remove macro.
26566         (M_E3l): Likewise.
26567         (M_2_SQRT_PIl): Likewise.
26568         (M_SQRT_PIl): Likewise.
26569         (M_1_DIV_El): Likewise.
26570         (log_test_data): Use AUTO_TESTS_f_f.
26571         (log10_test_data): Likewise.
26572         (log1p_test_data): Likewise.
26573         (log2_test_data): Likewise.
26574         (sin_test_data): Likewise.
26575         (sin_tonearest_test_data): Likewise.
26576         (sin_towardzero_test_data): Likewise.
26577         (sin_downward_test_data): Likewise.
26578         (sin_upward_test_data): Likewise.
26579         (sinh_test_data): Likewise.
26580         (sinh_tonearest_test_data): Likewise.
26581         (sinh_towardzero_test_data): Likewise.
26582         (sinh_downward_test_data): Likewise.
26583         (sinh_upward_test_data): Likewise.
26584         (tan_test_data): Likewise.
26585         (tan_tonearest_test_data): Likewise.
26586         (tan_towardzero_test_data): Likewise.
26587         (tan_downward_test_data): Likewise.
26588         (tan_upward_test_data): Likewise.
26589         (tanh_test_data): Likewise.
26590         (tgamma_test_data): Likewise.
26591         (y0_test_data): Likewise.
26592         (y1_test_data): Likewise.
26593         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26594         (special_real_inputs): Add pi/4.
26595         * sysdeps/i386/fpu/libm-test-ulps: Update.
26596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26598 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26600         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26601         "longjmp_target" static probes.
26602         (__longjmp): Rename to __longjmp_symbol.
26603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26604         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26605         on which longjmp to generate.
26606         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26607         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26608         probe.
26609         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26610         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26611         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26612         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26613         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26614         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26616         __longjmp_symbol based on which __longjmp to generate.
26617         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26618         probe.
26619         (setjmp): Rename to setjmp_symbol.
26620         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26621         (_setjmp): Rename to _setjmp_symbol.
26622         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26623         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26624         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26625         which setjmp to generate.
26626         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26627         "longjmp_target" static probes.
26629 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26631         * benchtests/README: Add note about output arguments.
26632         * benchtests/bench-sincos.c: Remove file.
26633         * benchtests/sincos-inputs: New file.
26634         * scripts/bench.pl: Identify output arguments and define
26635         static variables for them.
26637         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26639         [BZ #15941]
26640         * Makefile (INSTALL): Add install-plain.texi as the primary
26641         dependency.
26642         * manual/install-plain.texi: New file.
26643         * manual/install.texi: Include node directive only for
26644         non-plaintext output.
26646 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26648         * stdlib/longlong.h: Update from GCC.
26650         [BZ #6807]
26651         [BZ #15901]
26652         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26653         * math/w_j0f.c (y0f): Likewise.
26654         * math/w_j0l.c (__y0l): Likewise.
26655         * math/w_j1.c (y1): Likewise.
26656         * math/w_j1f.c (y1f): Likewise.
26657         * math/w_j1l.c (__y1l): Likewise
26658         * math/w_jn.c (yn): Likewise.
26659         * math/w_jnf.c (ynf): Likewise.
26660         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26661         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26662         value for Bessel function domain errors outside _SVID_ mode.
26663         Adjust sign of return value for yn (negative integer, 0).
26664         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26665         by zero in return for negative x and set sign appropriately for
26666         negative n.
26667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26668         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26669         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26670         expectations in error cases.
26671         (y1_test_data): Likewise.
26672         (yn_test_data): Likewise.
26673         * sysdeps/i386/fpu/libm-test-ulps: Update.
26674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26676 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26678         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26679         "64" to "64-v1".  Add "64-v2".
26680         (abi-64-options): Rename to ...
26681         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26682         (abi-64-condition): Rename to ...
26683         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26684         (abi-64-ld-soname): Rename to ...
26685         (abi-64-v1-ld-soname): ... this.
26686         (abi-64-v2-options): Define.
26687         (abi-64-v2-condition): Likewise.
26688         (abi-64-v2-ld-soname): Likewise.
26689         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26690         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26695 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26696             Alan Modra  <amodra@gmail.com>
26698         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26699         New versions for use with the ELFv2 ABI.
26700         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26701         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26702         declaration.
26703         (struct La_ppc64v2_retval): Likewise.
26704         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26705         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26706         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26707         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26708         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26709         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26710         Do not save or restore CR.
26711         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26712         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26713         return values for ELFv2 ABI.  Fix location of FPR return registers.
26714         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26715         updated values for _CALL_ELF == 2.
26716         (La_regs, La_retval, int_retval): Likewise.
26718 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26720         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26721         (FRAME_MIN_SIZE_PARM): Likewise.
26722         (FRAME_BACKCHAIN): Likewise.
26723         (FRAME_CR_SAVE): Likewise.
26724         (FRAME_LR_SAVE): Likewise.
26725         (FRAME_TOC_SAVE): Likewise.
26726         (FRAME_PARM_SAVE): Likewise.
26727         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26728         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26729         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26730         (call_mcount_parm_offset): New macro.
26731         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26732         (PROF): Use symbolic stack frame offsets.
26733         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26734         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26735         Redefine in terms of FRAME_MIN_SIZE.
26736         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26737         (_dl_profile_resolve): Likewise.  Update comment.
26738         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26739         symbols stack frame offsets.
26740         (__sigsetjmp): Likewise.
26741         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26742         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26743         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26744         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26747         (FRAME_BACKCHAIN): Remove.
26748         (FRAME_CR_SAVE): Likewise.
26749         (FRAME_LR_SAVE): Likewise.
26750         (FRAME_COMPILER_DW): Likewise.
26751         (FRAME_LINKER_DW): Likewise.
26752         (FRAME_TOC_SAVE): Likewise.
26753         (FRAME_PARM_SAVE): Likewise.
26754         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26755         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26756         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26758         (CHECK_SP): Use symbolic stack frame offsets.
26759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26760         zone" instead of caller's parameter save area for temp storage.
26761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26762         Likewise.  Also, use symbolic stack frame offsets.
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26764         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26765         our own stack frame instead of the caller's.
26766         (__socket): Use symbolic stack frame offsets.
26768 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26769             Alan Modra  <amodra@gmail.com>
26771         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26772         Define.
26773         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26774         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26775         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26776         New function.
26777         (elf_machine_fixup_plt): Call it.
26778         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26779         reloc arguments.
26780         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26781         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26782         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26783         r2 before calling target.
26785 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26786             Alan Modra  <amodra@gmail.com>
26788         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26789         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26790         versions of macros to support ELFv2 ABI.
26791         (LOCALENTRY): New macro.
26792         (ENTRY, EALIGN): Use it.
26793         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26794         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26795         fall through into ENTRY entry point.
26796         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26797         Only define if _CALL_ELF != 2.
26799         (elf_machine_matches_host): Verify ABI version matches.
26800         (RTLD_START): Use LOCALENTRY.
26801         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26802         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26803         (PLT_ENTRY_WORDS): New macro.
26804         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26805         (elf_machine_runtime_setup): Support ELFv2 ABI.
26806         (elf_machine_fixup_plt): Likewise.
26807         (elf_machine_plt_conflict): Likewise.
26808         (resolve_ifunc): Likewise.
26809         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26811         Likewise.
26812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26813         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26815         (makecontext): Support ELFv2 ABI.
26816         * elf/elf.h (EF_PPC64_ABI): Define.
26818 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26820         * sysdeps/powerpc/powerpc64/sysdep.h
26821         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26822         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26823         (ENTRY) [ASSEMBLER]: ... but instead here ...
26824         (EALIGN) [ASSEMBLER]: ... and here.
26825         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26826         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26827         (ENTRY_2) [!ASSEMBLER]: Use it.
26828         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26829         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26830         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26831         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26832         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26834         Use PPC64_LOAD_FUNCPTR.
26836         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26838 2013-12-04  Alan Modra  <amodra@gmail.com>
26840         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26841         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26842         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26843         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26846         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26847         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26848         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26849         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26850         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26852 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26855         (__makecontext): Fix incorrect CFI when backtracing out of
26856         context created via makecontext.
26857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26858         (__setcontext): Fix incorrect CFI during switch to new context.
26859         (__novec_setcontext): Likewise.
26861 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26863         [BZ #4772]
26864         * time/strptime_l.c (__strptime_internal): Allow modifiers
26865         in strptime.
26866         * time/tst-strptime.c (day_tests): Add testcase.
26868 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         * scripts/bench.pl: Skip over blank lines.
26872 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26874         [BZ #926]
26875         * manual/time.texi (Calendar Time): Clarify what timezone functions
26876         use.
26878 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26882 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26884         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26885         implementation.
26886         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26887         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26888         * debug/memset_chk.c (__memset_chk): Likewise.
26889         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26890         * debug/strncpy_chk.c: Likewise.
26892 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26894         [BZ #15268]
26895         [BZ #15425]
26896         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26897         (__ieee754_exp): For possibly underflowing results, check size of
26898         result and force underflow exception if required.
26899         * math/auto-libm-test-in: Add more tests of exp.
26900         * math/auto-libm-test-out: Regenerated.
26901         * sysdeps/i386/fpu/libm-test-ulps: Update.
26902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26904         [BZ #16283]
26905         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26906         * math/w_exp2f.c (__exp2f): Likewise.
26907         * math/w_exp2l.c (__exp2l): Likewise.
26908         * math/auto-libm-test-in: Do not allow missing errno on exp2
26909         underflow.
26910         * math/auto-libm-test-out: Regenerated.
26912 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26914         [BZ #16274]
26915         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26916         handle filename validation.
26917         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26918         (do_open): Delete.
26920 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26922         [BZ #6786]
26923         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26924         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26925         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26926         <float.h>.
26927         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26928         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26929         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26931         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26933         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26934         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26935         Add more erfc tests.
26936         * math/auto-libm-test-out: Regenerated.
26937         * sysdeps/i386/fpu/libm-test-ulps: Update.
26938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26940         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26941         exp2, expm1, j0 and j1.
26942         * math/auto-libm-test-out: Regenerated.
26943         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26944         (erfc_test_data): Likewise.
26945         (exp_test_data): Likewise.
26946         (exp_tonearest_test_data): Likewise.
26947         (exp_towardzero_test_data): Likewise.
26948         (exp_downward_test_data): Likewise.
26949         (exp_upward_test_data): Likewise.
26950         (exp10_test_data): Likewise.
26951         (exp2_test_data): Likewise.
26952         (expm1_test_data): Likewise.
26953         (j0_test_data): Likewise.
26954         (j1_test_data): Likewise.
26955         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26956         (input_flag_type): Add flag_xfail_rounding.
26957         (input_flags): Add xfail-rounding.
26958         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26959         (output_for_one_input_case): Handle flag_xfail_rounding.
26960         * sysdeps/i386/fpu/libm-test-ulps: Update.
26961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26963 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26965         [BZ #16289]
26966         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26967         division by 0.
26969 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26971         [BZ #16195]
26972         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26973         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26974         (STAP_PROBE0): New macro.
26975         (STAP_PROBE1): Likewise.
26976         (STAP_PROBE2): Likewise.
26977         (STAP_PROBE3): Likewise.
26978         (STAP_PROBE4): Likewise.
26980 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26982         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26984 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26986         * benchtests/Makefile (bench): Add sqrt.
26987         (LDLIBS-bench-sqrt): New.
26988         * benchtests/sqrt-input: New.
26990 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26992         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26993         (GAIH_EAI): Likewise.
26994         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26995         (gaih_inet): Likewise.
26996         (getaddrinfo): Don't use GAIH_EAI.
26998         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26999         (struct gaih): Remove definition.
27001 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27003         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27004         Use HERRNOP directly.
27006 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27010 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27012         * math/gen-auto-libm-tests.c (test_functions): Add more
27013         single-argument functions.
27014         (special_fill_pi_2): New function.
27015         (special_fill_minus_pi_2): Likewise.
27016         (special_fill_pi_6): Likewise.
27017         (special_fill_minus_pi_6): Likewise.
27018         (special_fill_pi_3): Likewise.
27019         (special_fill_2pi_3): Likewise.
27020         (special_fill_e): Likewise.
27021         (special_fill_1_e): Likewise.
27022         (special_fill_e_minus_1): Likewise.
27023         (special_real_inputs): Add more special inputs.
27024         (output_for_one_input_case): Do not require ERANGE on underflow to
27025         zero if round-to-nearest result does not underflow to zero, unless
27026         exact results required.
27027         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27028         atan, atanh, cbrt, cos and cosh.
27029         * math/auto-libm-test-out: Regenerated.
27030         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27031         (acos_tonearest_test_data): Likewise.
27032         (acos_towardzero_test_data): Likewise.
27033         (acos_downward_test_data): Likewise.
27034         (acos_upward_test_data): Likewise.
27035         (acosh_test_data): Likewise.
27036         (asin_test_data): Likewise.
27037         (asin_tonearest_test_data): Likewise.
27038         (asin_towardzero_test_data): Likewise.
27039         (asin_upward_test_data): Likewise.
27040         (asinh_test_data): Likewise.
27041         (atan_test_data): Likewise.
27042         (atanh_test_data): Likewise.
27043         (cbrt_test_data): Likewise.
27044         (cos_test_data): Likewise.
27045         (cos_tonearest_test_data): Likewise.
27046         (cos_towardzero_test_data): Likewise.
27047         (cos_downward_test_data): Likewise.
27048         (cos_upward_test_data): Likewise.
27049         (cosh_test_data): Likewise.
27050         (cosh_tonearest_test_data): Likewise.
27051         (cosh_towardzero_test_data): Likewise.
27052         (cosh_downward_test_data): Likewise.
27053         (cosh_upward_test_data): Likewise.
27054         * sysdeps/i386/fpu/libm-test-ulps: Update.
27055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27057 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27059         [BZ #6787]
27060         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27061         * math/w_exp10f.c (__exp10f): Likewise.
27062         * math/w_exp10l.c (__exp10l): Likewise.
27063         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27064         errno settings in existing tests.
27066         [BZ #14032]
27067         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27068         precision control set to double precision.
27069         * sysdeps/i386/fpu/w_sqrt.c: New file.
27070         * math/auto-libm-test-in: Add more tests.
27071         * math/auto-libm-test-out: Update.
27073         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27074         (sqrt_test_tonearest): New function.
27075         (sqrt_towardzero_test_data): New variable.
27076         (sqrt_test_towardzero): New function.
27077         (sqrt_downward_test_data): New variable.
27078         (sqrt_test_downward): New function.
27079         (sqrt_upward_test_data): New variable.
27080         (sqrt_test_upward): New function.
27081         (main): Call the new functions.
27083         * math/gen-auto-libm-tests.c: New file.
27084         * math/auto-libm-test-in: Likewise.
27085         * math/auto-libm-test-out: New generated file.
27086         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27087         variables.
27088         (%beautify): Add generated representations of zero.
27089         (top level): Set $auto_input and call parse_auto_input.
27090         (beautify): Remove trailing "f" from hex float constants.
27091         (parse_args): Handle XFAIL_TEST.
27092         (convert_condition): New function.
27093         (or_value): Likewise.
27094         (or_cond_value): Likewise.
27095         (generate_testfile): Handle AUTO_TESTS_* lines.
27096         (parse_auto_input): New function.
27097         * math/libm-test.inc (XFAIL_TEST): New macro.
27098         (ERRNO_UNCHANGED): Update value.
27099         (ERRNO_EDOM): Likewise.
27100         (ERRNO_ERANGE): Likewise.
27101         (IGNORE_RESULT): Likewise.
27102         (TEST_COND_flt_32): New macro.
27103         (TEST_COND_dbl_64): Likewise.
27104         (TEST_COND_ldbl_96_intel): Likewise.
27105         (TEST_COND_ldbl_96_m68k): Likewise.
27106         (TEST_COND_ldbl_128): Likewise.
27107         (TEST_COND_ldbl_128ibm): Likewise.
27108         (TEST_COND_long32): Likewise.
27109         (TEST_COND_long64): Likewise.
27110         (TEST_COND_before_rounding): Likewise.
27111         (TEST_COND_after_rounding): Likewise.
27112         (enable_test): Handle XFAIL_TEST flag.
27113         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27114         with finite results.
27115         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27116         auto-libm-test-out.
27118 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27119             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27121         [BZ #16214]
27122         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27123         __tls_get_addr_internal instead of __tls_get_offset in order to
27124         avoid GOT pointer dependency.  Make rtld export
27125         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27126         __tls_get_addr since we are a __tls_get_offset platform.
27127         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27128         GOT pointer being set up before.
27129         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27131 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27133         * manual/math.texi (Errors in Math Functions): Document accuracy
27134         goals.
27136         [BZ #15004]
27137         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27138         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27140         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27141         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27142         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27143         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27144         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27145         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27146         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27147         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27148         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27149         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27150         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27151         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27152         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27154         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27155         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27156         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27157         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27158         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27159         Likewise.
27160         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27161         Likewise.
27162         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27163         Likewise.
27164         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27165         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27166         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27167         atomic-feupdateenv and flt-rounds.
27168         * sysdeps/powerpc/nofpu/Versions (libc): Add
27169         __atomic_feholdexcept, __atomic_feclearexcept,
27170         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27171         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27172         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27173         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27174         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27175         here.
27176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27177         Update.
27179         * manual/arith.texi (FP Exceptions): Document that exceptions may
27180         not be raised when matherr is used.
27181         (Math Error Reporting): Document overflow in directed rounding
27182         modes.  Document that errno may not be set when finite values are
27183         returned on overflow.  Document intent to set errno on underflow
27184         only for underflow to zero.
27186         [BZ #16271]
27187         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27188         round-to-nearest then adjust result for other rounding modes.
27189         * include/fenv.h (fegetround): Use libm_hidden_proto.
27190         * math/fegetround.c (fegetround): Use libm_hidden_def.
27191         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27192         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27193         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27195         Likewise.
27196         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27198         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27199         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27201 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27203         [BZ #16077]
27204         * nss/Versions (libnss_files): Add
27205         _nss_files_gethostbyname3_r.
27206         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27207         New function.
27208         (HOST_DB_LOOKUP): Remove macro.
27209         (_nss_files_gethostbyname_r): Implement function without the
27210         HOST_DB_LOOKUP macro.
27211         (_nss_files_gethostbyname2_r): Likewise.
27213 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27215         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27217 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27219         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27220         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27221         warning.
27223 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27225         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27226         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27227         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27228         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27229         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27230         __fe_nomask_env_priv and attribute_hidden.
27231         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27232         (libc_feupdateenv_test_ppc): Likewise.
27233         (libc_feresetround_ppc): Likewise.
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27235         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27236         compat_symbol macro.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27238         (__fe_nomask_env): Likewise.
27239         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27241 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27243         * string/Makefile: Remove ifunc tests.
27244         * string/test-string.h: Define TEST_IFUNC.
27245         * string/test-bcopy-ifunc.c: Remove.
27246         * string/test-bzero-ifunc.c: Likewise.
27247         * string/test-memccpy-ifunc.c: Likewise.
27248         * string/test-memchr-ifunc.c: Likewise.
27249         * string/test-memcmp-ifunc.c: Likewise.
27250         * string/test-memcpy-ifunc.c: Likewise.
27251         * string/test-memmem-ifunc.c: Likewise.
27252         * string/test-memmove-ifunc.c: Likewise.
27253         * string/test-mempcpy-ifunc.c: Likewise.
27254         * string/test-memrchr-ifunc.c: Likewise.
27255         * string/test-memset-ifunc.c: Likewise.
27256         * string/test-rawmemchr-ifunc.c: Likewise.
27257         * string/test-stpcpy-ifunc.c: Likewise.
27258         * string/test-stpncpy-ifunc.c: Likewise.
27259         * string/test-strcasecmp-ifunc.c: Likewise.
27260         * string/test-strcasestr-ifunc.c: Likewise.
27261         * string/test-strcat-ifunc.c: Likewise.
27262         * string/test-strchr-ifunc.c: Likewise.
27263         * string/test-strchrnul-ifunc.c: Likewise.
27264         * string/test-strcmp-ifunc.c: Likewise.
27265         * string/test-strcpy-ifunc.c: Likewise.
27266         * string/test-strcspn-ifunc.c: Likewise.
27267         * string/test-strlen-ifunc.c: Likewise.
27268         * string/test-strncasecmp-ifunc.c: Likewise.
27269         * string/test-strncat-ifunc.c: Likewise.
27270         * string/test-strncmp-ifunc.c: Likewise.
27271         * string/test-strncpy-ifunc.c: Likewise.
27272         * string/test-strnlen-ifunc.c: Likewise.
27273         * string/test-strpbrk-ifunc.c: Likewise.
27274         * string/test-strrchr-ifunc.c: Likewise.
27275         * string/test-strspn-ifunc.c: Likewise.
27276         * string/test-strstr-ifunc.c: Likewise.
27278 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27280         * benchtests/Makefile: Remove ifunc tests.
27281         * benchtests/bench-string.h: Define TEST_IFUNC.
27282         * benchtests/bench-bcopy-ifunc.c: Remove.
27283         * benchtests/bench-bzero-ifunc.c: Likewise.
27284         * benchtests/bench-memccpy-ifunc.c: Likewise.
27285         * benchtests/bench-memchr-ifunc.c: Likewise.
27286         * benchtests/bench-memcmp-ifunc.c: Likewise.
27287         * benchtests/bench-memcpy-ifunc.c: Likewise.
27288         * benchtests/bench-memmem-ifunc.c: Likewise.
27289         * benchtests/bench-memmove-ifunc.c: Likewise.
27290         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27291         * benchtests/bench-memrchr-ifunc.c: Likewise.
27292         * benchtests/bench-memset-ifunc.c: Likewise.
27293         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27294         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27295         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27296         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27297         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27298         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27299         * benchtests/bench-strcat-ifunc.c: Likewise.
27300         * benchtests/bench-strchr-ifunc.c: Likewise.
27301         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27302         * benchtests/bench-strcmp-ifunc.c: Likewise.
27303         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27304         * benchtests/bench-strcpy-ifunc.c: Likewise.
27305         * benchtests/bench-strcspn-ifunc.c: Likewise.
27306         * benchtests/bench-strlen-ifunc.c: Likewise.
27307         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27308         * benchtests/bench-strncat-ifunc.c: Likewise.
27309         * benchtests/bench-strncmp-ifunc.c: Likewise.
27310         * benchtests/bench-strncpy-ifunc.c: Likewise.
27311         * benchtests/bench-strnlen-ifunc.c: Likewise.
27312         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27313         * benchtests/bench-strrchr-ifunc.c: Likewise.
27314         * benchtests/bench-strsep-ifunc.c: Likewise.
27315         * benchtests/bench-strspn-ifunc.c: Likewise.
27316         * benchtests/bench-strstr-ifunc.c: Likewise.
27318 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27320         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27322 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27324         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27325         * rt/aio.h: Likewise.
27326         * sysdeps/gnu/bits/utmp.h: Likewise.
27327         * sysdeps/gnu/bits/utmpx.h: Likewise.
27328         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27329         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27330         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27331         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27332         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27333         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27334         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27335         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27336         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27337         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27338         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27339         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27340         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27342         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27343         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27344         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27345         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27346         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27347         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27348         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27349         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27350         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27351         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27352         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27354         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27355         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27356         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27357         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27358         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27359         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27360         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27361         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27362         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27363         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27364         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27365         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27366         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27367         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27368         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27369         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27371 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27373         [BZ #16245]
27374         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27375         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27377 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27379         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27380         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27381         Likewise.
27383 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27386         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27387         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27388         (__fesetround): Remove define.
27389         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27390         rounding and exceptions handling.
27391         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27392         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27393         (__fe_nomask_env): Likewise.
27394         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27395         __fegetround instead of fegetround.
27396         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27399 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27401         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27402         it's there.
27404         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27406 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27408         [BZ #11157]
27409         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27410         (encrypt_r): Likewise.
27411         * malloc/obstack.h (obstack_free): Likewise.
27412         * posix/unistd.h (encrypt): Likewise.
27414 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27416         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27417         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27418         DL_CALL_DT_FINI() that call the functions directly.
27419         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27420         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27421         * elf/dl-fini.c: Likewise.
27423 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27425         * malloc/hooks.c (memalign_check): Add alignment rounding.
27426         * malloc/malloc.c (_mid_memalign): New function.
27427         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27428         Implement by calling _mid_memalign.
27429         * manual/probes.texi (Memory Allocation Probes): Remove
27430         memory_valloc_retry and memory_pvalloc_retry.
27432 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27434         * locale/programs/locarchive.c (open_archive): Add const
27435         qualifier to ARCHIVEFNAME and copy default fname to
27436         DEFAULT_FNAME.
27438         [BZ #15601]
27439         * libio/tst-widetext.input: Rename Oriya to Odia.
27440         * locale/iso-639.def: Likewise.
27442         * manual/probes.texi (Mathematical Function Probes): Add
27443         documentation for sin, cos, asin and acos probes.
27444         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27445         (__sin32): Add slowasin probe.
27446         (__cos32): Add slowacos probe.
27447         (__mpsin): Add slowsin probe.
27448         (__mpcos): Add slowcos probe.
27450 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27452         [BZ #15483]
27453         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27454         thread-local __sim_exceptions_thread and global
27455         __sim_exceptions_global.
27456         (__sim_disabled_exceptions): Change to thread-local
27457         __sim_disabled_exceptions_thread and global
27458         __sim_disabled_exceptions_global.
27459         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27460         and global __sim_round_mode_global.
27461         (__simulate_exceptions): Use thread-local floating-point state and
27462         set global state from it as needed.
27463         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27464         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27465         __sim_round_mode_thread.
27466         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27467         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27468         and global __sim_exceptions_global.
27469         (__sim_disabled_exceptions): Change to thread-local
27470         __sim_disabled_exceptions_thread and global
27471         __sim_disabled_exceptions_global.
27472         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27473         and global __sim_round_mode_global.
27474         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27475         (SIM_SET_GLOBAL): Likewise.
27476         * sysdeps/powerpc/soft-fp/sfp-machine.h
27477         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27478         __sim_round_mode_thread.
27479         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27480         __sim_disabled_exceptions_thread.
27481         (__sim_exceptions): Change to __sim_exceptions_thread.
27482         (__sim_disabled_exceptions): Change to
27483         __sim_disabled_exceptions_thread.
27484         (__sim_round_mode): Change to __sim_round_mode_thread.
27485         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27486         thread-local floating-point state and set global state from it as
27487         needed.
27488         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27489         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27490         (__sim_disabled_exceptions): Remove extern declaration.
27491         (feenableexcept): Use thread-local floating-point state and set
27492         global state from it as needed.
27493         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27494         extern declaration.
27495         (__sim_disabled_exceptions): Likewise.
27496         (__sim_round_mode): Likewise.
27497         (__fegetenv): Use thread-local floating-point state.
27498         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27499         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27500         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27501         floating-point state and set global state from it as needed.
27502         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27503         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27504         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27505         Likewise.
27506         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27507         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27508         Likewise.
27509         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27510         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27511         Use __sim_round_mode_thread.
27512         * math/test-fenv-tls.c: New file.
27513         * math/Makefile (tests): Add test-fenv-tls.
27514         ($(objpfx)test-fenv-tls): Depend on
27515         $(common-objpfx)nptl/libpthread.so.
27517 2013-11-19  Andreas Schwab  <schwab@suse.de>
27519         * locale/programs/locale.c (show_info): Decode wordarray elements.
27520         * locale/categories.def (LC_MONETARY): Add element for
27521         _NL_MONETARY_CRNCYSTR.
27522         * locale/C-monetary.c (conversion_rate): New variable.
27523         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27524         element.
27526 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27528         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27529         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27531 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27533         * elf/Makefile (tst-auxv): New test.
27534         * elf/tst-auxv.c: New
27535         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27537 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27539         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27540         (hidden_proto): Caller changed.
27541         (hidden_tls_proto): New macro.
27542         (libc_hidden_tls_proto): Likewise.
27543         (rtld_hidden_tls_proto): Likewise.
27544         (libm_hidden_tls_proto): Likewise.
27545         (libresolv_hidden_tls_proto): Likewise.
27546         (librt_hidden_tls_proto): Likewise.
27547         (libdl_hidden_tls_proto): Likewise.
27548         (libnss_files_hidden_tls_proto): Likewise.
27549         (libnsl_hidden_tls_proto): Likewise.
27550         (libnss_nisplus_hidden_tls_proto): Likewise.
27551         (libutil_hidden_tls_proto): Likewise.
27553 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27555         [BZ #10253]
27556         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27557         (decompose_rpath): Defer expansion to fillin_rpath.
27558         (_dl_init_paths): Pass linkmap to fillin_rpath.
27560 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27562         * benchtests/Makefile: Add strsep.
27563         * benchtests/bench-strsep.c: New file: strsep benchtest.
27564         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27566 2013-11-18  Andreas Schwab  <schwab@suse.de>
27568         * locale/programs/locale.c (show_info) [case byte]: Check for
27569         '\377' instead of '\177'.
27570         * locale/C-monetary.c (not_available): Always use "\377".
27571         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27572         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27573         detect unavailable sign_posn locale elements.
27574         * locale/localeconv.c (__localeconv): For grouping and
27575         mon_grouping handle "\177" and "\377" like no grouping.
27576         (INT_ELEM): New macro.  Use it to set all numeric members.
27577         * locale/programs/ld-monetary.c (monetary_read)
27578         <tok_mon_grouping>: Normalize single -1 to the empty string.
27579         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27580         Likewise.
27582 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27584         [BZ #16055]
27585         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27586         when we match (nil).
27587         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27589 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27591         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27592         (NO_TEST_INLINE): Update value.
27593         (ERRNO_UNCHANGED): Likewise.
27594         (ERRNO_EDOM): Likewise.
27595         (ERRNO_ERANGE): Likewise.
27596         (IGNORE_RESULT): Likewise.
27597         (check_float_internal): Check signs of NaN results if
27598         TEST_NAN_SIGN used.
27599         (check_complex): Pass TEST_NAN_SIGN flag through to second
27600         check_float_internal call.
27601         (copysign_test_data): Add tests with quiet NaNs as second
27602         argument.  Use TEST_NAN_SIGN.
27603         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27604         TEST_NAN_SIGN.
27605         (signbit_test_data): Add tests of quiet NaN argument.
27606         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27608         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27609         $ignore_result.
27610         (parse_args): Handle function results specified as IGNORE.
27611         * math/libm-test.inc (IGNORE_RESULT): New macro.
27612         (check_float_internal): Do not check numerical result if flag
27613         IGNORE_RESULT set.
27614         (check_complex): Pass through IGNORE_RESULT to second
27615         check_float_internal call.
27616         (check_int): Do not check numerical result if flag IGNORE_RESULT
27617         set.
27618         (check_long): Likewise.
27619         (check_bool): Likewise.
27620         (check_longlong): Likewise.
27621         (lrint_test_data): Add tests of infinite and NaN arguments.
27622         (lrint_tonearest_test_data): Likewise.
27623         (lrint_towardzero_test_data): Likewise.
27624         (lrint_downward_test_data): Likewise.
27625         (lrint_upward_test_data): Likewise.
27626         (llrint_test_data): Likewise.
27627         (llrint_tonearest_test_data): Likewise.
27628         (llrint_towardzero_test_data): Likewise.
27629         (llrint_downward_test_data): Likewise.
27630         (llrint_upward_test_data): Likewise.
27631         (lround_test_data): Likewise.
27632         (llround_test_data): Likewise.
27634         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27635         (ERRNO_UNCHANGED): Update value.
27636         (ERRNO_EDOM): Likewise.
27637         (ERRNO_ERANGE): Likewise.
27638         (NO_TEST_INLINE_FLOAT): New macro.
27639         (NO_TEST_INLINE_DOUBLE): Likewise.
27640         (enable_test): New function.
27641         (RUN_TEST_f_f): Check enable_test before running test.
27642         (RUN_TEST_2_f): Likewise.
27643         (RUN_TEST_fff_f): Likewise.
27644         (RUN_TEST_c_f): Likewise.
27645         (RUN_TEST_f_f1): Likewise.
27646         (RUN_TEST_fF_f1): Likewise.
27647         (RUN_TEST_fI_f1): Likewise.
27648         (RUN_TEST_ffI_f1): Likewise.
27649         (RUN_TEST_c_c): Likewise.
27650         (RUN_TEST_cc_c): Likewise.
27651         (RUN_TEST_f_i): Likewise.
27652         (RUN_TEST_f_i_tg): Likewise.
27653         (RUN_TEST_ff_i_tg): Likewise.
27654         (RUN_TEST_f_b): Likewise.
27655         (RUN_TEST_f_b_tg): Likewise.
27656         (RUN_TEST_f_l): Likewise.
27657         (RUN_TEST_f_L): Likewise.
27658         (RUN_TEST_fFF_11): Likewise.
27659         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27660         conditionals.
27661         (cosh_test_data): Likewise.
27662         (exp_test_data): Likewise.
27663         (expm1_test_data): Likewise.
27664         (hypot_test_data): Likewise.
27665         (pow_test_data): Likewise.
27666         (sinh_test_data): Likewise.
27667         (tanh_test_data): Likewise.
27668         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27669         flags argument.
27671         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27672         tests with quiet NaN input and output.
27673         (acosh_test_data): Likewise.
27674         (asin_test_data): Likewise.
27675         (asinh_test_data): Likewise.
27676         (atan_test_data): Likewise.
27677         (atanh_test_data): Likewise.
27678         (atan2_test_data): Likewise.
27679         (cbrt_test_data): Likewise.
27680         (cos_test_data): Likewise.
27681         (cosh_test_data): Likewise.
27682         (erf_test_data): Likewise.
27683         (erfc_test_data): Likewise.
27684         (exp_test_data): Likewise.
27685         (exp10_test_data): Likewise.
27686         (exp2_test_data): Likewise.
27687         (expm1_test_data): Likewise.
27688         (hypot_test_data): Likewise.
27689         (j0_test_data): Likewise.
27690         (j1_test_data): Likewise.
27691         (jn_test_data): Likewise.
27692         (lgamma_test_data): Likewise.
27693         (log_test_data): Likewise.
27694         (log10_test_data): Likewise.
27695         (log1p_test_data): Likewise.
27696         (log2_test_data): Likewise.
27697         (pow_test_data): Likewise.
27698         (scalb_test_data): Likewise.
27699         (sin_test_data): Likewise.
27700         (sincos_test_data): Likewise.
27701         (sinh_test_data): Likewise.
27702         (tan_test_data): Likewise.
27703         (tanh_test_data): Likewise.
27704         (tgamma_test_data): Likewise.
27705         (y0_test_data): Likewise.
27706         (y1_test_data): Likewise.
27707         (yn_test_data): Likewise.
27709         [BZ #16167]
27710         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27711         argument being NaN and avoid computations with second argument in
27712         that case.
27713         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27714         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27715         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27717 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27719         * locale/iso-639.def: Add Chitwani Tharu (the).
27721 2013-11-14  Andreas Schwab  <schwab@suse.de>
27723         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27724         word instead of empty string.
27726 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27729         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27731         (__fe_nomask_env): Likewise.
27733 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27735         * benchtests/bench-timing.h: Include time.h.
27737 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27739         [BZ #15997]
27740         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27741         to 3.4.0 for x32.
27742         * sysdeps/unix/sysv/linux/configure: Regenerated.
27744 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27746         [BZ #16151]
27747         * stdlib/strtod_l.c (round_and_return): Do not consider
27748         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27749         exponent one less than half the least subnormal exponent.
27750         * stdlib/test-strtod-round-data: Add more tests.
27751         * stdlib/tst-strtod-round.c (tests): Regenerated.
27753 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27755         [BZ #14143]
27756         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27757         (__fe_mask_env): Likewise.
27758         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27759         libm_hidden_proto and add function prototype.
27760         (__fe_mask_env): Add function prototype.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27762         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27764         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27766         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27768 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27770         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27771         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27773 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27775         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27776         of htab_find_slot().
27778 2013-11-11  David S. Miller  <davem@davemloft.net>
27780         [BZ #16150]
27781         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27782         symbol in the non-vis3 case in static builds.
27783         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27784         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27785         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27786         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27788 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27790         [BZ #387]
27791         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27792         it is empty.
27794 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27796         * benchtests/Makefile: Add bench-strtod.
27797         * benchtests/bench-strtod.c: New file: strtod benchtest
27799 2013-11-11  Andreas Schwab  <schwab@suse.de>
27801         [BZ #16153]
27802         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27803         terminating NUL in key length.
27805 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27808         Add artificial ODP entry for vDSO symbol for PPC64.
27809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27810         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27812 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27814         [BZ #15374]
27815         * nss/getent.c (services_keys): Recognize services starting with digit.
27817 2013-11-06  David S. Miller  <davem@davemloft.net>
27819         [BZ #15985]
27820         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27821         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27823 2013-11-06  Will Newton  <will.newton@linaro.org>
27825         * manual/memory.texi (Malloc Examples): Remove register
27826         keyword from examples.
27828 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27830         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27832 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27834         [BZ #6981]
27835         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27836         depending on [__GCC_IEC_559 > 0].
27837         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27838         depending on [__GCC_IEC_559_COMPLEX > 0].
27840 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27842         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27843         to iso-639.def.
27845 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27847         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27849 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27851         [BZ #16112]
27852         * malloc/malloc (malloc_info): Do not handle first bin as
27853         special case.
27855 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27857         * locale/iso-639.def: Add Central Nahuatl (nhn).
27859 2013-11-01  Bruno Haible  <bruno@clisp.org>
27861         [BZ #7003]
27862         * manual/math.texi (BSD Random): Specify range upper bound as
27863         in POSIX.
27865 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27867         * locale/iso-639.def: Add Meadow Mari (mhr).
27869 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27871         [BZ #14752], [BZ #15763]
27872         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27873         Validate name.
27874         * rt/tst_shm.c: Add test for escaping directory.
27876 2013-10-31  Andreas Schwab  <schwab@suse.de>
27878         [BZ #15917]
27879         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27880         followed by 'x' as part of digit sequence.
27881         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27883 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27885         [BZ #16037]
27886         * configure.ac: allow GNU Make 4.0 and greater.
27887         * configure: Regenerated.
27889 2013-10-30  Will Newton  <will.newton@linaro.org>
27891         [BZ #16038]
27892         * malloc/hooks.c (memalign_check): Limit alignment to the
27893         maximum representable power of two.
27894         * malloc/malloc.c (__libc_memalign): Likewise.
27895         * malloc/tst-memalign.c (do_test): Add test for very
27896         large alignment values.
27897         * malloc/tst-posix_memalign.c (do_test): Likewise.
27899 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27901         [BZ #11087]
27902         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27903         (munmap_chunk): Likewise.
27904         (mremap_chunk): Likewise.
27906 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27908         [BZ #15799]
27909         * stdlib/div.c (div): Remove obsolete code.
27910         * stdlib/ldiv.c (ldiv): Likewise.
27911         * stdlib/lldiv.c (lldiv): Likewise.
27913 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27915         [BZ #16071]
27916         * nss/nss_files/files-XXX.c (get_contents_ret): New
27917         enumerator.
27918         (get_contents): New function.
27919         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27921 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27923         * configure.in: Moved to ...
27924         * configure.ac: ... here. Change reference to configure.in
27925         to configure.ac.
27926         * sysdeps/arm/preconfigure.ac: ... here.
27927         configure.in to configure.ac.
27928         * sysdeps/gnu/configure.in: Moved to ...
27929         * sysdeps/gnu/configure.ac: ... here.
27930         * sysdeps/i386/configure.in: Moved to ...
27931         * sysdeps/i386/configure.ac: ... here.
27932         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27933         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27934         * sysdeps/mach/configure.in: Moved to ...
27935         * sysdeps/mach/configure.ac: ... here.
27936         * sysdeps/mach/hurd/configure.in: Moved to ...
27937         * sysdeps/mach/hurd/configure.ac: ... here.
27938         * sysdeps/powerpc/configure.in: Moved to ...
27939         * sysdeps/powerpc/configure.ac: ... here.
27940         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27941         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27942         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27943         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27944         * sysdeps/s390/s390-32/configure.in: Moved to ...
27945         * sysdeps/s390/s390-32/configure.ac: ... here.
27946         * sysdeps/s390/s390-64/configure.in: Moved to ...
27947         * sysdeps/s390/s390-64/configure.ac: ... here.
27948         * sysdeps/sh/configure.in: Moved to ...
27949         * sysdeps/sh/configure.ac: ... here.
27950         * sysdeps/sparc/configure.in: Moved to ...
27951         * sysdeps/sparc/configure.ac: ... here.
27952         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27953         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27954         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27955         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27956         * sysdeps/x86_64/configure.in: Moved to ...
27957         * sysdeps/x86_64/configure.ac: ... here.
27958         * sysdeps/x86_64/preconfigure.in: Moved to ...
27959         * sysdeps/x86_64/preconfigure.ac: ... here.
27960         * aclocal.m4: Change reference to configure.in to configure.ac.
27961         * config.h.in: Likewise.
27962         * manual/install.texi: Likewise.
27963         * manual/maint.texi: Likewise.
27964         * Makefile: Likewise.
27965         * malloc/Makefile: Likewise.
27966         * nscd/Makefile: Likewise.
27967         * Makeconfig: Change reference to configure.in and
27968         preconfigure.in to configure.ac and preconfigure.ac
27969         respectively.
27970         * INSTALL: Regenerated.
27971         * configure: Likewise.
27972         * sysdeps/gnu/configure: Likewise.
27973         * sysdeps/i386/configure: Likewise.
27974         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27975         * sysdeps/mach/configure: Likewise.
27976         * sysdeps/mach/hurd/configure: Likewise.
27977         * sysdeps/powerpc/configure: Likewise.
27978         * sysdeps/powerpc/powerpc32/configure: Likewise.
27979         * sysdeps/powerpc/powerpc64/configure: Likewise.
27980         * sysdeps/s390/s390-32/configure: Likewise.
27981         * sysdeps/s390/s390-64/configure: Likewise.
27982         * sysdeps/sh/configure: Likewise.
27983         * sysdeps/sparc/configure: Likewise.
27984         * sysdeps/unix/sysv/linux/configure: Likewise.
27985         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27986         * sysdeps/x86_64/configure: Likewise.
27987         * sysdeps/x86_64/preconfigure: Likewise.
27989 2013-10-29  Andreas Schwab  <schwab@suse.de>
27991         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27993 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27995         * benchtests/pow-inputs: Add new inputs.
27997         * benchtests/exp-inputs: Add new inputs.
27999         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28000         conditional check for return value.
28001         (__cos32): Likewise.
28003 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28005         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28006         to provide a boost for large inputs with word alignment.
28007         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28008         implementation based on optimized PPC64 strcpy.
28009         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28010         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28011         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28012         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28014 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28016         [BZ #2801]
28017         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28019 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28021         [BZ #14876]
28022         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28023         * time/tst-strptime.c (day_tests): Add testcase.
28025 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28027         [BZ #14029]
28028         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28030 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28032         [BZ #16074]
28033         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28034         MAP_FAILED on error.
28036 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28038         [BZ #16072]
28039         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28040         heap for large requests.
28042 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28044         [BZ #9954]
28045         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28046         result if the result has no associated interface.
28047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28048         interface for all 127.X.Y.Z addresses.
28050 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28052         * locale/iso-639.def: Add Ligurian (lij)
28054 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28056         [BZ #15825]
28057         * sunrpc/rpc_main.c: Document rpcgen -5.
28059 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28061         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28063 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28065         [BZ #10278]
28066         * posix/glob.c: Match only directories when trailing slash is present.
28067         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28068         (main): Add testcase.
28070 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28072         [BZ #15670]
28073         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28075 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28077         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28078         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28079         AUTH_DES and cindex for FIPS 140-2.
28080         (DES Encryption): Add cindex FIPS 46-3.
28082         * locale/locarchive.h (struct locarhandle): Add fname.
28083         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28084         if an optional argument was specified to --list-archive,
28085         otherwise NULL.
28086         * locale/programs/locarchive.c (show_archive_content): Take new
28087         argument fname and pass it via ah.fname to open_archive.
28088         * locale/programs/localedef.h: Update decl.
28089         (open_archive): If AH->fname is non-null, open that file
28090         rather than the default file name, and don't ignore ENOENT.
28091         (create_archive): Set AH.fname to NULL.
28092         (delete_locales_from_archive): Likewise.
28093         (add_locales_to_archive): Likewise.
28094         * locale/programs/locfile.c (write_all_categories): Likewise.
28096 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28097             Aldy Hernandez  <aldyh@redhat.com>
28099         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28100         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28101         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28102         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28103         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28104         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28107         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28108         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28109         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28110         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28112         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28113         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28114         Likewise.
28115         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28116         Likewise.
28117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28118         Likewise.
28119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28120         Likewise.
28121         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28122         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28123         Likewise.
28124         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28125         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28126         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28127         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28128         Likewise.
28129         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28130         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28131         * sysdeps/powerpc/preconfigure: Likewise.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28133         Likewise.
28134         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28135         Replace contents of file by #include of <fenv_libc.h>.
28136         * sysdeps/powerpc/soft-fp/sfp-machine.h
28137         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28138         and <sys/prctl.h>.
28139         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28152         Allow copysignl PLT reference to be missing.
28154 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28155             Joseph Myers  <joseph@codesourcery.com
28157         [BZ #15948]
28158         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28159         single character.
28160         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28162 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28164         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28165         * elf/tst-tls1.c: Likewise.
28166         * elf/tst-tls10.h: Likewise.
28167         * elf/tst-tls14.c: Likewise.
28168         * elf/tst-tls2.c: Likewise.
28169         * elf/tst-tls3.c: Likewise.
28170         * elf/tst-tls4.c: Likewise.
28171         * elf/tst-tls5.c: Likewise.
28172         * elf/tst-tls6.c: Likewise.
28173         * elf/tst-tls7.c: Likewise.
28174         * elf/tst-tls8.c: Likewise.
28175         * elf/tst-tls9.c: Likewise.
28176         * elf/tst-tlsmod1.c: Likewise.
28177         * elf/tst-tlsmod13.c: Likewise.
28178         * elf/tst-tlsmod13a.c: Likewise.
28179         * elf/tst-tlsmod14a.c: Likewise.
28180         * elf/tst-tlsmod16a.c: Likewise.
28181         * elf/tst-tlsmod16b.c: Likewise.
28182         * elf/tst-tlsmod2.c: Likewise.
28183         * elf/tst-tlsmod3.c: Likewise.
28184         * elf/tst-tlsmod4.c: Likewise.
28185         * elf/tst-tlsmod5.c: Likewise.
28186         * elf/tst-tlsmod6.c: Likewise.
28188 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28190         [BZ #12486]
28191         * malloc/malloc.c: remove checks for statistics.
28193 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28195         [BZ #15277]
28196         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28197         * inet/tst-network.c: Add testcase.
28199 2013-10-17  Andreas Schwab  <schwab@suse.de>
28201         [BZ #15218]
28202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28203         to determine canonical name.
28205 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28207         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28208         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28212         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28213         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28215         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28218         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28219         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28221         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28222         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28224         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28225         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28226         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28230         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28231         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28232         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28233         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28234         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28235         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28236         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28237         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28238         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28239         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28240         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28241         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28242         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28243         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28247         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28248         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28249         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28250         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28251         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28252         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28253         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28254         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28255         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28256         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28257         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28258         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28259         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28260         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28261         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28262         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28264         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28266 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28268         [BZ #16041]
28269         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28270         make result into a quiet NaN.
28272 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28274         * soft-fp/adddf3.c: Fix horizontal whitespace.
28275         * soft-fp/addsf3.c: Likewise.
28276         * soft-fp/addtf3.c: Likewise.
28277         * soft-fp/divdf3.c: Likewise.
28278         * soft-fp/divsf3.c: Likewise.
28279         * soft-fp/divtf3.c: Likewise.
28280         * soft-fp/double.h: Likewise.
28281         * soft-fp/eqdf2.c: Likewise.
28282         * soft-fp/eqsf2.c: Likewise.
28283         * soft-fp/eqtf2.c: Likewise.
28284         * soft-fp/extenddftf2.c: Likewise.
28285         * soft-fp/extended.h: Likewise.
28286         * soft-fp/extendsfdf2.c: Likewise.
28287         * soft-fp/extendsftf2.c: Likewise.
28288         * soft-fp/extendxftf2.c: Likewise.
28289         * soft-fp/fixdfdi.c: Likewise.
28290         * soft-fp/fixdfsi.c: Likewise.
28291         * soft-fp/fixdfti.c: Likewise.
28292         * soft-fp/fixsfdi.c: Likewise.
28293         * soft-fp/fixsfsi.c: Likewise.
28294         * soft-fp/fixsfti.c: Likewise.
28295         * soft-fp/fixtfdi.c: Likewise.
28296         * soft-fp/fixtfsi.c: Likewise.
28297         * soft-fp/fixtfti.c: Likewise.
28298         * soft-fp/fixunsdfdi.c: Likewise.
28299         * soft-fp/fixunsdfsi.c: Likewise.
28300         * soft-fp/fixunsdfti.c: Likewise.
28301         * soft-fp/fixunssfdi.c: Likewise.
28302         * soft-fp/fixunssfsi.c: Likewise.
28303         * soft-fp/fixunssfti.c: Likewise.
28304         * soft-fp/fixunstfdi.c: Likewise.
28305         * soft-fp/fixunstfsi.c: Likewise.
28306         * soft-fp/fixunstfti.c: Likewise.
28307         * soft-fp/floatdidf.c: Likewise.
28308         * soft-fp/floatdisf.c: Likewise.
28309         * soft-fp/floatditf.c: Likewise.
28310         * soft-fp/floatsidf.c: Likewise.
28311         * soft-fp/floatsisf.c: Likewise.
28312         * soft-fp/floatsitf.c: Likewise.
28313         * soft-fp/floattidf.c: Likewise.
28314         * soft-fp/floattisf.c: Likewise.
28315         * soft-fp/floattitf.c: Likewise.
28316         * soft-fp/floatundidf.c: Likewise.
28317         * soft-fp/floatundisf.c: Likewise.
28318         * soft-fp/floatunditf.c: Likewise.
28319         * soft-fp/floatunsidf.c: Likewise.
28320         * soft-fp/floatunsisf.c: Likewise.
28321         * soft-fp/floatunsitf.c: Likewise.
28322         * soft-fp/floatuntidf.c: Likewise.
28323         * soft-fp/floatuntisf.c: Likewise.
28324         * soft-fp/floatuntitf.c: Likewise.
28325         * soft-fp/fmadf4.c: Likewise.
28326         * soft-fp/fmasf4.c: Likewise.
28327         * soft-fp/fmatf4.c: Likewise.
28328         * soft-fp/gedf2.c: Likewise.
28329         * soft-fp/gesf2.c: Likewise.
28330         * soft-fp/getf2.c: Likewise.
28331         * soft-fp/ledf2.c: Likewise.
28332         * soft-fp/lesf2.c: Likewise.
28333         * soft-fp/letf2.c: Likewise.
28334         * soft-fp/muldf3.c: Likewise.
28335         * soft-fp/mulsf3.c: Likewise.
28336         * soft-fp/multf3.c: Likewise.
28337         * soft-fp/negdf2.c: Likewise.
28338         * soft-fp/negsf2.c: Likewise.
28339         * soft-fp/negtf2.c: Likewise.
28340         * soft-fp/op-1.h: Likewise.
28341         * soft-fp/op-2.h: Likewise.
28342         * soft-fp/op-4.h: Likewise.
28343         * soft-fp/op-8.h: Likewise.
28344         * soft-fp/op-common.h: Likewise.
28345         * soft-fp/quad.h: Likewise.
28346         * soft-fp/single.h: Likewise.
28347         * soft-fp/soft-fp.h: Likewise.
28348         * soft-fp/sqrtdf2.c: Likewise.
28349         * soft-fp/sqrtsf2.c: Likewise.
28350         * soft-fp/sqrttf2.c: Likewise.
28351         * soft-fp/subdf3.c: Likewise.
28352         * soft-fp/subsf3.c: Likewise.
28353         * soft-fp/subtf3.c: Likewise.
28354         * soft-fp/truncdfsf2.c: Likewise.
28355         * soft-fp/trunctfdf2.c: Likewise.
28356         * soft-fp/trunctfsf2.c: Likewise.
28357         * soft-fp/trunctfxf2.c: Likewise.
28358         * soft-fp/unorddf2.c: Likewise.
28359         * soft-fp/unordsf2.c: Likewise.
28360         * soft-fp/unordtf2.c: Likewise.
28362 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28364         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28365         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28367 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28369         * elf/dl-libc.c: Clear initfini list after freeing.
28371 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28373         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28374         * soft-fp/addsf3.c: Likewise.
28375         * soft-fp/addtf3.c: Likewise.
28376         * soft-fp/divdf3.c: Likewise.
28377         * soft-fp/divsf3.c: Likewise.
28378         * soft-fp/divtf3.c: Likewise.
28379         * soft-fp/double.h: Likewise.
28380         * soft-fp/eqdf2.c: Likewise.
28381         * soft-fp/eqsf2.c: Likewise.
28382         * soft-fp/eqtf2.c: Likewise.
28383         * soft-fp/extenddftf2.c: Likewise.
28384         * soft-fp/extended.h: Likewise.
28385         * soft-fp/extendsfdf2.c: Likewise.
28386         * soft-fp/extendsftf2.c: Likewise.
28387         * soft-fp/extendxftf2.c: Likewise.
28388         * soft-fp/fixdfdi.c: Likewise.
28389         * soft-fp/fixdfsi.c: Likewise.
28390         * soft-fp/fixdfti.c: Likewise.
28391         * soft-fp/fixsfdi.c: Likewise.
28392         * soft-fp/fixsfsi.c: Likewise.
28393         * soft-fp/fixsfti.c: Likewise.
28394         * soft-fp/fixtfdi.c: Likewise.
28395         * soft-fp/fixtfsi.c: Likewise.
28396         * soft-fp/fixtfti.c: Likewise.
28397         * soft-fp/fixunsdfdi.c: Likewise.
28398         * soft-fp/fixunsdfsi.c: Likewise.
28399         * soft-fp/fixunsdfti.c: Likewise.
28400         * soft-fp/fixunssfdi.c: Likewise.
28401         * soft-fp/fixunssfsi.c: Likewise.
28402         * soft-fp/fixunssfti.c: Likewise.
28403         * soft-fp/fixunstfdi.c: Likewise.
28404         * soft-fp/fixunstfsi.c: Likewise.
28405         * soft-fp/fixunstfti.c: Likewise.
28406         * soft-fp/floatdidf.c: Likewise.
28407         * soft-fp/floatdisf.c: Likewise.
28408         * soft-fp/floatditf.c: Likewise.
28409         * soft-fp/floatsidf.c: Likewise.
28410         * soft-fp/floatsisf.c: Likewise.
28411         * soft-fp/floatsitf.c: Likewise.
28412         * soft-fp/floattidf.c: Likewise.
28413         * soft-fp/floattisf.c: Likewise.
28414         * soft-fp/floattitf.c: Likewise.
28415         * soft-fp/floatundidf.c: Likewise.
28416         * soft-fp/floatundisf.c: Likewise.
28417         * soft-fp/floatunsidf.c: Likewise.
28418         * soft-fp/floatunsisf.c: Likewise.
28419         * soft-fp/floatuntidf.c: Likewise.
28420         * soft-fp/floatuntisf.c: Likewise.
28421         * soft-fp/floatuntitf.c: Likewise.
28422         * soft-fp/fmadf4.c: Likewise.
28423         * soft-fp/fmasf4.c: Likewise.
28424         * soft-fp/fmatf4.c: Likewise.
28425         * soft-fp/gedf2.c: Likewise.
28426         * soft-fp/gesf2.c: Likewise.
28427         * soft-fp/getf2.c: Likewise.
28428         * soft-fp/ledf2.c: Likewise.
28429         * soft-fp/lesf2.c: Likewise.
28430         * soft-fp/letf2.c: Likewise.
28431         * soft-fp/muldf3.c: Likewise.
28432         * soft-fp/mulsf3.c: Likewise.
28433         * soft-fp/multf3.c: Likewise.
28434         * soft-fp/negdf2.c: Likewise.
28435         * soft-fp/negsf2.c: Likewise.
28436         * soft-fp/negtf2.c: Likewise.
28437         * soft-fp/op-1.h: Likewise.
28438         * soft-fp/op-2.h: Likewise.
28439         * soft-fp/op-4.h: Likewise.
28440         * soft-fp/op-8.h: Likewise.
28441         * soft-fp/op-common.h: Likewise.
28442         * soft-fp/quad.h: Likewise.
28443         * soft-fp/single.h: Likewise.
28444         * soft-fp/soft-fp.h: Likewise.
28445         * soft-fp/sqrtdf2.c: Likewise.
28446         * soft-fp/sqrtsf2.c: Likewise.
28447         * soft-fp/sqrttf2.c: Likewise.
28448         * soft-fp/subdf3.c: Likewise.
28449         * soft-fp/subsf3.c: Likewise.
28450         * soft-fp/subtf3.c: Likewise.
28451         * soft-fp/truncdfsf2.c: Likewise.
28452         * soft-fp/trunctfdf2.c: Likewise.
28453         * soft-fp/trunctfsf2.c: Likewise.
28454         * soft-fp/trunctfxf2.c: Likewise.
28455         * soft-fp/unorddf2.c: Likewise.
28456         * soft-fp/unordsf2.c: Likewise.
28457         * soft-fp/unordtf2.c: Likewise.
28459 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28461         [BZ #15672]
28462         * misc/error.c (error_tail): Fix possible buffer overflow.
28464 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28466         [BZ #13028]
28467         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28468         address.
28470 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28472         [BZ #832]
28473         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28474         testing pipefail option.
28476 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28478         * soft-fp/double.h: Indent preprocessor directives inside #if.
28479         * soft-fp/extended.h: Likewise.
28480         * soft-fp/op-2.h: Likewise.
28481         * soft-fp/op-4.h: Likewise.
28482         * soft-fp/op-common.h: Likewise.
28483         * soft-fp/quad.h: Likewise.
28484         * soft-fp/single.h: Likewise.
28485         * soft-fp/soft-fp.h: Likewise.
28487 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28489         * iconv/iconv_prog.c: Fix typos.
28490         * stdio-common/psiginfo-data.h: Likewise.
28492 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28494         [BZ #15764]
28495         * locale/setlocale.c: Fix typo.
28497 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28499         [BZ #16036]
28500         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28501         signaling NaN arguments.
28502         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28503         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28505         [BZ #14910]
28506         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28507         unordered operands.
28508         * soft-fp/gesf2.c (__gesf2): Likewise.
28509         * soft-fp/getf2.c (__getf2): Likewise.
28510         * soft-fp/ledf2.c (__ledf2): Likewise.
28511         * soft-fp/lesf2.c (__lesf2): Likewise.
28512         * soft-fp/letf2.c (__letf2): Likewise.
28514         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28515         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28516         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28517         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28518         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28519         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28520         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28521         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28522         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28523         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28524         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28525         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28526         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28527         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28528         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28529         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28530         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28531         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28532         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28533         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28534         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28535         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28536         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28537         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28538         * soft-fp/floattidf.c (__floattidf): Likewise.
28539         * soft-fp/floattisf.c (__floattisf): Likewise.
28540         * soft-fp/floattitf.c (__floattitf): Likewise.
28541         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28542         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28543         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28544         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28545         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28546         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28547         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28548         * soft-fp/gesf2.c (__gesf2): Likewise.
28549         * soft-fp/getf2.c (__getf2): Likewise.
28550         * soft-fp/ledf2.c (__ledf2): Likewise.
28551         * soft-fp/lesf2.c (__lesf2): Likewise.
28552         * soft-fp/letf2.c (__letf2): Likewise.
28554         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28555         Undefine and redefine.
28556         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28557         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28558         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28559         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28560         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28561         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28562         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28563         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28564         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28565         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28566         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28567         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28568         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28569         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28570         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28572         [BZ #16032]
28573         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28574         without decrementing exponent if mantissa >= that for the
28575         denominator, not >.
28576         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28577         denominator, not >.  Decrement exponent in < case instead of
28578         incrementing in >= case.
28579         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28580         without decrementing exponent if mantissa >= that for the
28581         denominator, not >.
28583         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28584         computing saturated result for unsigned overflow.
28586 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28587             Jeff Law  <law@redhat.com>
28589         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28590         (atan2Mp): Add systemtap probe marker.
28591         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28592         (__ieee754_log): Add systemtap probe marker.
28593         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28594         (atanMp): Add systemtap probe marker.
28595         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28596         (tanMp): Add systemtap probe marker.
28597         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28598         (__slowexp): Add systemtap probe marker.
28599         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28600         (__slowpow): Add systemtap probe marker.
28601         * manual/probes.texi: Document probes.
28603 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28605         [BZ #15362]
28606         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28607         written.
28608         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28609         written.
28610         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28611         written to buffer but not flushed.
28612         * libio/iofwrite_u.c:  Likewise.
28613         * libio/iopadn.c:  Return bytes returned even if EOF was
28614         encountered.
28615         * libio/iowpadn.c:  Likewise.
28616         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28617         if _IO_padn does not write the whole buffer.
28618         [!COMPILE_WPRINTF] (PAD): Likewise.
28620 2013-10-10  David S. Miller  <davem@davemloft.net>
28622         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28623         directory block.
28625 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28627         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28628         instead of FSF address.
28629         * soft-fp/fixdfti.c: Likewise.
28630         * soft-fp/fixsfti.c: Likewise.
28631         * soft-fp/fixtfti.c: Likewise.
28632         * soft-fp/fixunsdfti.c: Likewise.
28633         * soft-fp/fixunssfti.c: Likewise.
28634         * soft-fp/fixunstfti.c: Likewise.
28635         * soft-fp/floattidf.c: Likewise.
28636         * soft-fp/floattisf.c: Likewise.
28637         * soft-fp/floattitf.c: Likewise.
28638         * soft-fp/floatuntidf.c: Likewise.
28639         * soft-fp/floatuntisf.c: Likewise.
28640         * soft-fp/floatuntitf.c: Likewise.
28641         * soft-fp/trunctfxf2.c: Likewise.
28643         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28644         * soft-fp/fixdfti.c: Likewise.
28645         * soft-fp/fixsfti.c: Likewise.
28646         * soft-fp/fixtfti.c: Likewise.
28647         * soft-fp/fixunsdfti.c: Likewise.
28648         * soft-fp/fixunssfti.c: Likewise.
28649         * soft-fp/fixunstfti.c: Likewise.
28650         * soft-fp/floattidf.c: Likewise.
28651         * soft-fp/floattisf.c: Likewise.
28652         * soft-fp/floattitf.c: Likewise.
28653         * soft-fp/floatuntidf.c: Likewise.
28654         * soft-fp/floatuntisf.c: Likewise.
28655         * soft-fp/floatuntitf.c: Likewise.
28656         * soft-fp/trunctfxf2.c: Likewise.
28658 2013-10-10  David S. Miller  <davem@davemloft.net>
28660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28662 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28664         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28665         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28666         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28667         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28668         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28669         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28670         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28672         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28673         for NaNs before doing comparisons on argument.
28674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28675         Likewise.
28677 2013-10-10  Will Newton  <will.newton@linaro.org>
28679         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28680         passed to _int_memalign does not overflow.
28682 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28684         * scripts/bench.pl: Add include-sources directive.
28685         * benchtests/README: Update documentation.
28687 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28689         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28690         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28691         instead of FP_INIT_ROUNDMODE.
28692         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28693         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28695         [BZ #16034]
28696         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28697         copy class of input value.
28698         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28699         not handle exceptions.
28700         * soft-fp/negsf2.c (__negsf2): Likewise.
28701         * soft-fp/negtf2.c (__negtf2): Likewise.
28702         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28704 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28706         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28707         semicolon.  From Linux kernel.
28709 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28711         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28713 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28715         [BZ #156]
28716         * manual/socket.texi: Added statement about buffer
28717         for gethostbyname2_r.
28719 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28721         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28722         Use .p2align directive instead, throughout.
28723         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28724         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28725         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28726         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28727         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28728         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28729         * sysdeps/x86_64/strchr.S: Likewise.
28730         * sysdeps/x86_64/strrchr.S: Likewise.
28732 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28734         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28736         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28738         * sysdeps/generic/math_private.h (__mpsin1): Remove
28739         declaration.
28740         (__mpcos1): Likewise.
28741         (__mpsin): New argument __range_reduce.
28742         (__mpcos): Likewise.
28743         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28744         (slow): Use __mpsin and __mpcos.
28745         (slow1): Likewise.
28746         (slow2): Likewise.
28747         (sloww): Likewise.
28748         (sloww1): Likewise.
28749         (sloww2): Likewise.
28750         (bsloww): Likewise.
28751         (bsloww1): Likewise.
28752         (bsloww2): Likewise.
28753         (cslow2): Likewise.
28754         (csloww): Likewise.
28755         (csloww1): Likewise.
28756         (csloww2): Likewise.
28757         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28758         range_reduce.  Merge in __mpsin1.
28759         (__mpcos): Likewise.
28760         (__mpsin1): Remove.
28761         (__mpcos1): Likewise.
28763 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28765         * locale/loadlocale.c (_nl_intern_locale_data): Use
28766         LOCFILE_ALIGNED_P.
28767         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28768         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28769         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28770         obstack data is appropriately aligned.
28771         (obstack_int32_grow_fast): Likewise.
28772         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28773         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28774         (add_locale_uint32_array): Likewise.
28776 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778         * benchtests/Makefile: Remove ARGLIST and RET variables.
28779         ($(objpfx)bench-%.c): Pass only function name to the script.
28780         * benchtests/README: Update documentation.
28781         * benchtests/acos-inputs: Add new directives.
28782         * benchtests/acosh-inputs: Likewise.
28783         * benchtests/asin-inputs: Likewise.
28784         * benchtests/asinh-inputs: Likewise.
28785         * benchtests/atan-inputs: Likewise.
28786         * benchtests/atanh-inputs: Likewise.
28787         * benchtests/cos-inputs: Likewise.
28788         * benchtests/cosh-inputs: Likewise.
28789         * benchtests/exp-inputs: Likewise.
28790         * benchtests/log-inputs: Likewise.
28791         * benchtests/pow-inputs: Likewise.
28792         * benchtests/rint-inputs: Likewise.
28793         * benchtests/sin-inputs: Likewise.
28794         * benchtests/sinh-inputs: Likewise.
28795         * benchtests/tan-inputs: Likewise.
28796         * benchtests/tanh-inputs: Likewise.
28797         * scripts/bench.pl: Add support for new directives.
28799 2013-10-07  Alan Modra  <amodra@gmail.com>
28801         * README: Fix careless merge.
28803 2013-10-05  Alan Modra  <amodra@gmail.com>
28805         * NEWS: Mention powerpc64le support and bugs fixed.
28806         * README: Both big-endian and little-endian powerpc64 supported.
28808 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28810         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28811         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28812         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28813         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28815 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28817         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28818         match prototype.
28820 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28822         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28823         Move -mhard-float appending from
28824         ports/sysdeps/powerpc/powerpc32/Makefile.
28825         [$(with-fp) = yes] (ASFLAGS): Likewise.
28826         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28827         * sysdeps/powerpc/nofpu: Move directory from
28828         ports/sysdeps/powerpc/nofpu.
28829         * sysdeps/powerpc/soft-fp: Move directory from
28830         ports/sysdeps/powerpc/soft-fp.
28831         * sysdeps/powerpc/powerpc32/405: Move directory from
28832         ports/sysdeps/powerpc/powerpc32/405.
28833         * sysdeps/powerpc/powerpc32/440: Move directory from
28834         ports/sysdeps/powerpc/powerpc32/440.
28835         * sysdeps/powerpc/powerpc32/464: Move directory from
28836         ports/sysdeps/powerpc/powerpc32/464.
28837         * sysdeps/powerpc/powerpc32/476: Move directory from
28838         ports/sysdeps/powerpc/powerpc32/476.
28839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28849         * README: Update for powerpc-*-linux-gnu software floating point
28850         support in libc.
28852         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28853         case to powerpc/powerpc32*.
28854         * sysdeps/unix/sysv/linux/configure: Regenerated.
28856         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28857         (_FPU_MASK_OM): Define as 0x04.
28858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28860         0x00c10080.
28861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28862         0x0000003c.
28863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28866         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28867         getcontext_e500.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28869         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28870         setcontext_e500.
28871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28872         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28873         and setcontext_e500.
28875 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28877         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28879 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28881         * manual/threads.texi (Default Thread Attributes): Fix typo.
28883 2013-10-04  Will Newton  <will.newton@linaro.org>
28885         * malloc/Makefile: Add tst-memalign.
28886         * malloc/tst-memalign.c: New file.
28888         * malloc/tst-posix_memalign.c: Add comments.
28889         (do_test): Add comments and call free on all potentially
28890         allocated pointers. Add space after cast.
28892         * malloc/tst-pvalloc.c: Add comments.
28893         (do_test): Add comments and call free on all potentially
28894         allocated pointers. Remove duplicate check for NULL pointer.
28895         Add space after cast.
28897         * malloc/tst-valloc.c: Add comments.
28898         (do_test): Add comments and call free on all potentially
28899         allocated pointers. Remove duplicate check for NULL pointer.
28900         Add space after cast.
28902 2013-10-04  Alan Modra  <amodra@gmail.com>
28904         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28905         Use stdint types in rather than __attribute__((mode())).
28906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28908 2013-10-04  Alan Modra  <amodra@gmail.com>
28910         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28911         Correct handling of unaligned relocs for little-endian.
28912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28914 2013-10-04  Alan Modra  <amodra@gmail.com>
28916         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28917         * configure: Regenerate.
28918         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28919         * shlib-versions: Likewise.
28921 2013-10-04  Alan Modra  <amodra@gmail.com>
28923         * string/tester.c (test_memrchr): Increment reported test cycle.
28925 2013-10-04  Alan Modra  <amodra@gmail.com>
28927         * string/test-memcpy.c (do_one_test): When reporting errors, print
28928         string address and don't overrun end of string.
28930 2013-10-04  Alan Modra  <amodra@gmail.com>
28932         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28933         insrdi.  Make better use of reg selection to speed exit slightly.
28934         Schedule entry path a little better.  Remove useless "are we done"
28935         checks on entry to main loop.  Handle wrapping around zero address.
28936         Correct main loop count.  Handle single left-over word from main
28937         loop inline rather than by using loop_small.  Remove extra word
28938         case in loop_small caused by wrong loop count.  Add little-endian
28939         support.
28940         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28941         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28942         cache hint.
28943         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28944         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28945         support.  Avoid rlwimi.
28946         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28948 2013-10-04  Alan Modra  <amodra@gmail.com>
28950         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28951         insrdi.  Formatting.
28952         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28953         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28954         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28955         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28956         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28957         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28959 2013-10-04  Alan Modra  <amodra@gmail.com>
28961         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28963         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28964         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28965         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28966         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28967         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28968         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28969         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28970         use of regs.  Use power7 mtocrf.  Tidy function tails.
28972 2013-10-04  Alan Modra  <amodra@gmail.com>
28974         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28975         Formatting.  Consistently use rXXX register defines or rN defines.
28976         Use early exit labels that avoid restoring unused non-volatile regs.
28977         Make cr field use more consistent with rWORDn compares.  Rename
28978         regs used as shift registers for unaligned loop, using rN defines
28979         for short lifetime/multiple use regs.
28980         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28981         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28982         addi 1,1,64 to pop stack frame.  Simplify return value code.
28983         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28985 2013-10-04  Alan Modra  <amodra@gmail.com>
28987         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28988         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28989         rather than rlwimi.
28990         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28991         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28992         little-endian support.  Correct typos.
28993         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28994         rather than rlwimi.
28995         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28996         in loop and entry code to keep "and." results.
28997         (strchr): Add little-endian support.  Comment.  Move cntlzd
28998         earlier in tail.
28999         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29001 2013-10-04  Alan Modra  <amodra@gmail.com>
29003         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29004         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29005         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29006         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29008 2013-10-04  Alan Modra  <amodra@gmail.com>
29010         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29011         (rTMP): Define as r11.
29012         (strcmp): Add little-endian support.  Optimise tail.
29013         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29014         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29015         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29017         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29019         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29021 2013-10-04  Alan Modra  <amodra@gmail.com>
29023         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29024         little-endian support.  Remove unnecessary "are we done" tests.
29025         Handle "s" wrapping around zero and extremely large "size".
29026         Correct main loop count.  Handle single left-over word from main
29027         loop inline rather than by using small_loop.  Correct comments.
29028         Delete "zero" tail, use "end_max" instead.
29029         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29031 2013-10-04  Alan Modra  <amodra@gmail.com>
29033         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29034         support.  Don't branch over align.
29035         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29036         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29037         support.  Rearrange tmp reg use to suit.  Comment.
29038         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29040 2013-10-04  Alan Modra  <amodra@gmail.com>
29042         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29044 2013-10-04  Alan Modra  <amodra@gmail.com>
29046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29047         conditional form of branch and link when obtaining pc.
29048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29050 2013-10-04  Alan Modra  <amodra@gmail.com>
29052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29053         HIWORD/LOWORD.
29054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29057 2013-10-04  Alan Modra  <amodra@gmail.com>
29059         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29060         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29061         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29062         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29063         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29064         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29065         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29066         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29067         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29068         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29070 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29071             Alistair Popple <alistair@ozlabs.au.ibm.com>
29072             Alan Modra <amodra@gmail.com>
29074         [BZ #15723]
29075         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29076         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29077         _dl_hwcap access for little-endian.
29078         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29079         destroy vmx regs when saving unaligned.
29080         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29081         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29082         destroy vmx regs when saving unaligned.
29084 2013-10-04  Alan Modra  <amodra@gmail.com>
29086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29087         Don't use a union to pack hi/low value.
29089 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29091         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29092         for little-endian.
29093         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29094         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29095         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29096         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29097         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29099 2013-10-04  Alan Modra  <amodra@gmail.com>
29101         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29102         constants to usual value for .cst8 section, and remove redundant
29103         high address load.
29104         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29105         constant for 0x1p52.  Load little-endian words of double from
29106         correct stack offsets.
29108 2013-10-04  Alan Modra  <amodra@gmail.com>
29110         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29111         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29112         words of double from correct stack offsets.
29113         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29114         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29115         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29116         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29117         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29118         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29119         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29120         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29121         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29122         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29125         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29126         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29127         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29128         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29129         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29131 2013-10-04  Alan Modra  <amodra@gmail.com>
29133         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29134         64-bit int/double union.
29135         (_FPU_SETCW): Likewise.
29136         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29137         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29139 2013-10-04  Alan Modra  <amodra@gmail.com>
29141         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29142         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29144 2013-10-04  Alan Modra  <amodra@gmail.com>
29146         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29147         use vector int constants.
29148         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29150 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29152         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29153         array with long long.
29154         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29155         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29156         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29157         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29158         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29159         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29160         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29161         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29162         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29163         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29164         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29165         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29166         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29168 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29170         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29171         (__signbit): Likewise.  Correct for little-endian.
29172         (__signbitl): Call __signbit.
29173         (lrint): Correct for little-endian.
29174         (lrintf): Call lrint.
29176 2013-10-04  Alan Modra  <amodra@gmail.com>
29178         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29179         union 32-bit int array member with 64-bit int array.
29180         (t515, tm256): Double rather than long double.
29181         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29183 2013-10-04  Alan Modra  <amodra@gmail.com>
29185         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29186         Delete.
29187         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29189         version of math_ldbl.h.
29191 2013-10-04  Alan Modra  <amodra@gmail.com>
29193         [BZ #15734], [BZ #15735]
29194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29195         all uses of ieee875 long double macros and unions.  Simplify test
29196         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29197         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29198         normalize after ldbl_extract_mantissa, and don't add hidden bit
29199         already handled.  Don't treat low word of ieee854 mantissa like
29200         low word of IBM long double and mask off bit when testing for
29201         zero.
29202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29203         all uses of ieee875 long double macros and unions.  Simplify tests
29204         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29205         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29206         two1022, instead use their values.  Recognise that tests for large
29207         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29209         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29210         test for 0.0L and nan.  Correct negation.
29211         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29212         ieee875 long double macros and unions.  Correct output for large
29213         magnitude x.  Correct absolute value calculation.
29214         (__erfcl): Likewise.
29215         * math/libm-test.inc: Add tests for errors discovered in IBM long
29216         double versions of fmodl, remainderl, erfl and erfcl.
29218 2013-10-04  Alan Modra  <amodra@gmail.com>
29220         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29221         all uses of ieee854 long double macros and unions.  Simplify tests
29222         for long doubles that are fully specified by the high double.
29223         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29224         Likewise.
29225         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29226         Remove dead code too.
29227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29228         (__ieee754_ynl): Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29230         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29232         Remove dead code too.
29233         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29234         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29235         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29236         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29237         Simplify.
29238         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29239         Simplify.
29240         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29242         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29243         Comment on variable precision.
29244         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29245         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29246         Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29250         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29251         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29253 2013-10-04  Alan Modra  <amodra@gmail.com>
29255         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29256         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29257         all uses of ieee854 long double macros and unions.
29258         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29260         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29263         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29264         Likewise.
29265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29266         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29267         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29268         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29271         Simplify sign and nan test too.
29272         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29276         Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29279         Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29281         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29282         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29283         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29284         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29285         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29287 2013-10-04  Alan Modra  <amodra@gmail.com>
29289         * stdio-common/printf_size.c (__printf_size): Don't use
29290         union ieee854_long_double in fpnum union.
29291         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29292         signbit macro to retrieve sign from long double.
29293         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29294         retrieve sign from long double.
29295         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29296         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29297         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29298         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29299         * math/test-misc.c (main): Don't use union ieee854_long_double.
29301 2013-10-04  Alan Modra  <amodra@gmail.com>
29303         [BZ #15680]
29304         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29305         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29306         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29307         calculation.  Remove unnecessary test for denormal exponent.
29308         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29309         Correct handling of denormals.  Avoid undefined shift behaviour.
29310         Correct normalisation of low mantissa when low double is denormal.
29311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29312         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29313         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29314         Correct normalisation of low mantissa.  Test for overflow of high
29315         mantissa and normalise.
29316         (ldbl_nearbyint): Use more readable constant for two52.
29317         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29318         (__mpn_construct_long_double): Fix test for overflow of high
29319         mantissa and correct normalisation.  Avoid undefined shift.
29321 2013-10-04  Alan Modra  <amodra@gmail.com>
29323         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29324         (union ibm_extended_long_double): Define as an array of ieee754_double.
29325         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29326         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29327         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29328         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29332         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29337 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29339         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29340         page size instead of calling getpagesize.
29342         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29343         (LOCFILE_ALIGN_MASK): Likewise.
29344         (LOCFILE_ALIGN_UP): Likewise.
29345         (LOCFILE_ALIGNED_P): Likewise.
29346         * locale/programs/ld-collate.c (collate_output): Use the new
29347         macros instead of __alignof__ (int32_t).
29348         * locale/weight.h (findidx): Likewise.
29350 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29352         [BZ #431]
29353         * manual/string.texi: Fix strncat and wcsncat.
29355 2013-10-03  Brooks Moses  <bmoses@google.com>
29357         [BZ #15915]
29358         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29359         * Makerules: ...here, and adjust associated comments.
29361 2013-10-02  Will Newton  <will.newton@linaro.org>
29363         * malloc/Makefile: Add tst-pvalloc.
29364         * malloc/tst-pvalloc.c: New file.
29366 2013-10-02  Will Newton  <will.newton@linaro.org>
29368         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29369         improve test coverage.
29371 2013-10-02  Will Newton  <will.newton@linaro.org>
29373         * malloc/Makefile: Add tst-posix_memalign.
29374         * malloc/tst-posix_memalign.c: New file.
29376 2013-10-01  Eric Blake  <eblake@redhat.com>
29378         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29379         Use __THROWNL rather than __THROW on static functions.
29381 2013-09-30  Petr Machata  <pmachata@redhat.com>
29383         * elf/elf.h (R_AARCH64_ABS16): New macro.
29384         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29385         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29386         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29387         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29388         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29389         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29390         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29391         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29392         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29393         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29394         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29395         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29396         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29397         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29398         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29399         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29400         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29401         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29402         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29403         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29404         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29405         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29406         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29407         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29408         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29409         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29410         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29411         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29412         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29413         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29414         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29415         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29416         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29417         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29418         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29419         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29420         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29421         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29422         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29423         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29424         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29425         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29426         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29427         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29428         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29429         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29430         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29431         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29432         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29433         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29434         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29435         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29436         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29437         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29438         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29439         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29440         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29441         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29442         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29443         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29444         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29445         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29446         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29447         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29448         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29449         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29450         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29451         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29452         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29453         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29454         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29455         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29456         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29457         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29458         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29459         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29460         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29461         (R_AARCH64_TLSDESC_LDR): Likewise.
29462         (R_AARCH64_TLSDESC_ADD): Likewise.
29463         (R_AARCH64_TLSDESC_CALL): Likewise.
29465 2013-09-30  Andreas Schwab  <schwab@suse.de>
29467         [BZ #15048]
29468         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29469         the nss database lookup.
29470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29473 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29475         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29477 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29480         ${Bash-specific parameter/pattern/string} parameter expansion.
29481         * sysdeps/unix/make-syscalls.sh: Likewise.
29483 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29485         * sysdeps/sh/stackguard-macros.h: New file.
29487 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29491         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29492         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29494         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29496 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29498         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29499         Fix thread ID register.
29501 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29503         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29504         [POSIX || UNIX98]: Require rather than permitting all symbols from
29505         <time.h>.
29506         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29507         element of struct sched_param.
29508         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29509         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29510         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29511         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29512         constant.
29514 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29516         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29517         argument calculation.
29519 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29521         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29522         Expect macro.
29523         [POSIX] (pthread_attr_t): Do not require type.
29524         [POSIX] (pthread_cond_t): Likewise.
29525         [POSIX] (pthread_condattr_t): Likewise.
29526         [POSIX] (pthread_key_t): Likewise.
29527         [POSIX] (pthread_mutex_t): Likewise.
29528         [POSIX] (pthread_mutexattr_t): Likewise.
29529         [POSIX] (pthread_once_t): Likewise.
29530         [POSIX] (pthread_t): Likewise.
29531         [POSIX-based standards] (pthread_atfork): Expect function.
29533 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29534             Richard Sandiford  <richard@codesourcery.com>
29536         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29537         (swap_endianness_p): New extern variable.
29538         (set_big_endian): New inline function.
29539         (maybe_swap_uint32): Likewise.
29540         (maybe_swap_uint32_array): Likewise.
29541         (maybe_swap_uint32_obstack): Likewise.
29542         * locale/programs/locfile.c: Include <stdbool.h>.
29543         (swap_endianness_p): New variable.
29544         (add_locale_uint32): Call maybe_swap_uint32.
29545         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29546         (write_locale_data): Call maybe_swap_uint32_array.
29547         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29548         maybe_swap_uint32.
29549         (obstack_int32_grow_fast): Likewise.
29550         (output_weightwc): Call maybe_swap_uint32_obstack.
29551         (collate_output): Likewise.
29552         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29553         (OPT_LITTLE_ENDIAN): Likewise.
29554         (options): Add --little-endian and --big-endian options.
29555         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29556         * locale/programs/locarchive.c: Include "locfile.h".
29557         (GET): New macro.
29558         (SET): Likewise.
29559         (INC): Likewise.
29560         (create_archive): Use the new macros to access fields of
29561         structures directly mapped from or written to locale archives.
29562         (oldlocrecentcmp): Likewise.
29563         (enlarge_archive): Likewise.
29564         (insert_name): Likewise.
29565         (add_alias): Likewise.
29566         (add_locale): Likewise.
29567         (delete_locales_from_archive): Likewise.
29568         (show_archive_content): Likewise.
29569         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29570         locale data.
29572 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29574         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29575         http://www.gnu.org/doc/freemanuals.texi.
29576         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29578 2013-09-24  Will Newton  <will.newton@linaro.org>
29580         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29581         macro.
29583 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29585         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29586         unsigned char.
29588 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29590         * manual/threads.texi (POSIX Threads): Fix a typo.
29592 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29594         [BZ #14547]
29595         * string/tst-strcoll-overflow.c: New test case.
29596         * string/Makefile (xtests): Add tst-strcoll-overflow.
29597         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29598         cache if string sizes may cause integer overflow.
29600         [BZ #14547]
29601         * string/strcoll_l.c (coll_seq): New members rule, idx,
29602         save_idx and back_us.
29603         (get_next_seq_nocache): New function.
29604         (do_compare_nocache): New function.
29605         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29606         when malloc fails.
29608 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29610         [BZ #15754]
29611         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29612         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29613         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29615         [BZ #15754]
29616         * elf/Makefile (tests): Add tst-ptrguard1.
29617         (tests-static): Add tst-ptrguard1-static.
29618         (tst-ptrguard1-ARGS): Define.
29619         (tst-ptrguard1-static-ARGS): Define.
29620         * elf/tst-ptrguard1.c: New file.
29621         * elf/tst-ptrguard1-static.c: New file.
29622         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29623         * sysdeps/i386/stackguard-macros.h: Likewise.
29624         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29625         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29626         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29627         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29628         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29629         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29631 2013-09-23  Hector Marco  <hecmargi@upv.es>
29632             Ismael Ripoll  <iripoll@disca.upv.es>
29633             Carlos O'Donell  <carlos@redhat.com>
29635         [BZ #15754]
29636         * sysdeps/generic/stackguard-macros.h: Define
29637         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29638         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29639         Define __pointer_chk_guard_local.
29640         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29641         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29643 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29645         [BZ #15859]
29646         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29648 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29650         * include/string.h (__ffs): Declare as hidden.
29651         * string/ffs.c (__ffs): Define as hidden.
29652         * sysdeps/i386/ffs.c (__ffs): Likewise.
29653         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29654         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29655         * sysdeps/s390/ffs.c (__ffs): Likewise.
29656         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29658 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29660         * NEWS: Mention malloc probes.
29662         * malloc/arena.c (new_heap): New memory_heap_new probe.
29663         (grow_heap): New memory_heap_more probe.
29664         (shrink_heap): New memory_heap_less probe.
29665         (heap_trim): New memory_heap_free probe.
29666         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29667         (systrim): New memory_sbrk_less probe.
29668         * manual/probes.texi: Document them.
29670         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29671         * manual/probes.texi: Document it.
29673         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29674         (__libc_realloc): Add memory_realloc_retry probe.
29675         (__libc_memalign): Add memory_memalign_retry probe.
29676         (__libc_valloc): Add memory_valloc_retry probe.
29677         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29678         (__libc_calloc): Add memory_calloc_retry probe.
29679         * manual/probes.texi: Document them.
29681         * malloc/arena.c (get_free_list): Add probe
29682         memory_arena_reuse_free_list.
29683         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29684         and memory_arena_reuse.
29685         (arena_get2) [!PER_THREAD]: Likewise.
29686         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29687         memory_arena_reuse_realloc.
29688         * manual/probes.texi: Document them.
29690         * malloc/malloc.c (__libc_free): Add
29691         memory_mallopt_free_dyn_thresholds probe.
29692         (__libc_mallopt): Add multiple memory_mallopt probes.
29693         * manual/probes.texi: Document them.
29695         * malloc/malloc.c: Include stap-probe.h.
29696         (__libc_mallopt): Add memory_mallopt probe.
29697         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29698         * manual/probes.texi: New.
29699         * manual/Makefile (chapters): Add probes.
29700         * manual/threads.texi: Set next node.
29702 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29704         [BZ #15963, #13985]
29705         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29706         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29707         Add `Chinese' to `nan' entry name.
29709 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29711         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29712         (POLYNOMIAL): Likewise.
29713         (TAYLOR_SINCOS): Likewise.
29714         (TAYLOR_SLOW): Likewise.
29715         (__sin): Use TAYLOR_SINCOS.
29716         (__cos): Likewise.
29717         (slow): Use TAYLOR_SLOW.
29718         (sloww): Likewise.
29719         (bsloww): Likewise.
29720         (csloww): Likewise.
29722 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29724         * stdlib/strtod_l.c: Fix buffer overrun.
29726 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29728         * benchtests/Makefile (bench): Add sincos.
29729         * benchtests/bench-sincos.c: New file.
29731         * math/libm-test.inc (cos_test_data): New test inputs.
29732         (sin_test_data): Likewise.
29734         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29735         macro.
29736         (__sin): Use it.
29737         (__cos): Likewise.
29738         (slow1): Likewise.
29739         (slow2): Likewise.
29740         (sloww1): Likewise.
29741         (sloww2): Likewise.
29742         (bsloww1): Likewise.
29743         (bsloww2): Likewise.
29744         (cslow2): Likewise.
29745         (csloww1): Likewise.
29746         (csloww2): Likewise.
29748         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29749         function.
29750         (__sin): Use it.
29751         (__cos): Likewise.
29753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29754         gotos.
29755         (__cos): Likewise.
29757 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29759         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29760         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29761         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29762         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29763         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29764         * elf/cache.c (print_entry): Handle the new cache flags.
29766 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29767             Aldy Hernandez  <aldyh@redhat.com>
29769         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29770         Change condition to [_SOFT_FLOAT].
29771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29783         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29786         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29787         declaration.
29789 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29791         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29792         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29793         (__longjmp): Use LOAD_GP to load saved GPRs.
29794         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29795         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29796         (__sigsetjmp): Use SAVE_GP to save GPRs.
29798         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29799         Do not append -msoft-float.
29800         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29802 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29804         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29806 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29808         [BZ #15966]
29809         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29810         (_FPU_GETCW): Use initial "__" on variable and field names but not
29811         on macro parameter name.
29812         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29813         parentheses around reference to macro parameter.
29815 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29817         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29818         prototype.
29819         (ctype_startup): Use uint32_t in cast and sizeof for
29820         ctype->charnames.
29822 2013-09-11  Jia Liu  <proljc@gmail.com>
29824         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29825         __daddr_t_defined.
29826         [__FreeBSD__]: Likewise.
29828 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29831         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29832         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29833         (strchr): Remove __strchr_sse42 ifunc selection.
29834         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29835         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29837 2013-09-11  Will Newton  <will.newton@linaro.org>
29839         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29840         parameter to RES. Remove hardcoded 1000 value.
29841         * benchtests/bench-skeleton.c (main): Pass RES parameter
29842         to TIMING_INIT and multiply result by 1000.
29844 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29848 2013-09-11  Andreas Schwab  <schwab@suse.de>
29850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29851         if not defined.
29852         (O_TMPFILE) [__USE_GNU]: Define.
29853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29854         Define.
29856 2013-09-11  Will Newton  <will.newton@linaro.org>
29858         [BZ #15857]
29859         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29860         does not overflow.
29862 2013-09-11  Will Newton  <will.newton@linaro.org>
29864         [BZ #15856]
29865         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29866         does not overflow.
29868 2013-09-11  Will Newton  <will.newton@linaro.org>
29870         [BZ #15855]
29871         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29872         does not overflow.
29874 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29876         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29877         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29882 2013-09-10  Allan McRae  <allan@archlinux.org>
29884         [BZ #15748]
29885         * manual/arith.texi (Parsing of Floats): Clarify
29886         cross-reference.
29888         [BZ #15849]
29889         * manual/install.texi (Running make install): Mention
29890         --enable-pt-chown.
29891         * INSTALL: Regenerated.
29893 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29895         * csu/init-first.c (_init): Remove the !SHARED condition around
29896         FPU control word initialization.
29897         * elf/dl-support.c (_dl_fpu_control): New variable.
29898         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29899         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29900         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29901         * math/test-fpucw-static.c: New file.
29902         * math/test-fpucw-ieee.c: New file.
29903         * math/test-fpucw-ieee-static.c: New file.
29904         * math/Makefile (tests): Add `test-fpucw-ieee' and
29905         `$(tests-static)'.
29906         (tests-static): New variable.
29907         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29908         dependency to...
29909         [($(build-shared),yes)]
29910         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29911         ... this.
29912         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29913         New dependency.
29915 2013-09-09  Allan McRae  <allan@archlinux.org>
29917         [BZ #15939]
29918         * manual/string.texi (Collation Functions): Fix typo in
29919         strcoll example.
29920         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29922         [BZ #15893]
29923         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29925         [BZ #15892]
29926         * libio/memstream.c (open_memstream): Fix memory leak.
29927         * libio/wmemstream.c (open_wmemstream): Likewise.
29929         [BZ #15895]
29930         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29932 2013-09-09  Will Newton  <will.newton@linaro.org>
29934         * malloc/Makefile: Add tst-realloc to tests.
29935         * malloc/tst-realloc.c: New file.
29937 2013-09-09  Allan McRae  <allan@archlinux.org>
29939         [BZ #15844]
29940         * COPYING: Update from GNU website to fix FSF address.
29941         * COPYING.LIB: Likewise.
29943 2013-09-06  David S. Miller  <davem@davemloft.net>
29945         * po/zh_TW.po: Update Chinese (traditional) translation from
29946         translation project.
29948 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29949             Joseph Myers  <joseph@codesourcery.com>
29951         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29952         "localeinfo.h".
29953         (obstack_chunk_alloc): New macro.
29954         (obstack_chunk_free): Likewise.
29955         (record_offset): New function.
29956         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
29971         iovec.
29972         * locale/programs/locfile.h: Include "obstack.h".
29973         (struct locale_file): Change to store locale file contents instead
29974         of header.
29975         (init_locale_data): New prototype.
29976         (align_locale_data): Likewise.
29977         (add_locale_empty): Likewise.
29978         (add_locale_raw_data): Likewise.
29979         (add_locale_raw_obstack): Likewise.
29980         (add_locale_string): Likewise.
29981         (add_locale_wstring): Likewise.
29982         (add_locale_uint32): Likewise.
29983         (add_locale_uint32_array): Likewise.
29984         (add_locale_char): Likewise.
29985         (start_locale_structure): Likewise.
29986         (end_locale_structure): Likewise.
29987         (start_locale_prelude): Likewise.
29988         (end_locale_prelude): Likewise.
29989         (write_locale_data): Update prototype.
29990         * locale/programs/3level.h (struct TABLE): Remove result field.
29991         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29992         Use new locale_file interface.
29993         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29994         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29995         * locale/programs/ld-address.c (address_output): Use new
29996         locale_file interface.
29997         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29998         NO_ADD_LOCALE.
29999         (collate_finish): Don't call collseq_table_finalize.
30000         (collate_output): Use new locale_file interface.
30001         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30002         in file.
30003         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30004         (TABLE): Move defines earlier in file.
30005         (ELEMENT): Likewise.
30006         (DEFAULT): Likewise.
30007         (wctrans_table_add): Move macro and inline function earlier in
30008         file.
30009         (struct wctype_table): Move type earlier in file.
30010         (add_locale_wctype_table): New static prototype.
30011         (struct locale_ctype_t): Use logical types instead of struct iovec
30012         pointers for members.
30013         (ctype_output): Use new locale_file interface.
30014         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30015         new locale_file interface.
30016         (allocate_arrays): Update for use of new locale_file interface.
30017         * locale/programs/ld-identification.c (identification_output): Use
30018         new locale_file interface.
30019         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30020         * locale/programs/ld-messages.c (messages_output): Likewise.
30021         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30022         * locale/programs/ld-name.c (name_output): Likewise.
30023         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30024         * locale/programs/ld-paper.c (paper_output): Likewise.
30025         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30026         * locale/programs/ld-time.c (time_output): Likewise.
30028 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30030         * benchtests/Makefile: Add memrchr benchmark.
30031         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30032         benchmark as memrchr.
30033         * benchtests/bench-memrchr-ifunc.c: New file.
30034         * benchtests/bench-memrchr.c: New file.
30036 2013-09-06   Will Newton  <will.newton@linaro.org>
30038         * benchtests/Makefile (string-bench): Add memcpy.
30040 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30041             Cong Wang  <amwang@redhat.com>
30043         [BZ #15850]
30044         * sysdeps/unix/sysv/linux/bits/in.h
30045         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30046         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30047         before __USE_KERNEL_IPV6_DEFS uses.
30048         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30049         IPPROTO_BEETPH.
30050         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30051         sockaddr_in6, or ipv6_mreq.
30053 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30055         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30056         memory access for final bytes in some large inputs.
30057         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30059 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30061         * string/test-memrchr.c: New file.
30062         * string/test-memrchr-ifunc.c: New file.
30063         * string/Makefile: Add new memrchr testcase.
30065 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30067         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30068         fanotify_init returns EPERM.
30070 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30072         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30073         errors.
30074         (top level): Treat second token from macro or constant entries for
30075         allowed headers as allowed.
30076         * include/complex.h: Condition internal declarations on
30077         [!_ISOMAC].
30078         * include/fenv.h: Condition include of <stdbool.h> and internal
30079         declarations on [!_ISOMAC].
30081 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30083         [BZ #15923]
30084         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30086 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30088         * configure.in (--enable-versioning): Remove configure option.
30089         (libc_cv_asm_symver_directive): Remove configure test.
30090         (libc_cv_ld_version_script_option): Likewise.
30091         (VERSIONING): Remove variable and AC_SUBST.
30092         (DO_VERSIONING): Remove AC_DEFINE.
30093         * configure: Regenerated.
30094         * config.h.in (DO_VERSIONING): Remove macro.
30095         * Makerules [$(versioning) = yes]: Change conditionals to
30096         [$(build-shared) = yes].
30097         * config.make.in (versioning): Remove variable.
30098         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30099         [$(build-shared) = yes].
30100         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30101         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30102         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30103         [$(build-shared) = yes].
30104         * extra-lib.mk [$(versioning) = yes]: Likewise.
30105         * hurd/Makefile [$(versioning) = yes]: Likewise.
30106         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30107         [SHARED].
30108         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30109         [SHARED].
30110         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30111         [SHARED && !NO_HIDDEN].
30112         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30113         [SHARED].
30114         [SHARED && DO_VERSIONING]: Likewise..
30115         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30116         [$(build-shared) = yes].
30117         * manual/install.texi (--disable-versioning): Remove
30118         documentation.
30119         * INSTALL: Regenerated.
30120         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30121         to [SHARED].
30122         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30123         [$(build-shared) = yes].
30124         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30125         * sysdeps/i386/i686/multiarch/strstr-c.c
30126         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30127         [SHARED && !NO_HIDDEN].
30128         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30129         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30130         * sysdeps/powerpc/powerpc32/dl-machine.c
30131         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30132         * sysdeps/powerpc/powerpc32/sysdep.h
30133         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30134         to [SHARED && PIC && !NO_HIDDEN].
30135         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30136         conditional to [SHARED].
30138 2013-09-04   Will Newton  <will.newton@linaro.org>
30140         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30141         * benchtests/bench-string.h: Include bench-timing.h instead
30142         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30143         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30144         call to HP_TIMING_DIFF_INIT.
30145         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30146         instead of hp-timing.h macros.
30147         * benchtests/bench-memchr.c: Likewise.
30148         * benchtests/bench-memcmp.c: Likewise.
30149         * benchtests/bench-memcpy.c: Likewise.
30150         * benchtests/bench-memmem.c: Likewise.
30151         * benchtests/bench-memmove.c: Likewise.
30152         * benchtests/bench-memset.c: Likewise.
30153         * benchtests/bench-rawmemchr.c: Likewise.
30154         * benchtests/bench-strcasecmp.c: Likewise.
30155         * benchtests/bench-strcasestr.c: Likewise.
30156         * benchtests/bench-strcat.c: Likewise.
30157         * benchtests/bench-strchr.c: Likewise.
30158         * benchtests/bench-strcmp.c: Likewise.
30159         * benchtests/bench-strcpy.c: Likewise.
30160         * benchtests/bench-strcpy_chk.c: Likewise.
30161         * benchtests/bench-strlen.c: Likewise.
30162         * benchtests/bench-strncasecmp.c: Likewise.
30163         * benchtests/bench-strncat.c: Likewise.
30164         * benchtests/bench-strncmp.c: Likewise.
30165         * benchtests/bench-strncpy.c: Likewise.
30166         * benchtests/bench-strnlen.c: Likewise.
30167         * benchtests/bench-strpbrk.c: Likewise.
30168         * benchtests/bench-strrchr.c: Likewise.
30169         * benchtests/bench-strspn.c: Likewise.
30170         * benchtests/bench-strstr.c: Likewise.
30172 2013-09-04  Will Newton  <will.newton@linaro.org>
30174         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30176 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30178         [BZ #15427]
30179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30180         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30181         * math/libm-test.inc (lgamma_test_data): Add more tests.
30182         * sysdeps/i386/fpu/libm-test-ulps: Update.
30183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30185 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30187         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30188         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30189         Add ifunc.
30190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30191         Add strcmp-sse2-unaligned
30192         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30194 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30196         * Versions.def (libc): Add GLIBC_2.19.
30198 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30200         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30201         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30203 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30205         [BZ #14155]
30206         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30207         intermediate calculations in recurrence.
30208         (__ieee754_ynf): Likewise.
30209         * math/libm-test.inc (jn_test_data): Do not allow spurious
30210         underflow exception.  Add more tests.
30211         (yn_test_data): Add more tests.
30212         * sysdeps/i386/fpu/libm-test-ulps: Update.
30213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30215 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30217         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30219 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30221         * csu/init-first.c: Fix then/than typos.
30222         * locale/programs/ld-collate.c: Likewise.
30223         * locale/programs/linereader.h: Likewise.
30224         * manual/charset.texi: Likewise.
30225         * manual/filesys.texi: Likewise.
30226         * manual/stdio.texi: Likewise.
30227         * manual/string.texi: Likewise.
30228         * stdlib/fmtmsg.c: Likewise.
30229         * sysdeps/i386/stpncpy.S: Likewise.
30230         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30232         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30235 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30237         * elf/dl-open.c: Fix typos.
30238         * iconvdata/gbbig5.c: Likewise.
30239         * iconvdata/iso-2022-jp.c: Likewise.
30240         * iconv/gconv_int.h: Likewise.
30241         * iconv/loop.c: Likewise.
30242         * nis/rpcsvc/nis.h: Likewise.
30243         * resolv/ns_name.c: Likewise.
30244         * stdio-common/vfscanf.c: Likewise.
30245         * streams/stropts.h: Likewise.
30246         * sunrpc/rpc_thread.c: Likewise.
30247         * sysdeps/i386/strpbrk.S: Likewise.
30248         * sysdeps/ieee754/k_standard.c: Likewise.
30249         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30250         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30251         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30252         * sysdeps/mach/hurd/profil.c: Likewise.
30253         * sysdeps/s390/dl-procinfo.h: Likewise.
30254         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30256         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30257         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30258         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30260 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30262         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30265 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30267         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30268         aix specific files.
30269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30270         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30272         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30273         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30274         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30275         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30276         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30278 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30279             Roland McGrath  <roland@hack.frob.com>
30281         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30282         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30284 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30286         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30287         __executable_start symbol instead of _start.
30289 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30291         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30292         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30293         Move macros to...
30294         * sysdeps/gnu/ldsodefs.h: ... this new file.
30296         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30297         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30298         instead of ELFOSABI_LINUX.
30300         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30301         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30302         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30303         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30304         Likewise.
30305         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30306         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30307         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30308         Likewise.
30309         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30310         (ibm_extended_long_double): Add ieee_nan member.
30311         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30312         (do_test): New function.
30314         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30315         TEST_TRUNC.
30316         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30317         functions, renamed from truncdfsf_test, trunctfsf_test,
30318         trunctfdf_test.
30319         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30320         functions.
30321         (do_test): Run all these.
30323 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30325         * argp/argp-help.c: Fix typos.
30326         * argp/argp-parse.c: Likewise.
30327         * debug/backtracesyms.c: Likewise.
30328         * elf/elf.h: Likewise.
30329         * malloc/malloc.c: Likewise.
30330         * nis/nis_print.c: Likewise.
30331         * resolv/res_comp.c: Likewise.
30332         * stdlib/stdlib.h: Likewise.
30333         * sunrpc/clnt_tcp.c: Likewise.
30334         * sunrpc/clnt_udp.c: Likewise.
30335         * sunrpc/clnt_unix.c: Likewise.
30336         * sysdeps/unix/bsd/ptsname.c: Likewise.
30337         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30338         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30340         Likewise.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30342         Likewise.
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30344         Likewise.
30345         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30347 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30349         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30352 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30354         [BZ #15897]
30355         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30356         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30357         ($(objpfx)bug-dl-leaf): New rule.
30358         ($(objpfx)bug-dl-leaf.so): Likewise.
30359         ($(objpfx)bug-dl-leaf.out): Likewise.
30360         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30361         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30362         * dlfcn/bug-dl-leaf.c: New test.
30363         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30364         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30365         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30366         (dlclose): Likewise.
30367         (dlmopen): Likewise.
30369 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30371         * include/netdb.h [!_ISOMAC]:
30372         Don't include <tls.h>.
30373         (h_errno, __libc_h_errno): Move declaration and macros out of
30374         [_LIBC_REENTRANT].
30376         * include/resolv.h [_RESOLV_H_]:
30377         Don't include <tls.h>.
30378         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30379         * resolv/res_libc.c: Don't include <tls.h>.
30380         (_res): Use __attribute__ ((nocommon)) in place of
30381         __attribute__ ((section (".bss"))).
30383         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30384         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30386         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30388         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30389         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30391         * resolv/res_mkquery.c: Include <sys/time.h>.
30393         * inet/ifreq.c: Moved to ...
30394         * sysdeps/unix/ifreq.c: ... here.
30395         * inet/ifreq.c: New file, true stub version.
30397         * socket/sa_len.c: New file.
30398         * socket/Makefile (aux): Add it.
30399         * sysdeps/unix/sysv/linux/Makefile
30400         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30401         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30402         and #include <socket/sa_len.c>.
30403         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30404         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30406         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30407         * bits/socket.h: ... here.
30409         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30410         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30411         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30413 2013-08-27  Andreas Schwab  <schwab@suse.de>
30415         [BZ #15736]
30416         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30417         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30418         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30419         * string/test-strcasecmp.c (test_main): Run tests in several
30420         locales.
30421         * string/test-strncasecmp.c (test_main): Likewise.
30423         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30424         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30425         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30427         (__strncasecmp_ssse3) [PIC]: Likewise.
30429 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30431         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30433         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30434         instead of explicitly declaring xdecrypt.
30435         * nis/nss_nis/nis-publickey.c: Likewise.
30437 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439         [BZ #15890]
30440         * nscd/aicache.c: Include res_hconf.h.
30441         (addhstaiX): Initialize res_hconf.
30443 2013-08-26  Andreas Schwab  <schwab@suse.de>
30445         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30446         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30448 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30450         * nscd/aicache.c (addhstaiX): Fix indentation.
30452 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30454         * configure.ac: Quote $build_pt_chown test.
30455         * configure: Regenerated.
30457 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30459         [BZ #15532]
30460         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30461         * math/s_cexpf.c (__cexpf): Likewise.
30462         * math/s_cexpl.c (__cexpl): Likewise.
30463         * math/libm-test.inc (cexp_test_data): Correct expected return
30464         value for NaN + i0.  Add another test.
30466 2013-08-22  David S. Miller  <davem@davemloft.net>
30468         * po/ca.po: Update Catalan translation from translation project.
30469         * po/uk.po: Add Ukrainian translations from translation project.
30471 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30473         [BZ #15797]
30474         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30475         is infinite, not alongside NaN test.
30476         * math/s_fdimf.c (__fdimf): Likewise.
30477         * math/s_fdiml.c (__fdiml): Likewise.
30478         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30479         errno is unchanged.
30481 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30483         * argp/argp-help.c: Fix typos.
30484         * crypt/speeds.c: Likewise.
30485         * csu/check_fds.c: Likewise.
30486         * elf/dl-load.c: Likewise.
30487         * elf/dl-open.c: Likewise.
30488         * elf/reldep3.c: Likewise.
30489         * elf/reldep.c: Likewise.
30490         * elf/sprof.c: Likewise.
30491         * iconv/iconv_charmap.c: Likewise.
30492         * iconv/skeleton.c: Likewise.
30493         * iconv/strtab.c: Likewise.
30494         * io/lockf64.c: Likewise.
30495         * libio/libioP.h: Likewise.
30496         * resolv/gai_notify.c: Likewise.
30497         * resolv/ns_name.c: Likewise.
30498         * resolv/ns_samedomain.c: Likewise.
30499         * resolv/res_send.c: Likewise.
30500         * stdlib/random.c: Likewise.
30501         * sunrpc/rpc/xdr.h: Likewise.
30502         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30503         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30504         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30505         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30506         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30507         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30509         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30510         * sysdeps/mach/hurd/check_fds.c: Likewise.
30511         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30512         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30513         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30514         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30515         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30516         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30517         * sysdeps/pthread/aio_notify.c: Likewise.
30518         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30519         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30520         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30521         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30522         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30524 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30526         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30527         version if bit_Slow_SSE4_2 is set.
30528         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30529         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30531 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30533         [BZ #15867]
30534         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30535         trampoline stack frame information.
30536         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30537         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30538         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30539         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30540         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30541         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30542         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30543         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30544         sa_flags value.
30545         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30546         interrupting a syscall and set with option SA_SIGINFO.
30548 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30550         [BZ #15531]
30551         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30552         argument is infinite.
30553         * math/s_cprojf.c (__cprojf): Likewise.
30554         * math/s_cprojl.c (__cprojl): Likewise.
30555         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30556         * math/libm-test.inc (cproj_test_data): Add more tests.
30558         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30560         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30561         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30562         size.  Use __ffs to determine corresponding shift.
30564 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30565             Roland McGrath  <roland@hack.frob.com>
30567         * Makefile (INSTALL): Remove trailing blank lines from output of
30568         makeinfo.
30570 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30572         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30573         Align 32 bit compat elf_greg to 8 bytes.
30575 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30577         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30579 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30581         * string/strcoll_l.c (coll_seq): New structure.
30582         (get_next_seq_cached): New function.
30583         (get_next_seq): New function.
30584         (do_compare): New function.
30585         (STRCOLL): Use GNU style definition.  Simplify implementation
30586         by using get_next_seq, get_next_seq_cached and do_compare.
30588 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30590         [BZ #14699]
30591         CVE-2013-4237
30592         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30593         member.
30594         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30595         member.
30596         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30597         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30598         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30599         conditional.
30600         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30601         GETDENTS_64BIT_ALIGNED.
30602         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30603         * manual/filesys.texi (Reading/Closing Directory): Document
30604         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30605         strongly.
30606         * manual/conf.texi (Limits for Files): Add portability note to
30607         NAME_MAX, PATH_MAX.
30608         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30610 2013-08-13  Andreas Schwab  <schwab@suse.de>
30612         [BZ #15749]
30613         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30614         of fabs.
30615         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30616         LDBL_MAX_EXP >= 16384]: Add tests for it.
30618 2013-08-12  David S. Miller  <davem@davemloft.net>
30620         * version.h (RELEASE): Set to "development".
30621         (VERSION): Set to "2.18.90".
30622         * NEWS: Add 2.19 section.
30624 2013-08-03  David S. Miller  <davem@davemloft.net>
30626         * po/ko.po: Update Korean translation from translation project.
30628 2013-08-01  David S. Miller  <davem@davemloft.net>
30630         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30631         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30632         Bilka.
30634 2013-07-30  David S. Miller  <davem@davemloft.net>
30636         * po/fr.po: Update French translation from translation project.
30638 2013-07-28  David S. Miller  <davem@davemloft.net>
30640         * po/cs.po: Update Czech translation from translation project.
30642         * po/sv.po: Update Swedish translation from translation project.
30644 2013-07-27  David S. Miller  <davem@davemloft.net>
30646         * po/eo.po: Update Esperanto translation from translation project.
30648         * po/vi.po: Update Vietnamese translation from translation project.
30650         * po/de.po: Update German translation from translation project.
30652 2013-07-26  David S. Miller  <davem@davemloft.net>
30654         * po/bg.po: Update Bulgarian translation from translation project.
30656         * po/nl.po: Update Dutch translation from translation project.
30657         * po/pl.po: Update Polish translation from translation project.
30658         * po/ru.po: Update Russian translation from translation project.
30660 2013-07-24  David S. Miller  <davem@davemloft.net>
30662         * po/libc.pot: Update.
30664 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30666         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30667         variable page size.
30668         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30669         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30670         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30672 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30674         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30676 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30677             Andreas Schwab  <schwab@suse.de>
30678             Roland McGrath  <roland@hack.frob.com>
30679             Joseph Myers  <joseph@codesourcery.com>
30680             Carlos O'Donell  <carlos@redhat.com>
30682         [BZ #15755]
30683         * config.h.in: Define HAVE_PT_CHOWN.
30684         * config.make.in (build-pt-chown): New variable.
30685         * configure.in (--enable-pt_chown): New configure option.
30686         * configure: Regenerate.
30687         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30688         build-pt-chown is enabled.
30689         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30690         pt_chown to fix pty ownership.
30691         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30692         CLOSE_ALL_FDS.
30693         * manual/install.texi (Configuring and compiling): Mention
30694         --enable-pt_chown. Add @findex for grantpt.
30695         * INSTALL: Regenerate.
30697 2013-07-20  David S. Miller  <davem@davemloft.net>
30699         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30700         difference between 32-bit and 64-bit.
30702 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30704         [BZ #15711]
30705         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30706         Avoid system header dependency with -ffreestanding.
30707         ($(objpfx)bits/syscall%d): Likewise.
30709 2013-07-13  David S. Miller  <davem@davemloft.net>
30711         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30712         underflows from atanl/atan2l due to bug 15319.
30713         (casinh_test_data): Likewise.
30715 2013-07-07  David S. Miller  <davem@davemloft.net>
30717         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30719 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30721         * sysdeps/i386/fpu/libm-test-ulps: Update.
30722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30724 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30726         * configure.in (--enable-lock-elision): Fix message text.
30727         * INSTALL: Regenerate.
30728         * configure: Regenerate.
30730 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30734 2013-07-03  Andreas Jaeger  <aj@suse.de>
30736         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30737         define.
30738         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30739         (ptrace_peeksiginfo_args): Add.
30740         (__ptrace_peeksiginfo_flags): Add.
30741         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30742         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30743         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30745 2013-07-03  Allan McRae  <allan@archlinux.org>
30747         * sysdeps/i386/fpu/libm-test-ulps: Update.
30749 2013-07-02  David S. Miller  <davem@davemloft.net>
30751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30753 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30757 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30759         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30762 2013-07-02  Andi Kleen <ak@linux.intel.com>
30764         * config.h.in (ENABLE_LOCK_ELISION): Add.
30765         * configure.in (--enable-lock-elision): Add option.
30766         * manual/install.texi: Document --enable lock elision.
30767         * configure: Regenerate
30768         * INSTALL: Regenerate.
30770 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30772         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30773         SSE4.2 strcasecmp for libc.a.
30774         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30776 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30778         [BZ #13304]
30779         * soft-fp/op-common.h (_FP_FMA): New macro.
30780         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30781         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30782         (_FP_MUL_MEAT_1_imm): ... here.
30783         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30784         (_FP_MUL_MEAT_1_wide): ... here.
30785         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30786         (_FP_MUL_MEAT_1_hard): ... here.
30787         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30788         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30789         (_FP_MUL_MEAT_2_wide): ... here.
30790         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30791         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30792         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30793         (_FP_MUL_MEAT_2_gmp): ... here.
30794         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30795         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30796         (_FP_MUL_MEAT_4_wide): ... here.
30797         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30798         (_FP_MUL_MEAT_4_gmp): ... here.
30799         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30800         (_FP_WFRACBITS_DW_S): Likewise.
30801         (_FP_WFRACXBITS_DW_S): Likewise.
30802         (_FP_HIGHBIT_DW_S): Likewise.
30803         (FP_FMA_S): Likewise.
30804         (_FP_FRAC_HIGH_DW_S): Likewise.
30805         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30806         (_FP_WFRACBITS_DW_D): Likewise.
30807         (_FP_WFRACXBITS_DW_D): Likewise.
30808         (_FP_HIGHBIT_DW_D): Likewise.
30809         (FP_FMA_D): Likewise.
30810         (_FP_FRAC_HIGH_DW_D): Likewise.
30811         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30812         (_FP_WFRACBITS_DW_E): Likewise.
30813         (_FP_WFRACXBITS_DW_E): Likewise.
30814         (_FP_HIGHBIT_DW_E): Likewise.
30815         (FP_FMA_E): Likewise.
30816         (_FP_FRAC_HIGH_DW_E): Likewise.
30817         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30818         (_FP_WFRACBITS_DW_Q): Likewise.
30819         (_FP_WFRACXBITS_DW_Q): Likewise.
30820         (_FP_HIGHBIT_DW_Q): Likewise.
30821         (FP_FMA_Q): Likewise.
30822         (_FP_FRAC_HIGH_DW_Q): Likewise.
30823         * soft-fp/fmasf4.c: New file.
30824         * soft-fp/fmadf4.c: Likewise.
30825         * soft-fp/fmatf4.c: Likewise.
30827 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30830         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30831         Silvermont.
30832         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30833         macro.
30834         (index_Slow_SSE4_2): Likewise.
30835         (index_Prefer_PMINUB_for_stringop): Likewise.
30836         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30837         bit_Slow_SSE4_2 is set.
30838         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30839         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30841 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30843         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30844         rtld_global._dl_hwcap2.
30845         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30846         POWER8.
30847         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30848         POWER8 feature descriptions defined in _dl_hwcap2.
30849         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30850         string handling for POWER8 feature bits.
30851         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30852         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30853         _dl_powerpc_cap_flags.
30854         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30855         * sysdeps/powerpc/rtld-global-offsets.sym
30856         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30857         _dl_hwcap2 in the rtld_global_ro structure.
30859 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30861         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30862         hardware capabilities in support of AT_HWCAP2.
30863         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30864         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30865         GLRO(dl_hwcap2).
30866         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30867         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30868         explicitly the unknown a_type display mechanism is used.
30869         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30870         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30871         struct member.
30872         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30873         to macro prototype for AT_HWCAP2 support.
30874         * sysdeps/i386/dl-procinfo.h: Likewise.
30875         * sysdeps/s390/dl-procinfo.h: Likewise.
30876         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30877         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30878         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30879         return -1 for unknown a_type display fallback.
30880         * sysdeps/sparc/dl-procinfo.h: Likewise.
30881         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30882         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30884 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30886         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30887         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30889 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30891         [BZ #12492]
30892         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30893         mprotect making __stack_prot writable.
30895 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30896             Joseph Myers  <joseph@codesourcery.com>
30898         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30899         as being properly aligned.
30901 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30903         * dlfcn/modstatic5.c: New file.
30904         * dlfcn/tststatic5.c: New file.
30905         * dlfcn/Makefile (tests): Add tststatic5.
30906         (tests-static): Likewise.
30907         (modules-names): Add modstatic5.
30908         (tststatic5-ENV): New variable.
30909         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30911         [BZ #15022]
30912         * elf/dl-support.c (_dl_main_map): New variable.
30913         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30914         (_dl_nns, _dl_load_adds): Set to 1.
30915         (_dl_initial_searchlist): Refer to _dl_main_map.
30916         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30917         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30918         call to _dl_get_origin.
30919         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30920         around call_map.
30921         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30922         * dlfcn/modstatic3.c: New file.
30923         * dlfcn/tststatic3.c: New file.
30924         * dlfcn/tststatic4.c: New file.
30925         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30926         (tests-static): Likewise.
30927         (modules-names): Add modstatic3.
30928         (tststatic3-ENV, tststatic4-ENV): New variables.
30929         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30930         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30932 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30934         * configure.in (CC): Require GCC version 4.4 or later.
30935         * configure: Regenerated.
30936         * manual/install.texi (Tools for Compilation): Update GCC version
30937         requirement.
30938         * INSTALL: Regenerated.
30940 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30942         [BZ #15674]
30943         * string/test-memcmp.c (check2): New.
30944         (main): Call check2.
30946         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30948 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30950         [BZ #15022]
30951         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30952         over to...
30953         (dl_open_worker) [!SHARED]: ... here.
30955 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30957         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30959 2013-06-25  Richard Henderson  <rth@redhat.com>
30961         * locale/programs/locarchive.c: Include <libc-internal.h>
30963 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30965         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30966         trailing whitespace removed.
30968 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30970         [BZ #10283]
30971         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30972         * locale/programs/locarchive.c: Include libc-mmap.h.
30973         (prepare_address_space): Take two new outputs (the mmap base and len).
30974         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30975         values.
30976         (create_archive): Declare new mmap base and len values for
30977         prepare_address_space, and store the result in ah.
30978         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30979         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30980         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30981         Declare new mmap base and len values for
30982         prepare_address_space, and store the result in new_ah.
30983         (open_archive): Declare new mmap base and len values for
30984         prepare_address_space, and store the result in ah.
30985         (close_archive): If ah->mmap_base is not NULL, use that and
30986         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30987         * sysdeps/generic/libc-mmap.h: New file.
30989 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30991         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30992         (ALIGN_UP): Likewise.
30993         (PTR_ALIGN_DOWN): Likewise.
30994         (PTR_ALIGN_UP): Likewise.
30996 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30998         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30999         entry mapped to PPC_PLATFORM_POWER8.
31000         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31001         POWER8.
31002         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31003         (_dl_string_platform): Add case for exporting platform position for
31004         POWER8.
31005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31006         search path to sysdeps/powerpc/powerpc32/power8 directory.
31007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31008         search path to sysdeps/powerpc/powerpc64/power8 directory.
31009         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31010         power7 directories.
31011         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31012         power7 directories.
31014 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31016         * INSTALL: Regenerate.
31018         * nscd/connections.c (nscd_init): Fix comment.
31020 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31022         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31024         [BZ #15667]
31025         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31026         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31028 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31030         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31031         DL_DST_REQ_STATIC.
31032         (DL_DST_REQ_STATIC): Remove macro.
31034 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31036         [BZ #7006]
31037         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31038         with a shift of 0 bits.
31040 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31042         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31043         $(tststatic-ENV).
31045 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31047         [BZ #15655]
31048         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31050 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31052         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31053         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31054         accepts -fno-tree-loop-distribute-patterns.
31055         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31056         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31057         recursive call.
31058         * string/memset.c (memset): Likewise.
31059         * string/test-memmove.c (simple_memmove): Disable loop transformation
31060         to library calls.
31061         * string/test-memset.c (simple_memset): Likewise.
31062         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31063         * benchtests/bench-memset.c (simple_memset): Likewise.
31064         * configure: Regenerated.
31066 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31068         * math/test-misc.c (main): Ignore fesetround failure when failures
31069         of subsequent rounding tests would be ignored.
31071         [BZ #15654]
31072         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31073         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31074         * math/fegetenv.c (__fegetenv): Return 0.
31075         * math/fegetexcept.c (fegetexcept): Return 0.
31076         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31077         FE_TONEAREST.
31078         * math/feholdexcpt.c (feholdexcept): Return 0.
31079         * math/fesetenv.c (__fesetenv): Return 0.
31080         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31081         argument FE_TONEAREST.
31082         * math/feupdateenv.c (__feupdateenv): Return 0.
31083         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31085 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31087         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31088         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31089         ($(objpfx)rtld-%.os rules): Use them.
31091 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31093         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31094         fields.
31096 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31098         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31099         length of target pattern, then descending length of dependency pattern.
31100         * configure.in (AWK): Require gawk 3.1.2 or newer.
31101         * manual/install.texi (Tools for Compilation): Say that we do.
31102         * configure: Regenerated.
31104         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31105         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31106         * scripts/sysd-rules.awk: ... this new script.
31107         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31108         than a glob-style pattern.
31110 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31112         * math/test-misc.c (main): Do not treat incorrectly rounded
31113         conversions as failure unless ROUNDING_TESTS passes.
31115 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31117         [BZ #15631]
31118         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31119         restore exception state around main square root computation, then
31120         check for inexactness explicitly.
31122         * math/libm-test.inc (fma_test_data): Add another test.
31124 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         * manual/threads.texi (Non-POSIX Extensions): New document
31127         node.  Document pthread_getattr_default_np and
31128         pthread_setattr_default_np.
31130         * Versions.def (libpthread): Add GLIBC_2.18.
31131         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31133         Likewise.
31134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31135         Likewise.
31136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31137         Likewise.
31138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31139         Likewise.
31140         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31141         Likewise.
31142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31143         Likewise.
31144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31145         Likewise.
31146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31147         Likewise.
31148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31149         Likewise.
31151 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31154         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31156 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31157             H.J. Lu  <hjl.tools@gmail.com>
31159         [BZ #15627]
31160         * sysdeps/x86_64/rtld-memset.c: Remove file.
31161         * sysdeps/x86_64/rtld-memset.S: New file.
31163 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31165         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31166         (test_in_one_mode): Take arguments for whether the rounding mode
31167         is supported for each floating-point type.
31168         (do_test): Pass new arguments to test_in_one_mode using
31169         ROUNDING_TESTS.
31171 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31173         * posix/tst-waitid.c (do_test): Distinguish different instances of
31174         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31175         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31176         before entering the kernel for waitpid.
31178 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31180         * NEWS: Fix note on clock function precision.  Text by Roland
31181         McGrath.
31183 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31185         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31186         it into place only when and if the sanity check passes.
31188 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31190         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31191         output for whether conversion result is exact.  Take argument
31192         indicating whether type is IBM long double.
31193         (round_for_all): Change need_exact field to ibm_ld.
31194         * stdlib/tst-strtod-round.c (struct exactness): New type.
31195         (struct test): Change bool ld_ok field to struct exactness exact.
31196         (TEST): Update all definitions for change to field.
31197         (tests): Regenerate array contents.
31198         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31199         field value.  Check for IBM long double here.
31200         (do_test): Update calls to test_in_one_mode.
31202 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31204         [BZ #12515]
31205         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31206         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31208 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31210         [BZ #15605]
31211         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31212         generated by the compiler on loop optimizations.
31213         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31214         general definitions.
31216 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31218         * math/bug-nextafter.c: Include <math-tests.h>.
31219         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31220         the relevant type.
31221         * math/bug-nexttoward.c: Include <math-tests.h>.
31222         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31223         the relevant type.
31224         * math/test-misc.c: Include <math-tests.h>.
31225         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31226         the relevant type.
31228 2013-06-12  Andreas Jaeger  <aj@suse.de>
31230         * po/ia.po: Update Interlingua translation from translation
31231         project.
31233 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31235         * include/fenv.h: Include stdbool.h.
31236         (struct rm_ctx): New structure.
31237         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31238         Define macro.
31239         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31240         (SET_RESTORE_ROUNDF): Likewise.
31241         (SET_RESTORE_ROUNDL): Likewise.
31242         (SET_RESTORE_ROUND_NOEX): Likewise.
31243         (SET_RESTORE_ROUND_NOEXF): Likewise.
31244         (SET_RESTORE_ROUND_NOEXL): Likewise.
31245         (SET_RESTORE_ROUND_53BIT): Likewise.
31246         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31247         (libc_feresetround_noexf_ctx): Likewise.
31248         (libc_feresetround_noexl_ctx): Likewise.
31249         (libc_feholdsetround_53bit_ctx): Likewise.
31250         (libc_feresetround_53bit_ctx): Likewise.
31251         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31252         (libc_feholdexcept_setround_sse_ctx): New function.
31253         (libc_fesetenv_sse_ctx): Likewise.
31254         (libc_feupdateenv_sse_ctx): Likewise.
31255         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31256         (libc_feholdexcept_setround_387_ctx): Likewise.
31257         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31258         (libc_feholdsetround_387_prec_ctx): Likewise.
31259         (libc_feholdsetround_387_ctx): Likewise.
31260         (libc_feholdsetround_387_53bit_ctx): Likewise.
31261         (libc_feholdsetround_sse_ctx): Likewise.
31262         (libc_feresetround_sse_ctx): Likewise.
31263         (libc_feresetround_387_ctx): Likewise.
31264         (libc_feupdateenv_387_ctx): Likewise.
31265         (libc_feholdexcept_setroundf_ctx): Define macro.
31266         (libc_fesetenvf_ctx): Likewise.
31267         (libc_feupdateenvf_ctx): Likewise.
31268         (libc_feholdsetroundf_ctx): Likewise.
31269         (libc_feresetroundf_ctx): Likewise.
31270         (libc_feholdexcept_setround_ctx): Likewise.
31271         (libc_fesetenv_ctx): Likewise.
31272         (libc_feupdateenv_ctx): Likewise.
31273         (libc_feholdsetround_ctx): Likewise.
31274         (libc_feresetround_ctx): Likewise.
31275         (libc_feholdexcept_setroundl_ctx): Likewise.
31276         (libc_feupdateenvl_ctx): Likewise.
31277         (libc_feholdsetroundl_ctx): Likewise.
31278         (libc_feresetroundl_ctx): Likewise.
31279         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31280         (libc_feresetround_53bit_ctx): Likewise.
31282 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31284         * locale/iso-639.def: Convert to UTF-8.
31286 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31288         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31289         (EXCEPTION_TESTS_double): Likewise.
31290         (EXCEPTION_TESTS_long_double): Likewise.
31291         (EXCEPTION_TESTS): Likewise.
31292         * math/libm-test.inc (test_exceptions): Only test exceptions if
31293         EXCEPTION_TESTS (FLOAT).
31295 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31297         * benchtests/Makefile (string-bench): Add strcpy_chk and
31298         stpcpy_chk.
31299         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31300         * benchtests/bench-stpcpy_chk.c: New file.
31301         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31302         * benchtests/bench-strcpy_chk.c: New file.
31303         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31304         code.
31305         (do_test): Likewise.
31307 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31309         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31310         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31311         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31312         with tabs where appropriate.
31313         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31314         dl-procinfo.h.
31315         [PPC_PLATFORM_PPC440]: Likewise.
31316         [PPC_PLATFORM_PPC464]: Likewise.
31317         [PPC_PLATFORM_PPC476]: Likewise.
31318         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31319         ppc464, and ppc476 platform strings merging from ports/
31320         dl-procinfo.h.
31322 2013-06-11  Andreas Schwab  <schwab@suse.de>
31324         [BZ #14991]
31325         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31326         (from_ucs4_idx): Regenerate.
31327         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31328         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31329         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31330         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31331         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31332         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31333         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31334         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31335         from FROM_LOOP and TO_LOOP specific macros.
31336         (BODY): Handle combining characters.
31337         * iconvdata/BIG5HKSCS.irreversible: Update.
31338         * iconvdata/BIG5HKSCS.precomposed: New file.
31339         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31340         characters.
31341         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31343 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31345         * include/sys/time.h: Fix indentation and add copyright header.
31347         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31348         (do_test): Likewise.
31349         * string/test-memchr.c (do_one_test): Likewise.
31350         (do_test): Likewise.
31351         * string/test-memcmp.c (do_one_test): Likewise.
31352         (do_test): Likewise.
31353         * string/test-memcpy.c (do_one_test): Likewise.
31354         (do_test): Likewise.
31355         * string/test-memmem.c (do_one_test): Likewise.
31356         (do_test): Likewise.
31357         (do_random_tests): Likewise.
31358         * string/test-memmove.c (do_one_test): Likewise.
31359         (do_test): Likewise.
31360         * string/test-memset.c (do_one_test): Likewise.
31361         (do_test): Likewise.
31362         * string/test-rawmemchr.c (do_one_test): Likewise.
31363         (do_test): Likewise.
31364         * string/test-strcasecmp.c (do_one_test): Likewise.
31365         (do_test): Likewise.
31366         * string/test-strcasestr.c (do_one_test): Likewise.
31367         (do_test): Likewise.
31368         * string/test-strcat.c (do_one_test): Likewise.
31369         (do_test): Likewise.
31370         * string/test-strchr.c (do_one_test): Likewise.
31371         (do_test): Likewise.
31372         * string/test-strcmp.c (do_one_test): Likewise.
31373         (do_test): Likewise.
31374         * string/test-strcpy.c (do_one_test): Likewise.
31375         (do_test): Likewise.
31376         * string/test-string.h: Likewise.
31377         (test_init): Likewise.
31378         * string/test-strlen.c (do_one_test): Likewise.
31379         (do_test): Likewise.
31380         * string/test-strncasecmp.c (do_one_test): Likewise.
31381         (do_test): Likewise.
31382         * string/test-strncat.c (do_one_test): Likewise.
31383         (do_test): Likewise.
31384         * string/test-strncmp.c (do_one_test): Likewise.
31385         (do_test_limit): Likewise.
31386         (do_test): Likewise.
31387         * string/test-strncpy.c (do_one_test): Likewise.
31388         (do_test): Likewise.
31389         * string/test-strnlen.c (do_one_test): Likewise.
31390         (do_test): Likewise.
31391         * string/test-strpbrk.c (do_one_test): Likewise.
31392         (do_test): Likewise.
31393         * string/test-strrchr.c (do_one_test): Likewise.
31394         (do_test): Likewise.
31395         * string/test-strspn.c (do_one_test): Likewise.
31396         (do_test): Likewise.
31397         * string/test-strstr.c (do_one_test): Likewise.
31398         (do_test): Likewise.
31400         * benchtests/Makefile (string-bench): Add string benchmarks.
31401         * benchtests/bench-bcopy-ifunc.c: New file.
31402         * benchtests/bench-bcopy.c: New file.
31403         * benchtests/bench-bzero-ifunc.c: New file.
31404         * benchtests/bench-bzero.c: New file.
31405         * benchtests/bench-memccpy-ifunc.c: New file.
31406         * benchtests/bench-memccpy.c: New file.
31407         * benchtests/bench-memchr-ifunc.c: New file.
31408         * benchtests/bench-memchr.c: New file.
31409         * benchtests/bench-memcmp-ifunc.c: New file.
31410         * benchtests/bench-memcmp.c: New file.
31411         * benchtests/bench-memmem-ifunc.c: New file.
31412         * benchtests/bench-memmem.c: New file.
31413         * benchtests/bench-memmove-ifunc.c: New file.
31414         * benchtests/bench-memmove.c: New file.
31415         * benchtests/bench-mempcpy-ifunc.c: New file.
31416         * benchtests/bench-mempcpy.c: New file.
31417         * benchtests/bench-memset-ifunc.c: New file.
31418         * benchtests/bench-memset.c: New file.
31419         * benchtests/bench-rawmemchr-ifunc.c: New file.
31420         * benchtests/bench-rawmemchr.c: New file.
31421         * benchtests/bench-stpcpy-ifunc.c: New file.
31422         * benchtests/bench-stpcpy.c: New file.
31423         * benchtests/bench-stpncpy-ifunc.c: New file.
31424         * benchtests/bench-stpncpy.c: New file.
31425         * benchtests/bench-strcasecmp-ifunc.c: New file.
31426         * benchtests/bench-strcasecmp.c: New file.
31427         * benchtests/bench-strcasestr-ifunc.c: New file.
31428         * benchtests/bench-strcasestr.c: New file.
31429         * benchtests/bench-strcat-ifunc.c: New file.
31430         * benchtests/bench-strcat.c: New file.
31431         * benchtests/bench-strchr-ifunc.c: New file.
31432         * benchtests/bench-strchr.c: New file.
31433         * benchtests/bench-strchrnul-ifunc.c: New file.
31434         * benchtests/bench-strchrnul.c: New file.
31435         * benchtests/bench-strcmp-ifunc.c: New file.
31436         * benchtests/bench-strcmp.c: New file.
31437         * benchtests/bench-strcpy-ifunc.c: New file.
31438         * benchtests/bench-strcpy.c: New file.
31439         * benchtests/bench-strcspn-ifunc.c: New file.
31440         * benchtests/bench-strcspn.c: New file.
31441         * benchtests/bench-strlen-ifunc.c: New file.
31442         * benchtests/bench-strlen.c: New file.
31443         * benchtests/bench-strncasecmp-ifunc.c: New file.
31444         * benchtests/bench-strncasecmp.c: New file.
31445         * benchtests/bench-strncat-ifunc.c: New file.
31446         * benchtests/bench-strncat.c: New file.
31447         * benchtests/bench-strncmp-ifunc.c: New file.
31448         * benchtests/bench-strncmp.c: New file.
31449         * benchtests/bench-strncpy-ifunc.c: New file.
31450         * benchtests/bench-strncpy.c: New file.
31451         * benchtests/bench-strnlen-ifunc.c: New file.
31452         * benchtests/bench-strnlen.c: New file.
31453         * benchtests/bench-strpbrk-ifunc.c: New file.
31454         * benchtests/bench-strpbrk.c: New file.
31455         * benchtests/bench-strrchr-ifunc.c: New file.
31456         * benchtests/bench-strrchr.c: New file.
31457         * benchtests/bench-strspn-ifunc.c: New file.
31458         * benchtests/bench-strspn.c: New file.
31459         * benchtests/bench-strstr-ifunc.c: New file.
31460         * benchtests/bench-strstr.c: New file.
31462         * benchtests/Makefile: Disable parallel execution of targets.
31463         (string-bench): Add memcpy.
31464         (benchset): New variable to store a list of benchmark sets.
31465         (bench-func): Renamed from bench.
31466         (bench-set): New target.
31467         (bench): Depend on bench-func and bench-set.
31468         * benchtests/README: Add section on benchmark sets.
31469         * benchtests/bench-memcpy-ifunc.c: New file.
31470         * benchtests/bench-memcpy.c: New file.
31471         * benchtests/bench-string.h: New file.
31473 2013-06-11  Andreas Schwab  <schwab@suse.de>
31475         [BZ #15577]
31476         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31477         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31478         values in the triple.
31479         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31480         terminator in the group key.
31482 2013-06-11  Andreas Jaeger  <aj@suse.de>
31484         * po/zh_TW.po: Update Chinese (traditional) translation from
31485         translation project.
31487 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31489         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31490         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31491         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31493         (clock_getcpuclockid): Likewise.
31494         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31495         Add weak_alias and libc_hidden_def.
31496         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31497         * rt/clock_gettime.c (clock_gettime): Rename to
31498         __clock_gettime.  Add weak_alias and libc_hidden_def.
31499         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31500         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31501         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31502         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31503         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31504         Likewise.
31505         * rt/clock_settime.c (clock_settime): Rename to
31506         __clock_settime.  Add weak_alias and libc_hidden_def.
31507         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31509 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31511         * mach/err_boot.sub: Remove trailing whitespace.
31512         * mach/err_ipc.sub: Likewise.
31513         * mach/err_mach.sub: Likewise.
31515         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31516         (ROUNDING_TESTS_double): Likewise.
31517         (ROUNDING_TESTS_long_double): Likewise.
31518         (ROUNDING_TESTS): Likewise.
31519         * math/libm-test.inc: Include <math-tests.h>.
31520         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31521         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31522         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31523         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31525 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31527         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31528         of assigning.
31530 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31532         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31533         otherwise empty TRANS lines.
31534         * sysdeps/gnu/errlist.c: Regenerated.
31536         * catgets/gencat.c (error_print): Use (void) in function
31537         definition.
31538         * crypt/crypt_util.c (__init_des): Likewise.
31539         * crypt/speeds.c (Stop): Likewise.
31540         (main): Likewise.
31541         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31542         * inet/ruserpass.c (token): Likewise.
31543         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31544         * intl/localealias.c (extend_alias_table): Likewise.
31545         * intl/plural-exp.c (init_germanic_plural): Likewise.
31546         * libio/fcloseall.c (__fcloseall): Likewise.
31547         * libio/genops.c (_IO_flush_all): Likewise.
31548         (_IO_flush_all_linebuffered): Likewise.
31549         (_IO_cleanup): Likewise.
31550         (_IO_iter_begin): Likewise.
31551         (_IO_iter_end): Likewise.
31552         (_IO_list_lock): Likewise.
31553         (_IO_list_unlock): Likewise.
31554         (_IO_list_resetlock): Likewise.
31555         * libio/getchar.c (getchar): Likewise.
31556         * libio/getchar_u.c (getchar_unlocked): Likewise.
31557         * libio/getwchar.c (getwchar): Likewise.
31558         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31559         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31560         * login/getpt.c (__getpt): Likewise.
31561         * login/tst-utmp.c (main): Likewise.
31562         * malloc/hooks.c (__malloc_check_init): Likewise.
31563         * malloc/malloc.c (__malloc_stats): Likewise.
31564         * malloc/mtrace.c (tr_break): Likewise.
31565         (mtrace): Likewise.
31566         (muntrace): Likewise.
31567         * misc/fstab.c (endfsent): Likewise.
31568         * misc/getclktck.c (__getclktck): Likewise.
31569         * misc/getdtsz.c (__getdtablesize): Likewise.
31570         * misc/gethostid.c (gethostid): Likewise.
31571         * misc/getpagesize.c (__getpagesize): Likewise.
31572         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31573         (__get_nprocs): Likewise.
31574         (__get_phys_pages): Likewise.
31575         (__get_avphys_pages): Likewise.
31576         * misc/getttyent.c (getttyent): Likewise.
31577         (setttyent): Likewise.
31578         (endttyent): Likewise.
31579         * misc/getusershell.c (getusershell): Likewise.
31580         (endusershell): Likewise.
31581         (setusershell): Likewise.
31582         (initshells): Likewise.
31583         * misc/hsearch.c (__hdestroy): Likewise.
31584         * misc/sync.c (sync): Likewise.
31585         * misc/syslog.c (closelog_internal): Likewise.
31586         (closelog): Likewise.
31587         * misc/ttyslot.c (ttyslot): Likewise.
31588         * misc/vhangup.c (vhangup): Likewise.
31589         * posix/fork.c (__fork): Likewise.
31590         * posix/getegid.c (__getegid): Likewise.
31591         * posix/geteuid.c (__geteuid): Likewise.
31592         * posix/getgid.c (__getgid): Likewise.
31593         * posix/getpid.c (__getpid): Likewise.
31594         * posix/getppid.c (__getppid): Likewise.
31595         * posix/getuid.c (__getuid): Likewise.
31596         * posix/pause.c (pause): Likewise.
31597         * posix/setpgrp.c (setpgrp): Likewise.
31598         * posix/setsid.c (__setsid): Likewise.
31599         * posix/test-vfork.c (noop): Likewise.
31600         * resolv/gethnamaddr.c (_endhtent): Likewise.
31601         (_gethtent): Likewise.
31602         (ht_endhostent): Likewise.
31603         (gethostent): Likewise.
31604         (dns_service): Likewise.
31605         * stdlib/drand48.c (drand48): Likewise.
31606         * stdlib/lrand48.c (lrand48): Likewise.
31607         * stdlib/mrand48.c (mrand48): Likewise.
31608         * stdlib/rand.c (rand): Likewise.
31609         * stdlib/random.c (__random): Likewise.
31610         * stdlib/setenv.c (clearenv): Likewise.
31611         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31612         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31613         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31614         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31615         (__get_nprocs): Likewise.
31616         (__get_phys_pages): Likewise.
31617         (__get_avphys_pages): Likewise.
31618         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31619         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31620         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31621         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31622         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31623         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31624         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31625         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31626         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31627         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31628         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31629         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31630         * sysdeps/posix/clock.c (clock): Likewise.
31631         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31632         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31633         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31634         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31635         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31636         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31637         (__get_nprocs_conf): Likewise.
31638         (__get_phys_pages): Likewise.
31639         (__get_avphys_pages): Likewise.
31640         * time/clock.c (clock): Likewise.
31641         * time/tzset.c (__tzname_max): Likewise.
31643 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31645         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31646         (__bswap_32): Do not use "register".
31647         * crypt/crypt.c (_ufc_doit_r): Likewise.
31648         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31649         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31650         * gmon/gmon.c (__monstartup): Likewise.
31651         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31652         * hurd/hurdmalloc.c (more_memory): Likewise.
31653         (malloc): Likewise.
31654         (free): Likewise.
31655         (realloc): Likewise.
31656         (malloc_fork_prepare): Likewise.
31657         (malloc_fork_parent): Likewise.
31658         (malloc_fork_child): Likewise.
31659         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31660         (_svcauth_des): Likewise.
31661         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31662         * inet/inet_net.c (inet_network): Likewise.
31663         * inet/inet_netof.c (inet_netof): Likewise.
31664         * inet/rcmd.c (__validuser2_sa): Likewise.
31665         * io/fts.c (fts_open): Likewise.
31666         (fts_load): Likewise.
31667         (fts_close): Likewise.
31668         (fts_read): Likewise.
31669         (fts_children): Likewise.
31670         (fts_build): Likewise.
31671         (fts_stat): Likewise.
31672         (fts_sort): Likewise.
31673         (fts_alloc): Likewise.
31674         (fts_lfree): Likewise.
31675         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31676         (_IO_file_xsgetn): Likewise.
31677         (_IO_file_xsgetn_mmap): Likewise.
31678         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31679         (_IO_cookie_write): Likewise.
31680         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31681         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31682         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31683         * malloc/obstack.c (_obstack_begin): Likewise.
31684         (_obstack_begin_1): Likewise.
31685         (_obstack_newchunk): Likewise.
31686         (_obstack_allocated_p): Likewise.
31687         (obstack_free): Likewise.
31688         (_obstack_memory_used): Likewise.
31689         * misc/getttyent.c (getttynam): Likewise.
31690         (getttyent): Likewise.
31691         (skip): Likewise.
31692         (value): Likewise.
31693         * misc/getusershell.c (initshells): Likewise.
31694         * misc/syslog.c (__vsyslog_chk): Likewise.
31695         * misc/ttyslot.c (ttyslot): Likewise.
31696         * nis/nis_hash.c (__nis_hash): Likewise.
31697         * posix/fnmatch_loop.c (FCT): Likewise.
31698         * posix/getconf.c (print_all): Likewise.
31699         (main): Likewise.
31700         * posix/getopt.c (exchange): Likewise.
31701         * posix/glob.c (globfree): Likewise.
31702         (prefix_array): Likewise.
31703         (__glob_pattern_type): Likewise.
31704         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31705         (NS_GET32): Likewise.
31706         (NS_PUT16): Likewise.
31707         (NS_PUT32): Likewise.
31708         * resolv/gethnamaddr.c (getanswer): Likewise.
31709         (gethostbyname2): Likewise.
31710         (gethostbyaddr): Likewise.
31711         (_gethtent): Likewise.
31712         (_gethtbyname2): Likewise.
31713         (_gethtbyaddr): Likewise.
31714         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31715         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31716         * resolv/res_init.c (__res_vinit): Likewise.
31717         (net_mask): Likewise.
31718         * resolv/res_mkquery.c (outchar): Likewise.
31719         (PRINT): Likewise.
31720         * stdio-common/printf_fp.c (outchar): Likewise.
31721         (PRINT): Likewise.
31722         * stdio-common/printf_fphex.c (outchar): Likewise.
31723         (PRINT): Likewise.
31724         * stdio-common/printf_size.c (outchar): Likewise.
31725         (PRINT): Likewise.
31726         * stdio-common/test_rdwr.c (main): Likewise.
31727         * stdio-common/tfformat.c (matches): Likewise.
31728         * stdio-common/vfprintf.c (outchar): Likewise.
31729         (printf_unknown): Likewise.
31730         (buffered_vfprintf): Likewise.
31731         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31732         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31733         (ReadFile): Likewise.
31734         * stdlib/qsort.c (SWAP): Likewise.
31735         (_quicksort): Likewise.
31736         * stdlib/setenv.c (__add_to_environ): Likewise.
31737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31738         * stdlib/strtol_l.c (__strtol_l): Likewise.
31739         * stdlib/tst-strtod.c (main): Likewise.
31740         * stdlib/tst-strtol.c (main): Likewise.
31741         * stdlib/tst-strtoll.c (main): Likewise.
31742         * string/bits/string2.h (__strcmp_cc): Likewise.
31743         (__strcmp_cg): Likewise.
31744         (__strcspn_c1): Likewise.
31745         (__strcspn_c2): Likewise.
31746         (__strcspn_c3): Likewise.
31747         (__strspn_c1): Likewise.
31748         (__strspn_c2): Likewise.
31749         (__strspn_c3): Likewise.
31750         (__strsep_1c): Likewise.
31751         (__strsep_2c): Likewise.
31752         (__strsep_3c): Likewise.
31753         * string/memccpy.c (__memccpy): Likewise.
31754         * string/stpcpy.c (__stpcpy): Likewise.
31755         * string/strcmp.c (strcmp): Likewise.
31756         * string/strrchr.c (strrchr): Likewise.
31757         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31758         Likewise.
31759         * sysdeps/mach/hurd/getcwd.c
31760         (_hurd_canonicalize_directory_name_internal): Likewise.
31761         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31762         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31763         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31764         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31765         Likewise, in both definitions.
31766         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31767         definitions.
31768         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31769         64] (__bswap_64): Likewise.
31770         * time/test_time.c (main): Likewise.
31771         * time/tzfile.c (__tzfile_read): Likewise.
31772         (__tzfile_compute): Likewise.
31773         * time/tzset.c (__tzset_parse_tz): Likewise.
31774         (tzset_internal): Likewise.
31775         (compute_change): Likewise.
31776         * wcsmbs/wcscat.c (__wcscat): Likewise.
31777         * wcsmbs/wcschr.c (wcschr): Likewise.
31778         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31779         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31780         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31781         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31782         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31783         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31784         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31785         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31786         * wcsmbs/wmemset.c (wmemset): Likewise.
31788 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31790         * scripts/config.guess: Update to version 2013-05-16.
31791         * scripts/config.sub: Update to version 2013-04-24.
31792         * scripts/install-sh: Update to version 2011-11-20.07.
31793         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31794         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31796 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31798         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31799         * elf/sln.c: Likewise.
31800         * hurd/hurd/ioctl.h: Likewise.
31801         * hurd/hurdmalloc.c: Likewise.
31802         * hurd/xattr.c: Likewise.
31803         * include/shlib-compat.h: Likewise.
31804         * inet/ruserpass.c: Likewise.
31805         * libio/iofgets_u.c: Likewise.
31806         * libio/iofgetws_u.c: Likewise.
31807         * locale/programs/ld-identification.c: Likewise.
31808         * locale/programs/ld-time.c: Likewise.
31809         * mach/msg-destroy.c: Likewise.
31810         * nss/nss_files/files-netgrp.c: Likewise.
31811         * resolv/res_data.c: Likewise.
31812         * soft-fp/op-1.h: Likewise.
31813         * soft-fp/op-2.h: Likewise.
31814         * soft-fp/op-4.h: Likewise.
31815         * soft-fp/op-common.h: Likewise.
31816         * stdio-common/printf_fphex.c: Likewise.
31817         * stdlib/strtod_l.c: Likewise.
31818         * sunrpc/rpc/clnt.h: Likewise.
31819         * sysdeps/generic/framestate.c: Likewise.
31820         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31821         * sysdeps/i386/bsd-setjmp.S: Likewise.
31822         * sysdeps/i386/__longjmp.S: Likewise.
31823         * sysdeps/i386/setjmp.S: Likewise.
31824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31825         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31826         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31827         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31829         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31830         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31832         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31833         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31835         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31840         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31841         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31842         * sysdeps/ieee754/support.c: Likewise.
31843         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31844         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31845         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31846         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31847         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31848         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31849         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31850         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31851         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31852         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31853         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31854         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31855         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31856         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31857         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31858         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31859         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31862 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31864         * posix/transbug.c: Remove executable mode.
31866 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31868         * crypt/speeds.c: Remove trailing whitespace.
31869         * dlfcn/default.c: Likewise.
31870         * elf/ifuncdep2.c: Likewise.
31871         * elf/ifuncmain1.c: Likewise.
31872         * elf/ifuncmain1vis.c: Likewise.
31873         * elf/testobj.h: Likewise.
31874         * elf/tst-stackguard1.c: Likewise.
31875         * gmon/sys/gmon.h: Likewise.
31876         * hurd/hurdmsg.c: Likewise.
31877         * hurd/new-fd.c: Likewise.
31878         * hurd/ports-get.c: Likewise.
31879         * iconvdata/ibm1008_420.c: Likewise.
31880         * inet/tst-getni1.c: Likewise.
31881         * inet/tst-getni2.c: Likewise.
31882         * libio/ioungetc.c: Likewise.
31883         * libio/wfiledoalloc.c: Likewise.
31884         * manual/libm-err-tab.pl: Likewise.
31885         * math/w_dremf.c: Likewise.
31886         * misc/ftruncate.c: Likewise.
31887         * posix/bug-glob2.c: Likewise.
31888         * posix/tst-pcre.c: Likewise.
31889         * posix/wait4.c: Likewise.
31890         * resolv/README: Likewise.
31891         * resolv/res_debug.h: Likewise.
31892         * resolv/tst-inet_ntop.c: Likewise.
31893         * setjmp/bug269-setjmp.c: Likewise.
31894         * soft-fp/extended.h: Likewise.
31895         * soft-fp/op-1.h: Likewise.
31896         * soft-fp/op-2.h: Likewise.
31897         * soft-fp/op-4.h: Likewise.
31898         * soft-fp/op-8.h: Likewise.
31899         * soft-fp/testit.c: Likewise.
31900         * stdio-common/bug16.c: Likewise.
31901         * stdlib/random.c: Likewise.
31902         * sunrpc/rpcsvc/rquota.x: Likewise.
31903         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31904         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31905         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31906         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31907         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31908         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31909         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31910         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31911         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31912         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31913         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31914         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31915         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31916         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31917         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31918         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31919         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31920         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31921         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31923         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31925         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31928         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31929         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31930         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31931         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31932         * sysdeps/ieee754/s_lib_version.c: Likewise.
31933         * sysdeps/mach/hurd/check_fds.c: Likewise.
31934         * sysdeps/mach/hurd/getsockname.c: Likewise.
31935         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31936         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31937         * sysdeps/powerpc/bits/link.h: Likewise.
31938         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31939         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31940         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31941         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31942         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31943         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31944         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31945         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31946         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31947         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31948         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31949         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31950         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31952         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31953         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31957         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31959         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31961         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31962         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31963         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31964         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31970         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31971         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31972         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31973         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31974         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31975         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31976         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31977         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31978         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31979         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31980         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31981         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31982         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31983         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31984         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31985         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31986         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31987         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31988         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31990         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31991         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31992         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31993         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31994         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31995         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31996         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31997         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31998         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32000         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32001         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32002         * sysdeps/powerpc/sysdep.h: Likewise.
32003         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32004         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32005         * sysdeps/sh/dl-trampoline.S: Likewise.
32006         * sysdeps/sh/memset.S: Likewise.
32007         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32008         * sysdeps/sh/strlen.S: Likewise.
32009         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32010         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32011         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32012         * sysdeps/sparc/sparc32/rem.S: Likewise.
32013         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32014         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32015         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32016         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32017         * sysdeps/sparc/sparc32/urem.S: Likewise.
32018         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32019         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32020         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32021         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32022         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32023         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32024         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32025         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32026         * sysdeps/unix/bsd/times.c: Likewise.
32027         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32028         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32032         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32033         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32034         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32035         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32036         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32037         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32038         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32039         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32040         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32041         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32042         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32044         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32045         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32046         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32047         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32048         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32049         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32050         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32051         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32052         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32053         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32054         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32055         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32056         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32057         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32058         * sysdeps/x86_64/strcspn.S: Likewise.
32060 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32062         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32063         generated file.  Regenerate properly from gen-translit.pl.
32064         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32065         locale/C-translit.h.
32067 2013-06-05  Andreas Schwab  <schwab@suse.de>
32069         [BZ #15100]
32070         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32071         week as 6 instead of -1.
32072         * time/tst-strptime.c (day_tests): Add test case.
32074 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32076         * sysdeps/generic/math_private.h
32077         (libc_feholdexcept_setround_53bit): Replace with
32078         libc_feholdsetround_53bit.
32079         (libc_feupdateenv_53bit): Replace with
32080         libc_feresetround_53bit.
32081         (SET_RESTORE_ROUND_53BIT): Adjust.
32083 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32085         * string/test-strchrnul.c: Add copyright header.
32087         * posix/tst-getaddrinfo4.c: Increase test timeout.
32089 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32091         [BZ #15536]
32092         * math/libm-test.inc (MAX_EXP): Remove
32093         (MIN_EXP): Define.
32094         (ulp): Use MIN_EXP - MANT_DIG.
32095         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32097 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32099         * po/be.po: Revert last change.
32100         * po/zh_CN.po: Likewise.
32101         * po/header.pot: Likewise.
32103 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32105         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32106         link-libc-deps to empty as target-specific variable.
32107         * Makerules (link-libc-args): New variable.
32108         (libc-for-link): Likewise.
32109         (link-libc-deps): Likewise.
32110         (lib%.so): Depend on $(link-libc-deps).  Link with
32111         $(link-libc-args).
32112         (build-module): Link with $(link-libc-args).
32113         (build-module-asneeded): Likewise.
32114         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32115         list of objects.
32116         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32117         target-specific variable.
32118         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32119         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32120         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32121         libc.
32122         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32123         libc and ld.so.
32124         ($(objpfx)libpcprofile.so): Likewise.
32125         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32126         libc_nonshared.a.
32127         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32128         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32129         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32130         $(link-libc-deps).
32131         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32132         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32133         * login/Makefile ($(objpfx)libutil.so): Likewise.
32134         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32135         * math/Makefile ($(objpfx)libm.so): Likewise.
32136         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32137         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32138         variable instead of depending directly on libc.
32139         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32140         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32141         $(link-libc-deps).
32142         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32143         libc.
32144         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32145         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32146         ($(objpfx)libanl.so): Likewise.
32147         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32148         ld.so.
32149         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32150         $(link-libc-deps).
32151         * sysdeps/i386/fpu/Makefile: Remove file.
32152         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32153         ($(objpfx)libm.so): Remove dependency on ld.so.
32155 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32157         [BZ # 15553]
32158         * nis/yp_xdr.c (XDRMAXNAME): Define.
32159         (XDRMAXRECORD): Define.
32160         (xdr_domainname): Use XDRMAXNAME.
32161         (xdr_mapname): Likewise.
32162         (xdr_peername): Likewise.
32163         (xdr_keydat): Use XDRMAXRECORD.
32164         (xdr_valdat): Likewise.
32166 2013-05-30  Jeff Law  <law@redhat.com>
32168         [BZ #14256]
32169         * manual/errno.texi (ESTALE): Update to account for more than
32170         just NFS file systems.
32171         * sysdeps/gnu/errlist.c: Regenerated.
32173 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32175         [BZ #15465]
32176         * elf/Makefile (tests): Add tst-null-argv.
32177         (modules-names):  Add tst-null-argv-lib.
32178         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32179         (tst-null-argv-ENV): Set environment for tst-null-argv.
32180         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32181         (RTLD_PROGNAME): New macro.
32182         * elf/tst-null-argv.c: New test case.
32183         * elf/tst-null-argv-lib.c: Library for test case.
32184         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32185         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32186         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32187         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32188         * elf/dl-init.c (call_init): Likewise.
32189         (_dl_init): Likewise.
32190         * elf/dl-load.c (print_search_path): Likewise.
32191         (_dl_map_object): Likewise.
32192         * elf/dl-lookup.c (do_lookup_x): Likewise.
32193         (add_dependency): Likewise.
32194         (_dl_lookup_symbol_x): Likewise.
32195         (_dl_debug_bindings): Likewise.
32196         * elf/dl-open.c (_dl_show_scope): Likewise.
32197         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32198         * elf/dl-version.c (match_symbol): Likewise.
32199         (_dl_check_map_versions): Likewise.
32200         * elf/rtld.c (dl_main): Likewise.
32201         (print_unresolved): Use RTLD_PROGNAME.
32202         (print_missing_version): Likewise.
32203         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32204         (elf_machine_rela): Likewise.
32205         * sysdeps/powerpc/powerpc32/dl-machine.c
32206         (__process_machine_rela): Likewise.
32207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32208         Likewise.
32209         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32210         Likewise.
32211         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32212         Likewise.
32213         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32214         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32215         Likewise.
32216         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32217         Likewise.
32218         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32220 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32222         * po/be.po: Add descriptive title.
32223         * po/zh_CN.po: Likewise.
32224         * po/header.pot: Likewise.
32226 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32228         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32229         error message.
32230         (enlarge_archive): Likewise.
32232 2013-05-28  Ben North  <ben@redfrontdoor.org>
32234         * manual/arith.texi (frexp): It is the magnitude of the return
32235         value which lies in [0.5, 1), not the return value itself.
32237 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32241 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32243         * stdio-common/bug26.c (main): Correct fscanf template.
32245         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32246         declare _dl_skip_args.
32248         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32249         Don't declare.
32251         * manual/platform.texi: Add missing @end deftypefun.
32253 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32255         [BZ #15529]
32256         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32257         bit of mantissa of 2^16382.
32258         * math/libm-test.inc (hypot_test_data): Add more tests.
32260         * math/libm-test.inc: Add drem and pow10 to list of tested
32261         functions.
32262         (pow10_test): New function.
32263         (drem_test): Likewise.
32264         (drem_test_tonearest): Likewise.
32265         (drem_test_towardzero): Likewise.
32266         (drem_test_downward): Likewise.
32267         (drem_test_upward): Likewise.
32268         (main): Call the new functions.
32270         * math/libm-test.inc (finite_test_data): Remove.
32271         (finite_test): Run tests from isfinite_test_data.
32272         (gamma_test_data): Remove.
32273         (gamma_test): Run tests from lgamma_test_data.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update.
32275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32277 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32279         * manual/platform.texi: Add PowerPC PPR function set documentation.
32280         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32281         implementation.
32283 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32285         * math/libm-test.inc (MAX_EXP): Define.
32286         (ULPDIFF): Define.
32287         (ulp): New function.
32288         (check_float_internal): Use ULPDIFF.
32289         (cpow_test): Disable failing test.
32290         (check_ulp): Test ulp() implemetnation.
32291         (main): Call check_ulp before starting tests.
32293 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32295         * math/gen-libm-test.pl (generate_testfile): Do not handle
32296         START_DATA and END_DATA.
32297         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32298         END_DATA.
32299         (acos_tonearest_test_data): Likewise.
32300         (acos_towardzero_test_data): Likewise.
32301         (acos_downward_test_data): Likewise.
32302         (acos_upward_test_data): Likewise.
32303         (acosh_test_data): Likewise.
32304         (asin_test_data): Likewise.
32305         (asin_tonearest_test_data): Likewise.
32306         (asin_towardzero_test_data): Likewise.
32307         (asin_downward_test_data): Likewise.
32308         (asin_upward_test_data): Likewise.
32309         (asinh_test_data): Likewise.
32310         (atan_test_data): Likewise.
32311         (atanh_test_data): Likewise.
32312         (atan2_test_data): Likewise.
32313         (cabs_test_data): Likewise.
32314         (cacos_test_data): Likewise.
32315         (cacosh_test_data): Likewise.
32316         (carg_test_data): Likewise.
32317         (casin_test_data): Likewise.
32318         (casinh_test_data): Likewise.
32319         (catan_test_data): Likewise.
32320         (catanh_test_data): Likewise.
32321         (cbrt_test_data): Likewise.
32322         (ccos_test_data): Likewise.
32323         (ccosh_test_data): Likewise.
32324         (ceil_test_data): Likewise.
32325         (cexp_test_data): Likewise.
32326         (cimag_test_data): Likewise.
32327         (clog_test_data): Likewise.
32328         (clog10_test_data): Likewise.
32329         (conj_test_data): Likewise.
32330         (copysign_test_data): Likewise.
32331         (cos_test_data): Likewise.
32332         (cos_tonearest_test_data): Likewise.
32333         (cos_towardzero_test_data): Likewise.
32334         (cos_downward_test_data): Likewise.
32335         (cos_upward_test_data): Likewise.
32336         (cosh_test_data): Likewise.
32337         (cosh_tonearest_test_data): Likewise.
32338         (cosh_towardzero_test_data): Likewise.
32339         (cosh_downward_test_data): Likewise.
32340         (cosh_upward_test_data): Likewise.
32341         (cpow_test_data): Likewise.
32342         (cproj_test_data): Likewise.
32343         (creal_test_data): Likewise.
32344         (csin_test_data): Likewise.
32345         (csinh_test_data): Likewise.
32346         (csqrt_test_data): Likewise.
32347         (ctan_test_data): Likewise.
32348         (ctan_tonearest_test_data): Likewise.
32349         (ctan_towardzero_test_data): Likewise.
32350         (ctan_downward_test_data): Likewise.
32351         (ctan_upward_test_data): Likewise.
32352         (ctanh_test_data): Likewise.
32353         (ctanh_tonearest_test_data): Likewise.
32354         (ctanh_towardzero_test_data): Likewise.
32355         (ctanh_downward_test_data): Likewise.
32356         (ctanh_upward_test_data): Likewise.
32357         (erf_test_data): Likewise.
32358         (erfc_test_data): Likewise.
32359         (exp_test_data): Likewise.
32360         (exp_tonearest_test_data): Likewise.
32361         (exp_towardzero_test_data): Likewise.
32362         (exp_downward_test_data): Likewise.
32363         (exp_upward_test_data): Likewise.
32364         (exp10_test_data): Likewise.
32365         (exp2_test_data): Likewise.
32366         (expm1_test_data): Likewise.
32367         (fabs_test_data): Likewise.
32368         (fdim_test_data): Likewise.
32369         (finite_test_data): Likewise.
32370         (floor_test_data): Likewise.
32371         (fma_test_data): Likewise.
32372         (fma_towardzero_test_data): Likewise.
32373         (fma_downward_test_data): Likewise.
32374         (fma_upward_test_data): Likewise.
32375         (fmax_test_data): Likewise.
32376         (fmin_test_data): Likewise.
32377         (fmod_test_data): Likewise.
32378         (fpclassify_test_data): Likewise.
32379         (frexp_test_data): Likewise.
32380         (gamma_test_data): Likewise.
32381         (hypot_test_data): Likewise.
32382         (ilogb_test_data): Likewise.
32383         (isfinite_test_data): Likewise.
32384         (isgreater_test_data): Likewise.
32385         (isgreaterequal_test_data): Likewise.
32386         (isinf_test_data): Likewise.
32387         (isless_test_data): Likewise.
32388         (islessequal_test_data): Likewise.
32389         (islessgreater_test_data): Likewise.
32390         (isnan_test_data): Likewise.
32391         (isnormal_test_data): Likewise.
32392         (issignaling_test_data): Likewise.
32393         (isunordered_test_data): Likewise.
32394         (j0_test_data): Likewise.
32395         (j1_test_data): Likewise.
32396         (jn_test_data): Likewise.
32397         (ldexp_test_data): Likewise.
32398         (lgamma_test_data): Likewise.
32399         (lrint_test_data): Likewise.
32400         (lrint_tonearest_test_data): Likewise.
32401         (lrint_towardzero_test_data): Likewise.
32402         (lrint_downward_test_data): Likewise.
32403         (lrint_upward_test_data): Likewise.
32404         (llrint_test_data): Likewise.
32405         (llrint_tonearest_test_data): Likewise.
32406         (llrint_towardzero_test_data): Likewise.
32407         (llrint_downward_test_data): Likewise.
32408         (llrint_upward_test_data): Likewise.
32409         (log_test_data): Likewise.
32410         (log10_test_data): Likewise.
32411         (log1p_test_data): Likewise.
32412         (log2_test_data): Likewise.
32413         (logb_test_data): Likewise.
32414         (logb_downward_test_data): Likewise.
32415         (lround_test_data): Likewise.
32416         (llround_test_data): Likewise.
32417         (modf_test_data): Likewise.
32418         (nearbyint_test_data): Likewise.
32419         (nextafter_test_data): Likewise.
32420         (nexttoward_test_data): Likewise.
32421         (pow_test_data): Likewise.
32422         (pow_tonearest_test_data): Likewise.
32423         (pow_towardzero_test_data): Likewise.
32424         (pow_downward_test_data): Likewise.
32425         (pow_upward_test_data): Likewise.
32426         (remainder_test_data): Likewise.
32427         (remainder_tonearest_test_data): Likewise.
32428         (remainder_towardzero_test_data): Likewise.
32429         (remainder_downward_test_data): Likewise.
32430         (remainder_upward_test_data): Likewise.
32431         (remquo_test_data): Likewise.
32432         (rint_test_data): Likewise.
32433         (rint_tonearest_test_data): Likewise.
32434         (rint_towardzero_test_data): Likewise.
32435         (rint_downward_test_data): Likewise.
32436         (rint_upward_test_data): Likewise.
32437         (round_test_data): Likewise.
32438         (scalb_test_data): Likewise.
32439         (scalbn_test_data): Likewise.
32440         (scalbln_test_data): Likewise.
32441         (signbit_test_data): Likewise.
32442         (sin_test_data): Likewise.
32443         (sin_tonearest_test_data): Likewise.
32444         (sin_towardzero_test_data): Likewise.
32445         (sin_downward_test_data): Likewise.
32446         (sin_upward_test_data): Likewise.
32447         (sincos_test_data): Likewise.
32448         (sinh_test_data): Likewise.
32449         (sinh_tonearest_test_data): Likewise.
32450         (sinh_towardzero_test_data): Likewise.
32451         (sinh_downward_test_data): Likewise.
32452         (sinh_upward_test_data): Likewise.
32453         (sqrt_test_data): Likewise.
32454         (tan_test_data): Likewise.
32455         (tan_tonearest_test_data): Likewise.
32456         (tan_towardzero_test_data): Likewise.
32457         (tan_downward_test_data): Likewise.
32458         (tan_upward_test_data): Likewise.
32459         (tanh_test_data): Likewise.
32460         (tgamma_test_data): Likewise.
32461         (trunc_test_data): Likewise.
32462         (y0_test_data): Likewise.
32463         (y1_test_data): Likewise.
32464         (yn_test_data): Likewise.
32465         (significand_test_data): Likewise.
32467         * math/gen-libm-test.pl (@functions): Remove variable.
32468         (generate_testfile): Don't handle START and END lines.
32469         * math/libm-test.inc (START): New macro.
32470         (END): Likewise.
32471         (END_COMPLEX): Likewise.
32472         (acos_test): Use END macro without arguments.
32473         (acos_test_tonearest): Likewise.
32474         (acos_test_towardzero): Likewise.
32475         (acos_test_downward): Likewise.
32476         (acos_test_upward): Likewise.
32477         (acosh_test): Likewise.
32478         (asin_test): Likewise.
32479         (asin_test_tonearest): Likewise.
32480         (asin_test_towardzero): Likewise.
32481         (asin_test_downward): Likewise.
32482         (asin_test_upward): Likewise.
32483         (asinh_test): Likewise.
32484         (atan_test): Likewise.
32485         (atanh_test): Likewise.
32486         (atan2_test): Likewise.
32487         (cabs_test): Likewise.
32488         (cacos_test): Use END_COMPLEX macro without arguments.
32489         (cacosh_test): Likewise.
32490         (carg_test): Use END macro without arguments.
32491         (casin_test): Use END_COMPLEX macro without arguments.
32492         (casinh_test): Likewise.
32493         (catan_test): Likewise.
32494         (catanh_test): Likewise.
32495         (cbrt_test): Use END macro without arguments.
32496         (ccos_test): Use END_COMPLEX macro without arguments.
32497         (ccosh_test): Likewise.
32498         (ceil_test): Use END macro without arguments.
32499         (cexp_test): Use END_COMPLEX macro without arguments.
32500         (cimag_test): Use END macro without arguments.
32501         (clog_test): Use END_COMPLEX macro without arguments.
32502         (clog10_test): Likewise.
32503         (conj_test): Likewise.
32504         (copysign_test): Use END macro without arguments.
32505         (cos_test): Likewise.
32506         (cos_test_tonearest): Likewise.
32507         (cos_test_towardzero): Likewise.
32508         (cos_test_downward): Likewise.
32509         (cos_test_upward): Likewise.
32510         (cosh_test): Likewise.
32511         (cosh_test_tonearest): Likewise.
32512         (cosh_test_towardzero): Likewise.
32513         (cosh_test_downward): Likewise.
32514         (cosh_test_upward): Likewise.
32515         (cpow_test): Use END_COMPLEX macro without arguments.
32516         (cproj_test): Likewise.
32517         (creal_test): Use END macro without arguments.
32518         (csin_test): Use END_COMPLEX macro without arguments.
32519         (csinh_test): Likewise.
32520         (csqrt_test): Likewise.
32521         (ctan_test): Likewise.
32522         (ctan_test_tonearest): Likewise.
32523         (ctan_test_towardzero): Likewise.
32524         (ctan_test_downward): Likewise.
32525         (ctan_test_upward): Likewise.
32526         (ctanh_test): Likewise.
32527         (ctanh_test_tonearest): Likewise.
32528         (ctanh_test_towardzero): Likewise.
32529         (ctanh_test_downward): Likewise.
32530         (ctanh_test_upward): Likewise.
32531         (erf_test): Use END macro without arguments.
32532         (erfc_test): Likewise.
32533         (exp_test): Likewise.
32534         (exp_test_tonearest): Likewise.
32535         (exp_test_towardzero): Likewise.
32536         (exp_test_downward): Likewise.
32537         (exp_test_upward): Likewise.
32538         (exp10_test): Likewise.
32539         (exp2_test): Likewise.
32540         (expm1_test): Likewise.
32541         (fabs_test): Likewise.
32542         (fdim_test): Likewise.
32543         (finite_test): Likewise.
32544         (floor_test): Likewise.
32545         (fma_test): Likewise.
32546         (fma_test_towardzero): Likewise.
32547         (fma_test_downward): Likewise.
32548         (fma_test_upward): Likewise.
32549         (fmax_test): Likewise.
32550         (fmin_test): Likewise.
32551         (fmod_test): Likewise.
32552         (fpclassify_test): Likewise.
32553         (frexp_test): Likewise.
32554         (gamma_test): Likewise.
32555         (hypot_test): Likewise.
32556         (ilogb_test): Likewise.
32557         (isfinite_test): Likewise.
32558         (isgreater_test): Likewise.
32559         (isgreaterequal_test): Likewise.
32560         (isinf_test): Likewise.
32561         (isless_test): Likewise.
32562         (islessequal_test): Likewise.
32563         (islessgreater_test): Likewise.
32564         (isnan_test): Likewise.
32565         (isnormal_test): Likewise.
32566         (issignaling_test): Likewise.
32567         (isunordered_test): Likewise.
32568         (j0_test): Likewise.
32569         (j1_test): Likewise.
32570         (jn_test): Likewise.
32571         (ldexp_test): Likewise.
32572         (lgamma_test): Likewise.
32573         (lrint_test): Likewise.
32574         (lrint_test_tonearest): Likewise.
32575         (lrint_test_towardzero): Likewise.
32576         (lrint_test_downward): Likewise.
32577         (lrint_test_upward): Likewise.
32578         (llrint_test): Likewise.
32579         (llrint_test_tonearest): Likewise.
32580         (llrint_test_towardzero): Likewise.
32581         (llrint_test_downward): Likewise.
32582         (llrint_test_upward): Likewise.
32583         (log_test): Likewise.
32584         (log10_test): Likewise.
32585         (log1p_test): Likewise.
32586         (log2_test): Likewise.
32587         (logb_test): Likewise.
32588         (logb_test_downward): Likewise.
32589         (lround_test): Likewise.
32590         (llround_test): Likewise.
32591         (modf_test): Likewise.
32592         (nearbyint_test): Likewise.
32593         (nextafter_test): Likewise.
32594         (nexttoward_test): Likewise.
32595         (pow_test): Likewise.
32596         (pow_test_tonearest): Likewise.
32597         (pow_test_towardzero): Likewise.
32598         (pow_test_downward): Likewise.
32599         (pow_test_upward): Likewise.
32600         (remainder_test): Likewise.
32601         (remainder_test_tonearest): Likewise.
32602         (remainder_test_towardzero): Likewise.
32603         (remainder_test_downward): Likewise.
32604         (remainder_test_upward): Likewise.
32605         (remquo_test): Likewise.
32606         (rint_test): Likewise.
32607         (rint_test_tonearest): Likewise.
32608         (rint_test_towardzero): Likewise.
32609         (rint_test_downward): Likewise.
32610         (rint_test_upward): Likewise.
32611         (round_test): Likewise.
32612         (scalb_test): Likewise.
32613         (scalbn_test): Likewise.
32614         (scalbln_test): Likewise.
32615         (signbit_test): Likewise.
32616         (sin_test): Likewise.
32617         (sin_test_tonearest): Likewise.
32618         (sin_test_towardzero): Likewise.
32619         (sin_test_downward): Likewise.
32620         (sin_test_upward): Likewise.
32621         (sincos_test): Likewise.
32622         (sinh_test): Likewise.
32623         (sinh_test_tonearest): Likewise.
32624         (sinh_test_towardzero): Likewise.
32625         (sinh_test_downward): Likewise.
32626         (sinh_test_upward): Likewise.
32627         (sqrt_test): Likewise.
32628         (tan_test): Likewise.
32629         (tan_test_tonearest): Likewise.
32630         (tan_test_towardzero): Likewise.
32631         (tan_test_downward): Likewise.
32632         (tan_test_upward): Likewise.
32633         (tanh_test): Likewise.
32634         (tgamma_test): Likewise.
32635         (trunc_test): Likewise.
32636         (y0_test): Likewise.
32637         (y1_test): Likewise.
32638         (yn_test): Likewise.
32639         (significand_test): Likewise.
32641 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32643         [BZ #15381]
32644         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32646 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32648         [BZ #14894]
32649         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32650         __ppc_mdoio and __ppc_mdoom.
32651         * manual/platform.texi: Document new functions __ppc_yield,
32652         __ppc_mdoio and __ppc_mdoom.
32654 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32656         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32657         (main): Mention "tls" pseudo-hwcap is legacy.
32658         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32660 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32662         * math/gen-libm-test.pl (parse_args): Output only string of
32663         arguments as text for test name, not full call or descriptions of
32664         tests for extra outputs.
32665         (generate_testfile): Do not pass function name to parse_args.
32666         Generate this_func variable from START.
32667         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32668         field to arg_str.
32669         (struct test_ff_f_data): Likewise.
32670         (test_ff_f_data_nexttoward): Likewise.
32671         (struct test_fi_f_data): Likewise.
32672         (struct test_fl_f_data): Likewise.
32673         (struct test_if_f_data): Likewise.
32674         (struct test_fff_f_data): Likewise.
32675         (struct test_c_f_data): Likewise.
32676         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32677         (struct test_fF_f1_data): Likewise.
32678         (struct test_ffI_f1_data): Likewise.
32679         (struct test_c_c_data): Rename test_name field to arg_str.
32680         (struct test_cc_c_data): Likewise.
32681         (struct test_f_i_data): Likewise.
32682         (struct test_ff_i_data): Likewise.
32683         (struct test_f_l_data): Likewise.
32684         (struct test_f_L_data): Likewise.
32685         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32686         and extra2_name.
32687         (COMMON_TEST_SETUP): New macro.
32688         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32689         (COMMON_TEST_CLEANUP): Likewise.
32690         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32691         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32692         macros.
32693         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32694         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32695         macros.
32696         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32697         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32698         cleanup macros.
32699         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32700         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32701         macros.
32702         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32703         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32704         macros.
32705         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32706         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32707         cleanup macros.
32708         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32709         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32710         cleanup macros.
32711         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32712         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32713         cleanup macros.
32714         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32715         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32716         macros.
32717         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32718         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32719         macros.
32720         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32721         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32722         macros.
32723         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32724         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32725         cleanup macros.
32726         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32727         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32728         cleanup macros.
32729         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32730         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32731         macros.
32732         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32733         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32734         cleanup macros.
32735         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32736         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32737         macros.
32738         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32739         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32740         macros.
32741         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32742         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32743         cleanup macros.
32744         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32746 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32748         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32749         to _sifields.sigfault.
32750         (si_addr_lsb): Define new macro.
32751         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32753         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32755 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32757         [BZ #15441]
32758         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32759         returns -1.
32760         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32761         null return -1.
32762         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32763         loading the domain.
32765 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32767         * math/gen-libm-test.pl (parse_args): Do not include expected
32768         result in test name.
32769         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32770         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32771         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32772         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32773         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32776 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32778         * benchtests/Makefile: Sort function entries.
32780         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32781         tanh, asinh, acosh, atanh.
32782         * benchtests/acos-inputs: New file.
32783         * benchtests/acosh-inputs: New file.
32784         * benchtests/asin-inputs: New file.
32785         * benchtests/asinh-inputs: New file.
32786         * benchtests/atanh-inputs: New file.
32787         * benchtests/cosh-inputs: New file.
32788         * benchtests/log-inputs: New file.
32789         * benchtests/sinh-inputs: New file.
32790         * benchtests/tanh-inputs: New file.
32792 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32794         [BZ #15339]
32795         * posix/tst-getaddrinfo4.c: New test.
32796         * posix/Makefile (tests): Add it.
32798 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32800         [BZ #15339]
32801         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32802         when no services were used.
32803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32804         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32806 2013-05-21  Andreas Schwab  <schwab@suse.de>
32808         [BZ #15014]
32809         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32810         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32811         successful.
32812         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32813         redundant variable declarations and reallocation of buffer when
32814         parsing as IPv6 address.  Always set NSS status when called from
32815         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32816         buffer too small.  Correct computation of needed size.
32817         * nss/Makefile (tests): Add test-digits-dots.
32818         * nss/test-digits-dots.c: New test.
32820 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32822         * benchtests/Makefile: Remove instructions for adding
32823         benchmark tests.
32824         * benchtests/README: New file to explain how to execute and
32825         enhance the benchmark tests.
32827 2013-05-21  Andreas Schwab  <schwab@suse.de>
32829         [BZ #15493]
32830         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32831         * setjmp/tst-sigsetjmp.c: New test.
32833 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32835         * sysdeps/x86_64/memset.S (memset): New implementation.
32836         (__bzero): Likewise.
32837         (__memset_tail): New function.
32839 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32841         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32842         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32843         __memcpy_sse2_unaligned ifunc selection.
32844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32845         Add memcpy-sse2-unaligned.S.
32846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32847         Add: __memcpy_sse2_unaligned.
32849 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32851         [BZ #15490]
32852         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32853         math_force_eval before restoring floating-point envrionment.
32854         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32855         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32856         Likewise.
32857         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32858         <math_private.h>.
32859         (__nearbyintl): Use math_force_eval before restoring
32860         floating-point environment.
32861         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32863         * math/gen-libm-test.pl (special_functions): Remove.
32864         (parse_args): Don't handle TEST_extra.  Handle functions with no
32865         return value.
32866         * math/libm-test.inc (struct test_sincos_data): Replace with
32867         struct test_fFF_11_data.
32868         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32869         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32870         (sincos_test_data): Change element type to struct
32871         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32872         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32873         RUN_TEST_LOOP_sincos.
32874         * math/README.libm-test: Don't mention special handling of
32875         individual functions.
32876         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32877         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32878         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32879         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32880         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32883         * math/gen-libm-test.pl (get_variable): Remove function.
32884         (parse_args): Don't show pointer parameters to call in test
32885         names.  Use "extra output N" in test names for extra outputs
32886         rather than naming variables.
32888 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32890         [BZ #15488]
32891         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32892         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32893         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32894         double tests.
32895         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32896         disable.
32897         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32898         check_long_double.
32900         * math/gen-libm-test.pl (@tests): Remove variable.
32901         ($count): Likewise.
32902         (new_test): Remove function.
32903         (show_exceptions): New function.
32904         (special_functions): Use show_exceptions instead of new_test.
32905         (parse_args): Likewise.
32906         (generate_testfile): Pass only function name in generated call to
32907         print_max_error or print_complex_max_error.
32908         (get_ulps): Do not handle complex tests specially.
32909         (output_test): Rename to ...
32910         (get_all_ulps_for_test): ... this.  Return a string rather than
32911         printing to a file.  Require ulps to be present.
32912         (output_ulps): Generate arrays rather than #defines.
32913         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32914         (struct ulp_data): New type.
32915         (BUILD_COMPLEX_ULP): Remove macro.
32916         (compare_ulp_data): New function.
32917         (find_ulps): Likewise.
32918         (find_test_ulps): Likewise.
32919         (find_function_ulps): Likewise.
32920         (find_complex_function_ulps): Likewise.
32921         (print_max_error): Determine allowed ulps using
32922         find_function_ulps.
32923         (print_complex_max_error): Determine allowed ulps using
32924         find_complex_function_ulps.
32925         (check_float_internal): Determine max ulps using find_test_ulps.
32926         (check_float): Do not take max_ulp parameter.  Update call to
32927         check_float_internal.
32928         (check_complex): Likewise.
32929         (check_int): Do not take max_ulp parameter.
32930         (check_long): Likewise.
32931         (check_bool): Likewise.
32932         (check_longlong): Likewise.
32933         (struct test_f_f_data): Remove max_ulp field.
32934         (struct test_ff_f_data): Likewise.
32935         (struct test_ff_f_data_nexttoward): Likewise.
32936         (struct test_fi_f_data): Likewise.
32937         (struct test_fl_f_data): Likewise.
32938         (struct test_if_f_data): Likewise.
32939         (struct test_fff_f_data): Likewise.
32940         (struct test_c_f_data): Likewise.
32941         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32942         (struct test_fF_f1_data): Likewise.
32943         (struct test_ffI_f1_data): Likewise.
32944         (struct test_c_c_data): Remove max_ulp field.
32945         (struct test_cc_c_data): Likewise.
32946         (struct test_f_i_data): Likewise.
32947         (struct test_ff_i_data): Likewise.
32948         (struct test_f_l_data): Likewise.
32949         (struct test_f_L_data): Likewise.
32950         (struct test_sincos_data): Likewise.
32951         (RUN_TEST_f_f): Do not handle ulps.
32952         (RUN_TEST_LOOP_f_f): Likewise.
32953         (RUN_TEST_2_f): Likewise.
32954         (RUN_TEST_LOOP_2_f): Likewise.
32955         (RUN_TEST_fff_f): Likewise.
32956         (RUN_TEST_LOOP_fff_f): Likewise.
32957         (RUN_TEST_c_f): Likewise.
32958         (RUN_TEST_LOOP_c_f): Likewise.
32959         (RUN_TEST_f_f1): Likewise.
32960         (RUN_TEST_LOOP_f_f1): Likewise.
32961         (RUN_TEST_fF_f1): Likewise.
32962         (RUN_TEST_LOOP_fF_f1): Likewise.
32963         (RUN_TEST_fI_f1): Likewise.
32964         (RUN_TEST_LOOP_fI_f1): Likewise.
32965         (RUN_TEST_ffI_f1): Likewise.
32966         (RUN_TEST_LOOP_ffI_f1): Likewise.
32967         (RUN_TEST_c_c): Likewise.
32968         (RUN_TEST_LOOP_c_c): Likewise.
32969         (RUN_TEST_cc_c): Likewise.
32970         (RUN_TEST_LOOP_cc_c): Likewise.
32971         (RUN_TEST_f_i): Likewise.
32972         (RUN_TEST_LOOP_f_i): Likewise.
32973         (RUN_TEST_f_i_tg): Likewise.
32974         (RUN_TEST_LOOP_f_i_tg): Likewise.
32975         (RUN_TEST_ff_i_tg): Likewise.
32976         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32977         (RUN_TEST_f_b): Likewise.
32978         (RUN_TEST_LOOP_f_b): Likewise.
32979         (RUN_TEST_f_b_tg): Likewise.
32980         (RUN_TEST_LOOP_f_b_tg): Likewise.
32981         (RUN_TEST_f_l): Likewise.
32982         (RUN_TEST_LOOP_f_l): Likewise.
32983         (RUN_TEST_f_L): Likewise.
32984         (RUN_TEST_LOOP_f_L): Likewise.
32985         (RUN_TEST_sincos): Likewise.
32986         (RUN_TEST_LOOP_sincos): Likewise.
32988 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32990         [BZ #15480]
32991         [BZ #15485]
32992         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32993         main case of finite arguments, set rounding mode to FE_TONEAREST
32994         and discard exceptions.
32995         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32996         exceptions.
32997         (remainder_tonearest_test_data): New variable.
32998         (remainder_test_tonearest): New function.
32999         (remainder_towardzero_test_data): New variable.
33000         (remainder_test_towardzero): New function.
33001         (remainder_downward_test_data): New variable.
33002         (remainder_test_downward): New function.
33003         (remainder_upward_test_data): New variable.
33004         (remainder_test_upward): New function.
33005         (main): Call the new test functions.
33007         * math/libm-test.inc (struct test_f_f1_data): Remove field
33008         extra_init.
33009         (struct test_fF_f1_data): Likewise.
33010         (struct test_ffI_f1_data): Likewise.
33011         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33012         based on value of EXTRA_EXPECTED.
33013         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33014         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33015         EXTRA_VAR based on value of EXTRA_EXPECTED.
33016         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33017         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33018         EXTRA_VAR based on value of EXTRA_EXPECTED.
33019         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33020         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33021         EXTRA_VAR based on value of EXTRA_EXPECTED.
33022         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33023         * math/gen-libm-test.pl (parse_args): Don't output initializers
33024         for extra output values.
33026         * math/libm-test.inc (check_int): Expect result to be exactly
33027         equal to expected value and do not handle ulps.
33028         (check_long): Likewise.
33029         (check_longlong): Likewise.
33031         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33032         exceptions.
33033         (cimag_test_data): Likewise.
33034         (conj_test_data): Likewise.
33035         (copysign_test_data): Likewise.
33036         (cproj_test_data): Likewise.
33037         (creal_test_data): Likewise.
33038         (fabs_test_data): Likewise.
33039         (fdim_test_data): Likewise.
33040         (finite_test_data): Likewise.
33041         (floor_test_data): Likewise.
33042         (fmax_test_data): Likewise.
33043         (fmin_test_data): Likewise.
33044         (fmod_test_data): Likewise.
33045         (fpclassify_test_data): Likewise.
33046         (frexp_test_data): Likewise.
33047         (ilogb_test_data): Likewise.
33048         (isfinite_test_data): Likewise.
33049         (isgreater_test_data): Likewise.
33050         (isgreaterequal_test_data): Likewise.
33051         (isinf_test_data): Likewise.
33052         (isless_test_data): Likewise.
33053         (islessequal_test_data): Likewise.
33054         (islessgreater_test_data): Likewise.
33055         (isnan_test_data): Likewise.
33056         (isnormal_test_data): Likewise.
33057         (issignaling_test_data): Likewise.
33058         (isunordered_test_data): Likewise.
33059         (ldexp_test_data): Likewise.
33060         (lrint_test_data): Likewise.
33061         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33062         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33063         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33064         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33065         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33066         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33067         test input.
33068         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33069         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33070         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33071         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33072         that test input.
33073         (lrint_downward_test_data): Test for "inexact" exceptions.
33074         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33075         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33076         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33077         test input.
33078         (lrint_upward_test_data): Test for "inexact" exceptions.
33079         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33080         test input.
33081         (llrint_test_data): Test for "inexact" exceptions.
33082         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33083         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33084         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33085         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33086         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33087         (llrint_downward_test_data): Test for "inexact" exceptions.
33088         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33089         (llrint_upward_test_data): Test for "inexact" exceptions.
33090         (logb_test_data): Likewise.
33091         (logb_downward_test_data): Likewise.
33092         (nextafter_test_data): Likewise.
33093         (nexttoward_test_data): Likewise.
33094         (remainder_test_data): Likewise.
33095         (remquo_test_data): Likewise.
33096         (scalbn_test_data): Likewise.
33097         (scalbln_test_data): Likewise.
33098         (signbit_test_data): Likewise.
33099         (sqrt_test_data): Likewise.
33100         (significand_test_data): Likewise.
33102 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33104         [BZ #15424]
33105         * benchtests/bench-modf.c (struct args): Mark arg0 as
33106         volatile.
33107         * scripts/bench.pl: Mark members of struct args as volatile.
33109 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33111         [BZ # 15497]
33112         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33113         negative infinity on POWER6 or lower.
33114         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33116 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33118         [BZ #15442]
33119         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33120         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33121         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33122         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33123         (_FP_SETQNAN): New macro.
33124         (_FP_SETQNAN_SEMIRAW): Likewise.
33125         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33126         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33127         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33128         (FP_EXTEND): Use _FP_FRAC_SNANP.
33129         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33130         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33131         into account.
33132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33133         New macro.
33134         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33135         Likewise.
33137 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33139         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33140         with DIVIDE_BY_ZERO_EXCEPTION.
33141         (gamma_test_data): Likewise.
33142         (lgamma_test_data): Likewise.
33143         (log_test_data): Likewise.
33144         (log10_test_data): Likewise.
33145         (log2_test_data): Likewise.
33146         (tgamma_test_data): Likewise.
33148         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33149         (acos_test_tonearest): Likewise.
33150         (acos_test_towardzero): Likewise.
33151         (acos_test_downward): Likewise.
33152         (acos_test_upward): Likewise.
33153         (acosh_test): Likewise.
33154         (asin_test): Likewise.
33155         (asin_test_tonearest): Likewise.
33156         (asin_test_towardzero): Likewise.
33157         (asin_test_downward): Likewise.
33158         (asin_test_upward): Likewise.
33159         (asinh_test): Likewise.
33160         (atan_test): Likewise.
33161         (atanh_test): Likewise.
33162         (atan2_test): Likewise.
33163         (cabs_test): Likewise.
33164         (cacos_test): Likewise.
33165         (cacosh_test): Likewise.
33166         (casin_test): Likewise.
33167         (casinh_test): Likewise.
33168         (catan_test): Likewise.
33169         (catanh_test): Likewise.
33170         (cbrt_test): Likewise.
33171         (ccos_test): Likewise.
33172         (ccosh_test): Likewise.
33173         (cexp_test): Likewise.
33174         (clog_test): Likewise.
33175         (clog10_test): Likewise.
33176         (cos_test): Likewise.
33177         (cos_test_tonearest): Likewise.
33178         (cos_test_towardzero): Likewise.
33179         (cos_test_downward): Likewise.
33180         (cos_test_upward): Likewise.
33181         (cosh_test): Likewise.
33182         (cosh_test_tonearest): Likewise.
33183         (cosh_test_towardzero): Likewise.
33184         (cosh_test_downward): Likewise.
33185         (cosh_test_upward): Likewise.
33186         (cpow_test): Likewise.
33187         (csin_test): Likewise.
33188         (csinh_test): Likewise.
33189         (csqrt_test): Likewise.
33190         (ctan_test): Likewise.
33191         (ctan_test_tonearest): Likewise.
33192         (ctan_test_towardzero): Likewise.
33193         (ctan_test_downward): Likewise.
33194         (ctan_test_upward): Likewise.
33195         (ctanh_test): Likewise.
33196         (ctanh_test_tonearest): Likewise.
33197         (ctanh_test_towardzero): Likewise.
33198         (ctanh_test_downward): Likewise.
33199         (ctanh_test_upward): Likewise.
33200         (erf_test): Likewise.
33201         (erfc_test): Likewise.
33202         (exp_test): Likewise.
33203         (exp_test_tonearest): Likewise.
33204         (exp_test_towardzero): Likewise.
33205         (exp_test_downward): Likewise.
33206         (exp_test_upward): Likewise.
33207         (exp10_test): Likewise.
33208         (exp2_test): Likewise.
33209         (expm1_test): Likewise.
33210         (fmod_test): Likewise.
33211         (gamma_test): Likewise.
33212         (hypot_test): Likewise.
33213         (j0_test): Likewise.
33214         (j1_test): Likewise.
33215         (jn_test): Likewise.
33216         (lgamma_test): Likewise.
33217         (log_test): Likewise.
33218         (log10_test): Likewise.
33219         (log1p_test): Likewise.
33220         (log2_test): Likewise.
33221         (logb_test_downward): Likewise.
33222         (pow_test): Likewise.
33223         (pow_test_tonearest): Likewise.
33224         (pow_test_towardzero): Likewise.
33225         (pow_test_downward): Likewise.
33226         (pow_test_upward): Likewise.
33227         (remainder_test): Likewise.
33228         (remquo_test): Likewise.
33229         (sin_test): Likewise.
33230         (sin_test_tonearest): Likewise.
33231         (sin_test_towardzero): Likewise.
33232         (sin_test_downward): Likewise.
33233         (sin_test_upward): Likewise.
33234         (sincos_test): Likewise.
33235         (sinh_test): Likewise.
33236         (sinh_test_tonearest): Likewise.
33237         (sinh_test_towardzero): Likewise.
33238         (sinh_test_downward): Likewise.
33239         (sinh_test_upward): Likewise.
33240         (sqrt_test): Likewise.
33241         (tan_test): Likewise.
33242         (tan_test_tonearest): Likewise.
33243         (tan_test_towardzero): Likewise.
33244         (tan_test_downward): Likewise.
33245         (tan_test_upward): Likewise.
33246         (tanh_test): Likewise.
33247         (tgamma_test): Likewise.
33248         (y0_test): Likewise.
33249         (y1_test): Likewise.
33250         (yn_test): Likewise.
33252         * math/gen-libm-test.pl (adjust_arg): Remove function.
33253         (special_function): Remove argument $in_func.  Only handle
33254         generating output for tables of tests, not inside functions.
33255         (parse_args): Likewise.
33256         (generate_testfile): Remove variable $in_func.  Update call to
33257         parse_args.
33258         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33259         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33260         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33261         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33262         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33263         (MAX_VALUE_INIT): Rename macro to max_value.
33264         (MIN_VALUE_INIT): Rename macro to min_value.
33265         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33266         (plus_zero): Remove variable.
33267         (minus_zero): Likewise.
33268         (plus_infty): Likewise.
33269         (minus_infty): Likewise.
33270         (qnan_value): Likewise.
33271         (max_value): Likewise.
33272         (min_value): Likewise.
33273         (min_subnorm_value): Likewise.
33275 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33277         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33278         uint64_t or uint32_t usage.
33279         * crypt/sha256-block.c: Likewise.
33280         * crypt/sha256-crypt.c: Likewise.
33281         * crypt/sha256.c: Likewise.
33282         * crypt/sha512-block.c: Likewise.
33283         * crypt/sha512-crypt.c: Likewise.
33284         * crypt/sha512.c: Likewise.
33285         * debug/backtrace-tst.c: Likewise.
33286         * debug/pcprofiledump.c: Likewise.
33287         * elf/cache.c: Likewise.
33288         * elf/dl-cache.c: Likewise.
33289         * elf/dl-misc.c: Likewise.
33290         * elf/dl-profile.c: Likewise.
33291         * elf/dl-support.c: Likewise.
33292         * elf/ldconfig.c: Likewise.
33293         * elf/sprof.c: Likewise.
33294         * iconv/dummy-repertoire.c: Likewise.
33295         * iconv/iconv_charmap.c: Likewise.
33296         * iconv/skeleton.c: Likewise.
33297         * iconvdata/8bit-generic.c: Likewise.
33298         * iconvdata/cp737.h: Likewise.
33299         * iconvdata/cp775.h: Likewise.
33300         * iconvdata/ibm1008.h: Likewise.
33301         * iconvdata/ibm1025.h: Likewise.
33302         * iconvdata/ibm1046.h: Likewise.
33303         * iconvdata/ibm1097.h: Likewise.
33304         * iconvdata/ibm1112.h: Likewise.
33305         * iconvdata/ibm1122.h: Likewise.
33306         * iconvdata/ibm1123.h: Likewise.
33307         * iconvdata/ibm1124.h: Likewise.
33308         * iconvdata/ibm1129.h: Likewise.
33309         * iconvdata/ibm1130.h: Likewise.
33310         * iconvdata/ibm1132.h: Likewise.
33311         * iconvdata/ibm1133.h: Likewise.
33312         * iconvdata/ibm1137.h: Likewise.
33313         * iconvdata/ibm1140.h: Likewise.
33314         * iconvdata/ibm1141.h: Likewise.
33315         * iconvdata/ibm1142.h: Likewise.
33316         * iconvdata/ibm1143.h: Likewise.
33317         * iconvdata/ibm1144.h: Likewise.
33318         * iconvdata/ibm1145.h: Likewise.
33319         * iconvdata/ibm1146.h: Likewise.
33320         * iconvdata/ibm1147.h: Likewise.
33321         * iconvdata/ibm1148.h: Likewise.
33322         * iconvdata/ibm1149.h: Likewise.
33323         * iconvdata/ibm1153.h: Likewise.
33324         * iconvdata/ibm1154.h: Likewise.
33325         * iconvdata/ibm1155.h: Likewise.
33326         * iconvdata/ibm1156.h: Likewise.
33327         * iconvdata/ibm1157.h: Likewise.
33328         * iconvdata/ibm1158.h: Likewise.
33329         * iconvdata/ibm1160.h: Likewise.
33330         * iconvdata/ibm1161.h: Likewise.
33331         * iconvdata/ibm1162.h: Likewise.
33332         * iconvdata/ibm1163.h: Likewise.
33333         * iconvdata/ibm1164.h: Likewise.
33334         * iconvdata/ibm1166.h: Likewise.
33335         * iconvdata/ibm1167.h: Likewise.
33336         * iconvdata/ibm12712.h: Likewise.
33337         * iconvdata/ibm1390.h: Likewise.
33338         * iconvdata/ibm1399.h: Likewise.
33339         * iconvdata/ibm16804.h: Likewise.
33340         * iconvdata/ibm4517.h: Likewise.
33341         * iconvdata/ibm4899.h: Likewise.
33342         * iconvdata/ibm4909.h: Likewise.
33343         * iconvdata/ibm4971.h: Likewise.
33344         * iconvdata/ibm5347.h: Likewise.
33345         * iconvdata/ibm803.h: Likewise.
33346         * iconvdata/ibm856.h: Likewise.
33347         * iconvdata/ibm901.h: Likewise.
33348         * iconvdata/ibm902.h: Likewise.
33349         * iconvdata/ibm9030.h: Likewise.
33350         * iconvdata/ibm9066.h: Likewise.
33351         * iconvdata/ibm921.h: Likewise.
33352         * iconvdata/ibm922.h: Likewise.
33353         * iconvdata/ibm9448.h: Likewise.
33354         * iconvdata/isiri-3342.h: Likewise.
33355         * iconvdata/jis0201.h: Likewise.
33356         * include/link.h: Likewise.
33357         * include/netdb.h: Likewise.
33358         * inet/check_native.c: Likewise.
33359         * inet/check_pf.c: Likewise.
33360         * inet/getipv4sourcefilter.c: Likewise.
33361         * inet/getnameinfo.c: Likewise.
33362         * inet/getsourcefilter.c: Likewise.
33363         * inet/htonl.c: Likewise.
33364         * inet/setipv4sourcefilter.c: Likewise.
33365         * inet/setsourcefilter.c: Likewise.
33366         * inet/test-inet6_opt.c: Likewise.
33367         * inet/tst-network.c: Likewise.
33368         * locale/C-collate.c: Likewise.
33369         * locale/C-ctype.c: Likewise.
33370         * locale/C-time.c: Likewise.
33371         * locale/C-translit.h: Likewise.
33372         * locale/loadarchive.c: Likewise.
33373         * locale/programs/3level.h: Likewise.
33374         * locale/programs/charmap.c: Likewise.
33375         * locale/programs/charmap.h: Likewise.
33376         * locale/programs/ld-address.c: Likewise.
33377         * locale/programs/ld-collate.c: Likewise.
33378         * locale/programs/ld-ctype.c: Likewise.
33379         * locale/programs/ld-identification.c: Likewise.
33380         * locale/programs/ld-measurement.c: Likewise.
33381         * locale/programs/ld-messages.c: Likewise.
33382         * locale/programs/ld-monetary.c: Likewise.
33383         * locale/programs/ld-name.c: Likewise.
33384         * locale/programs/ld-numeric.c: Likewise.
33385         * locale/programs/ld-paper.c: Likewise.
33386         * locale/programs/ld-telephone.c: Likewise.
33387         * locale/programs/ld-time.c: Likewise.
33388         * locale/programs/linereader.c: Likewise.
33389         * locale/programs/locale.c: Likewise.
33390         * locale/programs/locarchive.c: Likewise.
33391         * locale/programs/locfile.h: Likewise.
33392         * locale/programs/repertoire.c: Likewise.
33393         * locale/programs/simple-hash.c: Likewise.
33394         * locale/programs/simple-hash.h: Likewise.
33395         * malloc/memusage.c: Likewise.
33396         * malloc/memusagestat.c: Likewise.
33397         * nis/nis_defaults.c: Likewise.
33398         * nis/nis_hash.c: Likewise.
33399         * nis/nis_print.c: Likewise.
33400         * nis/nis_xdr.c: Likewise.
33401         * nscd/connections.c: Likewise.
33402         * nscd/hstcache.c: Likewise.
33403         * nscd/nscd_gethst_r.c: Likewise.
33404         * nscd/nscd_getserv_r.c: Likewise.
33405         * nscd/nscd_helper.c: Likewise.
33406         * nscd/servicescache.c: Likewise.
33407         * nss/makedb.c: Likewise.
33408         * nss/nss_db/db-XXX.c: Likewise.
33409         * nss/nss_db/db-initgroups.c: Likewise.
33410         * nss/nss_db/db-netgrp.c: Likewise.
33411         * nss/nss_files/files-network.c: Likewise.
33412         * nss/nss_files/files-parse.c: Likewise.
33413         * posix/bug-regex5.c: Likewise.
33414         * posix/fnmatch_loop.c: Likewise.
33415         * posix/regcomp.c: Likewise.
33416         * posix/regexec.c: Likewise.
33417         * posix/tst-rfc3484-2.c: Likewise.
33418         * posix/tst-rfc3484-3.c: Likewise.
33419         * posix/tst-rfc3484.c: Likewise.
33420         * resolv/nss_dns/dns-canon.c: Likewise.
33421         * resolv/nss_dns/dns-network.c: Likewise.
33422         * resolv/res_init.c: Likewise.
33423         * resolv/res_mkquery.c: Likewise.
33424         * resolv/tst-aton.c: Likewise.
33425         * stdlib/cxa_atexit.c: Likewise.
33426         * stdlib/cxa_finalize.c: Likewise.
33427         * stdlib/gen-fpioconst.c: Likewise.
33428         * stdlib/strtol_l.c: Likewise.
33429         * string/tst-endian.c: Likewise.
33430         * sunrpc/auth_des.c: Likewise.
33431         * sunrpc/clnt_udp.c: Likewise.
33432         * sunrpc/rtime.c: Likewise.
33433         * sunrpc/svcauth_des.c: Likewise.
33434         * sunrpc/xdr.c: Likewise.
33435         * sunrpc/xdr_intXX_t.c: Likewise.
33436         * sunrpc/xdr_rec.c: Likewise.
33437         * sysdeps/generic/ldconfig.h: Likewise.
33438         * sysdeps/generic/ldsodefs.h: Likewise.
33439         * sysdeps/generic/memusage.h: Likewise.
33440         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33441         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33442         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33444         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33445         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33447         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33448         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33450         * sysdeps/posix/getaddrinfo.c: Likewise.
33451         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33452         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33453         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33454         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33455         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33456         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33457         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33458         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33459         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33460         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33461         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33462         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33463         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33464         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33465         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33466         * sysdeps/x86_64/dl-tls.h: Likewise.
33467         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33468         * time/alt_digit.c: Likewise.
33469         * time/era.c: Likewise.
33470         * wcsmbs/tst-c16c32-1.c: Likewise.
33472 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33474         * math/libm-test.inc (struct test_sincos_data): New type.
33475         (RUN_TEST_LOOP_sincos): New macro.
33476         (sincos_test_data): New variable.
33477         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33479 2013-05-16  Richard Henderson  <rth@redhat.com>
33481         * math/atest-exp2.c (LIMB64): New macro.
33482         (CONSTSZ): New macro.
33483         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33484         (hexdig): Move ...
33485         (print_mpn_fp): ... to function scope.
33486         (read_mpn_hex): Remove.
33487         (get_log2): Remove.
33488         (exp2_mpn): Use mp_log2.
33489         (main): Use mp_exp1.
33491 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33493         * math/libm-test.inc: Remove comment about not testing "inexact"
33494         exceptions.
33495         (INEXACT_EXCEPTION): New macro.
33496         (NO_INEXACT_EXCEPTION): Likewise.
33497         (INVALID_EXCEPTION_OK): Update value.
33498         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33499         (OVERFLOW_EXCEPTION_OK): Likewise.
33500         (UNDERFLOW_EXCEPTION_OK): Likewise.
33501         (IGNORE_ZERO_INF_SIGN): Likewise.
33502         (ERRNO_UNCHANGED): Likewise.
33503         (ERRNO_EDOM): Likewise.
33504         (ERRNO_ERANGE): Likewise.
33505         (test_exceptions): Handle testing "inexact" exceptions.
33506         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33507         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33508         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33509         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33510         INEXACT_EXCEPTION.
33511         (rint_towardzero_test_data): Likewise.
33512         (rint_downward_test_data): Likewise.
33513         (rint_upward_test_data): Likewise.
33515         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33516         with OVERFLOW_EXCEPTION.
33517         (exp10_test_data): Likewise.
33518         (exp2_test_data): Likewise.
33519         (expm1_test_data): Likewise.
33520         (lgamma_test_data): Likewise.
33521         (pow_test_data): Likewise.
33522         (tgamma_test_data): Likewise.
33523         (yn_test_data): Remove duplicate test of overflow.
33525         * math/libm-test.inc (struct test_cc_c_data): New type.
33526         (RUN_TEST_LOOP_cc_c): New macro.
33527         (cpow_test_data): New variable.
33528         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33530         * math/libm-test.inc (struct test_f_L_data): New type.
33531         (RUN_TEST_LOOP_f_L): New macro.
33532         (llrint_test_data): New variable.
33533         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33534         (llrint_tonearest_test_data): New variable.
33535         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33536         (llrint_towardzero_test_data): New variable.
33537         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33538         (llrint_downward_test_data): New variable.
33539         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33540         (llrint_upward_test_data): New variable.
33541         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33542         (llround_test_data): New variable.
33543         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33545 2013-05-13  Peter Collingbourne  <pcc@google.com>
33547         * math/atest-exp2.c (get_log2): Remove const attribute.
33549 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33551         * math/libm-test.inc (struct test_f_l_data): New type.
33552         (RUN_TEST_LOOP_f_l): New macro.
33553         (lrint_test_data): New variable.
33554         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33555         (lrint_tonearest_test_data): New variable.
33556         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33557         (lrint_towardzero_test_data): New variable.
33558         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33559         (lrint_downward_test_data): New variable.
33560         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33561         (lrint_upward_test_data): New variable.
33562         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33563         (lround_test_data): New variable.
33564         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33566 2013-05-15  Peter Collingbourne  <pcc@google.com>
33568         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33569         (EXTRACT_WORDS64) Use where appropriate.
33570         (INSERT_WORDS64) Likewise.
33572         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33573         constraints with x constraints.
33574         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33576         * malloc/obstack.c (_obstack_compat): Add initializer.
33578 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33580         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33581         si_trapno and add si_addr_lsb to _sifields.sigfault.
33582         (si_trapno): Remove macro.
33583         (si_addr_lsb): Define new macro.
33584         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33586 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33588         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33589         instead of TEST_f_l.
33590         (llrint_test_tonearest): Likewise.
33591         (llrint_test_towardzero): Likewise.
33592         (llrint_test_downward): Likewise.
33593         (llrint_test_upward): Likewise.
33594         (llround_test): Likewise.
33596         * math/libm-test.inc (struct test_f_i_data): Add comment.
33597         (RUN_TEST_LOOP_f_b): New macro.
33598         (RUN_TEST_LOOP_f_b_tg): Likewise.
33599         (finite_test_data): New variable.
33600         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33601         (isfinite_test_data): New variable.
33602         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33603         (isinf_test_data): New variable.
33604         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33605         (isnan_test_data): New variable.
33606         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33607         (isnormal_test_data): New variable.
33608         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33609         (issignaling_test_data): New variable.
33610         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33611         (signbit_test_data): New variable.
33612         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33614         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33615         with INVALID_EXCEPTION.
33616         (acosh_test_data): Likewise.
33617         (asin_test_data): Likewise.
33618         (atanh_test_data): Likewise.
33619         (fmod_test_data): Likewise.
33620         (log_test_data): Likewise.
33621         (log10_test_data): Likewise.
33622         (log2_test_data): Likewise.
33623         (pow_test_data): Likewise.
33624         (sqrt_test_data): Likewise.
33625         (y0_test_data): Likewise.
33626         (y1_test_data): Likewise.
33627         (yn_test_data): Likewise.
33629         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33630         function contents.
33632         * math/libm-test.inc (struct test_ff_i_data): New type.
33633         (RUN_TEST_LOOP_ff_i_tg): New macro.
33634         (isgreater_test_data): New variable.
33635         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33636         (isgreaterequal_test_data): New variable.
33637         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33638         (isless_test_data): New variable.
33639         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33640         (islessequal_test_data): New variable.
33641         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33642         (islessgreater_test_data): New variable.
33643         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33644         (isunordered_test_data): New variable.
33645         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33647 2013-05-14  David S. Miller  <davem@davemloft.net>
33649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33651 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33653         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33655         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33656         extra_test to int.
33657         (struct test_f_i_data): Change type of max_ulp to int.
33659         * math/libm-test.inc (test_ffI_f1_data): New type.
33660         (RUN_TEST_LOOP_ffI_f1): New macro.
33661         (remquo_test_data): New variable.
33662         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33664         * setjmp/tst-setjmp-fp.c: New file.
33665         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33666         (link-libm): New variable.
33667         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33669         * math/libm-test.inc (struct test_f_i_data): New type.
33670         (RUN_TEST_LOOP_f_i): New macro.
33671         (RUN_TEST_LOOP_f_i_tg): Likewise.
33672         (fpclassify_test_data): New variable.
33673         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33674         (ilogb_test_data): New variable.
33675         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33677         * math/libm-test.inc (scalbln_test): Correct function name in END
33678         call.
33680         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33681         (RUN_TEST_LOOP_fI_f1): New macro.
33682         (frexp_test_data): New variable.
33683         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33685         * math/libm-test.inc (struct test_fF_f1_data): New type.
33686         (RUN_TEST_LOOP_fF_f1): New macro.
33687         (modf_test_data): New variable.
33688         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33690         * math/libm-test.inc (struct test_f_f1_data): New type.
33691         (RUN_TEST_LOOP_f_f1): New macro.
33692         (gamma_test_data): New variable.
33693         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33694         (lgamma_test_data): New variable.
33695         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33697 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33699         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33700         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33701         (main): Comment "tls" pseudo-hwcap.
33703 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33705         * math/libm-test.inc (struct test_fl_f_data): New type.
33706         (RUN_TEST_LOOP_fl_f): New variable.
33707         (scalbln_test_data): New variable.
33708         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33710         * math/libm-test.inc (struct test_fi_f_data): New type.
33711         (RUN_TEST_LOOP_fi_f): New macro.
33712         (ldexp_test_data): New variable.
33713         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33714         (scalbn_test_data): New variable.
33715         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33717         * math/libm-test.inc (struct test_c_f_data): New type.
33718         (RUN_TEST_LOOP_c_f): New macro.
33719         (cabs_test_data): New variable.
33720         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33721         (carg_test_data): New variable.
33722         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33723         (cimag_test_data): New variable.
33724         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33725         (creal_test_data): New variable.
33726         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33728         * math/libm-test.inc (struct test_if_f_data): New type.
33729         (RUN_TEST_LOOP_if_f): New macro.
33730         (jn_test_data): New variable.
33731         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33732         (yn_test_data): New variable.
33733         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33735         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33737 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33739         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33740         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33742 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33744         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33745         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33746         (bench-deps): Add bench-timing.h.
33747         * benchtests-bench-skeleton.c: Include bench-timing.h.
33748         (main): Use TIMING_* macros instead of clock_gettime.
33749         * benchtests/bench-timing.h: New file.
33751         [BZ #14582]
33752         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33753         Renamed from _LIB_VERSION.
33754         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33756 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33758         * math/libm-test.inc (struct test_fff_f_data): New type.
33759         (RUN_TEST_LOOP_fff_f): New macro.
33760         (fma_test_data): New variable.
33761         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33762         (fma_towardzero_test_data): New variable.
33763         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33764         (fma_downward_test_data): New variable.
33765         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33766         (fma_upward_test_data): New variable.
33767         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33769         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33770         (struct test_c_c_data): New type.
33771         (RUN_TEST_LOOP_c_c): New macro.
33772         (cacos_test_data): New variable.
33773         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33774         (cacosh_test_data): New variable.
33775         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33776         (casin_test_data): New variable.
33777         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33778         (casinh_test_data): New variable.
33779         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33780         (catan_test_data): New variable.
33781         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33782         (catanh_test_data): New variable.
33783         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33784         (ccos_test_data): New variable.
33785         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33786         (ccosh_test_data): New variable.
33787         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33788         (cexp_test_data): New variable.
33789         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33790         (clog_test_data): New variable.
33791         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33792         (clog10_test_data): New variable.
33793         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33794         (conj_test_data): New variable.
33795         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33796         (cproj_test_data): New variable.
33797         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33798         (csin_test_data): New variable.
33799         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33800         (csinh_test_data): New variable.
33801         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33802         (csqrt_test_data): New variable.
33803         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33804         (ctan_test_data): New variable.
33805         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33806         (ctan_tonearest_test_data): New variable.
33807         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33808         (ctan_towardzero_test_data): New variable.
33809         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33810         (ctan_downward_test_data): New variable.
33811         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33812         (ctan_upward_test_data): New variable.
33813         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33814         (ctanh_test_data): New variable.
33815         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33816         (ctanh_tonearest_test_data): New variable.
33817         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33818         (ctanh_towardzero_test_data): New variable.
33819         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33820         (ctanh_downward_test_data): New variable.
33821         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33822         (ctanh_upward_test_data): New variable.
33823         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33824         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33825         of BUILD_COMPLEX.
33827         * math/libm-test.inc (struct test_ff_f_data): New type.
33828         (struct test_ff_f_data_nexttoward): Likewise.
33829         (RUN_TEST_LOOP_2_f): New macro.
33830         (RUN_TEST_LOOP_ff_f): Likewise.
33831         (atan2_test_data): New variable.
33832         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33833         (copysign_test_data): New variable.
33834         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33835         (fdim_test_data): New variable.
33836         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33837         (fmax_test_data): New variable.
33838         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33839         (fmin_test_data): New variable.
33840         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33841         (fmod_test_data): New variable.
33842         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33843         (hypot_test_data): New variable.
33844         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33845         (nextafter_test_data): New variable.
33846         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33847         (nexttoward_test_data): New variable.
33848         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33849         (pow_test_data): New variable.
33850         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33851         (pow_tonearest_test_data): New variable.
33852         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33853         (pow_towardzero_test_data): New variable.
33854         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33855         (pow_downward_test_data): New variable.
33856         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33857         (pow_upward_test_data): New variable.
33858         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33859         (remainder_test_data): New variable.
33860         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33861         (scalb_test_data): New variable.
33862         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33863         * sysdeps/i386/fpu/libm-test-ulps: Update.
33865 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33867         * math/libm-test.inc (fma_test): Use max_value instead of local
33868         variable fltmax.
33869         (nextafter_test): Likewise.
33871         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33872         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33873         (acos_downward_test_data): New variable.
33874         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33875         (acos_upward_test_data): New variable.
33876         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33877         (acosh_test_data): New variable.
33878         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33879         (asin_test_data): New variable.
33880         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33881         (asin_tonearest_test_data): New variable.
33882         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33883         (asin_towardzero_test_data): New variable.
33884         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33885         (asin_downward_test_data): New variable.
33886         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33887         (asin_upward_test_data): New variable.
33888         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33889         (asinh_test_data): New variable.
33890         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33891         (atan_test_data): New variable.
33892         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33893         (atanh_test_data): New variable.
33894         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33895         (cbrt_test_data): New variable.
33896         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33897         (ceil_test_data): New variable.
33898         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33899         (cos_test_data): New variable.
33900         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33901         (cos_tonearest_test_data): New variable.
33902         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33903         (cos_towardzero_test_data): New variable.
33904         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33905         (cos_downward_test_data): New variable.
33906         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33907         (cos_upward_test_data): New variable.
33908         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33909         (cosh_test_data): New variable.
33910         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33911         (cosh_tonearest_test_data): New variable.
33912         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33913         (cosh_towardzero_test_data): New variable.
33914         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33915         (cosh_downward_test_data): New variable.
33916         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33917         (cosh_upward_test_data): New variable.
33918         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33919         (erf_test_data): New variable.
33920         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33921         (erfc_test_data): New variable.
33922         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33923         (exp_test_data): New variable.
33924         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33925         (exp_tonearest_test_data): New variable.
33926         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33927         (exp_towardzero_test_data): New variable.
33928         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33929         (exp_downward_test_data): New variable.
33930         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33931         (exp_upward_test_data): New variable.
33932         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33933         (exp10_test_data): New variable.
33934         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33935         (exp2_test_data): New variable.
33936         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33937         (expm1_test_data): New variable.
33938         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33939         (fabs_test_data): New variable.
33940         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33941         (floor_test_data): New variable.
33942         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33943         (j0_test_data): New variable.
33944         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33945         (j1_test_data): New variable.
33946         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33947         (log_test_data): New variable.
33948         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33949         (log10_test_data): New variable.
33950         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33951         (log1p_test_data): New variable.
33952         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33953         (log2_test_data): New variable.
33954         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33955         (logb_test_data): New variable.
33956         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33957         (logb_downward_test_data): New variable.
33958         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33959         (nearbyint_test_data): New variable.
33960         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33961         (rint_test_data): New variable.
33962         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33963         (rint_tonearest_test_data): New variable.
33964         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33965         (rint_towardzero_test_data): New variable.
33966         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33967         (rint_downward_test_data): New variable.
33968         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33969         (rint_upward_test_data): New variable.
33970         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33971         (round_test_data): New variable.
33972         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33973         (sin_test_data): New variable.
33974         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33975         (sin_tonearest_test_data): New variable.
33976         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33977         (sin_towardzero_test_data): New variable.
33978         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33979         (sin_downward_test_data): New variable.
33980         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33981         (sin_upward_test_data): New variable.
33982         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33983         (sinh_test_data): New variable.
33984         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33985         (sinh_tonearest_test_data): New variable.
33986         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33987         (sinh_towardzero_test_data): New variable.
33988         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33989         (sinh_downward_test_data): New variable.
33990         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33991         (sinh_upward_test_data): New variable.
33992         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33993         (sqrt_test_data): New variable.
33994         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33995         (tan_test_data): New variable.
33996         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33997         (tan_tonearest_test_data): New variable.
33998         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33999         (tan_towardzero_test_data): New variable.
34000         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34001         (tan_downward_test_data): New variable.
34002         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34003         (tan_upward_test_data): New variable.
34004         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34005         (tanh_test_data): New variable.
34006         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34007         (tgamma_test_data): New variable.
34008         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34009         (trunc_test_data): New variable.
34010         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34011         (y0_test_data): New variable.
34012         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34013         (y1_test_data): New variable.
34014         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34015         (significand_test_data): New variable.
34016         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34018 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34020         [BZ #12387]
34021         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34023 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34025         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34027 2013-05-10  Andreas Jaeger  <aj@suse.de>
34029         [BZ #15448]
34030         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34031         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34033 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34035         * math/gen-libm-test.pl (adjust_arg): New function.
34036         (special_functions): Handle generating output in both functions
34037         and arrays.
34038         (parse_args): Likewise.
34039         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34040         $in_func argument to parse_args.
34041         * math/libm-test.inc (struct test_f_f_data): New type.
34042         (IF_ROUND_INIT_): New macro.
34043         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34044         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34045         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34046         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34047         (ROUND_RESTORE_): Likewise.
34048         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34049         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34050         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34051         (ROUND_RESTORE_FE_UPWARD): Likewise.
34052         (RUN_TEST_LOOP_f_f): New macro.
34053         (acos_test_data): New variable.
34054         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34055         (acos_tonearest_test_data): New variable.
34056         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34058 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34060         * benchtests/bench-skeleton.c (startup): Fix coding style.
34062 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34064         [BZ #6809]
34065         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34066         negative infinity argument.
34067         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34068         negative infinity argument.
34069         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34070         negative infinity argument.
34071         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34072         domain errors.
34074 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34076         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34077         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34078         * iconv/iconv_prog.c (main): Likewise.
34079         * locale/programs/charmap-dir.c (charmap_readdir)
34080         (fopen_uncompressed): Likewise.
34081         * locale/programs/locfile.c (siblings_uncached)
34082         (write_locale_data): Use lstat64 instead of lstat.
34083         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34084         stat.
34086 2013-05-10  Andreas Jaeger  <aj@suse.de>
34088         [BZ #15395]
34089         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34090         localization.
34091         Include <locale.h>.
34093 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34095         * elf/dl-close.c (_dl_close_worker): Add comments.
34097 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34099         [BZ #15359]
34100         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34101         high part of pi/2.
34102         (__ieee754_rem_pio2l): Update comments.
34104         [BZ #15429]
34105         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34106         high part of pi/2.
34107         (__ieee754_rem_pio2l): Update comments.
34109         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34110         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34112         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34113         M_PI_4l.
34115         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34116         (M_PI_34_LOG10El): Likewise.
34117         (M_PI2_LOG10El): Likewise.
34118         (M_PI4_LOG10El): Likewise.
34119         (M_PI_LOG10El): Likewise.
34121 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34125 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34127         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34128         (MINUS_ZERO_INIT): Likewise.
34129         (PLUS_INFTY_INIT): Likewise.
34130         (MINUS_INFTY_INIT): Likewise.
34131         (QNAN_VALUE_INIT): Likewise.
34132         (MAX_VALUE_INIT): Likewise.
34133         (MIN_VALUE_INIT): Likewise.
34134         (MIN_SUBNORM_VALUE_INIT): Likewise.
34135         (plus_zero): Initialize with PLUS_ZERO_INIT.
34136         (minus_zero): Initialize with MINUS_ZERO_INIT.
34137         (plus_infty): Initialize with PLUS_INFTY_INIT.
34138         (minus_infty): Initialize with MINUS_INFTY_INIT.
34139         (qnan_value): Initialize with QNAN_VALUE_INIT.
34140         (max_value): Initialize with MAX_VALUE_INIT.
34141         (min_value): Initialize with MIN_VALUE_INIT.
34142         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34144         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34145         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34146         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34147         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34149         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34150         (RUN_TEST_2_f): Likewise.
34151         (RUN_TEST_ff_f): Likewise.
34152         (RUN_TEST_fi_f): Likewise.
34153         (RUN_TEST_fl_f): Likewise.
34154         (RUN_TEST_fff_f): Likewise.
34155         (RUN_TEST_c_f): Likewise.
34156         (RUN_TEST_f_f1): Likewise.
34157         (RUN_TEST_fF_f1): Likewise.
34158         (RUN_TEST_fI_f1): Likewise.
34159         (RUN_TEST_ffI_f1): Likewise.
34160         (RUN_TEST_c_c): Likewise.
34161         (RUN_TEST_cc_c): Likewise.
34162         (RUN_TEST_f_i): Likewise.
34163         (RUN_TEST_f_i_tg): Likewise.
34164         (RUN_TEST_ff_i_tg): Likewise.
34165         (RUN_TEST_f_b): Likewise.
34166         (RUN_TEST_f_b_tg): Likewise.
34167         (RUN_TEST_f_l): Likewise.
34168         (RUN_TEST_f_L): Likewise.
34169         (RUN_TEST_sincos): Likewise.
34170         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34171         whether to show exceptions.  Do not include ");\n" in return
34172         value.
34173         (special_functions): Output call to RUN_TEST_sincos instead of
34174         check_float calls.  Update calls to new_test.
34175         (parse_args): Output call to single RUN_TEST_* macro instead of
34176         check_* calls and other assignments.  Update calls to new_test.
34178         [BZ #2546]
34179         [BZ #2560]
34180         [BZ #5159]
34181         [BZ #15426]
34182         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34183         input to result for tgamma overflow.
34184         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34185         (gamma_coeff): New variable.
34186         (NCOEFF): New macro.
34187         (gamma_positive): New function.
34188         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34189         underflow here.  Use gamma_positive instead of exp (lgamma) for
34190         other arguments.
34191         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34192         (gamma_coeff): New variable.
34193         (NCOEFF): New macro.
34194         (gammaf_positive): New function.
34195         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34196         underflow here.  Use gamma_positive instead of exp (lgamma) for
34197         other arguments.
34198         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34199         (gamma_coeff): New variable.
34200         (NCOEFF): New macro.
34201         (gammal_positive): New function.
34202         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34203         underflow here.  Use gamma_positive instead of exp (lgamma) for
34204         other arguments.
34205         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34206         (gamma_coeff): New variable.
34207         (NCOEFF): New macro.
34208         (gammal_positive): New function.
34209         (__ieee754_gammal_r): Handle positive infinity, overflow and
34210         underflow here.  Handle NaN the same as positive infinity.  Remove
34211         check x < 0xffffffff for negative integers.  Use gamma_positive
34212         instead of exp (lgamma) for other arguments.
34213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34214         (gamma_coeff): New variable.
34215         (NCOEFF): New macro.
34216         (gammal_positive): New function.
34217         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34218         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34219         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34220         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34221         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34222         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34223         * sysdeps/generic/math_private.h (__gamma_productf): New
34224         prototype.
34225         (__gamma_product): Likewise.
34226         (__gamma_productl): Likewise.
34227         * math/Makefile (libm-calls): Add gamma_product.
34228         * math/libm-test.inc (tgamma_test): Add more tests.
34229         * sysdeps/i386/fpu/libm-test-ulps: Update.
34230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34232 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34234         * benchtests/bench-skeleton.c (main): Preheat CPU.
34236 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34238         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34240 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34242         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34243         and _dl_skip_args_internal.
34245 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34247         * manual/message.texi (Message Translation): Talk about users.
34248         Message to key mapping impacts design.
34250 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34252         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34254         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34256         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34257         * sysdeps/wordsize-64/glob64.c: ... here.
34259         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34260         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34261         New macros.
34263         * debug/getlogin_r_chk.c: Moved to ...
34264         * login/getlogin_r_chk.c: ... here.
34265         * debug/Makefile (routines): Move getlogin_r_chk to ...
34266         * login/Makefile (routines): ... here.
34267         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34268         * login/Versions (libc: GLIBC_2.4): ... here.
34270         * io/poll.c (__poll): Renamed from poll.
34271         Add libc_hidden_def.
34272         (poll): Define as weak alias.
34274         * debug/ptsname_r_chk.c: Moved to ...
34275         * login/ptsname_r_chk.c: ... here.
34276         * debug/Makefile (routines): Move ptsname_r_chk to ...
34277         * login/Makefile (routines): ... here.
34278         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34279         * login/Versions (libc: GLIBC_2.4): ... here.
34281         * posix/getlogin.c: Moved to ...
34282         * login/getlogin.c: ... here.
34283         * posix/getlogin_r.c: Moved to ...
34284         * login/getlogin_r.c: ... here.
34285         * posix/getlogin_r.c: Moved to ...
34286         * login/getlogin_r.c: ... here.
34287         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34288         * login/Makefile (routines): ... here.
34289         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34290         * login/Versions (libc: GLIBC_2.0): ... here.
34292         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34293         (setrlimit): Define as weak alias.
34295         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34296         Call __ names for open, ftruncate, and close.
34297         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34298         (truncate): Define as weak alias.
34300 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34302         * math/gen-libm-test.pl (parse_args): Initialize x before each
34303         test of frexp, modf and remquo.
34305         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34306         test signgam value.
34308 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34310         [BZ #15418]
34311         [BZ #15419]
34312         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34313         internal tests.
34314         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34316 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34318         * elf/dl-writev.h: New file.
34319         * elf/dl-misc.c: Include it.
34320         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34321         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34323 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34325         * math/libm-test.inc (noXFails): Remove variable.
34326         (noXPasses): Likewise.
34327         (BUILD_COMPLEX_INT): Remove macro.
34328         (print_screen): Remove xfail argument.
34329         (print_screen_max_error): Likewise.
34330         (update_stats): Likewise.
34331         (print_max_error): Likewise.  Update calls to other affected
34332         functions.
34333         (print_complex_max_error): Likewise.
34334         (test_single_exception): Update calls to print_screen.
34335         (test_single_errno): Likewise.
34336         (check_float_internal): Remove xfail argument.  Update calls to
34337         other affected functions.
34338         (check_float): Likewise.
34339         (check_complex): Likewise.
34340         (check_int): Likewise.
34341         (check_long): Likewise.
34342         (check_bool): Likewise.
34343         (check_longlong): Likewise.
34344         (main): Don't print noXFails and noXPasses.
34345         * math/gen-libm-test.pl (top level): Don't mention expected
34346         failure handling in comment.
34347         (new_test): Don't handle expected failures.
34348         (parse_args): Don't mention expected failure handling in comment.
34349         (generate_testfile): Don't handle expected failures.
34350         (parse_ulps): Likewise.
34351         (print_ulps_file): Likewise.
34352         (get_failure): Remove function.
34353         (output_test): Don't handle expected failures.
34354         * make/README.libm-test: Don't mention expected failure handling.
34356         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34357         (minus_zero): Likewise.
34358         (plus_infty): Likewise.
34359         (minus_infty): Likewise.
34360         (qnan_value): Likewise.
34361         (max_value): Likewise.
34362         (min_value): Likewise.
34363         (min_subnorm_value): Likewise.
34364         (initialize): Do not initialize those variables dynamically.
34366 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34368         * io/open.c (__open_2): Moved to ...
34369         * io/open_2.c: ... this new file.
34370         * io/open64.c (__open64_2): Moved to ...
34371         * io/open64_2.c: ... this new file.
34372         * io/openat.c (__openat_2): Moved to ...
34373         * io/openat_2.c: ... this new file.
34374         * io/openat64.c (__openat64_2): Moved to ...
34375         * io/openat64_2.c: ... this new file.
34376         * io/Makefile (routines): Add them.
34377         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34378         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34379         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34380         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34381         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34382         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34383         (__openat64): Add hidden_ver.
34384         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34385         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34387         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34388         Separately conditionalize setting of GLRO(dl_sysinfo) so
34389         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34390         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34392 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34394         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34395         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34396         definition.
34397         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34398         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34399         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34400         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34401         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34403 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34405         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34406         test signgam value.
34408         * math/libm-test.inc (hypot_test): Do not use
34409         IGNORE_ZERO_INF_SIGN.
34411 2013-05-03  Andreas Jaeger  <aj@suse.de>
34413         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34414         Linux 3.9.
34415         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34416         (PF_MAX): Adjust for VSOCK change.
34418 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34422 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34424         [BZ #15264]
34425         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34426         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34427         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34429 2013-05-02  David S. Miller  <davem@davemloft.net>
34431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34433 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34435         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34437 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34439         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34441 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34443         [BZ #14952]
34444         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34445         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34446         Use __attribute__ ((__gnu_inline__)).
34447         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34448         Don't use __attribute__ ((__gnu_inline__)).
34450 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34452         [BZ #15423]
34453         * math/s_catan.c (__catan): Handle small real or imaginary part of
34454         input specially to avoid spurious underflow.
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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34469 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34471         [BZ #15416]
34472         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34473         accurately for denominator in atan2.
34474         * math/s_catanf.c (__catanf): Likewise.
34475         * math/s_catanh.c (__catanh): Likewise.
34476         * math/s_catanhf.c (__catanhf): Likewise.
34477         * math/s_catanhl.c (__catanhl): Likewise.
34478         * math/s_catanl.c (__catanl): Likewise.
34479         * math/libm-test.inc (catan_test): Add more tests.
34480         (catanh_test): Likewise.
34481         * sysdeps/i386/fpu/libm-test-ulps: Update.
34482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34484 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34486         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34488         * benchtests/Makefile (bench): Remove slow benchmarks.
34489         * benchtests/atan-inputs: Add slow benchmark inputs.
34490         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34491         (BENCH_FUNC): Accept variant offset.
34492         (VARIANT): Define.
34493         * benchtests/bench-skeleton.c (main): Run benchmark for each
34494         variant.
34495         * benchtests/cos-inputs: Add slow benchmark inputs.
34496         * benchtests/exp-inputs: Likewise.
34497         * benchtests/pow-inputs: Likewise.
34498         * benchtests/sin-inputs: Likewise.
34499         * benchtests/slowatan-inputs: Remove.
34500         * benchtests/slowatan.c: Remove.
34501         * benchtests/slowcos-inputs: Remove.
34502         * benchtests/slowcos.c: Remove.
34503         * benchtests/slowexp-inputs: Remove.
34504         * benchtests/slowexp.c: Remove.
34505         * benchtests/slowpow-inputs: Remove.
34506         * benchtests/slowpow.c: Remove.
34507         * benchtests/slowsin-inputs: Remove.
34508         * benchtests/slowsin.c: Remove.
34509         * benchtests/slowtan-inputs: Remove.
34510         * benchtests/slowtan.c: Remove.
34511         * benchtests/tan-inputs: Add slow benchmark inputs.
34512         * scripts/bench.pl: Parse comments and directives.
34514         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34515         in CPPFLAGS.
34516         ($(objpfx)bench-%.c): Remove *-ITER.
34517         * benchtests/bench-modf.c: Remove definition of ITER.
34518         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34519         (main): Loop for DURATION seconds instead of fixed number of
34520         iterations.
34521         * scripts/bench.pl: Don't expect iterations in parameters.
34523 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34525         * io/fchdir.c (__fchdir): Renamed from fchdir.
34526         (fchdir): Define as weak alias.
34528 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34530         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34531         (ERRNO_EDOM): Likewise.
34532         (ERRNO_ERANGE): Likewise.
34533         (noErrnoTests): New variable.
34534         (init_max_error): Set errno to 0.
34535         (test_single_errno): New function.
34536         (test_errno): Likewise.
34537         (check_float_internal): Call test_errno.  Set errno to 0.
34538         (check_complex): Refer to errno tests in comment.
34539         (check_int): Call test_errno.  Set errno to 0.
34540         (check_long): Likewise.
34541         (check_bool): Likewise.
34542         (check_longlong): Likewise.
34543         (cos_test): Use ERRNO_* flags for errno tests instead of
34544         check_int.
34545         (expm1_test): Likewise.
34546         (fmod_test): Likewise.
34547         (ilogb_test): Likewise.
34548         (lgamma_test): Likewise.
34549         (pow_test): Likewise.
34550         (remainder_test): Likewise.
34551         (sin_test): Likewise.
34552         (tan_test): Likewise.
34553         (yn_test): Likewise.
34554         (initialize): Set errno to 0.
34555         (main): Print number of errno tests.
34556         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34558 2013-04-29  Andreas Jaeger  <aj@suse.de>
34560         [BZ #15084]
34561         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34562         and RES_USEVC.
34564         [BZ #15085]
34565         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34566         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34567         unimplemented.
34569         [BZ #15380]
34570         * stdlib/random.c (__initstate): Return NULL if
34571         __initstate fails.
34573         [BZ #15086]
34574         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34575         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34576         RES_SNGLKUPREOP.
34578 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34582 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34584         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34585         of individual tests.
34586         (casin_test): Likewise.
34587         (casinh_test): Likewise.
34589 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34591         [BZ #15409]
34592         * math/s_catan.c (__catan): Handle arguments with large real or
34593         imaginary part separately without squaring.
34594         * math/s_catanf.c (__catanf): Likewise.
34595         * math/s_catanh.c (__catanh): Likewise.
34596         * math/s_catanhf.c (__catanhf): Likewise.
34597         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34598         and redefine.
34599         (__catanhl): Handle arguments with large real or imaginary part
34600         separately without squaring.
34601         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34602         and redefine.
34603         (__catanl): Handle arguments with large real or imaginary part
34604         separately without squaring.
34605         * math/libm-test.inc (catan_test): Add more tests.
34606         (catanh_test): Likewise.
34607         * sysdeps/i386/fpu/libm-test-ulps: Update.
34608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34610 2013-04-27  Andreas Jaeger  <aj@suse.de>
34612         [BZ #15007]
34613         * stdlib/stdlib.h: Update guards for qecvt.
34614         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34615         <stdlib.h>.
34617 2013-04-27  Allan McRae  <allan@archlinux.org>
34619         * sysdeps/i386/fpu/libm-test-ulps: Update.
34621 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34623         [BZ #15406]
34624         * math/s_catan.c: Include <float.h>.
34625         (__catan): Ensure underflow exception occurs for underflowed
34626         result.
34627         * math/s_catanf.c: Include <float.h>.
34628         (__catanf): Ensure underflow exception occurs for underflowed
34629         result.
34630         * math/s_catanh.c: Include <float.h>.
34631         (__catanh): Ensure underflow exception occurs for underflowed
34632         result.
34633         * math/s_catanhf.c: Include <float.h>.
34634         (__catanhf): Ensure underflow exception occurs for underflowed
34635         result.
34636         * math/s_catanhl.c: Include <float.h>.
34637         (__catanhl): Ensure underflow exception occurs for underflowed
34638         result.
34639         * math/s_catanl.c: Include <float.h>.
34640         (__catanl): Ensure underflow exception occurs for underflowed
34641         result.
34642         * math/libm-test.inc (catan_test): Add more tests.
34643         (catanh_test): Likewise.
34645         [BZ #15405]
34646         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34647         underflowed result.
34648         * math/s_ccoshf.c (__ccoshf): Likewise.
34649         * math/s_ccoshl.c (__ccoshl): Likewise.
34650         * math/s_csin.c (__csin): Likewise.
34651         * math/s_csinf.c (__csinf): Likewise.
34652         * math/s_csinh.c (__csinh): Likewise.
34653         * math/s_csinhf.c (__csinhf): Likewise.
34654         * math/s_csinhl.c (__csinhl): Likewise.
34655         * math/s_csinl.c (__csinl): Likewise.
34656         * math/libm-test.inc (ccos_test): Add more tests.
34657         (ccosh_test): Likewise.
34658         (csin_test): Likewise.
34659         (csinh_test): Likewise.
34661 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34663         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34664         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34665         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34666         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34667         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34668         powerpc/power5+/fpu folders.
34669         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34672 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34676 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34678         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34679         additions to variable.
34680         [$(config-machine) = x86_64] (modules-names): Likewise.
34681         ($(objpfx)tst-audit3): Remove dependency.
34682         ($(objpfx)tst-audit3.out): Likewise.
34683         ($(objpfx)tst-audit4): Likewise.
34684         ($(objpfx)tst-audit4.out): Likewise.
34685         ($(objpfx)tst-audit5): Likewise.
34686         ($(objpfx)tst-audit5.out): Likewise.
34687         ($(objpfx)tst-audit6): Likewise.
34688         ($(objpfx)tst-audit6.out): Likewise.
34689         ($(objpfx)tst-audit7): Likewise.
34690         ($(objpfx)tst-audit7.out): Likewise.
34691         (tst-audit3-ENV): Remove variable.
34692         (tst-audit4-ENV): Likewise.
34693         (tst-audit5-ENV): Likewise.
34694         (tst-audit6-ENV): Likewise.
34695         (tst-audit7-ENV): Likewise.
34696         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34697         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34698         addition to variable.
34699         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34704         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34705         tst-audit3, tst-audit4 and tst-audit5.
34706         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34707         tst-audit6 and tst-audit7.
34708         [$(subdir) = elf] (modules-names): Add audit modules for those
34709         tests.
34710         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34711         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34712         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34713         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34714         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34715         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34716         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34717         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34718         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34719         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34720         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34721         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34722         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34723         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34724         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34725         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34726         Likewise.
34727         [$(subdir) = elf && $(config-cflags-avx) = yes]
34728         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34729         [$(subdir) = elf && $(config-cflags-avx) = yes]
34730         (CFLAGS-tst-auditmod4a.c): Likewise.
34731         [$(subdir) = elf && $(config-cflags-avx) = yes]
34732         (CFLAGS-tst-auditmod4b.c): Likewise.
34733         [$(subdir) = elf && $(config-cflags-avx) = yes]
34734         (CFLAGS-tst-auditmod6b.c): Likewise.
34735         [$(subdir) = elf && $(config-cflags-avx) = yes]
34736         (CFLAGS-tst-auditmod6c.c): Likewise.
34737         [$(subdir) = elf && $(config-cflags-avx) = yes]
34738         (CFLAGS-tst-auditmod7b.c): Likewise.
34739         * elf/tst-audit3.c: Move to ...
34740         * sysdeps/x86_64/tst-audit3.c: ... here.
34741         * elf/tst-audit4.c: Move to ...
34742         * sysdeps/x86_64/tst-audit4.c: ... here.
34743         * elf/tst-audit5.c: Move to ...
34744         * sysdeps/x86_64/tst-audit5.c: ... here.
34745         * elf/tst-audit6.c: Move to ...
34746         * sysdeps/x86_64/tst-audit6.c: ... here.
34747         * elf/tst-audit7.c: Move to ...
34748         * sysdeps/x86_64/tst-audit7.c: ... here.
34749         * elf/tst-auditmod3a.c: Move to ...
34750         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34751         * elf/tst-auditmod3b.c: Move to ...
34752         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34753         * elf/tst-auditmod4a.c: Move to ...
34754         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34755         * elf/tst-auditmod4b.c: Move to ...
34756         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34757         * elf/tst-auditmod5a.c: Move to ...
34758         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34759         * elf/tst-auditmod5b.c: Move to ...
34760         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34761         * elf/tst-auditmod6a.c: Move to ...
34762         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34763         * elf/tst-auditmod6b.c: Move to ...
34764         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34765         * elf/tst-auditmod6c.c: Move to ...
34766         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34767         * elf/tst-auditmod7a.c: Move to ...
34768         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34769         * elf/tst-auditmod7b.c: Move to ...
34770         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34772 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34774         [BZ #15366]
34775         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34776         define unconditionally.
34777         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34778         define unconditionally.
34779         (INT8_C, INT16_C, etc.): Likewise.
34781 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34783         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34784         __ehdr_start with hidden visibility.
34786         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34788 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34790         * math/libm-test.inc (cos_test): Use accurate hex constants.
34791         (sincost_test): Likewise.
34793 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34795         * math/libm-test.inc (catan_test): Add more tests.
34796         (catanh_test): Likewise.
34798         * math/s_catanf.c (__catanf): Use suffixed floating-point
34799         constants.
34800         * math/s_catanhf.c (__catanhf): Likewise.
34801         * math/s_catanhl.c (__catanhl): Likewise.
34802         * math/s_catanl.c (__catanl): Likewise.
34804         [BZ #15394]
34805         * math/s_catan.c (__catan): Calculate imaginary part of result
34806         with log1p not log unless computing log of number close to 0.
34807         * math/s_catanf.c (__catanf): Likewise.
34808         * math/s_catanl.c (__catanl): Likewise.
34809         * math/s_catanh.c (__catanh): Calculate real part of result with
34810         log1p not log unless computing log of number close to 0.
34811         * math/s_catanhf.c (__catanhf): Likewise.
34812         * math/s_catanhl.c (__catanhl): Likewise.
34813         * math/libm-test.inc (catan_test): Add more tests.
34814         (catanh_test): Likewise.
34815         * sysdeps/i386/fpu/libm-test-ulps: Update.
34816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34818 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34820         * benchtests/Makefile: Mention files in which fast and slow
34821         paths of math functions are implemented.
34823 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34825         * sysdeps/posix/timespec_get.c: New file.
34827 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34830         POWER.
34831         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34832         for POWER.
34833         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34834         powerpc/power5/fpu folders.
34835         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34836         * benchtests/Makefile: Add modf testcase.
34837         * benchtests/bench-modf.c: New file: Benchmark test for mo
34839 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         [BZ #14888]
34842         * time/Makefile (tests): Add tst-strptime-whitespace.
34843         * time/strptime_l.c (get_number): Use ISSPACE.
34844         (__strptime_internal): Likewise.
34845         * time/tst-strptime-whitespace.c: New test case.
34847 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34849         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34850         member.
34851         (_nss_files_init): Set it here.
34853 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34855         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34856         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34857         unsigned.
34859 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34861         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34863 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34866         size just once.
34868 2013-04-21  David S. Miller  <davem@davemloft.net>
34870         * po/ru.po: Update Russion translation from translation project.
34872 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34874         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34875         and setfsgid.
34877 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34879         * configure.in: Remove i386 configure warning. Remove i386 case.
34880         * configure: Regenerate.
34881         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34882         Add example to error message.
34883         * sysdeps/i386/configure: Regenerate.
34885 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34887         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34888         slowtan.
34889         * benchtests/cos-inputs: New file.
34890         * benchtests/slowcos-inputs: New file.
34891         * benchtests/slowcos.c: New file.
34892         * benchtests/slowtan-inputs: New file.
34893         * benchtests/slowtan.c: New file.
34894         * benchtests/tan-inputs: New file.
34896 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34898         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34899         considered kosher.
34901 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34903         * benchtests/Makefile: Include cppflags-iterator.mk to add
34904         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34906         * Makefile.in (bench-clean): New target.
34907         * benchtests/Makefile (bench-clean): Likewise.
34909 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34911         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34913 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34915         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34917 2013-04-15  Andreas Schwab  <schwab@suse.de>
34919         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34921         * nscd/pwdcache.c (cache_addpw): Likewise.
34922         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34923         more than recsize.
34925 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34927         * benchtests/Makefile (bench): Write all output to
34928         bench-out.tmp together.
34930 2013-04-15  Andreas Schwab  <schwab@suse.de>
34932         * nscd/nscd.c (main): Don't fork again after closing files.
34934 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34936         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34938         * benchtests/Rules (bench-deps): Collect dependencies into a
34939         single variable.  Add Makefile to dependencies.
34940         ($(objpfx)bench-%.c): Depend on bench-deps.
34942 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34943             Xavier Roche  <roche+kml2@exalead.com>
34945         [BZ #15361]
34946         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34947         just that it's a file descriptor.
34948         * manual/llio.texi (Synchronizing AIO Operations): Update description
34949         for EBADF error from aio_fsync.
34951 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34953         * Rules (bench): Move target definition...
34954         * benchtests/Makefile: ... here.
34956 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34958         * math/libm-test.inc (cos_test): Fix PI/2 test.
34959         (sincos_test): Likewise.
34960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34961         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34963 2013-04-11  Andreas Schwab  <schwab@suse.de>
34965         [BZ #13988]
34966         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34967         accept exponent character only when digits were seen.
34968         * stdio-common/Makefile (tests): Add bug26.
34969         * stdio-common/bug26.c: New file.
34971         [BZ #14293]
34972         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34973         non-freeable.
34975 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34977         * Makeconfig (rtld-prefix): Define built linker prefix.
34978         * Rules (run-bench): Use it.
34979         * math/Makefile (run-regen-ulps): Likewise.
34981         * Rules (bench): Remove eval.
34983 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34984             Roland McGrath  <roland@hack.frob.com>
34985             Ondrej Bilka  <neleai@seznam.cz>
34987         [BZ #15346]
34988         * time/getdate.c: Include ctype.h and alloca.h.
34989         (__getdate_r): Trim leading and trailing spaces of input.
34990         * time/tst-getdate.c (tests): Add tests with leading and
34991         trailing spaces.
34993 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34995         [BZ #14280]
34996         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34997         when computing value.
34999 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35001         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35002         Use testrun.sh to run libm tests.
35004         [BZ #15309]
35005         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35007 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35009         [BZ #15264]
35010         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35012 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35014         * Makefile.in (regen-ulps): New target.
35015         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35016         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35017         [ifneq (no,$(PERL)] (regen-ulps): New target.
35018         [ifeq (no,$(PERL)] (regen-ulps): New target.
35019         * math/libm-test.inc (ulps_file_name): Define.
35020         (output_dir): New variable.
35021         (options): Add "output-dir" option.
35022         (parse_opt): Handle 'o' case.
35023         (main): If output_dir is non-NULL use it as a prefix
35024         otherwise use "".
35025         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35027 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35029         [BZ #10060, #10062]
35030         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35031         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35032         fail configure if __sync_val_compare_and_swap is not inlined.
35033         * sysdeps/i386/configure: Regenerate.
35034         * configure.in: Build for i686 when configured for i386.
35035         * configure: Regenerate.
35036         * README: Remove i386 reference.
35038 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35040         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35041         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35043 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35045         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35046         (lmsnanval): New variables.
35047         (F): Add conversion tests.
35048         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35049         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35051         * stdio-common/tstdiomisc.c (F): Properly collect individual
35052         tests' results.
35054         [BZ #14686, #15336]
35055         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35056         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35057         Instead, use input NaN values or generate a qNaN by arithmetic
35058         operation.  Also fix bugs to comply with the standard.
35059         * math/libm-test.inc (remainder_test): Add more tests.
35061         [BZ #15335, #15342]
35062         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35064         input NaN values or generate a qNaN by arithmetic operation.
35066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35067         unreachable code.
35069         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35070         definitions.
35072 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35074         [BZ #14478]
35075         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35076         underflowed result.
35077         * math/s_cexpf.c (__cexpf): Likewise.
35078         * math/s_cexpl.c (__cexpl): Likewise.
35079         * math/libm-test.inc (cexp_test): Add more tests.
35081 2013-04-03  Andreas Schwab  <schwab@suse.de>
35083         [BZ #15330]
35084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35085         order arrays from heap if bigger than alloca cutoff.
35087 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35089         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35090         (SNAN_TESTS_double): Refer to GCC PR56831.
35091         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35092         GCC PR56828.
35094 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35096         * Rules (bench): Move bench.out after the run is complete.
35098         * Rules (bench): Echo currently running benchmark.
35100         * benchtests/Makefile (bench): Add atan and slowatan.
35101         * benchtests/atan-inputs: New file.
35102         * benchtests/slowatan-inputs: New file.
35103         * benchtests/slowatan.c: New file.
35105         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35106         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35107         its value.
35109         [BZ #15305]
35110         * sysdeps/unix/sysv/linux/kernel-features.h
35111         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35112         __ASSUME_XFS_RESTRICTED_CHOWN.
35113         * sysdeps/unix/sysv/linux/pathconf.c
35114         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35115         Save and restore errno.
35117 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35119         [BZ #15327]
35120         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35121         arguments using __kernel_casinh.
35122         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35123         arguments using __kernel_casinhf.
35124         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35125         arguments using __kernel_casinhl.
35126         * math/libm-test.inc (cacosh_test): Add more tests.
35127         * sysdeps/i386/fpu/libm-test-ulps: Update.
35128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35130 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35132         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35135         * bench/Makefile (bench): Add sin and slowsin.
35136         * benchtests/sin-inputs: New file.
35137         * benchtests/slowsin-inputs: New file.
35138         * benchtests/slowsin.c: New file.
35140         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35141         (bench): Add slowexp and slowpow.
35142         (exp-ITER): Increase iterations.
35143         (pow-ITER): Likewise.
35144         * benchtests/exp-inputs: Change input.
35145         * benchtests/pow-inputs: Likewise.
35146         * benchtests/slowexp-inputs: New file.
35147         * benchtests/slowexp.c: New file.
35148         * benchtests/slowpow-inputs: New file.
35149         * benchtests/slowpow.c: New file.
35151 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35153         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35154         instructions.
35155         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35156         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35157         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35158         * benchtests/Makefile: Add rint benchtest.
35159         * benchtests/rint-inputs: Input for rint benchtest.
35161 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35163         * Versions.def (libm): Add GLIBC_2.18.
35164         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35165         hidden libm prototypes.
35166         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35167         * math/Makefile (libm-calls): Add s_issignaling.
35168         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35169         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35170         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35171         declaration.
35172         * math/math.h [__USE_GNU] (issignaling): New macro.
35173         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35174         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35175         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35176         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35177         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35178         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35179         * manual/arith.texi (issignaling): New section.
35180         * manual/libm-err-tab.pl (@all_functions): Update comment.
35181         * math/gen-libm-test.pl (parse_args): Apply special handling for
35182         issignaling.
35183         * math/libm-test.inc (print_float, issignaling_test): New
35184         functions.
35185         (check_float_internal): Add issignaling checks.
35186         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35187         default definition.
35188         * sysdeps/powerpc/math-tests.h: New file.
35189         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35190         tests.
35191         * math/test-snan.c (TEST_FUNC): Likewise.
35193 2013-03-30  David S. Miller  <davem@davemloft.net>
35195         * po/de.po: Update from translation team.
35197 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35199         [BZ #10357]
35200         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35201         imaginary part less than 1.0 and real part less than 0.5
35202         specially.
35203         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35204         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35205         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35206         (cacos_test): Add more tests.
35207         (casin_test): Likewise.
35208         (casinh_test): Likewise.
35209         * sysdeps/i386/fpu/libm-test-ulps: Update.
35210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35212 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35214         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35215         ONE with its value.
35217         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35218         (__pow_mp): Replace ONE and MONE with their values.
35219         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35220         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35221         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35222         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35223         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35224         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35226         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35228         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35229         (__pow_mp): Replace ZERO and MZERO with their values.
35230         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35231         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35232         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35234         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35235         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35236         (__sqr): Likewise.
35238         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35240         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35242 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35244         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35245         Declare with __attribute__ ((weak)).
35246         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35247         Call __call_tls_dtors only if it's not NULL.
35249 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35251         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35252         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35253         magic __ehdr_start linker symbol if it's defined.
35254         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35255         them up here if it was already done.
35257         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35258         (_dl_aux_init): Use const in cast when setting it.
35259         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35260         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35261         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35263         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35264         Declare them here.
35265         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35266         * csu/libc-tls.c: Nor here.
35267         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35269         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35270         (__libc_message): Never call vsyslog.
35272 2013-03-28  Alan Modra  <amodra@gmail.com>
35274         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35275         Define as empty.
35276         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35277         Likewise.
35279 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35281         [BZ #15214]
35282         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35283         underflow.
35284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35286 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35288         [BZ #15304]
35289         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35290         Don't add gid passed as argument.
35292         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35294 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #15307]
35297         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35298         imaginary part between 1.0 and 1.5 and real part less than 0.5
35299         specially.
35300         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35301         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35302         * math/libm-test.inc (cacos_test): Add more tests.
35303         (casin_test): Likewise.
35304         (casinh_test): Likewise.
35305         * sysdeps/i386/fpu/libm-test-ulps: Update.
35306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35308 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35310         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35311         constants.
35312         (norm): Likewise.
35313         (denorm): Likewise.
35314         (__dbl_mp): Likewise.
35315         (add_magnitudes): Likewise.
35316         (sub_magnitudes): Likewise.
35317         (__add): Likewise.
35318         (__sub): Likewise.
35319         (__mul): Likewise.
35320         (__sqr): Likewise.
35321         (__inv): Likewise.
35322         (__dvd): Likewise.
35324         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35325         commented code.
35326         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35327         (__dubcos): Likewise.
35328         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35329         (__ieee754_acos): Likewise.
35330         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35331         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35332         (__exp1): Likewise.
35333         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35334         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35335         (log1): Likewise.
35336         (my_log2): Likewise.
35337         (checkint): Likewise.
35338         * sysdeps/ieee754/dbl-64/e_remainder.c
35339         (__ieee754_remainder): Likewise.
35340         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35342         (bsloww): Likewise.
35343         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35345         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35346         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35347         MANTISSA_STORE_T to store computations on mantissa.  Use
35348         macros for rounding and division.
35349         (denorm): Likewise.
35350         (__dbl_mp): Likewise.
35351         (add_magnitudes): Likewise.
35352         (sub_magnitudes): Likewise.
35353         (__mul): Likewise.
35354         (__sqr): Likewise.
35355         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35356         powers of two in terms of TWOPOW macro.
35357         (mp_no): Make type of mantissa as MANTISSA_T.
35358         [!RADIXI]: Define RADIXI.
35359         [!TWO52]: Define TWO52.
35360         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35362 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35364         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35365         llroundl symbol when building for PPC32.
35367 2013-03-24  Mark H Weaver  <mhw@netris.org>
35369         * manual/arith.texi (Normalization Functions): Fix prototypes for
35370         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35372 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35374         [BZ #13889]
35375         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35376         high value to check if expl overflow.
35377         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35378         to check for underflow and overflow.
35379         * math/libm-test.inc: Add exp test.
35381 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35383         [BZ #11120]
35384         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35385         with NOT_IN_libc.
35387 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35389         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35390         symbol.
35392 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35394         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35395         wrap blocks consisting of several statements.
35397         * sysdeps/generic/math-tests.h: New file.
35398         * sysdeps/i386/fpu/math-tests.h: Likewise.
35399         * math/test-snan.c: Include it.
35400         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35402 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35404         [BZ #15285]
35405         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35406         (__ieee754_j0l): Do not improve calculations using cos of twice
35407         input for inputs above LDBL_MAX / 2.0L.
35408         (__ieee754_y0l): Likewise.
35409         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35410         (__ieee754_j1l): Do not improve calculations using cos of twice
35411         input for inputs above LDBL_MAX / 2.0L.
35412         (__ieee754_y1l): Likewise.
35413         * math/libm-test.inc (j0_test): Add another test.
35414         (j1_test): Likewise.
35415         (y0_test): Likewise.
35416         (y1_test): Likewise.
35417         * sysdeps/i386/fpu/libm-test-ulps: Update.
35419 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35421         * Rules ($(objpfx)bench-%.c): Include code from a C source
35422         file.
35424 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35426         [BZ #15287]
35427         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35428         imaginary part 1.0 and real part less than 0.5 specially.
35429         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35430         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35431         * math/libm-test.inc (cacos_test): Add more tests.
35432         (casin_test): Likewise.
35433         (casinh_test): Likewise.
35434         * sysdeps/i386/fpu/libm-test-ulps: Update.
35435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35437 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35439         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35440         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35442 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35444         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35445         * config.make.in (config-cflags-sse4): Remove variable.
35446         (config-cflags-avx): Likewise.
35447         (config-cflags-sse2avx): Likewise.
35448         (config-cflags-novzeroupper): Likewise.
35449         (config-asflags-i686): Likewise.
35450         (have-mfma4): Likewise.
35451         (have-as-vis3): Likewise.
35452         (MIG): Likewise.
35453         * configure.in (MIG): Do not AC_SUBST.
35454         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35455         (libc_cv_cc_sse4): Do not AC_SUBST.
35456         (libc_cv_cc_avx): Likewise.
35457         (libc_cv_cc_sse2avx): Likewise.
35458         (libc_cv_cc_novzeroupper): Likewise.
35459         (libc_cv_cc_fma4): Likewise.
35460         (libc_cv_as_i686): Likewise.
35461         (libc_cv_sparc_as_vis3): Likewise.
35462         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35463         LIBC_CONFIG_VAR.
35464         (config-asflags-i686): Likewise.
35465         (config-cflags-avx): Likewise.
35466         (config-cflags-sse2avx): Likewise.
35467         (have-mfma4): Likewise.
35468         (config-cflags-novzeroupper): Likewise.
35469         * sysdeps/mach/configure.in (MIG): Likewise.
35470         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35471         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35472         LIBC_CONFIG_VAR.
35473         (config-cflags-avx): Likewise.
35474         (config-cflags-sse2avx): Likewise.
35475         (have-mfma4): Likewise.
35476         (config-cflags-novzeroupper): Likewise.
35477         * configure: Regenerated.
35478         * sysdeps/i386/configure: Likewise.
35479         * sysdeps/mach/configure: Likewise.
35480         * sysdeps/sparc/configure: Likewise.
35481         * sysdeps/x86_64/configure: Likewise.
35483 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35485         [BZ #14812]
35486         * locale/programs/localedef.c (options): Put N_ translation marker
35487         on argument names, not just descriptions.
35489 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35491         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35493 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35495         [BZ #14176]
35496         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35498 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35500         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35501         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35502         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35503         [!BEFORE_ABORT] (before_abort): New function.
35504         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35505         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35506         (writev_for_fatal): New function.
35507         (WRITEV_FOR_FATAL): New macro; call that.
35508         (backtrace_and_maps): New function.
35509         (BEFORE_ABORT): New macro; call that.
35510         (struct str_list): Type removed.
35511         (__libc_message, __libc_fatal): Functions removed.
35512         Include <sysdeps/posix/libc_fatal.c> instead.
35514 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35516         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35517         constants.
35518         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35519         double constants.
35521 2013-03-19  Andreas Schwab  <schwab@suse.de>
35523         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35524         * sysdeps/gnu/configure: Regenerate.
35526         * configure.in: Substitute libc_cv_rtlddir.
35527         * configure: Regenerate.
35528         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35529         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35530         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35531         * elf/Makefile (install-others, CFLAGS-interp.c)
35532         (ldso_install, common-ldd-rewrite): Likewise.
35533         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35534         $(inst_slibdir)/$(rtld-installed-name).
35535         * scripts/rellns-sh: Add -p option.
35536         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35537         for source.
35539 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35541         * manual/nptl.texi: Renamed to ...
35542         * manual/threads.texi: ... this.
35543         * manual/Makefile (chapters): Update.
35545 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35547         [BZ #14812]
35548         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35549         on argument names, not just descriptions.
35550         * malloc/memusagestat.c (options): Likewise.
35551         * nss/getent.c (options): Likewise.
35553 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35555         [BZ #14812]
35556         * iconv/iconv_prog.c (options): Put N_ translation marker
35557         on argument names, not just descriptions.
35558         * iconv/iconvconfig.c (options): Likewise.
35560 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35562         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35563         implementation which is faster on all x86_64 architectures.
35564         Tested on AMD, Intel Nehalem, SNB, IVB.
35565         * sysdeps/x86_64/strnlen.S: Likewise.
35567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35568         Remove all multiarch strlen and strnlen versions.
35569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35570         Remove strlen and strnlen related parts.
35572         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35573         Inline strlen part.
35574         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35576         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35577         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35578         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35579         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35580         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35581         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35583 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35585         * manual/memory.texi (Malloc Tunable Parameters):
35586         Sort parameters alphabetically. Add comments for missing entries.
35588 2013-03-17  David S. Miller  <davem@davemloft.net>
35590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35592 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35594         [BZ #15283]
35595         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35596         for arguments at most half maximum finite value.
35597         * math/libm-test.inc (j0_test): Add more tests.
35598         (j1_test): Likewise.
35599         (y0_test): Likewise.
35600         (y1_test): Likewise.
35601         * sysdeps/i386/fpu/libm-test-ulps: Update.
35602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35604         [BZ #14155]
35605         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35606         1 / x and functions P and Q for arguments above 0x1p256L.
35607         (__ieee754_y0l): Likewise.
35608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35609         (__ieee754_y1l): Likewise.
35610         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35611         (j1_test): Likewise.
35612         (y0_test): Likewise.
35613         (y1_test): Likewise.
35615 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35617         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35618         variable.
35620 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35622         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35623         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35624         zero since it's initialized to EXEC_PAGESIZE.
35626         * sysdeps/unix/sysv/linux/ldsodefs.h
35627         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35628         * sysdeps/generic/ldsodefs.h: ... here.
35630 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35632         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35634         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35635         math/test-snan.c.
35636         * math/test-snan.c: Renamed from
35637         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35638         * math/Makefile (tests): Add test-snan.
35639         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35640         test-powerpc-snan.
35642         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35643         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35644         functions.
35645         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35646         __builtin_nan family of functions.
35647         * math/libm-test.inc (initialize): Initialize qnan_value with
35648         __builtin_nan family of functions.
35649         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35650         Remove variables.
35651         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35652         Remove functions.
35653         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35654         storage class.  Initialize qNaN_var and sNaN_var with
35655         __builtin_nan and __builtin_nans families of functions,
35656         respectively.
35658         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35659         (sqrt_test): Remove duplicate test with qNaN input.
35660         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35661         (round_test, signbit_test, significand_test): Note missing +/-Inf
35662         as well as qNaN tests.
35664         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35665         qNaN_var.  Fix a few strings, too.
35666         * math/libm-test.inc (nan_value): Rename to qnan_value.
35667         * math/gen-libm-test.pl (%beautify): Adjust to that.
35668         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35669         * math/test-misc.c (main): Likewise.
35670         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35671         to __qnan_bytes, and __qnan_union, respectively.
35672         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35673         Likewise.
35674         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35675         and lqnanval, respectively.
35676         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35677         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35678         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35679         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35681         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35682         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35683         doubles.
35685         * math/test-misc.c (main): Fix copy'n'pastos.
35686         * misc/tst-efgcvt.c (special): Likewise.
35688         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35689         Remove declarations.
35691 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35693         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35694         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35695         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35696         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35698 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35700         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35701         macro to return vdso values correctly in IFUNC implementations.
35702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35703         Optimization by using IFUNC.
35705 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35706             Richard Henderson  <rth@redhat.com>
35707             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35709         * Makefile.in (bench): New target.
35710         * NEWS: Mention the benchmark framework.
35711         * Rules (bench): Likewise.
35712         (binaries-bench): Generate binaries for functions to
35713         benchmark.
35714         * benchtests/Makefile: New makefile for benchmark tests.
35715         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35716         programs.
35717         * benchtests/exp-inputs: New input file for EXP function.
35718         * benchtests/pow-inputs: New input file for POW function.
35719         * scripts/bench.pl: New script to generate source files for
35720         benchmark programs.
35722 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35724         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35725         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35726         computations on mantissa.  Use macros for rounding and
35727         division.
35728         (denorm): Likewise.
35729         (__dbl_mp): Likewise.
35730         (add_magnitudes): Likewise.
35731         (sub_magnitudes): Likewise.
35732         (__mul): Likewise.
35733         (__sqr): Likewise.
35734         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35735         powers of two in terms of TWOPOW macro.
35736         (mp_no): Make type of mantissa as MANTISSA_T.
35737         [!RADIXI]: Define RADIXI.
35738         [!TWO52]: Define TWO52.
35739         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35741         * manual/nptl.texi (cindex): Modify threads to pthreads.
35743 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35745         * sysdeps/x86_64/preconfigure: Regenerated.
35747 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35749         [BZ #14155]
35750         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35751         0x1p28 and above.
35752         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35753         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35754         0x1p28 and above.
35755         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35756         * math/libm-test.inc (j0_test): Do not allow one spurious
35757         underflow exception.
35758         (y1_test): Likewise.
35760 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         * manual/Makefile (chapters): Add nptl.
35763         * manual/debug.texi (Debugging Support): Add link to Threads
35764         chapter.
35765         * manual/nptl.texi: New file.
35767         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35769 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35771         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35772         for non-NULL pointer before the memory validity test. Pointed
35773         out by Holger Brunck <holger.brunck@keymile.com>.
35775 2013-03-13  Andreas Schwab  <schwab@suse.de>
35777         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35778         instead of .os.
35780 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35782         * timezone/zic.c: Update from tzcode 2013b.
35784 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35786         * manual/install.texi (Configuring and compiling):
35787         Mention i686 and i586.
35788         * INSTALL: Regenerate.
35790 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35792         * sysdeps/init_array/elf-init.c: New file.
35793         * csu/elf-init.c
35794         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35795         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35797         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35798         __gmon_start__ as global, but as static with a .preinit_array pointer.
35799         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35800         * sysdeps/init_array/crti.S: New file, empty except for comments.
35801         * sysdeps/init_array/crtn.S: Likewise.
35803 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35805         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35806         definining bcopy.
35807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35808         Remove Prefer_SSE_for_memop.
35809         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35810         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35811         HAS_PREFER_SSE_FOR_MEMOP.
35812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35813         memset-x86-64.
35814         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35815         Remove bzero, memset ifunc support.
35816         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35817         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35818         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35819         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35821 2013-03-11  Andreas Schwab  <schwab@suse.de>
35823         [BZ #15234]
35824         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35825         by SHLIB_COMPAT.
35826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35827         (GLIBC_2.16): Remove pthread_atfork.
35829 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35831         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35832         (ptestcases.h): Likewise.
35834 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35836         * Makeconfig ($(common-objpfx)config.status): Depend on
35837         sysdeps/*/preconfigure{,.in} too.
35839 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35841         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35842         (__free_hook): Use void * instead of __malloc_ptr_t.
35843         (__malloc_hook): Likewise.
35844         (__realloc_hook): Likewise.
35845         (__memalign_hook): Likewise.
35846         (__after_morecore_hook): Likewise.
35847         * malloc/arena.c (save_malloc_hook): Likewise.
35848         (save_free_hook): Likewise.
35849         * malloc/hooks.c (malloc_hook_ini): Likewise.
35850         (realloc_hook_ini): Likewise.
35851         (memalign_hook_ini): Likewise.
35852         * malloc/malloc.c (malloc_hook_ini): Likewise.
35853         (realloc_hook_ini): Likewise.
35854         (memalign_hook_ini): Likewise.
35855         (__free_hook): Likewise.
35856         (__malloc_hook): Likewise.
35857         (__realloc_hook): Likewise.
35858         (__memalign_hook): Likewise.
35859         (__libc_malloc): Likewise.
35860         (__libc_free): Likewise.
35861         (__libc_realloc): Likewise.
35862         (__libc_memalign): Likewise.
35863         (__libc_valloc): Likewise.
35864         (__libc_pvalloc): Likewise.
35865         (__libc_calloc): Likewise.
35866         (__posix_memalign): Likewise.
35867         * malloc/morecore.c (__sbrk): Likewise.
35868         (__default_morecore): Likewise.
35870         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35872         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35873         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35874         __malloc_ptrdiff_t.
35876         * malloc/malloc.h (__malloc_size_t): Remove macro.
35877         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35878         __malloc_size_t.
35879         (old_memalign_hook): Likewise.
35880         (old_realloc_hook): Likewise.
35881         (struct hdr): Likewise.
35882         (flood): Likewise.
35883         (mallochook): Likewise.
35884         (memalignhook): Likewise.
35885         (reallochook): Likewise.
35886         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35887         (tr_old_realloc_hook): Likewise.
35888         (tr_old_memalign_hook): Likewise.
35889         (tr_mallochook): Likewise.
35890         (tr_reallochook): Likewise.
35891         (tr_memalignhook): Likewise.
35893 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35896         default_ldbl_pack and using as default implementation.
35897         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35898         implementation.
35899         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35900         redundant definition.
35901         (ldbl_insert_mantissa): Likewise.
35902         (ldbl_canonicalize): Likewise.
35903         (ldbl_nearbyint): Likewise.
35904         (ldbl_pack): Rename to ldbl_pack_ppc.
35905         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35906         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35907         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35909 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35912         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35913         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35914         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35916         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35917         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35918         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35920 2013-03-07  Andreas Jaeger  <aj@suse.de>
35922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35923         bits/mman-linux.h.
35925 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35927         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35928         Include mpa.h and declare __MPEXP.
35929         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35930         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35931         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35932         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35933         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35934         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35935         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35937         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35938         (__slowpow): Use long double EXPL and LOGL functions to
35939         compute POW.
35940         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35941         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35942         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35943         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35944         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35945         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35948         intermediate variable to calculate exponent.
35949         (__sqr): Likewise.
35950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35951         Likewise.
35952         (__sqr): Likewise.
35954         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35955         [!NO__SQR]: Define __sqr.
35956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35957         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35958         sysdeps/ieee754/dbl-64/mpa.c.
35959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35961         [BZ #12723]
35962         * posix/Makefile (tests): Add tst-pathconf.
35963         * posix/tst-pathconf.c: New test case.
35964         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35965         _PC_PIPE_BUF.
35966         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35968 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35970         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35972 2013-03-06  Andreas Jaeger  <aj@suse.de>
35974         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35975         definition via __MAP_ANONYMOUS.
35977         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35978         it's not part of Linux headers.
35980         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35981         (MAP_HUGE_MASK): Define.
35983         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35984         Define.
35985         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35987         Define.
35988         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35989         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35990         Define.
35991         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35992         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35993         Define.
35994         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35996         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35997         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35998         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35999         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36000         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36001         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36003         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36004         Handle f2fs.
36006         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36007         Handle f2fs and efivarfs.
36009         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36010         f2fs.
36012         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36013         (EFIVARFS_MAGIC): Add.
36014         (F2FS_LINK_MAX): Add.
36016 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36018         * stdio-common/vfprintf.c: Replace __builtin_expect with
36019         __glibc_unlikely.
36021 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36023         [BZ #13550]
36024         * sysdeps/generic/bp-sym.h: Remove file.
36025         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36026         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36027         <bp-sym.h> and <bp-asm.h>.
36028         (__longjmp): Don't use BP_SYM.
36029         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36030         and <bp-asm.h>.
36031         (memcpy): Don't use BP_SYM.
36032         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36033         <bp-sym.h> and <bp-asm.h>.
36034         (memcpy): Don't use BP_SYM.
36035         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36036         <bp-asm.h>.
36037         (memcpy): Don't use BP_SYM.
36038         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36039         <bp-asm.h>.
36040         (memset): Don't use BP_SYM.
36041         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36042         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36043         (__bzero): Don't use BP_SYM.
36044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36046         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36047         <bp-sym.h> and <bp-asm.h>.
36048         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36049         pointers.
36050         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36051         <bp-sym.h> and <bp-asm.h>.
36052         (memcpy): Don't use BP_SYM.
36053         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36054         <bp-sym.h> and <bp-asm.h>.
36055         (memset): Don't use BP_SYM.
36056         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36057         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36058         (__bzero): Don't use BP_SYM.
36059         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36060         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36061         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36062         <bp-sym.h> and <bp-asm.h>.
36063         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36064         pointers.
36065         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36066         <bp-sym.h> and <bp-asm.h>.
36067         (memcpy): Don't use BP_SYM.
36068         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36069         <bp-sym.h> and <bp-asm.h>.
36070         (memset): Don't use BP_SYM.
36071         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36072         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36073         (__bzero): Don't use BP_SYM.
36074         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36075         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36076         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36077         <bp-sym.h> and <bp-asm.h>.
36078         (__memchr): Don't use BP_SYM.
36079         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36080         <bp-sym.h> and <bp-asm.h>.
36081         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36082         pointers.
36083         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36084         <bp-sym.h> and <bp-asm.h>.
36085         (memcpy): Don't use BP_SYM.
36086         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36087         <bp-sym.h> and <bp-asm.h>.
36088         (__mempcpy): Don't use BP_SYM.
36089         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36090         <bp-sym.h> and <bp-asm.h>.
36091         (__memrchr): Don't use BP_SYM.
36092         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36093         <bp-sym.h> and <bp-asm.h>.
36094         (memset): Don't use BP_SYM.
36095         (__bzero): Likewise.
36096         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36097         <bp-sym.h> and <bp-asm.h>.
36098         (__rawmemchr): Don't use BP_SYM.
36099         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36100         <bp-sym.h> and <bp-asm.h>.
36101         (__STRCMP): Don't use BP_SYM.
36102         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36103         <bp-sym.h> and <bp-asm.h>.
36104         (strchr): Don't use BP_SYM.
36105         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36106         <bp-sym.h> and <bp-asm.h>.
36107         (__strchrnul): Don't use BP_SYM.
36108         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36109         <bp-sym.h> and <bp-asm.h>.
36110         (strlen): Don't use BP_SYM.
36111         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36112         <bp-sym.h> and <bp-asm.h>.
36113         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36114         pointers.
36115         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36116         <bp-sym.h> and <bp-asm.h>.
36117         (__strnlen): Don't use BP_SYM.
36118         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36119         <bp-sym.h> and <bp-asm.h>.
36120         (__GI__setjmp): Don't use BP_SYM.
36121         (_setjmp): Likewise.
36122         (__sigsetjmp): Likewise.
36123         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36124         (L(start_addresses)): Don't use BP_SYM.
36125         (_start): Likewise.
36126         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36127         <bp-asm.h>.
36128         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36129         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36130         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36131         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36132         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36133         <bp-asm.h>.
36134         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36135         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36136         about bounded pointers.
36137         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36138         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36139         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36140         <bp-asm.h>.
36141         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36142         about bounded pointers.  Remove GKM FIXME comments.
36143         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36144         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36145         <bp-asm.h>.
36146         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36147         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36148         Remove GKM FIXME comments.
36149         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36150         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36151         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36152         <bp-asm.h>.
36153         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36154         about bounded pointers.  Remove GKM FIXME comment.
36155         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36156         and <bp-asm.h>.
36157         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36158         pointers.
36159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36160         <bp-sym.h> and <bp-asm.h>.
36161         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36163         <bp-sym.h> and <bp-asm.h>.
36164         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36165         comment.
36167 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36169         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36170         call free(NULL).
36172 2013-03-05  David S. Miller  <davem@davemloft.net>
36174         * po/es.po: Update from translation team.
36176 2013-03-05  Andreas Jaeger  <aj@suse.de>
36178         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36179         <bits/mman-linux.h>.
36180         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36181         is fine.
36182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36183         <bits/mman-linux.h> to end of file.
36184         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36185         is fine.
36186         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36187         <bits/mman-linux.h> to end of file.
36188         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36189         is fine.
36190         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36191         <bits/mman-linux.h> to end of file.
36193         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36194         (MCL_CURRENT, MCL_FUTURE): Define here.
36196 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36198         [BZ #15232]
36199         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36200         attribute_hidden.
36201         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36203 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36205         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36206         fourth parameter needed for rt_sigprocmask syscall.
36207         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36208         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36209         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36210         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36211         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36212         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36214 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36216         [BZ #13550]
36217         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36218         comment about bounded pointers.
36219         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36220         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36222 2013-03-04  Andreas Jaeger  <aj@suse.de>
36224         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36225         common definitions.
36227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36228         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36229         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36231         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36232         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36234 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36236         [BZ #15055]
36237         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36238         __ieee754_sqrl instead of __sqrl.
36240 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36242         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36243         * sysdeps/powerpc/fpu_control.h: ... here.
36244         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36245         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36246         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36247         * sysdeps/powerpc/bits/mathinline.h: ... here.
36249 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36251         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36252         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36253         to just [NEED_DL_SYSINFO_DSO].
36254         * elf/dl-support.c: Likewise.
36255         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36256         * elf/rtld.c (dl_main): Likewise.
36257         * elf/setup-vdso.h (setup_vdso): Likewise.
36258         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36259         * sysdeps/unix/sysv/linux/dl-sysdep.c
36260         (_dl_discover_osversion): Likewise.
36262 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36264         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36265         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36267 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36269         * NEWS: Mention libm performance improvements and non-x86 PI
36270         futex support.
36272         * csu/libc-start.c (__pthread_initialize_minimal): Change
36273         function arguments.
36274         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36276 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36278         [BZ #13550]
36279         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36280         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36281         <bp-sym.h> and <bp-asm.h>.
36282         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36283         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36284         and <bp-asm.h>.
36285         (memcpy): Don't use BP_SYM.
36286         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36287         <bp-asm.h>.
36288         (__mpn_add_n): Don't use BP_SYM.
36289         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36290         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36291         and <bp-asm.h>.
36292         (__mpn_addmul_1): Don't use BP_SYM.
36293         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36294         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36295         <bp-sym.h>.
36296         (_setjmp): Don't use BP_SYM.
36297         (__novmx_setjmp): Likewise.
36298         (__GI__setjmp): Likewise.
36299         (__vmx_setjmp): Likewise.
36300         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36301         <bp-sym.h>.
36302         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36303         (__bzero): Don't use BP_SYM.
36304         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36305         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36306         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36307         <bp-sym.h> and <bp-asm.h>.
36308         (memcpy): Don't use BP_SYM.
36309         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36310         <bp-sym.h> and <bp-asm.h>.
36311         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36312         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36313         <bp-sym.h> and <bp-asm.h>.
36314         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36315         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36316         <bp-asm.h>.
36317         (__mpn_lshift): Don't use BP_SYM.
36318         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36319         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36320         <bp-asm.h>.
36321         (memset): Don't use BP_SYM.
36322         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36323         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36324         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36325         <bp-asm.h>.
36326         (__mpn_mul_1): Don't use BP_SYM.
36327         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36329         <bp-sym.h> and <bp-asm.h>.
36330         (memcmp): Don't use BP_SYM.
36331         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36332         <bp-sym.h> and <bp-asm.h>.
36333         (memcpy): Don't use BP_SYM.
36334         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36335         <bp-sym.h> and <bp-asm.h>.
36336         (memset): Don't use BP_SYM.
36337         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36338         <bp-sym.h> and <bp-asm.h>.
36339         (strncmp): Don't use BP_SYM.
36340         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36341         <bp-sym.h> and <bp-asm.h>.
36342         (memcpy): Don't use BP_SYM.
36343         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36344         <bp-sym.h> and <bp-asm.h>.
36345         (memset): Don't use BP_SYM.
36346         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36347         <bp-sym.h> and <bp-asm.h>.
36348         (__memchr): Don't use BP_SYM.
36349         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36350         <bp-sym.h> and <bp-asm.h>.
36351         (memcmp): Don't use BP_SYM.
36352         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36353         <bp-sym.h> and <bp-asm.h>.
36354         (memcpy): Don't use BP_SYM.
36355         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36356         <bp-sym.h> and <bp-asm.h>.
36357         (__mempcpy): Don't use BP_SYM.
36358         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36359         <bp-sym.h> and <bp-asm.h>.
36360         (__memrchr): Don't use BP_SYM.
36361         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36362         <bp-sym.h> and <bp-asm.h>.
36363         (memset): Don't use BP_SYM.
36364         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36365         <bp-sym.h> and <bp-asm.h>.
36366         (__rawmemchr): Don't use BP_SYM.
36367         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36368         <bp-sym.h> and <bp-asm.h>.
36369         (__STRCMP): Don't use BP_SYM.
36370         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36371         <bp-sym.h> and <bp-asm.h>.
36372         (strchr): Don't use BP_SYM.
36373         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36374         <bp-sym.h> and <bp-asm.h>.
36375         (__strchrnul): Don't use BP_SYM.
36376         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36377         <bp-sym.h> and <bp-asm.h>.
36378         (strlen): Don't use BP_SYM.
36379         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36380         <bp-sym.h> and <bp-asm.h>.
36381         (strncmp): Don't use BP_SYM.
36382         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36383         <bp-sym.h> and <bp-asm.h>.
36384         (__strnlen): Don't use BP_SYM.
36385         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36386         <bp-asm.h>.
36387         (__mpn_rshift): Don't use BP_SYM.
36388         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36389         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36390         <bp-sym.h> and <bp-asm.h>.
36391         (__sigsetjmp): Don't use BP_SYM.
36392         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36393         (L(start_addresses)): Don't use BP_SYM.
36394         (_start): Likewise.
36395         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36396         <bp-asm.h>.
36397         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36398         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36399         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36400         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36401         <bp-asm.h>.
36402         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36403         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36404         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36405         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36406         <bp-asm.h>.
36407         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36408         comments.
36409         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36410         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36411         <bp-asm.h>.
36412         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36413         FIXME comments.
36414         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36415         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36416         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36417         <bp-asm.h>.
36418         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36419         comment.
36420         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36421         and <bp-asm.h>.
36422         (strncmp): Don't use BP_SYM,
36423         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36424         <bp-asm.h>.
36425         (__mpn_sub_n): Don't use BP_SYM.
36426         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36427         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36428         and <bp-asm.h>.
36429         (__mpn_submul_1): Don't use BP_SYM.
36430         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36432         <bp-sym.h> and <bp-asm.h>.
36433         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36435         <bp-sym.h> and <bp-asm.h>.
36436         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36437         comment.
36439 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36442         Use ZK to minimize writes to Z.
36443         (sub_magnitudes): Simplify code a bit.
36444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36445         Use ZK to minimize writes to Z.
36446         (sub_magnitudes): Simplify code a bit.
36448 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36450         * csu/gmon-start.c: Add special exception to license text.
36452 2013-02-27  Richard Henderson  <rth@redhat.com>
36454         * scripts/config.guess: Update from config.git.
36455         * scripts/config.sub: Likewise.
36457 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36461         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36463         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36465         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36467         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36469 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36471         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36472         [$(build-shared = yes].
36474 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36476         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36477         (__mul): Reduce iterations for calculating mantissa.
36479         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36480         MPTWO.
36481         (__mpranred): Likewise.
36483         [BZ #15160]
36484         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36485         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36487 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36489         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36490         Define __attribute__.
36492 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36494         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36495         unused.
36496         * posix/regex_internal.h (__attribute): Remove.
36497         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36498         (re_string_context_at): Likewise.
36499         (bitset_not): Use __attribute__ and mark function as possibly
36500         unused.
36501         (bitset_merge): Likewise.
36502         (bitset_mask): Likewise.
36503         (re_string_char_size_at): Likewise.
36504         (re_string_wchar_at): Likewise.
36505         (re_string_elem_size_at): Likewise.
36507 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36509         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36510         code.
36511         (cc32): Likewise.
36513         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36514         (__acr): Likewise.
36515         (__cpy): Likewise.
36516         (norm): Likewise.
36517         (denorm): Likewise.
36518         (__dbl_mp): Likewise.
36519         (add_magnitudes): Likewise.
36520         (sub_magnitudes): Likewise.
36521         (__mul): Likewise.
36522         (__inv): Likewise.
36524         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36525         style.
36527         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36528         style.
36530         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36531         code.
36533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36534         up changes with default code.
36535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36536         Likewise.
36538 2013-02-24  Allan McRae  <allan@archlinux.org>
36540         * manual/socket.texi (The Internet Namespace): Order menu items
36541         to match that in the file.
36543         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36544         node listing of the info page menu.
36546 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36548         [BZ #13550]
36549         * sysdeps/i386/bp-asm.h: Remove file.
36550         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36551         (PARMS): Do not use macros from bp-asm.h.
36552         (S1): Likewise.
36553         (S2): Likewise.
36554         (SIZE): Likewise.
36555         (__mpn_add_n): Do not use BP_SYM
36556         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36557         "bp-asm.h".
36558         (PARMS): Do not use macros from bp-asm.h.
36559         (S1): Likewise.
36560         (SIZE): Likewise.
36561         (__mpn_addmul_1): Do not use BP_SYM
36562         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36563         "bp-asm.h".
36564         (PARMS): Do not use macros from bp-asm.h.
36565         (SIGMSK): Likewise.
36566         (_setjmp): Likewise.  Do not use BP_SYM.
36567         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36568         "bp-asm.h".
36569         (PARMS): Do not use macros from bp-asm.h.
36570         (SIGMSK): Likewise.
36571         (setjmp): Likewise.  Do not use BP_SYM.
36572         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36573         "bp-asm.h".
36574         (PARMS): Do not use macros from bp-asm.h.
36575         (__frexp): Do not use BP_SYM.
36576         (frexp): Likewise.
36577         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36578         "bp-asm.h".
36579         (PARMS): Do not use macros from bp-asm.h.
36580         (__frexpf): Do not use BP_SYM.
36581         (frexpf): Likewise.
36582         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36583         "bp-asm.h".
36584         (PARMS): Do not use macros from bp-asm.h.
36585         (__frexpl): Do not use BP_SYM.
36586         (frexpl): Likewise.
36587         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36588         "bp-asm.h".
36589         (PARMS): Do not use macros from bp-asm.h.
36590         (__remquo): Do not use BP_SYM.
36591         (remquo): Likewise.
36592         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36593         "bp-asm.h".
36594         (PARMS): Do not use macros from bp-asm.h.
36595         (__remquof): Do not use BP_SYM.
36596         (remquof): Likewise.
36597         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36598         "bp-asm.h".
36599         (PARMS): Do not use macros from bp-asm.h.
36600         (__remquol): Do not use BP_SYM.
36601         (remquol): Likewise.
36602         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36603         "bp-asm.h".
36604         (PARMS): Do not use macros from bp-asm.h.
36605         (DEST): Likewise.
36606         (SRC): Likewise.
36607         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36608         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36609         "bp-asm.h".
36610         (PARMS): Do not use macros from bp-asm.h.
36611         (strlen): Do not use BP_SYM.
36612         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36613         "bp-asm.h".
36614         (PARMS): Do not use macros from bp-asm.h.
36615         (S1): Likewise.
36616         (S2): Likewise.
36617         (SIZE): Likewise.
36618         (__mpn_add_n): Do not use BP_SYM.
36619         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36620         "bp-asm.h".
36621         (PARMS): Do not use macros from bp-asm.h.
36622         (S1): Likewise.
36623         (SIZE): Likewise.
36624         (__mpn_addmul_1): Do not use BP_SYM.
36625         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36626         weak_alias.
36627         (bzero): Likewise.
36628         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36629         "bp-asm.h".
36630         (PARMS): Do not use macros from bp-asm.h.
36631         (S): Likewise.
36632         (SIZE): Likewise.
36633         (__mpn_lshift): Do not use BP_SYM.
36634         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36635         "bp-asm.h".
36636         (PARMS): Do not use macros from bp-asm.h.
36637         (DEST): Likewise.
36638         (SRC): Likewise.
36639         (LEN): Likewise.
36640         (memcpy): Likewise.  Do not use BP_SYM.
36641         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36642         libc_hidden_def and weak_alias.
36643         (mempcpy): Do not use BP_SYM in weak_alias.
36644         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36645         "bp-asm.h".
36646         (PARMS): Do not use macros from bp-asm.h.
36647         (DEST): Likewise.
36648         (LEN): Likewise.
36649         [!BZERO_P] (CHR): Likewise.
36650         (memset): Likewise.  Do not use BP_SYM.
36651         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36652         "bp-asm.h".
36653         (PARMS): Do not use macros from bp-asm.h.
36654         (S1): Likewise.
36655         (SIZE): Likewise.
36656         (__mpn_mul_1): Do not use BP_SYM.
36657         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36658         "bp-asm.h".
36659         (PARMS): Do not use macros from bp-asm.h.
36660         (S): Likewise.
36661         (SIZE): Likewise.
36662         (__mpn_rshift): Do not use BP_SYM.
36663         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36664         "bp-asm.h".
36665         (PARMS): Do not use macros from bp-asm.h.
36666         (STR): Likewise.
36667         (CHR): Likewise.
36668         (strchr): Likewise.  Do not use BP_SYM.
36669         (index): Do not use BP_SYM in weak_alias.
36670         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36671         "bp-asm.h".
36672         (PARMS): Do not use macros from bp-asm.h.
36673         (DEST): Likewise.
36674         (SRC): Likewise.
36675         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36676         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36677         "bp-asm.h".
36678         (PARMS): Do not use macros from bp-asm.h.
36679         (strlen): Do not use BP_SYM.
36680         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36681         "bp-asm.h".
36682         (PARMS): Do not use macros from bp-asm.h.
36683         (S1): Likewise.
36684         (S2): Likewise.
36685         (SIZE): Likewise.
36686         (__mpn_sub_n): Do not use BP_SYM.
36687         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36688         "bp-asm.h".
36689         (PARMS): Do not use macros from bp-asm.h.
36690         (S1): Likewise.
36691         (SIZE): Likewise.
36692         (__mpn_submul_1): Do not use BP_SYM.
36693         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36694         "bp-asm.h".
36695         (PARMS): Do not use macros from bp-asm.h.
36696         (S1): Likewise.
36697         (S2): Likewise.
36698         (SIZE): Likewise.
36699         (__mpn_add_n): Do not use BP_SYM.
36700         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36701         weak_alias.
36702         (bzero): Likewise.
36703         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36704         "bp-asm.h".
36705         (PARMS): Do not use macros from bp-asm.h.
36706         (BLK2): Likewise.
36707         (LEN): Likewise.
36708         (memcmp): Do not use BP_SYM.
36709         (bcmp): Do not use BP_SYM in weak_alias.
36710         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36711         "bp-asm.h".
36712         (PARMS): Do not use macros from bp-asm.h.
36713         (DEST): Likewise.
36714         (SRC): Likewise.
36715         (LEN): Likewise.
36716         (memcpy): Likewise.  Do not use BP_SYM.
36717         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36718         "bp-asm.h".
36719         (PARMS): Do not use macros from bp-asm.h.
36720         (DEST): Likewise.
36721         (SRC): Likewise.
36722         (LEN): Likewise.
36723         (memmove): Likewise.  Do not use BP_SYM.
36724         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36725         "bp-asm.h".
36726         (PARMS): Do not use macros from bp-asm.h.
36727         (DEST): Likewise.
36728         (SRC): Likewise.
36729         (LEN): Likewise.
36730         (__mempcpy): Likewise.  Do not use BP_SYM.
36731         (mempcpy): Do not use BP_SYM in weak_alias.
36732         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36733         "bp-asm.h".
36734         (PARMS): Do not use macros from bp-asm.h.
36735         (DEST): Likewise.
36736         (LEN): Likewise.
36737         [!BZERO_P] (CHR): Likewise.
36738         (memset): Likewise.  Do not use BP_SYM.
36739         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36740         "bp-asm.h".
36741         (PARMS): Do not use macros from bp-asm.h.
36742         (STR2): Likewise.
36743         (strcmp): Do not use BP_SYM.
36744         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36745         "bp-asm.h".
36746         (PARMS): Do not use macros from bp-asm.h.
36747         (STR): Likewise.
36748         (DELIM): Likewise.
36749         [USE_AS_STRTOK_R] (SAVE): Likewise.
36750         (FUNCTION): Likewise.  Do not use BP_SYM.
36751         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36752         aliases.
36753         (strtok_r): Likewise.
36754         (__GI___strtok_r): Likewise.
36755         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36756         (PARMS): Do not use macros from bp-asm.h.
36757         (S): Likewise.
36758         (SIZE): Likewise.
36759         (__mpn_lshift): Do not use BP_SYM.
36760         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36761         (PARMS): Do not use macros from bp-asm.h.
36762         (STR): Likewise.
36763         (CHR): Likewise.
36764         (__memchr): Do not use BP_SYM.
36765         (memchr): Do not use BP_SYM in weak_alias.
36766         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36767         (PARMS): Do not use macros from bp-asm.h.
36768         (BLK2): Likewise.
36769         (LEN): Likewise.
36770         (memcmp): Do not use BP_SYM.
36771         (bcmp): Do not use BP_SYM in weak_alias.
36772         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36773         (PARMS): Do not use macros from bp-asm.h.
36774         (S1): Likewise.
36775         (SIZE): Likewise.
36776         (__mpn_mul_1): Do not use BP_SYM.
36777         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36778         "bp-asm.h".
36779         (PARMS): Do not use macros from bp-asm.h.
36780         (STR): Likewise.
36781         (CHR): Likewise.
36782         (__rawmemchr): Do not use BP_SYM.
36783         (rawmemchr): Do not use BP_SYM in weak_alias.
36784         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36785         (PARMS): Do not use macros from bp-asm.h.
36786         (S): Likewise.
36787         (SIZE): Likewise.
36788         (__mpn_rshift): Do not use BP_SYM.
36789         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36790         (PARMS): Do not use macros from bp-asm.h.
36791         (SIGMSK): Likewise.
36792         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36793         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36794         (_start): Do not use BP_SYM.
36795         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36796         (PARMS): Do not use macros from bp-asm.h.
36797         (DEST): Likewise.
36798         (SRC): Likewise.
36799         (__stpcpy): Likewise.  Do not use BP_SYM.
36800         (stpcpy): Do not use BP_SYM in weak_alias.
36801         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36802         "bp-asm.h".
36803         (PARMS): Do not use macros from bp-asm.h.
36804         (DEST): Likewise.
36805         (SRC): Likewise.
36806         (LEN): Likewise.
36807         (__stpncpy): Likewise.  Do not use BP_SYM.
36808         (stpncpy): Do not use BP_SYM in weak_alias.
36809         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36810         (PARMS): Do not use macros from bp-asm.h.
36811         (STR): Likewise.
36812         (CHR): Likewise.
36813         (strchr): Likewise.  Do not use BP_SYM.
36814         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36815         "bp-asm.h".
36816         (PARMS): Do not use macros from bp-asm.h.
36817         (STR): Likewise.
36818         (CHR): Likewise.
36819         (__strchrnul): Likewise.  Do not use BP_SYM.
36820         (strchrnul): Do not use BP_SYM in weak_alias.
36821         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36822         "bp-asm.h".
36823         (PARMS): Do not use macros from bp-asm.h.
36824         (STOP): Likewise.
36825         (strcspn): Do not use BP_SYM.
36826         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36827         "bp-asm.h".
36828         (PARMS): Do not use macros from bp-asm.h.
36829         (STR): Likewise.
36830         (STOP): Likewise.
36831         (strpbrk): Likewise.  Do not use BP_SYM.
36832         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36833         "bp-asm.h".
36834         (PARMS): Do not use macros from bp-asm.h.
36835         (STR): Likewise.
36836         (CHR): Likewise.
36837         (strrchr): Likewise.  Do not use BP_SYM.
36838         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36839         (PARMS): Do not use macros from bp-asm.h.
36840         (SKIP): Likewise.
36841         (strspn): Do not use BP_SYM.
36842         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36843         (PARMS): Do not use macros from bp-asm.h.
36844         (STR): Likewise.
36845         (DELIM): Likewise.
36846         (SAVE): Likewise.
36847         (FUNCTION): Likewise.  Do not use BP_SYM.
36848         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36849         aliases.
36850         (strtok_r): Likewise.
36851         (__GI___strtok_r): Likewise.
36852         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36853         (PARMS): Do not use macros from bp-asm.h.
36854         (S1): Likewise.
36855         (S2): Likewise.
36856         (SIZE): Likewise.
36857         (__mpn_sub_n): Do not use BP_SYM.
36858         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36859         "bp-asm.h".
36860         (PARMS): Do not use macros from bp-asm.h.
36861         (S1): Likewise.
36862         (SIZE): Likewise.
36863         (__mpn_submul_1): Do not use BP_SYM.
36864         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36865         <bp-sym.h>.
36866         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36867         and <bp-asm.h>.
36868         (PARMS): Do not use macros from bp-asm.h.
36869         (FLAGS): Likewise.
36870         (PTID): Likewise.
36871         (TLS): Likewise.
36872         (CTID): Likewise.
36873         (__clone): Do not use BP_SYM.
36874         (clone): Do not use BP_SYM in weak_alias.
36875         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36876         and <bp-asm.h>.
36877         (PARMS): Do not use macros from bp-asm.h.
36878         (LEN): Likewise.
36879         (__mmap64): Do not use BP_SYM.
36880         (mmap64): Do not use BP_SYM in weak_alias.
36881         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36882         <bp-sym.h> and <bp-asm.h>.
36883         (PARMS): Do not use macros from bp-asm.h.
36884         (__posix_fadvise64_l64): Do not use BP_SYM.
36885         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36886         (PARMS): Do not use macros from bp-asm.h.
36887         (NSOPS): Likewise.
36888         (semtimedop): Do not use BP_SYM.
36889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36890         and <bp-asm.h>.
36892 2013-02-21  Allan McRae  <allan@archlinux.org>
36894         * manual/message.texi (Charset conversion in gettext):
36895         Move @end statement to beginning of line.
36897 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36900         static.
36901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36902         Likewise.
36904         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36905         (denorm): Likewise.
36906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36909 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36911         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36912         tail-call to the resolved function if pltexit isn't needed.
36914 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36917         or Y being zero as being unlikely.
36918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36919         Likewise.
36921 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36923         * manual/nss.texi (System Databases and Name Service Switch):
36924         Remove frobnicate @pxref.
36926 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36928         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36929         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36931 2013-02-20  Petr Machata  <pmachata@redhat.com>
36933         * elf/elf.h (R_ARM_TARGET1): New macro.
36934         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36935         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36936         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36937         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36938         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36939         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36940         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36941         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36942         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36943         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36944         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36945         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36946         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36947         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36948         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36949         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36950         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36951         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36952         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36953         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36954         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36955         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36956         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36957         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36958         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36959         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36960         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36961         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36962         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36963         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36964         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36965         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36966         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36967         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36968         (R_ARM_THM_GOT_BREL12): Likewise.
36969         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36970         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36971         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36972         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36973         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36974         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36975         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36976         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36977         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36979 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36981         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36982         __attribute_used__ to __attribute__ ((unused)).
36984 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36986         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36987         powerpc mpa.c.
36988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36989         comment formatting.
36990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36992 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36994         [BZ #13550]
36995         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36996         Remove macro.
36997         (ENTER): Remove both macro definitions.
36998         (LEAVE): Likewise.
36999         (CHECK_BOUNDS_LOW): Likewise.
37000         (CHECK_BOUNDS_HIGH): Likewise.
37001         (CHECK_BOUNDS_BOTH): Likewise.
37002         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37003         (RETURN_BOUNDED_POINTER): Likewise.
37004         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37005         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37006         (POP_ERRNO_LOCATION_RETURN): Likewise.
37007         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37008         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37009         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37010         macros.
37011         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37012         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37013         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37014         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37015         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37016         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37017         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37018         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37019         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37020         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37021         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37022         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37023         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37024         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37025         removed macros.
37026         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37027         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37028         macros.
37029         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37030         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37031         * sysdeps/i386/i586/memset.S (memset): Likewise.
37032         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37033         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37034         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37035         macros.
37036         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37037         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37038         Change uses of L(2) to L(out).
37039         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37040         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37041         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37042         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37043         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37044         removed macros.
37045         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37046         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37047         macros.
37048         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37049         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37050         (RETURN): Do not use macro LEAVE.
37051         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37052         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37053         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37054         * sysdeps/i386/i686/memset.S (memset): Likewise.
37055         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37056         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37057         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37058         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37059         Likewise.
37060         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37061         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37062         L(1_2) and L(1_3) into L(1).
37063         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37064         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37065         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37066         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37067         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37068         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37069         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37070         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37071         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37072         macros.
37073         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37074         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37075         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37076         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37077         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37078         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37079         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37080         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37081         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37082         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37083         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37084         * sysdeps/i386/strspn.S (strspn): Likewise.
37085         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37086         conditional code.
37087         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37088         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37089         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37090         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37091         L(1_3) into L(1_1).
37092         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37093         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37094         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37095         macros.
37096         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37098 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37100         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37101         macro.
37103 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37105         * math/atest-exp.c (exp_mpn): Remove ROUND.
37106         * math/atest-exp2.c (exp_mpn): Likewise.
37107         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37109         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37110         * stdlib/tst-tls-atexit-lib.c: Likewise.
37111         * stdlib/tst-tls-atexit.c: Likewise.
37113 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37115         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37116         and __attribute_alloc_size__.
37118 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37120         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37121         __attribute_alloc_size__.
37122         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37123         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37125 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37127         * include/programs/xmalloc.h: New file.
37128         * catgets/gencat.c: Include it.
37129         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37130         * elf/pldd.c: Likewise.
37131         * iconv/iconv_charmap.c: Likewise.
37132         * iconv/iconvconfig.c: Likewise.
37133         * iconv/strtab.c: Likewise.
37134         * locale/programs/locale.c: Likewise.
37135         * locale/programs/localedef.h: Likewise.
37136         * locale/programs/simple-hash.c: Likewise.
37137         * nscd/nscd.h: Likewise.
37138         * nss/makedb.c: Likewise.
37139         * sysdeps/generic/ldconfig.h: Likewise.
37141 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37143         * Versions.def: Add GLIBC_2.18.
37144         * include/link.h (struct link_map): New member l_tls_dtor_count.
37145         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37146         (__call_tls_dtors): Likewise.
37147         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37148         __cxa_thread_atexit_impl.
37149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37150         Likewise.
37151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37152         Likewise.
37153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37154         Likewise.
37155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37156         Likewise.
37157         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37159         Likewise.
37160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37161         Likewise.
37162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37164         Likewise.
37165         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37166         (tests): Add test case tst-tls-atexit.
37167         (modules-names): Add shared library for tst-tls-atexit.
37168         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37169         (GLIBC_PRIVATE): Add __call_tls_dtors.
37170         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37171         for libstdc++.
37172         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37173         * stdlib/tst-tls-atexit.c: New test case.
37174         * stdlib/tst-tls-atexit-lib.c: New test case.
37176         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37178         * elf/Versions (ld): Add _dl_find_dso_for_object.
37179         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37180         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37181         (dl_open_worker): Use _dl_find_dso_for_object.
37182         * elf/dl-sym.c (do_sym): Likewise.
37183         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37185 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37187         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37188         Syntactic changes only.
37189         (_dl_runtime_profile): Do a tail-call to the resolved function.
37191 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37193         [BZ #13550]
37194         * sysdeps/x86_64/bp-asm.h: Remove file.
37195         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37196         <bp-sym.h> and <bp-asm.h>.
37197         (__clone): Do not use BP_SYM.
37198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37199         <bp-sym.h> and <bp-asm.h>.
37200         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37201         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37202         "bp-asm.h".
37203         (_setjmp): Do not use BP_SYM.
37204         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37205         "bp-asm.h".
37206         (setjmp): Do not use BP_SYM.
37207         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37208         libc_hidden_def.
37209         (mempcpy): Do not use BP_SYM in weak_alias.
37210         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37211         "bp-asm.h".
37212         (strchr): Do not use BP_SYM.
37213         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37214         "bp-asm.h".
37215         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37216         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37217         (_start): Do not use BP_SYM.
37218         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37219         "bp-asm.h".
37220         (strcat): Do not use BP_SYM.
37221         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37222         "bp-asm.h".
37223         (STRCMP): Do not use BP_SYM.
37224         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37225         "bp-asm.h".
37226         (STRCPY): Do not use BP_SYM.
37227         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37228         "bp-asm.h".
37229         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37230         "bp-asm.h".
37231         (FUNCTION): Do not use BP_SYM.
37232         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37233         weak_alias.
37234         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37236 2013-02-17  Andreas Jaeger  <aj@suse.de>
37238         * time/Versions: Sort entries.
37239         * string/Versions: Likewise.
37240         * resolv/Versions: Likewise.
37241         * posix/Versions: Likewise.
37242         * iconv/Versions: Likewise.
37243         * elf/Versions: Likewise.
37244         * wcsmbs/Versions: Likewise.
37246 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37248         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37249         loop termination condition.
37251         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37252         variable to calculate EZ.
37253         (__sqr): Likewise.
37255         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37256         the lower precision input.
37258 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37260         [BZ #13550]
37261         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37262         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37263         (run-via-rtld-prefix): Do not handle %-bp tests.
37264         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37265         (all-object-suffixes): Remove .ob.
37266         (bppfx): Remove variable.
37267         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37268         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37269         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37270         [$(build-bounded) = yes] (libtype.ob): Likewise.
37271         * Makerules (elide-routines.ob): Remove variable.
37272         (do-tests-clean): Do not handle *-bp.out.
37273         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37274         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37275         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37276         (tests): Do not include $(tests-bp.out).
37277         (xtests): Do not include $(xtests-bp.out).
37278         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37279         [$(build-bounded) = yes] ($(addprefix
37280         $(objpfx),$(binaries-bounded))): Remove rule.
37281         ($(objpfx)%-bp.out): Remove rule.
37282         * config.make.in (build-bounded): Remove variable.
37283         * crypt/Makefile [$(build-bounded) = yes]
37284         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37285         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37286         append to variable.
37287         [$(build-bounded) = yes] (install-lib): Likewise.
37288         [$(build-bounded) = yes] (generated): Likewise.
37289         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37290         Remove rule.
37291         * intl/Makefile [$(build-bounded) = yes]
37292         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37293         * math/Makefile [$(build-bounded) = yes]
37294         ($(tests:%=$(objpfx)%-bp): Likewise.
37295         * misc/Makefile [$(build-bounded) = yes]
37296         ($(objpfx)tst-tsearch-bp): Likewise.
37297         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37298         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37299         Remove dependency.
37300         * string/Makefile (o-objects.ob): Remove variable.
37301         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37302         (CFLAGS-.ob): Remove variable.
37303         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37304         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37305         both definitions of variable.
37306         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37307         (ASFLAGS-.ob): Remove variable.
37309 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37311         [BZ #13550]
37312         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37313         Remove __BOUNDED_POINTERS__ from condition.
37314         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37315         * string/bits/string2.h [!__NO_STRING_INLINES &&
37316         !__BOUNDED_POINTERS__]: Likewise.
37317         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37318         Likewise.
37319         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37320         Remove conditional code.
37321         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37322         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37323         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37324         condition.
37326         [BZ #13550]
37327         * csu/libc-start.c: Do not include <bp-sym.h>.
37328         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37329         * elf/dl-open.c: Do not include <bp-sym.h>.
37330         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37331         * math/fegetenv.c: Do not include <bp-sym.h>.
37332         (fegetenv): Do not use BP_SYM in versioned symbols.
37333         * nptl/sysdeps/pthread/bits/libc-lockP.h
37334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37335         <bp-sym.h>.
37336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37337         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37339         (__pthread_mutex_destroy): Likewise.
37340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37341         (__pthread_mutex_lock): Likewise.
37342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37343         (__pthread_mutex_trylock): Likewise.
37344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37345         (__pthread_mutex_unlock): Likewise.
37346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37347         (__pthread_mutexattr_init): Likewise.
37348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37349         (__pthread_mutexattr_destroy): Likewise.
37350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37351         (__pthread_mutexattr_settype): Likewise.
37352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37353         (__pthread_rwlock_init): Likewise.
37354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37355         (__pthread_rwlock_destroy): Likewise.
37356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37357         (__pthread_rwlock_rdlock): Likewise.
37358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37359         (__pthread_rwlock_tryrdlock): Likewise.
37360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37361         (__pthread_rwlock_wrlock): Likewise.
37362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37363         (__pthread_rwlock_trywrlock): Likewise.
37364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37365         (__pthread_rwlock_unlock): Likewise.
37366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37367         (__pthread_key_create): Likewise.
37368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37369         (__pthread_setspecific): Likewise.
37370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37371         (__pthread_getspecific): Likewise.
37372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37373         Likewise.
37374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37375         (_pthread_cleanup_push_defer): Likewise.
37376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37377         (_pthread_cleanup_pop_restore): Likewise.
37378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37379         (pthread_setcancelstate): Likewise.
37380         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37381         <bp-sym.h>.
37382         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37383         (memchr): Do not use BP_SYM in weak_alias.
37384         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37385         (fegetenv): Do not use BP_SYM in versioned symbols.
37386         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37387         (fesetenv): Do not use BP_SYM in versioned symbols.
37388         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37389         (feupdateenv): Do not use BP_SYM in versioned symbols.
37390         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37391         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37392         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37393         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37394         (open64): Do not use BP_SYM in weak_alias.
37395         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37396         (fegetenv): Do not use BP_SYM in versioned symbols.
37397         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37398         (fesetenv): Do not use BP_SYM in versioned symbols.
37399         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37400         (feupdateenv): Do not use BP_SYM in versioned symbols.
37401         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37402         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37403         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37404         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37405         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37406         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37407         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37408         <bp-sym.h>.
37409         (__libc_start_main): Do not use BP_SYM.
37411 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37414         redundant return line.
37415         (norm): Likewise.
37416         (denorm): Likewise.
37417         (dbl_mp): Likewise.
37418         (sub_magnitudes): Likewise.
37419         (__add): Likewise.
37420         (__sub): Likewise.
37421         (__mul): Likewise.
37422         (__inv): Likewise.
37423         (__dvd): Likewise.
37424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37425         (norm): Likewise.
37426         (denorm): Likewise.
37427         (dbl_mp): Likewise.
37428         (sub_magnitudes): Likewise.
37429         (__add): Likewise.
37430         (__sub): Likewise.
37431         (__mul): Likewise.
37432         (__inv): Likewise.
37433         (__dvd): Likewise.
37435         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37436         instead of __mul.
37437         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37438         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37439         (cc32): Likewise.
37441         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37442         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37444         of __mul for squares.
37445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37446         function
37447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37448         Likewise.
37449         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37450         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37452 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37454         [BZ #13550]
37455         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37456         code.
37457         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37458         prototype or function definition.  Rename ubp_* variables and
37459         parameters.  Remove argv definitions conditional on
37460         [__BOUNDED_POINTERS__].
37461         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37462         * elf/dl-runtime.c (_dl_fixup): Likewise.
37463         * include/set-hooks.h (RUN_HOOK): Likewise.
37464         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37465         definition.
37466         * string/strcpy.c (strcpy): Do not use __unbounded.
37467         * sysdeps/generic/frame.h (struct layout): Likewise.
37468         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37469         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37470         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37471         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37472         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37473         (__backtrace): Likewise.
37474         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37475         use __ptrvalue.
37476         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37477         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37478         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37479         Likewise.
37480         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37481         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37482         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37483         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37484         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37485         Do not use __unbounded.
37486         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37487         Rename __unboundedrlimits parameter to rlimits in prototype.
37488         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37489         Do not use __unbounded.
37490         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37491         not use __ptrvalue.
37492         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37493         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37494         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37495         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37496         __ptrvalue or __unbounded.
37497         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37498         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37499         use __unbounded.
37500         (__new_msgctl): Do not use __ptrvalue.
37501         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37502         __unbounded.
37503         (__libc_msgrcv): Do not use __ptrvalue.
37504         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37505         startup_info): Do not use __unbounded.
37506         (__libc_start_main): Likewise.  Rename ubp_* variables and
37507         parameters.  Remove argv definitions conditional on
37508         [__BOUNDED_POINTERS__].
37509         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37510         __ptrvalue.
37511         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37512         use __unbounded.
37513         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37514         or __ptrvalue.
37515         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37516         use __unbounded.
37517         (__new_shmctl): Do not use __ptrvalue.
37518         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37519         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37520         Likewise.
37521         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37522         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37523         (__libc_sigaction): Likewise.
37524         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37525         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37526         Likewise.
37527         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37529 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37531         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37533         * string/mempcpy.c: Implement by calling memcpy.
37535 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37540         evaluation.
37542         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37543         values in the mantissa.
37545         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37546         minimize writes to Z.
37547         (sub_magnitudes): Simplify code a bit.
37549 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37551         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37552         from the message.  The linker prefixes all warnings with that already.
37554 2013-02-12  Andreas Schwab  <schwab@suse.de>
37556         [BZ #15078]
37557         * posix/regexec.c (extend_buffers): Add parameter min_len.
37558         (check_matching): Pass minimum needed length.
37559         (clean_state_log_if_needed): Likewise.
37560         (get_subexp): Likewise.
37561         * posix/Makefile (tests): Add bug-regex34.
37562         (bug-regex34-ENV): Define.
37563         * posix/bug-regex34.c: New file.
37565         [BZ #11561]
37566         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37567         elements compare against the byte sequence of it, not its name.
37568         * posix/Makefile (tests): Add bug-regex35.
37569         (bug-regex35-ENV): Define.
37570         * posix/bug-regex35.c: New file.
37572 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37574         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37575         comment.
37576         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37577         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37578         (CHECK_EOL): Add undef.
37580 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37582         * bits/stdlib-bsearch.h: New file.
37583         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37584         * stdlib/stdlib.h: Likewise.
37586 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37588         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37589         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37590         declaration.
37591         * manual/search.texi (Array Search Function): Add missing const in
37592         lfind prototype.
37593         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37594         declaration to use rlim_t.
37595         (Basic Scheduling Functions): Remove erroneous const from
37596         sched_getparam prototype.  Remove erroneous * from
37597         sched_get_priority_max and sched_get_priority_min prototypes.
37598         (Resource Usage): Fix summary @comment on vtimes to refer to
37599         sys/vtimes.h rather than vtimes.h.
37600         Add missing *s in vtimes prototype.
37601         (Limits on Resources): Fix ulimit prototype to return long int.
37602         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37603         prototypes to use long int rather than double.
37604         (BSD Random): Fix initstate and setstate to use char *, not void *.
37605         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37606         prototype to make second argument 'struct aiocb64 *const[]'.
37607         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37608         (Status of AIO Operations): Remove erroneous const in aio_return and
37609         aio_return64 prototypes.
37610         (Synchronizing I/O): Fix sync prototype to return void.
37611         * manual/startup.texi (Suboptions): Remove an erroneous const in
37612         getsubopt prototype.
37613         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37614         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37615         use size_t rather than int.
37616         (Scanning All Users): Likewise for getpwent_r.
37617         (Setting Groups): Add missing const to setgroups prototype.
37618         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37619         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37620         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37621         'const void *' rather than 'const char *'.
37622         (Host Address Functions): Likewise for inet_ntop.
37623         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37624         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37625         ssize_t for return value.
37626         (Sending Data): Likewise for send, sendto, sendmsg.
37627         (Socket Option Functions): Add a missing const in setsockopt prototype.
37628         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37629         use wchar_t for the argument.
37630         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37631         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37632         take no arguments.
37633         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37634         double/float/long double for second argument.
37635         Fix return types of significand, significandf, significandl.
37636         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37637         argument in fchmod prototype.
37638         (File Owner): Use uid_t and gid_t in fchown prototype.
37639         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37640         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37641         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37642         use 'const struct dirent **' as argument types to CMP function pointer
37643         argument.
37644         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37645         (File Times): Fix summary magic @comment for struct utimbuf and utime
37646         to refer to utime.h, not time.h.
37647         * manual/string.texi (Argz Functions): Add missing const in
37648         argz_extract and argz_next prototypes.
37649         (Finding Tokens in a String): Likewise for basename.
37650         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37651         (Copying and Concatenation): Fix typo in wmemmove prototype.
37652         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37653         (Signal Stack): Remove erroneous const in sigstack prototype.
37654         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37655         prototype.
37656         (Simple Calendar Time): Likewise for stime.
37657         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37658         prototype.
37659         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37660         say sys/sysctl.h instead.
37661         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37662         and vsyslog prototypes.
37664 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37666         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37667         Remove.
37669 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37671         * misc/sys/mman.h: Fix typo in mremap comment.
37673 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37675         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37676         the '\0' terminator.
37678 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37680         [BZ #13550]
37681         * debug/segfault.c: Don't include <bp-checks.h>.
37682         * sysdeps/generic/bp-checks.h: Remove file.
37683         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37684         (__GETDENTS): Don't use CHECK_N.
37685         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37686         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37687         (__getgroups): Don't use CHECK_N.
37688         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37689         (setgroups): Don't use CHECK_N.
37690         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37691         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37692         (__libc_msgrcv): Don't use CHECK_N.
37693         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37694         (__libc_msgsnd): Don't use CHECK_N.
37695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37696         <bp-checks.h>.
37697         (__libc_pread): Don't use CHECK_N.
37698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37699         include <bp-checks.h>.
37700         (__libc_pread64): Don't use CHECK_N.
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37702         include <bp-checks.h>.
37703         (__libc_pwrite): Don't use CHECK_N.
37704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37705         include <bp-checks.h>.
37706         (__libc_pwrite64): Don't use CHECK_N.
37707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37708         <bp-checks.h>.
37709         (__libc_pread): Don't use CHECK_N.
37710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37711         include <bp-checks.h>.
37712         (__libc_pread64): Don't use CHECK_N.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37714         include <bp-checks.h>.
37715         (__libc_pwrite): Don't use CHECK_N.
37716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37717         include <bp-checks.h>.
37718         (__libc_pwrite64): Don't use CHECK_N.
37719         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37720         (do_pread): Don't use CHECK_N.
37721         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37722         (do_pread64): Don't use CHECK_N.
37723         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37724         (do_pwrite): Don't use CHECK_N.
37725         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37726         (do_pwrite64): Don't use CHECK_N.
37727         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37728         (__libc_readv): Don't use CHECK_N.
37729         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37730         (semop): Don't use CHECK_N.
37731         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37732         <bp-checks.h>.
37733         (semtimedop): Don't use CHECK_N.
37734         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37735         (__libc_pread): Don't use CHECK_N.
37736         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37737         <bp-checks.h>.
37738         (__libc_pread64): Don't use CHECK_N.
37739         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37740         <bp-checks.h>.
37741         (__libc_pwrite): Don't use CHECK_N.
37742         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37743         <bp-checks.h>.
37744         (__libc_pwrite64): Don't use CHECK_N.
37745         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37746         <bp-checks.h>.
37747         (__libc_msgrcv): Don't use CHECK_N.
37748         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37749         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37750         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37751         (__libc_writev): Don't use CHECK_N.
37753 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37755         * string/strcpy.c: Removed unused variable.
37757         * Makeconfig (+sysdep-includes): Define with := rather than =.
37758         Use an existing include/ subdir of each sysdeps dir before it.
37760 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37762         * nscd/connection.c (register_traced_file): Comment function.
37763         [HAVE_INOTIFY] (union __inev): Define.
37764         [HAVE_INOTIFY] (inotify_check_files): New function.
37765         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37766         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37767         clear_db_cache.
37768         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37770 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37772         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37773         loaded if not already and that a failure is permanent.
37775 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37777         [BZ #15006]
37778         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37779         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37781 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37783         [BZ #13550]
37784         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37785         (CHECK_1_NULL_OK): Likewise.
37786         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37787         (__fxstat): Do not use CHECK_1.
37788         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37789         <bp-checks.h>.
37790         (___fxstat64): Do not use CHECK_1.
37791         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37792         <bp-checks.h>.
37793         (__fxstatat): Do not use CHECK_1.
37794         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37795         <bp-checks.h>.
37796         (__fxstatat64): Do not use CHECK_1.
37797         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37798         <bp-checks.h>.
37799         (__fxstat): Do not use CHECK_1.
37800         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37801         <bp-checks.h>.
37802         (__fxstatat): Do not use CHECK_1.
37803         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37804         <bp-checks.h>.
37805         (__getresgid): Do not use CHECK_1.
37806         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37807         <bp-checks.h>.
37808         (__getresuid): Do not use CHECK_1.
37809         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37810         <bp-checks.h>.
37811         (__lxstat): Do not use CHECK_1.
37812         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37813         <bp-checks.h>.
37814         (__old_msgctl): Do not use CHECK_1.
37815         (__new_msgctl): Likewise.
37816         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37817         <bp-checks.h>.
37818         (__new_setrlimit): Do not use CHECK_1.
37819         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37820         <bp-checks.h>.
37821         (__old_shmctl): Do not use CHECK_1.
37822         (__new_shmctl): Likewise.
37823         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37824         <bp-checks.h>.
37825         (__xstat): Do not use CHECK_1.
37826         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37827         (__lxstat): Do not use CHECK_1.
37828         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37829         <bp-checks.h>.
37830         (___lxstat64): Do not use CHECK_1.
37831         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37832         (__old_msgctl): Do not use CHECK_1.
37833         (__new_msgctl): Likewise.
37834         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37835         <bp-checks.h>.
37836         (__gettimeofday): Do not use CHECK_1.
37837         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37838         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37839         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37840         <bp-checks.h>.
37841         (__gettimeofday): Do not use CHECK_1.
37842         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37843         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37844         (__new_shmctl): Do not use CHECK_1.
37845         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37846         <bp-checks.h>.
37847         (do_sigtimedwait): Do not use CHECK_1.
37848         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37849         <bp-checks.h>.
37850         (do_sigwaitinfo): Do not use CHECK_1.
37851         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37852         <bp-checks.h>.
37853         (msgctl): Do not use CHECK_1.
37854         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37855         <bp-checks.h>.
37856         (shmctl): Do not use CHECK_1.
37857         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37858         (ustat): Do not use CHECK_1.
37859         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37860         <bp-checks.h>.
37861         (__fxstat): Do not use CHECK_1.
37862         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37863         <bp-checks.h>.
37864         (__fxstatat): Do not use CHECK_1.
37865         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37866         <bp-checks.h>.
37867         (__lxstat): Do not use CHECK_1.
37868         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37869         <bp-checks.h>.
37870         (__xstat): Do not use CHECK_1.
37871         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37872         (__xstat): Do not use CHECK_1.
37873         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37874         (___xstat64): Do not use CHECK_1.
37876         [BZ #13550]
37877         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37878         definitions.
37879         (CHECK_BOUNDS_HIGH): Likewise.
37880         * string/strcpy.c: Do not include <bp-checks.h>.
37881         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37883 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37885         * nscd/nscd-client.h (__nscd_drop_map_ref):
37886         Add __attribute__ ((unused)).
37887         * nis/nss-nisplus.h (niserr2nss): Likewise.
37889         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37890         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37892         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37893         Remove inline keyword.
37894         * include/rounding-mode.h (round_away): Likewise.
37895         * libio/wfileops.c (adjust_wide_data): Likewise.
37896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37897         (__m128i_strloadu_tolower): Likewise.
37898         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37899         (__m128i_strloadu_tolower): Likewise.
37900         * time/mktime.c (ydhms_diff): Likewise.
37901         * locale/elem-hash.h (elem_hash): Likewise.
37902         * locale/setlocale.c (setdata): Likewise.
37903         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37904         (re_string_wchar_at): Likewise.
37905         (bitset_not, bitset_merge, bitset_mask): Likewise.
37906         [!(__GNUC__ > 3)] (inline): Remove macro.
37907         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37908         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37909         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37910         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37911         * string/memcmp.c (memcmp_bytes): Likewise.
37912         * locale/programs/locarchive.c (compute_hashval): Likewise.
37913         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37914         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37915         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37916         * nss/getent.c (print_rpc, print_protocols): Likewise.
37917         (print_passwd, print_group, print_aliases): Likewise.
37918         * nis/nss-nisplus.h (niserr2nss): Likewise.
37919         * nscd/connections.c (restart_p): Likewise.
37920         Change return type to bool.
37922 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37924         * Makeconfig (all-Depend-files): Add existing
37925         $(sorted-subdirs:=/Depend) files.
37926         (all-subdirs): Remove nss.
37927         * sysdeps/unix/inet/Subdirs: Add it here instead.
37928         * hesiod/Depend: New file.
37930         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37931         instead of calling alloca.
37933         * io/lseek.c (__lseek): Rename to __libc_lseek.
37934         Define __lseek as an alias.
37936         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37938 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37940         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37941         else clause and remove check for non-standard endianness.
37943 2013-02-04  David S. Miller  <davem@davemloft.net>
37945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37947 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37949         [BZ #13550]
37950         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37951         (__ubp_memchr): Remove prototype.
37952         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37953         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37954         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37955         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37956         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37957         Remove alias.
37958         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37959         (__ubp_memchr): Likewise.
37960         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37961         (__ubp_memchr): Likewise.
37962         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37963         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37964         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37965         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37966         CHECK_STRING.
37967         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37968         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37969         (__getcwd): Do not use CHECK_STRING.
37970         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37971         <bp-checks.h>.
37972         (__real_chown): Do not use CHECK_STRING.
37973         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37974         <bp-checks.h>.
37975         (fchownat): Do not use CHECK_STRING.
37976         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37977         CHECK_STRING.
37978         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37979         <bp-checks.h>.
37980         (__lchown): Do not use CHECK_STRING.
37981         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37982         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37983         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37984         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37986         include <bp-checks.h>.
37987         (truncate64): Do not use CHECK_STRING.
37988         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37989         <bp-checks.h>.
37990         (__real_chown): Do not use CHECK_STRING.
37991         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37992         <bp-checks.h>.
37993         (__lchown): Do not use CHECK_STRING.
37994         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37995         <bp-checks.h>.
37996         (__chown): Do not use CHECK_STRING.
37997         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37998         <bp-checks.h>.
37999         (truncate64): Do not use CHECK_STRING.
38000         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38001         Likewise.
38002         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38003         (__xmknod): Do not use CHECK_STRING.
38004         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38005         <bp-checks.h>.
38006         (__xmknodat): Do not use CHECK_STRING.
38007         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38008         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38010 2013-02-04  Andreas Schwab  <schwab@suse.de>
38012         [BZ #14142]
38013         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38014         * include/netdb.h: Likewise for h_errno.
38015         * elf/tst-stackguard1.c: Include <tls.h>.
38017 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38019         * elf/link.h (struct link_map): Extend the l_addr comment.
38020         * include/link.h (struct link_map): Likewise.
38022 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38024         [BZ #13550]
38025         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38026         (BOUNDED_1): Remove macro.
38027         * debug/backtrace.c: Don't include <bp-checks.h>.
38028         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38029         (__backtrace): Likewise.
38030         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38031         <bp-checks.h>.
38032         (__backtrace): Don't use BOUNDED_1.
38033         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38034         <bp-checks.h>.
38035         (__backtrace): Don't use BOUNDED_1.
38036         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38037         (__backtrace): Don't use BOUNDED_1.
38038         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38039         (shmat): Don't use BOUNDED_N.
38041 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38043         [BZ #13550]
38044         * sysdeps/generic/bp-start.h: Remove file.
38045         * csu/libc-start.c: Don't include <bp-start.h>.
38046         (LIBC_START_MAIN): Set up __environ directly instead of using
38047         INIT_ARGV_and_ENVIRON.
38048         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38049         <bp-start.h>.
38051         [BZ #13550]
38052         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38053         definitions.
38054         (CHECK_FCNTL): Likewise.
38055         (CHECK_N_PAGES): Likewise.
38057         [BZ #13550]
38058         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38059         definitions.
38060         (CHECK_SIGSET_NULL_OK): Likewise.
38061         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38062         <bp-checks.h>.
38063         (sigpending): Don't use CHECK_SIGSET.
38064         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38065         <bp-checks.h>.
38066         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38067         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38068         <bp-checks.h>.
38069         (do_sigsuspend): Don't use CHECK_SIGSET.
38070         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38071         use CHECK_SIGSET.
38072         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38073         (do_sigwait): Don't use CHECK_SIGSET.
38074         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38075         use CHECK_SIGSET.
38076         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38077         include <bp-checks.h>.
38078         (sigpending): Don't use CHECK_SIGSET.
38079         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38080         include <bp-checks.h>.
38081         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38082         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38083         <bp-checks.h>.
38084         (sigpending): Don't use CHECK_SIGSET.
38085         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38086         <bp-checks.h>.
38087         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38089         [BZ #13550]
38090         * sysdeps/generic/bp-semctl.h: Remove file.
38091         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38092         <bp-checks.h> and <bp-semctl.h>.
38093         (__old_semctl): Don't use CHECK_SEMCTL.
38094         (__new_semctl): Likewise.
38095         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38096         and <bp-semctl.h>.
38097         (__old_semctl): Don't use CHECK_SEMCTL.
38098         (__new_semctl): Likewise.
38099         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38100         <bp-checks.h> and <bp-semctl.h>.
38101         (__old_semctl): Don't use CHECK_SEMCTL.
38102         (__new_semctl): Likewise.
38103         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38104         <bp-checks.h> and <bp-semctl.h>.
38105         (semctl): Don't use CHECK_SEMCTL.
38107         [BZ #13550]
38108         * Makerules (elide-bp-thunks): Remove variable.
38109         (elide-routines.oS): Don't use $(elide-bp-thunks).
38110         (elide-routines.os): Likewise.
38111         (elide-routines.o): Likewise.
38112         (elide-routines.op): Likewise.
38113         (elide-routines.og): Likewise.
38114         (objects): Don't use $(bp-thunks).
38115         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38116         include.
38117         (common-generated): Do not add s-proto-bp.d.
38118         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38119         (int): Likewise.
38120         (typ): Likewise.
38121         Do not generate makefile rules for bounded-pointer thunks.
38122         * sysdeps/generic/bp-thunks.h: Remove file.
38123         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38124         * sysdeps/unix/s-proto-bp.S: Likewise.
38126         [BZ #15062]
38127         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38128         parts of result separately when argument is not close to line from
38129         -i to i and one part of argument is small.
38130         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38131         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38132         * math/libm-test.inc (cacos_test): Add more tests.
38133         (casin_test): Likewise.
38134         (casinh_test): Likewise.
38135         * sysdeps/i386/fpu/libm-test-ulps: Update.
38136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38138 2013-01-31  David S. Miller  <davem@davemloft.net>
38140         * po/de.po: Update from translation team.
38142 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38144         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38146 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38148         * configure.in (_AC_PROG_CC_C89): New definition.
38149         * configure: Regenerate.
38151         * configure.in (AC_PROG_CPP): New definition.
38152         * configure: Regenerate.
38154 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38156         * debug/tst-backtrace.h: New file.
38157         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38158         (ret): Remove variable.
38159         (x): Likewise.
38160         (FAIL): Remove macro.
38161         (NO_INLINE): Likewise.
38162         (fn1): Use match function instead of strstr.
38163         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38164         (ret): Remove variable.
38165         (x): Likewise.
38166         (FAIL): Remove macro.
38167         (NO_INLINE): Likewise.
38168         (fn): Use match function instead of strstr.
38169         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38170         (ret): Remove variable.
38171         (x): Likewise.
38172         (FAIL): Remove macro.
38173         (NO_INLINE): Likewise.
38174         (handle_signal): Use match function instead of strstr.
38175         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38176         (ret): Remove variable.
38177         (x): Likewise.
38178         (FAIL): Remove macro.
38179         (NO_INLINE): Likewise.
38180         (handle_signal): Use match function instead of strstr.
38182 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38184         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38186 2013-01-23  David S. Miller  <davem@davemloft.net>
38188         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38189         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38190         argument of CAS if possible.
38191         * sysdeps/sparc/sparc64/bits/atomic.h
38192         (__arch_compare_and_exchange_val_32_acq): Likewise.
38193         (__arch_compare_and_exchange_val_64_acq): Likewise.
38195 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38197         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38198         * sysdeps/posix/ulimit.c: ... this.
38199         Include <limits.h>.
38200         * sysdeps/unix/bsd/ulimit.c: Remove file.
38202 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38204         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38205         (LDFLAGS-tst-array5): Likewise.
38207 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38209         [BZ #15036]
38210         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38211         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38212         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38213         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38215 2013-01-21  David S. Miller  <davem@davemloft.net>
38217         * sysdeps/sparc/backtrace.c: New file.
38218         * sysdeps/sparc/sparc32/backtrace.h: New file.
38219         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38220         * sysdeps/sparc/sparc64/backtrace.h: New file.
38221         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38222         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38223         -funwind-tables.
38225 2013-01-21  Andreas Schwab  <schwab@suse.de>
38227         [BZ #15020]
38228         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38229         closed its stdout.
38231 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38234         "mpa2.h".
38235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38237 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38238             Mark Mitchell  <mark@codesourcery.com>
38239             Tom de Vries  <tom@codesourcery.com>
38240             Paul Pluzhnikov  <ppluzhnikov@google.com>
38242         * debug/tst-backtrace2.c: New file.
38243         * debug/tst-backtrace3.c: Likewise.
38244         * debug/tst-backtrace4.c: Likewise.
38245         * debug/tst-backtrace5.c: Likewise.
38246         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38247         (CFLAGS-tst-backtrace3.c): Likewise.
38248         (CFLAGS-tst-backtrace4.c): Likewise.
38249         (CFLAGS-tst-backtrace5.c): Likewise.
38250         (LDFLAGS-tst-backtrace2): Likewise.
38251         (LDFLAGS-tst-backtrace3): Likewise.
38252         (LDFLAGS-tst-backtrace4): Likewise.
38253         (LDFLAGS-tst-backtrace5): Likewise.
38254         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38255         tst-backtrace4 and tst-backtrace5.
38257 2013-01-18  Anton Blanchard  <anton@samba.org>
38258             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38260         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38261         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38262         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38263         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38265         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38266         "+r" and remove output regs list as redundant.  Add explicit inline
38267         asm to specify register of return val to work around compiler codegen
38268         bug.  Remove (int) cast on return value.  Add return type parameter to
38269         use in macro so that this macro does not truncate return value for
38270         64-bit values.
38271         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38272         pass to INTERNAL_VSYSCALL_NCS.
38273         (INLINE_VSYSCALL): Add 'long int' as return type to
38274         INTERNAL_VSYSCALL_NCS macro invocation.
38275         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38276         INTERNAL_VSYSCALL_NCS macro invocation.
38277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38279 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38281         [BZ #14496]
38282         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38283         Fix application of SIMD FP exception mask.
38285         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38286         mp_no from a power of two.
38287         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38288         __mpexp_twomm1.  Use __pow_mp.
38290         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38291         multiplication.
38293 2013-01-17  David S. Miller  <davem@davemloft.net>
38295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38297 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38299         [BZ #15023]
38300         * include/complex.h: Condition contents on [!_COMPLEX_H].
38301         (__kernel_casinhf): New prototype.
38302         (__kernel_casinh): Likewise.
38303         (__kernel_casinhl): Likewise.
38304         * math/Makefile (libm_calls): Add k_casinh.
38305         * math/k_casinh.c: New file.
38306         * math/k_casinhf.c: Likewise.
38307         * math/k_casinhl.c: Likewise.
38308         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38309         finite nonzero arguments.
38310         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38311         finite nonzero arguments.
38312         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38313         finite nonzero arguments.
38314         * math/s_casinh.c: Do not include <float.h>.
38315         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38316         * math/s_casinhf.c: Do not include <float.h>.
38317         (__casinhf): Move code for finite nonzero arguments to
38318         k_casinhf.c.
38319         * math/s_casinhl.c: Do not include <float.h>.
38320         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38321         redefine.
38322         (__casinhl): Move code for finite nonzero arguments to
38323         k_casinhl.c.
38324         * math/libm-test.inc (cacos_test): Add more tests.
38325         * sysdeps/i386/fpu/libm-test-ulps: Update.
38326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38328 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38330         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38331         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38332         [!HAVE_MREMAP]: Remove [defined linux] case.
38333         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38335 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38337         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38339 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38341         * elf/elf.h (R_386_SIZE32): New relocation.
38342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38343         R_386_SIZE32.
38344         (elf_machine_rela): Likewise.
38345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38346         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38348 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38350         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38351         (FP_FAST_FMA): Do not define.
38352         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38353         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38354         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38355         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38356         !_SOFT_FLOAT]: Likewise.
38357         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38358         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38359         value.
38360         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38361         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38364         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38365         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38366         file.
38368 2013-01-16  Andreas Schwab  <schwab@suse.de>
38370         [BZ #14327]
38371         * include/stdlib.h (__mktemp): Add declaration.
38372         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38373         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38375 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38377         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38378         definitions.
38379         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38380         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38381         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38382         definitions here.
38383         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38384         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38385         definitions.
38386         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38387         and ONE.
38388         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38389         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38390         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38391         definitions.
38392         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38393         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38394         definitions.
38395         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38397         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38399 2013-01-15  David S. Miller  <davem@davemloft.net>
38401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38402         trunc{,f} to libm-sysdep_routes.
38403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38405         file.
38406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38408         file.
38409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38410         file.
38411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38413         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38414         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38415         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38416         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38417         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38418         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38421         nearbyint{,f} to libm-sysdep_routes.
38422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38424         New file.
38425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38426         file.
38427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38428         New file.
38429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38430         file.
38431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38433         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38434         file.
38435         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38437         file.
38438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38439         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38440         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38442         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38443         libc_feholdexcept and libc_fesetenv.
38445 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38447         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38449 2013-01-14  David S. Miller  <davem@davemloft.net>
38451         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38452         (SPARC_ASM_VIS2_IFUNC): Likewise.
38453         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38455         use of 'siam' instruction.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38457         Likewise.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38459         Likewise.
38460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38461         Likewise.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38467         file.
38468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38469         file.
38470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38471         file.
38472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38473         file.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38479         new VIS2 routines.
38480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38483         Likewise.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38489         routines to libm-sysdep_routines.
38490         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38493         fdim/fdimf to libm-sysdep_routines.
38494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38495         file.
38496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38498         file.
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38502         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38503         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38504         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38505         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38507 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38510         to optimize copies.
38512         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38517         local variable MPTWO.
38518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38519         Likewise.
38521 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38523         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38524         GLOB_NOESCAPE.
38526 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38528         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38530 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38532         * manual/pattern.texi (glob_t): Document gl_flags.
38533         (glob64_t): Likewise.
38535 2013-01-11  David S. Miller  <davem@davemloft.net>
38537         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38538         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38539         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38540         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38541         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38542         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38543         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38544         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38545         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38546         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38547         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38548         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38549         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38551         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38552         sparc V9 rather than using V8 code.
38553         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38554         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38556         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38557         Move to...
38558         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38559         Here.
38561 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38563         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38564         not in the main loop.
38565         * configure: Regenerated.
38567 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38569         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38570         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38571         to just #else.
38572         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38573         [!__GLIBC_HAVE_LONG_LONG] case.
38574         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38575         condition to just #else.
38576         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38577         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38578         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38579         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38580         unconditional.
38581         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38582         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38583         #elif condition to just #else.
38584         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38585         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38586         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38587         #elif condition to just #else.
38589 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38591         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38592         (EF_MIPS_ARCH_64): Fix value.
38593         (EF_MIPS_ARCH_32R2): New.
38594         (EF_MIPS_ARCH_64R2): New.
38596 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38598         * Makeconfig (+link-pie-before-libc): New.
38599         (+link-pie-after-libc): Likewise.
38600         (+link-pie-tests): Likewise.
38601         (+link-pie): Rewritten.
38602         (link-before-libc): Remove $(config-LDFLAGS).
38603         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38604         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38605         (config-LDFLAGS): Renamed to ...
38606         (rtld-LDFLAGS): This.
38607         (rtld-tests-LDFLAGS): New macro.
38608         (link-libc-rpath-link): Likewise.
38609         (link-libc-tests-rpath-link): Likewise.
38610         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38611         (link-libc): Prepand $(link-libc-rpath-link).
38612         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38613         (test-program-prefix): New macro.
38614         (test-via-rtld-prefix): Likewise.
38615         (test-program-cmd): Likewise.
38616         (host-test-program-cmd): Likewise.
38617         * Makefile ($(common-objpfx)testrun.sh): Replace
38618         $(run-program-prefix) with $(test-program-prefix).
38619         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38620         $(rtld-LDFLAGS).
38621         ($(common-objpfx)shlib.lds): Likewise.
38622         (build-module-helper): Likewise.
38623         ($(common-objpfx)format.lds): Likewise.
38624         * Rules (binaries-pie-tests): New.
38625         (binaries-pie-notests): Likewise.
38626         (binaries-pie): Rewritten.
38627         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38628         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38629         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38630         (make-test-out): Replace $(host-built-program-cmd) with
38631         $(host-test-program-cmd).
38632         * config.make.in (build-hardcoded-path-in-tests): New variable.
38633         * configure.in (--enable-hardcoded-path-in-tests): New configure
38634         option.
38635         (hardcoded_path_in_tests): New AC_SUBST.
38636         * configure: Regenerated.
38637         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38638         $(built-program-cmd) with $(test-program-cmd).
38639         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38640         (test_program_cmd): This.
38641         * elf/Makefile ($(objpfx)order.out): Run test with
38642         $(test-program-prefix).
38643         ($(objpfx)order2.out): Likewise.
38644         ($(objpfx)tst-initorder.out): Likewise.
38645         ($(objpfx)tst-initorder2.out): Likewise.
38646         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38647         $(test-program-cmd).
38648         ($(objpfx)tst-array1-static.out): Likewise.
38649         ($(objpfx)tst-array2.out): Likewise.
38650         ($(objpfx)tst-array3.out): Likewise.
38651         ($(objpfx)tst-array4.out): Likewise.
38652         ($(objpfx)tst-array5.out): Likewise.
38653         ($(objpfx)tst-array5-static.out): Likewise.
38654         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38655         $(test-program-cmd).
38656         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38657         $(run-program-prefix) with $(test-program-prefix).
38658         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38659         (test_program_prefix): This.
38660         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38661         $(run-program-prefix) with $(test-program-prefix).
38662         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38663         (test_program_prefix): This.
38664         * iconvdata/tst-tables.sh: Likewise.
38665         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38666         $(run-program-prefix) with $(test-program-prefix).
38667         ($(objpfx)tst-translit.out): Likewise.
38668         ($(objpfx)tst-gettext2.out): Likewise.
38669         ($(objpfx)tst-gettext4.out): Likewise.
38670         ($(objpfx)tst-gettext6.out): Likewise.
38671         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38672         (test_program_prefix): This.
38673         * intl/tst-gettext2.sh: Likewise.
38674         * intl/tst-gettext4.sh  Likewise.
38675         * intl/tst-gettext6.sh: Likewise.
38676         * intl/tst-translit.sh: Likewise.
38677         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38678         with $(test-program-cmd).
38679         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38680         $(run-program-prefix) with $(test-program-prefix).
38681         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38682         (test_program_prefix): This.
38683         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38684         $(run-program-prefix) with $(test-program-prefix).
38685         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38686         (test_program_prefix): This.
38687         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38688         * posix/Makefile ($(objpfx)globtest.out): Replace
38689         $(run-via-rtld-prefix) and $(test-wrapper) with
38690         $(test-program-prefix) and $(test-via-rtld-prefix).
38691         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38692         $(test-program-prefix).
38693         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38694         $(host-test-program-cmd).
38695         (tst-spawn-ARGS): Likewise.
38696         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38697         $(test-program-prefix).
38698         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38699         (test_via_rtld_prefix): This.
38700         (test_wrapper): Renamed to ...
38701         (test_program_prefix): This.
38702         (run_program_prefix): Replaced by test_program_prefix.
38703         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38704         (test_program_prefix): This.
38705         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38706         with $(host-test-program-cmd).
38707         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38708         $(run-program-prefix) with $(test-program-prefix).
38709         ($(objpfx)tst-printf.out): Likewise.
38710         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38711         $(test-program-cmd).
38712         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38713         (test_program_prefix): This.
38714         * stdio-common/tst-unbputc.sh: Likewise.
38715         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38716         $(run-program-prefix) with $(test-program-prefix).
38717         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38718         (test_program_prefix): This.
38719         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38720         $(built-program-cmd) with $(test-program-cmd).
38722 2013-01-11  Andreas Jaeger  <aj@suse.de>
38724         [BZ #15003]
38725         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38726         value. Sync with Linux 3.7.
38728 2013-01-10  David S. Miller  <davem@davemloft.net>
38730         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38731         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38732         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38734 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38736         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38737         never set.
38738         * configure: Regenerated.
38740 2013-01-10  David S. Miller  <davem@davemloft.net>
38742         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38743         sparc V9 rather than using V8 code.
38744         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38745         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38747 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38749         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38750         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38751         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38752         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38753         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38754         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38755         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38756         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38757         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38758         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38759         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38760         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38761         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38762         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38763         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38764         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38765         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38766         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38767         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38768         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38769         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38770         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38771         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38772         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38773         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38774         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38775         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38777 2013-01-10  David S. Miller  <davem@davemloft.net>
38779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38781 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38783         * posix/Makefile (tests-static): New variable.
38784         (tests): Add $(tests-static).
38785         (tst-exec-static-ARGS): New variable.
38786         (tst-spawn-static-ARGS): Likewise.
38787         * posix/tst-exec-static.c: New file.
38788         * posix/tst-spawn-static.c: Likewise.
38789         * posix/tst-exec.c: Support run directly.
38790         * posix/tst-spawn.c: Likewise.
38792 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38794         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38795         long.
38796         * math/bits/mathcalls.h (llrint): Likewise.
38797         (llround): Likewise.
38798         * stdlib/stdlib.h (struct drand48_data): Likewise.
38799         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38800         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38801         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38802         Likewise.
38803         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38804         Likewise.
38805         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38806         (elf_greg_t): Likewise.
38807         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38808         (__jmp_buf): Likewise.
38809         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38810         definitions.
38811         (llrint): Likewise, for all definitions.
38812         (llrintl): Likewise.
38814         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38815         Remove [__GNUC__] condition.
38816         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38817         condition to just [__USE_ISOC99].
38818         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38820 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38822         [BZ #14200]
38823         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38824         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38825         defined.
38826         (_POSIX_V6_ILP32_OFF32): Likewise.
38827         (_XBS5_ILP32_OFF32): Likewise.
38828         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38829         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38831 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38833         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38836         doubles __mpexp_twomm1.  Adjust usage.
38837         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38838         Remove.
38840 2013-01-10  Andreas Schwab  <schwab@suse.de>
38842         [BZ #14964]
38843         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38844         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38846 2013-01-09  David S. Miller  <davem@davemloft.net>
38848         [BZ #15003]
38849         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38850         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38851         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38852         (TCP_FASTOPEN): Define.
38853         (tcp_repair_opt): New structure.
38854         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38855         enum values.
38856         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38857         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38858         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38859         (tcp_cookie_transactions): New structure.
38861 2013-01-09  Anton Blanchard  <anton@samba.org>
38863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38864         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38865         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38866         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38868 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38870         * include/features.h (__USE_ANSI): Remove.
38872 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38874         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38876         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38878 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38880         * sysdeps/s390/fpu/libm-test-ulps: Update.
38882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38884         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38885         (__acr): Likewise.
38886         (__cpy): Likewise.
38887         (norm): Likewise.
38888         (denorm): Likewise.
38889         (__mp_dbl): Likewise.
38890         (__dbl_mp): Likewise.
38891         (add_magnitudes): Likewise.
38892         (sub_magnitudes): Likewise.
38893         (__add): Likewise.
38894         (__sub): Likewise.
38895         (__mul): Likewise.
38896         (__inv): Likewise.
38897         (__dvd): Likewise.
38898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38899         (__acr): Likewise.
38900         (__cpy): Likewise.
38901         (norm): Likewise.
38902         (denorm): Likewise.
38903         (__mp_dbl): Likewise.
38904         (__dbl_mp): Likewise.
38905         (add_magnitudes): Likewise.
38906         (sub_magnitudes): Likewise.
38907         (__add): Likewise.
38908         (__sub): Likewise.
38909         (__mul): Likewise.
38910         (__inv): Likewise.
38911         (__dvd): Likewise.
38912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38913         (__acr): Likewise.
38914         (__cpy): Likewise.
38915         (norm): Likewise.
38916         (denorm): Likewise.
38917         (__mp_dbl): Likewise.
38918         (__dbl_mp): Likewise.
38919         (add_magnitudes): Likewise.
38920         (sub_magnitudes): Likewise.
38921         (__add): Likewise.
38922         (__sub): Likewise.
38923         (__mul): Likewise.
38924         (__inv): Likewise.
38925         (__dvd): Likewise.
38927 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38929         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38930         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38931         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38932         2 && __USE_EXTERN_INLINES]: Likewise.
38934 2013-01-08  Andreas Jaeger  <aj@suse.de>
38936         [BZ# 14985]
38937         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38938         Remove.
38939         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38940         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38942 2013-01-07  Anton Blanchard  <anton@samba.org>
38944         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38945         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38946         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38947         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38948         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38949         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38950         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38951         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38953         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38954         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38956         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38957         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38958         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38961         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38962         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38964         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38965         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38966         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38967         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38968         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38969         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38971         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38972         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38973         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38974         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38976         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38977         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38978         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38979         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38980         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38981         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38982         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38983         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38984         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38986         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38988 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38990         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38991         (__MALLOC_PMT): Likewise.
38992         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38993         [__GNUC__], only on [_LIBC].
38994         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38995         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38996         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38997         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38998         forward declaration.
38999         (realloc_hook_ini): Likewise.
39000         (memalign_hook_ini): Likewise.
39001         (__libc_memalign): Do not use __MALLOC_PMT in variable
39002         declaration.
39003         (__libc_valloc): Likewise.
39004         (__libc_pvalloc): Likewise.
39005         (__libc_calloc): Likewise.
39006         (__posix_memalign): Likewise.
39008         [BZ #14996]
39009         * math/s_casinh.c: Include <float.h>.
39010         (__casinh): Do not do computation with squaring and square root
39011         for large arguments.
39012         * math/s_casinhf.c: Include <float.h>.
39013         (__casinhf): Do not do computation with squaring and square root
39014         for large arguments.
39015         * math/s_casinhl.c: Include <float.h>.
39016         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39017         (__casinhl): Do not do computation with squaring and square root
39018         for large arguments.
39019         * math/libm-test.inc (casin_test): Add more tests.
39020         (casinh_test): Likewise.
39021         * sysdeps/i386/fpu/libm-test-ulps: Update.
39022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39024 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39026         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39027         (__x86_64_raw_data_cache_size): Likewise.
39028         (__x86_64_data_cache_size_half): Likewise.
39029         (__x86_64_raw_data_cache_size_half): Likewise.
39030         (__x86_64_shared_cache_size): Likewise.
39031         (__x86_64_raw_shared_cache_size): Likewise.
39032         (__x86_64_shared_cache_size_half): Likewise.
39033         (__x86_64_raw_shared_cache_size_half): Likewise.
39034         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39035         to ...
39036         (__x86_data_cache_size): This.
39037         (__x86_64_raw_data_cache_size): Renamed to ...
39038         (__x86_raw_data_cache_size): This.
39039         (__x86_64_data_cache_size_half): Renamed to ...
39040         (__x86_data_cache_size_half): This.
39041         (__x86_64_raw_data_cache_size_half): Renamed to ...
39042         (__x86_raw_data_cache_size_half): This.
39043         (__x86_64_shared_cache_size): Renamed to ...
39044         (__x86_shared_cache_size): This.
39045         (__x86_64_raw_shared_cache_size): Renamed to ...
39046         (__x86_raw_shared_cache_size): This.
39047         (__x86_64_shared_cache_size_half): Renamed to ...
39048         (__x86_shared_cache_size_half): This.
39049         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39050         (__x86_raw_shared_cache_size_half): This.
39051         * sysdeps/x86_64/memcpy.S: Updated.
39052         * sysdeps/x86_64/memset.S: Likewise.
39053         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39057 2013-01-04  David S. Miller  <davem@davemloft.net>
39059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39061 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39063         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39064         1 to avoid redefinition warning.
39065         (__USE_GNU): Don't define.
39066         (init_signaling_nan): Protoize.
39068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39070 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39072         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39074         (__cpymn): Likewise.
39075         (norm): Remove commented code.
39076         (denorm): Likewise.
39077         (__mp_dbl): Likewise.
39078         (__inv): Likewise.
39079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39080         (__cpymn): Likewise.
39081         (norm): Remove commented code.
39082         (denorm): Likewise.
39083         (__mp_dbl): Likewise.
39084         (__inv): Likewise.
39086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39087         mp_no value for 1.0 and 2.0.
39088         (norm): Use RADIXI instead of radixi.d.
39089         (denorm): Likewise.
39090         (__mul): Use 0.0 instead of zero.d.
39091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39092         mp_no value for 1.0 and 2.0.
39093         (norm): Use RADIXI instead of radixi.d.
39094         (denorm): Likewise.
39095         (__mul): Use 0.0 instead of zero.d.
39097 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39099         [BZ #14994]
39100         * math/s_casinh.c (__casinh): Reduce finite argument to first
39101         quadrant then set signs of results at the end.
39102         * math/s_casinhf.c (__casinhf): Likewise.
39103         * math/s_casinhl.c (__casinhl): Likewise.
39104         * math/libm-test.inc (casin_test): Add more tests.
39105         (casinh_test): Likewise.
39106         * sysdeps/i386/fpu/libm-test-ulps: Update.
39107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39109 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39111         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39113         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39115         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39116         declarations.
39117         (denorm): Likewise.
39118         (__mp_dbl): Likewise.
39119         (__inv): Likewise.
39121         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39122         and adjust the header comment.
39124         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39125         variable name from declaration.
39127 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39130         Initialize COMMON_CPUID_INDEX_7 element.
39131         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39132         (CPUID_RTM): Likewise.
39133         (HAS_RTM): Likewise.
39134         (COMMON_CPUID_INDEX_7): New enum.
39136 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39138         [BZ #14981]
39139         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39140         size is zero, record memory as freed.
39142 2013-01-03  Andreas Jaeger  <aj@suse.de>
39144         * po/ia.po: Add new Interlingua translation.
39146 2012-01-03  Allan McRae  <allan@archlinux.org>
39148         * locale/programs/localedef.c: Fix description of '--posix' flag.
39150 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39152         * NEWS: Update dates in second copyright notice.
39153         * README: Update copyright dates in example.
39154         * manual/libc.texinfo: Update copyright dates.
39155         * scripts/test-installation.pl: Update copyright date in --version
39156         output.
39158         * hurd/ctty-input.c: Fix copyright notice formatting.
39159         * hurd/ctty-output.c: Likewise.
39160         * hurd/dtable.c: Likewise.
39161         * hurd/hurd-raise.c: Likewise.
39162         * hurd/hurdprio.c: Likewise.
39163         * hurd/msgportdemux.c: Likewise.
39164         * misc/sys/file.h: Likewise.
39165         * misc/sys/ioctl.h: Likewise.
39166         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39167         * sysdeps/mach/hurd/chdir.c: Likewise.
39168         * sysdeps/mach/hurd/fchdir.c: Likewise.
39169         * sysdeps/mach/hurd/rename.c: Likewise.
39170         * sysdeps/mach/hurd/rmdir.c: Likewise.
39171         * sysdeps/mach/hurd/seekdir.c: Likewise.
39172         * sysdeps/mach/hurd/setsid.c: Likewise.
39173         * sysdeps/posix/wait3.c: Likewise.
39175         * All files with FSF copyright notices: Update copyright dates
39176         using scripts/update-copyrights.
39177         * intl/plural.c: Regenerated.
39178         * locale/programs/charmap-kw.h: Likewise.
39179         * locale/programs/locfile-kw.h: Likewise.
39181 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39183         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39184         four values.
39186         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39187         calculation loop and add branch prediction.
39189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39190         check access beyond bounds of m1np.
39192         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39193         MPTWO.
39194         (__inv): Remove local variable MPTWO to use the global
39195         constant.
39196         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39198         variable MPTWO.
39199         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39200         MP3HALFS static const.
39202 2013-01-01  David S. Miller  <davem@davemloft.net>
39204         * po/ca.po: Update from translation team.
39206 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39208         * scripts/update-copyrights: New file.
39209         * Makeconfig: Reformat copyright notice.
39210         * ctype/ctype.h: Likewise.
39211         * debug/swprintf_chk.c: Likewise.
39212         * elf/dl-cache.c: Likewise.
39213         * elf/dl-debug.c: Likewise.
39214         * elf/dl-object.c: Likewise.
39215         * grp/initgroups.c: Likewise.
39216         * hurd/Makefile: Likewise.
39217         * hurd/hurd/signal.h: Likewise.
39218         * hurd/hurdfault.c: Likewise.
39219         * hurd/hurdioctl.c: Likewise.
39220         * hurd/hurdlookup.c: Likewise.
39221         * hurd/intr-msg.c: Likewise.
39222         * iconv/gconv_open.c: Likewise.
39223         * libio/swprintf.c: Likewise.
39224         * locale/lc-ctype.c: Likewise.
39225         * locale/nl_langinfo.c: Likewise.
39226         * mach/Machrules: Likewise.
39227         * mach/Makefile: Likewise.
39228         * malloc/obstack.h: Likewise.
39229         * manual/Makefile: Likewise.
39230         * manual/tsort.awk: Likewise.
39231         * misc/bits/stab.def: Likewise.
39232         * nis/nis_print_group_entry.c: Likewise.
39233         * nis/nis_table.c: Likewise.
39234         * nis/nss_compat/compat-pwd.c: Likewise.
39235         * nis/nss_compat/compat-spwd.c: Likewise.
39236         * po/Makefile: Likewise.
39237         * posix/fnmatch.c: Likewise.
39238         * posix/regex.h: Likewise.
39239         * resolv/Makefile: Likewise.
39240         * resolv/nss_dns/dns-network.c: Likewise.
39241         * resolv/res_hconf.c: Likewise.
39242         * scripts/gen-sorted.awk: Likewise.
39243         * soft-fp/soft-fp.h: Likewise.
39244         * stdio-common/printf.h: Likewise.
39245         * stdlib/monetary.h: Likewise.
39246         * stdlib/random.c: Likewise.
39247         * stdlib/random_r.c: Likewise.
39248         * sysdeps/generic/Makefile: Likewise.
39249         * sysdeps/gnu/Makefile: Likewise.
39250         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39251         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39252         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39253         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39254         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39257         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39258         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39260         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39261         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39262         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39263         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39264         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39265         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39266         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39270         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39271         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39272         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39273         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39274         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39275         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39278         * sysdeps/mach/hurd/errnos.awk: Likewise.
39279         * sysdeps/mach/hurd/fork.c: Likewise.
39280         * sysdeps/mach/hurd/getcwd.c: Likewise.
39281         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39282         * sysdeps/mach/hurd/mmap.c: Likewise.
39283         * sysdeps/mach/hurd/utimes.c: Likewise.
39284         * sysdeps/mach/hurd/xmknod.c: Likewise.
39285         * sysdeps/posix/profil.c: Likewise.
39286         * sysdeps/posix/readdir_r.c: Likewise.
39287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39288         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39289         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39290         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39292         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39293         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39294         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39296         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39297         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39298         * sysdeps/pthread/lio_listio.c: Likewise.
39299         * sysdeps/sparc/dl-procinfo.h: Likewise.
39300         * sysdeps/unix/i386/sysdep.S: Likewise.
39301         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39302         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39303         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39304         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39306         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39307         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39308         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39309         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39310         * sysdeps/wordsize-32/divdi3.c: Likewise.
39311         * time/sys/time.h: Likewise.
39312         * wcsmbs/Makefile: Likewise.
39314 2013-01-01  David S. Miller  <davem@davemloft.net>
39316         * po/fr.po: Update from translation team.
39318         * catgets/gencat.c: Update copyright year.
39319         * csu/version.c: Likewise.
39320         * debug/catchsegv.sh: Likewise.
39321         * debug/pcprofiledump.c: Likewise.
39322         * debug/xtrace.sh: Likewise.
39323         * elf/ldconfig.c: Likewise.
39324         * elf/ldd.bash.in: Likewise.
39325         * elf/pldd.c: Likewise.
39326         * elf/sotruss.ksh: Likewise.
39327         * elf/sprof.c: Likewise.
39328         * iconv/iconv_prog.c: Likewise.
39329         * iconv/iconvconfig.c: Likewise.
39330         * locale/programs/locale.c: Likewise.
39331         * locale/programs/localedef.c: Likewise.
39332         * login/programs/pt_chown.c: Likewise.
39333         * malloc/memusage.sh: Likewise.
39334         * malloc/memusagestat.c: Likewise.
39335         * malloc/mtrace.pl: Likewise.
39336         * nscd/nscd.c: Likewise.
39337         * nss/getent.c: Likewise.
39338         * nss/makedb.c: Likewise.
39339         * posix/getconf.c: Likewise.
39341 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39343         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39344         numbers.
39346 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39348         * math/bits/mathcalls.h (modf): Use __nonnull.
39350 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39352         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39353         (split): Use macro CN instead of the bare value.
39354         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39355         could be used.
39356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39357         instead of the bare value.
39358         (power1): Likewise.
39360 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39363         __ATAN_TWOM.
39364         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39366         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39367         their values.
39368         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39369         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39370         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39371         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39373 2012-12-28  Andreas Jaeger  <aj@suse.de>
39375         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39376         values are from Linux 3.7.
39378         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39379         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39381 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39383         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39384         TRUE case.
39386         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39387         (norm): Likewise.
39388         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39389         variables with preprocessor constants.
39390         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39391         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39394 2012-12-27  Bruno Haible  <bruno@clisp.org>
39396         [BZ #14317]
39397         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39398         only if needed.
39400 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39403         and use variable directly.
39404         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39406         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39407         MPONE.
39408         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39410         variable MPONE.
39411         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39413         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39414         include directive.  Remove local variable MPONE.
39415         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39416         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39417         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39419 2012-12-25  David S. Miller  <davem@davemloft.net>
39421         * version.h (RELEASE): Set to "development".
39422         (VERSION): Set to "2.17.90".
39423         * NEWS: Add 2.18 section.
39425 2012-12-21  David S. Miller  <davem@davemloft.net>
39427         * po/hr.po: Update from translation team.
39429 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39431         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39433 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39435         * NEWS:  Mention new memcpy for MIPS.
39437 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39439         * manual/contrib.texi (Contributors): Spelling correction.
39441 2012-12-15  David S. Miller  <davem@davemloft.net>
39443         * po/ru.po: Update from translation team.
39445 2012-12-13  David S. Miller  <davem@davemloft.net>
39447         * NEWS: Mention IFUNC testsuite enhancements.
39449         * po/pl.po: Update from translation team.
39450         * po/bg.po: Likewise.
39452         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39453         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39455 2012-12-11  David S. Miller  <davem@davemloft.net>
39457         * po/sv.po: Update from translation team.
39459         * po/vi.po: Update from translation team.
39461         * po/cs.po: Update from translation team.
39463         * po/de.po: Update from translation team.
39464         * po/eo.po: Likewise.
39465         * po/nl.po: Likewise.
39467 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39469         [BZ #14246]
39470         * manual/argp.texi (Argp Helper Functions): Move node to follow
39471         Argp Parsing State.
39473         [BZ #14872]
39474         * manual/conf.texi (Limits on File System Capacity): Mention if
39475         terminating null is included in the max size.
39477 2012-12-10  Andreas Jaeger  <aj@suse.de>
39479         * po/cs.po: Update from translation team.
39481 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39483         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39484         void pointer and cast to uintptr_t.
39485         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39486         path.
39487         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39488         * sysdeps/s390/s390-64/memset.S: Likewise.
39490 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39492         [BZ #14833]
39493         * menual/message.texi (Message Translation): Fix typos.
39494         (Helper programs for gettext): Likewise.
39496 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39498         [BZ #14898]
39499         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39500         Change to -1.
39502 2012-12-07  David S. Miller  <davem@davemloft.net>
39504         * po/libc.pot: Update.
39506 2012-12-07  Richard Henderson  <rth@redhat.com>
39508         [BZ #10114]
39509         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39510         normal/normal case to before the switch.
39511         (_FP_DIV): Likewise.
39513 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39514             Mike Frysinger  <vapier@gentoo.org>
39516         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39517         check for __NR_fadvise64_64.
39519 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39521         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39522         0, not just to plain "0" as a statement.
39523         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39524         with cw.
39526 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39528         * NEWS: Use sourceware.org in Bugzilla URL.
39530 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39533         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39535         * stdio-common/tst-put-error.c (do_test): Add newline to the
39536         padded test to ensure flush.
39538 2012-12-05  Jeff Law  <law@redhat.com>
39540         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39542 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39544         * README: Don't refer to ports add-on as distributed separately.
39545         Mention AArch64 in list of systems supported in the ports add-on.
39547         * LICENSES: Add more non-FSF copyright and license notices.
39549         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39550         ((unused)).
39552         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39554         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39555         10000 as width of padded output.
39557 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39559         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39561         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39562         variable LX with __attribute__ ((unused)).
39563         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39564         Likewise.
39565         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39567         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39568         with __attribute__ ((unused)).
39570 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39572         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39574 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39576         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39577         (CFLAGS-nldbl-acos.c): New variable.
39578         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39579         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39580         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39581         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39582         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39583         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39584         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39585         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39586         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39587         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39588         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39621         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39622         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39623         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39624         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39625         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39626         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39627         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39628         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39629         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39630         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39631         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39632         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39633         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39634         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39635         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39636         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39637         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39638         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39639         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39640         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39641         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39642         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39643         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39644         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39645         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39646         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39647         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39648         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39649         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39650         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39651         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39652         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39653         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39654         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39655         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39656         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39657         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39658         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39659         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39660         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39661         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39662         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39663         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39664         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39665         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39666         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39667         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39668         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39669         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39670         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39671         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39672         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39673         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39674         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39677         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39679         [BZ #14914]
39680         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39681         whole low double instead of just low 47 bits when splitting values
39682         into two parts.
39684 2012-12-03  Allan McRae  <allan@archlinux.org>
39686         * manual/stdio.texi (Predefined Printf Handlers): Remove
39687         @hsep and @vsep usage.
39689 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39691         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39692         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39694 2012-12-03  Jeff Law  <law@redhat.com>
39696         * time/sys/time.h (settimeofday): Do not mark TV argument
39697         as __nonnull.
39699 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39701         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39702         when currently writing and seek to current position when not.
39703         * libio/Makefile (tests): Remove bug-fclose1.
39704         * libio/bug-fclose1.c: Delete.
39706 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39708         * manual/arith.texi (feenableexcept): Fix typo.
39709         (fedisableexcept): Likewise.
39711 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39713         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39714         second, differently-typed declaration, rather than a cast.
39716 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39718         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39719         * include/rpc/svc.h: ... here.
39721 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39723         [BZ #13013]
39724         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39725         depending n and resplen2 to catch cases where answer
39726         equals answerp2.
39728 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39730         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39731         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39733 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39735         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39737 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39739         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39741 2012-11-28  Jeff Law  <law@redhat.com>
39743         [BZ #13761]
39744         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39745         dataset_temporary.  Track alloca usage into alloca_used.
39746         If dataset is large allocate and release it via malloc/free.
39748 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39750         [BZ #14197]
39751         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39753 2012-11-28  David S. Miller  <davem@davemloft.net>
39755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39757 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39759         [BZ #14803]
39760         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39761         of pi/2 rounded to nearest to 64 bits.
39762         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39763         nearest to 64 bits.
39764         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39765         bits.
39767 2012-11-28  Jeff Law <law@redhat.com>
39768             Martin Osvald <mosvald@redhat.com>
39770         [BZ #14889]
39771         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39772         * sunrpc/svc.c: Include time.h.
39773         (__svc_accept_failed): New function.
39774         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39775         any reason other than EINTR, call __svc_accept_failed.
39776         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39777         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39779 2012-11-28  Andreas Schwab  <schwab@suse.de>
39781         * scripts/abilist.awk: Also handle indirect functions in .opd
39782         section.
39784 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39786         [BZ #13881]
39787         * sysdeps/x86/fpu/powl_helper.c: New file.
39788         * sysdeps/x86/fpu/Makefile: Likewise.
39789         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39790         (p3): New object.
39791         (__ieee754_powl): Use __powl_helper for finite arguments except
39792         integer exponents below 8.
39793         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39794         (p3): New object.
39795         (__ieee754_powl): Use __powl_helper for finite arguments except
39796         integer exponents below 8.
39797         * math/libm-test.inc (pow_test): Add more tests and enable some
39798         previously disabled tests.
39799         * sysdeps/i386/fpu/libm-test-ulps: Update.
39800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39802 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39803             Carlos O'Donell  <carlos_odonell@mentor.com>
39805         * nss/makedb.c (is_prime): Assert that input is odd and greater
39806         than 4.  Note that fact in a comment too.
39807         (next_prime): Add 4 to input.
39809 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39811         [BZ #11741]
39812         * libio/Makefile (tests): Add test case tst-fwrite-error.
39813         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39814         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39815         * libio/tst-fwrite-error.c: New test case.
39817 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39819         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39820         before casting to void *.
39821         * include/libc-internal.h (__pointer_type): New macro.
39822         (__integer_if_pointer_type_sub): Likewise.
39823         (__integer_if_pointer_type): Likewise.
39824         (cast_to_integer): Likewise.
39825         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39826         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39827         before casting to atomic64_t.
39828         (atomic_exchange_acq): Likewise.
39829         (__arch_exchange_and_add_body): Likewise.
39830         (__arch_add_body): Likewise.
39831         (atomic_add_negative): Likewise.
39832         (atomic_add_zero): Likewise.
39834 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39836         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39837         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39838         (add_fdes): Likewise.
39839         (linear_search_fdes): Likewise.
39840         (binary_search_unencoded_fdes): Likewise.
39842 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39844         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39846 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39848         * configure.in: Autodetect C++ header directories.
39849         * configure: Regenerated.
39851 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39853         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39855 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39859 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39861         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39862         LDBL_MANT_DIG == 106]: Disable some tests.
39863         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39864         Likewise.
39865         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39866         Likewise.
39868         [BZ #14871]
39869         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39870         input for small inputs.  Return +/- pi/2 for large inputs.
39871         * math/libm-test.inc (atan_test): Add more tests.
39873         * sysdeps/generic/unwind-dw2-fde-glibc.c
39874         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39875         __attribute__ ((unused)).
39877         [BZ #14645]
39878         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39879         x * y if x and y are nonzero and z is zero.
39881         [BZ #14811]
39882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39883         nonzero exponents with absolute value below 0x1p-117 to +/-
39884         0x1p-117.
39886         [BZ #14869]
39887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39888         up arguments below 2**-450, not just those below 2**-500.
39889         * math/libm-test.inc (hypot_test): Add another test.
39891         [BZ #14868]
39892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39893         Return a+b for ratio over 2**120, not 2**60.
39894         * math/libm-test.inc (hypot_test): Add another test.
39896         * math/libm-test.inc (clog_test): Use
39897         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39898         (clog10_test): Likewise.
39900         [BZ #6778]
39901         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39903 2012-11-22  Andreas Schwab  <schwab@suse.de>
39905         * sysdeps/i386/fpu/libm-test-ulps: Update.
39907 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39909         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39910         printf output with newline.
39912 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39914         [BZ #14865]
39915         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39916         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39917         -z nodlopen, -z initfirst and -z execstack support.
39918         * configure: Regenerated.
39920         * elf/elf.h (DF_1_NODIRECT): New macro.
39921         (DF_1_IGNMULDEF): Likewise.
39922         (DF_1_NOKSYMS): Likewise.
39923         (DF_1_NOHDR): Likewise.
39924         (DF_1_EDITED): Likewise.
39925         (DF_1_NORELOC): Likewise.
39926         (DF_1_SYMINTPOSE): Likewise.
39927         (DF_1_GLOBAUDIT): Likewise.
39928         (DF_1_SINGLETON): Likewise.
39929         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39930         DT_1_SUPPORTED_MASK bits.
39931         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39933 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39935         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39937 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39939         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39940         macro.
39942         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39943         (sendmmsg): Move declarations...
39944         * socket/sys/socket.h: ... here.
39945         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39946         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39947         include it from...
39948         * socket/recvmmsg.c: ... this new file.
39949         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39950         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39951         definition of __sendmmsg hidden.
39952         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39953         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39954         Move ENOSYS stub into and include it from...
39955         * socket/sendmmsg.c: ... this new file.
39956         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39957         (sysdep_routines): Move recvmmsg and sendmmsg...
39958         * socket/Makefile (routines): ... here.
39959         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39960         (GLIBC_PRIVATE): Add __sendmmsg.
39961         * include/sys/socket.h (__sendmmsg): Add declarations.
39962         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39963         sendmmsg.
39965 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39968         variable I1 with __attribute__ ((unused)).
39969         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39971 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39973         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39974         DUMMY variables with __attribute__ ((unused)).
39976         * bits/byteswap.h: Include <bits/types.h>.
39977         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39979 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39981         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39982         string_t.  Do not manually set errno.
39983         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39984         length with __strnlen.  Make sure to both set errno and return it on
39985         failure.
39987 2012-11-19  David S. Miller  <davem@davemloft.net>
39989         With help from Joseph Myers.
39990         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39991         very large arguments properly.
39992         * math/libm-test.inc (atan_test): New tests.
39993         (atan2_test): New tests.
39994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39997 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39999         [BZ #14856]
40000         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40001         Define to 3.
40003         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40004         [POSIX] (EADDRNOTAVAIL): Likewise.
40005         [POSIX] (EAFNOSUPPORT): Likewise.
40006         [POSIX] (EALREADY): Likewise.
40007         [POSIX] (ECONNABORTED): Likewise.
40008         [POSIX] (ECONNREFUSED): Likewise.
40009         [POSIX] (ECONNRESET): Likewise.
40010         [POSIX] (EDESTADDRREQ): Likewise.
40011         [POSIX] (EDQUOT): Likewise.
40012         [POSIX] (EHOSTUNREACH): Likewise.
40013         [POSIX] (EIDRM): Likewise.
40014         [POSIX] (EISCONN): Likewise.
40015         [POSIX] (ELOOP): Likewise.
40016         [POSIX] (EMULTIHOP): Likewise.
40017         [POSIX] (ENETDOWN): Likewise.
40018         [POSIX] (ENETUNREACH): Likewise.
40019         [POSIX] (ENOBUFS): Likewise.
40020         [POSIX] (ENODATA): Likewise.
40021         [POSIX] (ENOLINK): Likewise.
40022         [POSIX] (ENOMSG): Likewise.
40023         [POSIX] (ENOPROTOOPT): Likewise.
40024         [POSIX] (ENOSR): Likewise.
40025         [POSIX] (ENOSTR): Likewise.
40026         [POSIX] (ENOTCONN): Likewise.
40027         [POSIX] (ENOTSOCK): Likewise.
40028         [POSIX] (EOPNOTSUPP): Likewise.
40029         [POSIX] (EOVERFLOW): Likewise.
40030         [POSIX] (EPROTO): Likewise.
40031         [POSIX] (EPROTONOSUPPORT): Likewise.
40032         [POSIX] (EPROTOTYPE): Likewise.
40033         [POSIX] (ESTALE): Likewise.
40034         [POSIX] (ETIME): Likewise.
40035         [POSIX] (ETXTBSY): Likewise.
40036         [POSIX] (EWOULDBLOCK): Likewise.
40037         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40038         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40039         [POSIX] (SEEK_CUR): Likewise.
40040         [POSIX] (SEEK_END): Likewise.
40041         [POSIX || UNIX98] (mode_t): Do not require.
40042         [POSIX] (off_t): Likewise.
40043         [POSIX] (pid_t): Likewise.
40044         [POSIX] (sys/stat.h): Do not allow header.
40045         [POSIX] (unistd.h): Likewise.
40046         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40047         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40048         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40049         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40050         require.
40051         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40052         sigevent): Specify elements.
40053         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40054         entry.
40055         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40056         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40058         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40059         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40060         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40061         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40062         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40063         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40064         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40065         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40066         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40067         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40068         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40069         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40070         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40071         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40072         Likewise.
40073         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40074         Likewise.
40075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40076         Likewise.
40077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40078         Likewise.
40079         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40080         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40081         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40083         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40084         Specify lower bound on value.
40085         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40086         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40087         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40088         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40089         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40090         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40091         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40092         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40093         value.
40094         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40095         as optional.
40096         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40097         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40098         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40099         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40100         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40101         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40102         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40103         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40104         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40105         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40106         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40107         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40108         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40109         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40110         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40111         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40112         entry.
40113         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40114         optional.
40115         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40116         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40117         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40118         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40119         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40120         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40121         Likewise.
40122         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40123         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40124         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40125         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40126         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40127         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40128         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40129         as optional.
40130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40131         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40133         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40134         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40135         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40136         specify as optional.
40137         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40138         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40139         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40140         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40141         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40142         [XPG3] (NL_LANGMAX): Likewise.
40143         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40144         [POSIX || XPG3] (NL_NMAX): Likewise.
40145         [POSIX || XPG3] (NL_SETMAX): Likewise.
40146         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40147         [XPG3] (NZERO): Likewise.
40148         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40149         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40150         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40151         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40152         (REG_ERANGE): Expect.
40153         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40154         optional-constant.
40155         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40156         Use (void) in prototype.
40157         [POSIX] (*_t): Allow.
40158         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40159         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40160         (WRDE_BADVAL): Expect.
40162         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40163         expect.
40164         [XPG3 || XPG4] (O_RSYNC): Likewise.
40165         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40166         Likewise.
40167         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40168         [XPG3 || XPG4] (sigqueue): Likewise.
40169         [XPG3 || XPG4] (sigtimedwait): Likewise.
40170         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40171         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40172         [XPG3 || XPG4] (vsnprintf): Likewise.
40173         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40174         Likewise.
40175         [XPG3 || XPG4] (blksize_t): Likewise.
40176         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40177         Likewise.
40178         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40179         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40180         [XPG3 || XPG4] (struct itimerspec): Likewise.
40181         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40182         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40183         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40184         [XPG3 || XPG4] (clockid_t): Likewise.
40185         [XPG3 || XPG4] (timer_t): Likewise.
40186         [XPG3 || XPG4] (clock_getres): Likewise.
40187         [XPG3 || XPG4] (clock_gettime): Likewise.
40188         [XPG3 || XPG4] (clock_settime): Likewise.
40189         [XPG3 || XPG4] (nanosleep): Likewise.
40190         [XPG3 || XPG4] (timer_create): Likewise.
40191         [XPG3 || XPG4] (timer_delete): Likewise.
40192         [XPG3 || XPG4] (timer_gettime): Likewise.
40193         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40194         [XPG3 || XPG4] (timer_settime): Likewise.
40195         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40196         [XPG3 || XPG4] (getlogin_r): Likewise.
40197         [XPG3 || XPG4] (pread): Likewise.
40198         [XPG3 || XPG4] (pthread_atfork): Likewise.
40199         [XPG3 || XPG4] (pwrite): Likewise.
40201         [BZ #14835]
40202         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40203         <bits/siginfo.h>.
40205 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40207         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40208         finalizing MALLSTREAM.
40210         * sysdeps/mach/hurd/syncfs.c: New file.
40212 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40214         [BZ #14719]
40215         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40216         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40217         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40218         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40219         (_nss_dns_gethostbyname4_r): Likewise.
40220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40221         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40223 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40225         [BZ #13763]
40226         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40228 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40230         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40231         * elf/cache.c (print_entry): Print ",AArch64" for
40232         FLAG_AARCH64_LIB64
40234         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40235         * elf/cache.c (print_entry): Print ",hard-float" for
40236         FLAG_ARM_LIBHF.
40238 2012-11-18  David S. Miller  <davem@davemloft.net>
40240         With help from Joseph Myers.
40241         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40242         cutoff to 2**-13.
40243         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40244         cutoff to 2**-25.
40245         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40246         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40247         small.
40248         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40249         * math/libm-test.inc (y0_test): New tests.
40250         (y1_test): New tests.
40251         * sysdeps/i386/fpu/libm-test-ulps: Update.
40252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40255 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40257         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40258         64-bit targets.
40259         * configure: Regenerated.
40261 2012-11-17  David S. Miller  <davem@davemloft.net>
40263         [BZ #14811]
40264         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40265         nonzero exponents with absolute value below 0x1p-128 to +/-
40266         0x1p-128.
40268 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40270         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40272         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40274         * posix/getconf-speclist.c: New file.
40275         * posix/posix-envs.def: Likewise.
40276         * posix/confstr.c (START_ENV_GROUP): New macro.
40277         (END_ENV_GROUP): Likewise.
40278         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40279         (KNOWN_PRESENT_ENV_STRING): Likewise.
40280         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40281         (UNKNOWN_ENVIRONMENT): Likewise.
40282         (confstr): Include posix-envs.def instead of handling
40283         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40284         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40285         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40286         (END_ENV_GROUP): Likewise.
40287         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40288         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40289         (UNKNOWN_ENVIRONMENT): Likewise.
40290         (__sysconf): Include posix-envs.def instead of handling associated
40291         cases directly here.
40292         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40293         preprocessing getconf-speclist.c rather than running getconf or
40294         generating empty file.
40296 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40298         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40300 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40302         [BZ #14672]
40303         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40305 2012-11-16  David S. Miller  <davem@davemloft.net>
40307         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40308         smaller than LDBL_EPSILON/2.0L, just return xm1.
40310 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40312         * elf/tst-array1.c (init): Set constructor priority to 1000.
40313         (fini): Set destructor priority to 1000.
40314         * elf/tst-array2dep.c: Likewise.
40316 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40318         [BZ #11741]
40319         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40320         (_IO_new_file_xsputn): Also return EOF if none of the input
40321         data was written when overflow failed.
40322         * libio/iopadn.c (_IO_padn): Likewise.
40323         * libio/iowpadn.c (_IO_wpadn): Likewise.
40324         * stdio-common/tst-put-error.c: Add copyright notice.
40325         (do_test): Add case for printing padded string.
40326         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40327         _IO_padn returned error.
40328         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40329         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40330         return EOF.
40332 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40334         * libio/libioP.h: Add comment note that the references to C++
40335         bits are now obsolete.
40337 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40339         * math/libm-test.inc (check_complex): Use asprintf.
40341 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40343         * debug/pcprofiledump.c (print_version): Update copyright year.
40344         * malloc/memusagestat.c (print_version): Likewise.
40346 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40348         [BZ #14831]
40349         * elf/Makefile (tests): Add tst-audit8.
40350         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40351         ($(objpfx)tst-audit8.out): New target.
40352         (tst-audit8-ENV): New variable.
40353         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40354         audit if l_reloc_result is NULL.
40355         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40356         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40357         * elf/tst-audit8.c: New file.
40359 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40361         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40362         * misc/Makefile (CFLAGS-select.c): Define.
40363         * posix/Makefile (CFLAGS-pause.c): Define.
40365 2012-11-13  David S. Miller  <davem@davemloft.net>
40367         * crypt/Makefile: Move test targets after toplevel Rules
40368         inclusion.  Grab any necessary sysdep routines when linking.
40369         * crypt/md5.c (md5_process_block): Remove define, we will always
40370         name it __md5_process_block.
40371         (md5_finish_ctx): Update md5_process_block call.
40372         (md5_stream): Likewise.
40373         (md5_process_bytes): Likewise.
40374         (md5_process_block): Rename to __md5_process_block and move to ...
40375         * crypt/md5-block.c: ... here.
40376         * crypt/sha256.c (sha256_process_block): Move to ...
40377         * crypt/sha256-block.c: ... here.
40378         * crypt/sha512.c (sha512_process_block): Move to ...
40379         * crypt/sha512-block.c: ... here.
40380         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40381         path.
40382         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40383         * sysdeps/sparc/sparc64/multiarch/Makefile
40384         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40385         crypt subdir.
40386         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40387         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40388         multiarch changes.
40389         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40390         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40391         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40392         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40393         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40394         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40395         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40396         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40397         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40398         file.
40399         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40400         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40401         file.
40402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40404 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40406         * timezone/tzselect.ksh: Update from tzcode git revision
40407         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40408         * timezone/zdump.c: Likewise.
40409         * timezone/zic.c: Likewise.
40410         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40411         in TZVERSION setting, not $(PKGVERSION).
40412         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40413         REPORT_BUGS_TO settings.
40415         [BZ #14838]
40416         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40417         macro.
40419 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40421         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40422         detection to immediately after _FP_ROUND().
40423         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40424         bits are 0.
40426 2012-11-11  David S. Miller  <davem@davemloft.net>
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40429         inttypes.h
40430         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40431         __close rather than their public counterparts.
40433 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40435         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40436         file.
40437         [UNIX98] (sem_timedwait): Do not expect.
40438         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40439         [XPG4 || UNIX98] (sockatmark): Do not expect.
40440         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40441         (clock_getcpuclockid): Do not expect.
40442         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40443         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40444         Do not expect.
40445         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40446         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40447         [UNIX98] (vwscanf): Likewise.
40448         [UNIX98] (vswscanf): Likewise.
40450 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40452         * timezone/version.h: Remove file.
40453         * timezone/README: Do not refer to version.h.
40454         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40455         $(objpfx)version.h.
40456         ($(objpfx)zdump.o): Likewise.
40457         ($(objpfx)version.h): New target.
40459         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40460         2012i.
40461         * timezone/README: Don't mention modification to tzselect.ksh.
40462         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40463         work on unmodified tzselect.ksh.  Substitute version numbers in
40464         tzselect.ksh.
40466         * Makefile (format-me): Remove.
40467         (INSTALL): Adjust indentation.  Use commands directly instead of
40468         using $(format-me).
40470         * aclocal.m4 (ACX_PKGVERSION): New macro.
40471         (ACX_BUGURL): Likewise.
40472         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40473         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40474         (REPORT_BUGS_TO): Likewise.
40475         * configure: Regenerated.
40476         * config.h.in (PKGVERSION): New macro.
40477         (REPORT_BUGS_TO): Likewise.
40478         * config.make.in (PKGVERSION): New variable.
40479         (PKGVERSION_TEXI): Likewise.
40480         (REPORT_BUGS_TO): Likewise.
40481         (REPORT_BUGS_TEXI): Likewise.
40482         * Makefile (format-me): Use -I$(common-objpfx)manual.
40483         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40484         ($(common-objpfx)manual/%): New target.
40485         (manual/%): Remove target.
40486         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40487         (print_version): Use PKGVERSION.
40488         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40489         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40490         and REPORT_BUGS_TO.
40491         ($(objpfx)xtrace): Likewise.
40492         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40493         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40494         (print_version): Use PKGVERSION.
40495         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40496         (do_version): Use PKGVERSION.
40497         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40498         REPORT_BUGS_TO.
40499         (common-ldd-rewrite): Likewise.
40500         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40501         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40502         (print_version): Use PKGVERSION.
40503         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40504         * elf/pldd.c (argp_program_bug_address): Remove variable.
40505         (more_help): New function.
40506         (argp): Use more_help.
40507         (print_version): Use PKGVERSION.
40508         * elf/sln.c (main): Use PKGVERSION.
40509         (usage): Use REPORT_BUGS_TO.
40510         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40511         (top level): Use PKGVERSION.
40512         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40513         (print_version): Use PKGVERSION.
40514         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40515         (print_version): Use PKGVERSION.
40516         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40517         (print_version): Use PKGVERSION.
40518         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40519         (print_version): Use PKGVERSION.
40520         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40521         (print_version): Use PKGVERSION.
40522         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40523         (print_version): Use PKGVERSION.
40524         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40525         and BUGURL.
40526         ($(objpfx)memusage): Likewise.
40527         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40528         (do_version): Use PKGVERSION.
40529         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40530         (print_version): Use PKGVERSION.
40531         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40532         ($PKGVERSION): New variable.
40533         ($REPORT_BUGS_TO): Likewise.
40534         (usage): Use $REPORT_BUGS_TO.
40535         (top level): Use $PKGVERSION.
40536         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40537         ($(objpfx)pkgvers.texi): New rule.
40538         ($(objpfx)stamp-pkgvers): Likewise.
40539         * manual/install.texi: Include pkgvers.texi.
40540         (--with-pkgversion): Document new configure option.
40541         (--with-bugurl): Likewise.
40542         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40543         than necessarily for this particular distribution.  Use
40544         REPORT_BUGS_TO for where to report bugs.
40545         * INSTALL: Regenerated.
40546         * manual/libc.texinfo: Include pkgvers.texi.
40547         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40548         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40549         (print_version): Use PKGVERSION.
40550         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40551         (print_version): Use PKGVERSION.
40552         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40553         (print_version): Use PKGVERSION.
40554         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40555         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40556         macro.
40557         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40558         (print_version): Use PKGVERSION.
40559         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40560         (print_version): Use PKGVERSION.
40561         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40562         and PKGVERSION.
40564         * timezone/checktab.awk: Update from tzcode 2012i.
40565         * timezone/ialloc.c: Likewise.
40566         * timezone/private.h: Likewise.
40567         * timezone/scheck.c: Likewise.
40568         * timezone/tzfile.h: Likewise.
40569         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40570         (TZVERSION): Hardcode tzcode version number.
40571         * timezone/zdump.c: Update from tzcode 2012i.
40572         * timezone/zic.c: Likewise.
40573         * timezone/version.h: New file.
40574         * timezone/README: Describe version.h.  Update upstream location.
40576         [BZ #14824]
40577         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40578         (mktemp): Enable declaration.
40579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40583         Likewise.
40584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40585         Likewise.
40586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40587         Likewise.
40588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40589         Likewise.
40590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40591         Likewise.
40592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40593         Likewise.
40595         [BZ #14821]
40596         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40597         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40598         for copies of such integer values.
40599         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40600         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40602 2012-11-09  Andreas Jaeger  <aj@suse.de>
40604         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40605         definitions and declarations that are provided by
40606         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40608 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40610         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40611         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40612         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40613         definition.
40615 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40617         * elf/elf.h: Update comment before AArch64 relocations.
40619 2012-11-07  David S. Miller  <davem@davemloft.net>
40621         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40622         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40623         (__start_context): Declare.
40624         (__makecontext_ret): Delete.
40625         (__makecontext): Hook up __start_context instead of
40626         __makecontext_ret.
40627         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40628         (sysdep_routines): Add __start_context when in stdlib.
40630 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40632         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40633         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40634         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40635         hardcoded "nm".
40636         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40637         (READELF): New variable.  Use it instead of hardcoded "readelf".
40639 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40641         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40642         * sysdeps/x86/Makefile: Here.
40643         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40644         * sysdeps/x86/tst-xmmymm.sh: This.
40646 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40648         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40649         expectations.
40650         [UNIX98] (pthread_barrier_t): Do not expect.
40651         [UNIX98] (pthread_barrierattr_t): Likewise.
40652         [UNIX98] (pthread_spinlock_t): Likewise.
40653         [UNIX98] (pthread_barrier_destroy): Likewise.
40654         [UNIX98] (pthread_barrier_init): Likewise.
40655         [UNIX98] (pthread_barrier_wait): Likewise.
40656         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40657         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40658         [UNIX98] (pthread_barrierattr_init): Likewise.
40659         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40660         [UNIX98] (pthread_getcpuclockid): Likewise.
40661         [UNIX98] (pthread_mutex_timedlock): Likewise.
40662         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40663         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40664         [UNIX98] (pthread_sigmask): Likewise.
40665         [UNIX98] (pthread_spin_destroy): Likewise.
40666         [UNIX98] (pthread_spin_init): Likewise.
40667         [UNIX98] (pthread_spin_lock): Likewise.
40668         [UNIX98] (pthread_spin_trylock): Likewise.
40669         [UNIX98] (pthread_spin_unlock): Likewise.
40670         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40671         Do not expect.
40672         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40673         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40674         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40675         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40676         [XPG3 || XPG4] (pthread_key_t): Likewise.
40677         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40678         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40679         [XPG3 || XPG4] (pthread_once_t): Likewise.
40680         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40681         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40682         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40683         [XPG3 || XPG4] (pthread_t): Likewise.
40685         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40686         not expect.
40687         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40689         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40690         Change function return type to int.
40692         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40693         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40694         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40695         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40696         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40697         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40698         [!POSIX] (posix_madvise): Likewise.
40699         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40700         && !UNIX98].
40701         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40702         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40703         (mode_t): Likewise.
40704         (posix_mem_offset): Likewise.
40705         (posix_typed_mem_get_info): Likewise.
40706         (posix_typed_mem_open): Likewise.
40708         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40709         Change condition to [XOPEN2K8].
40711         * conform/conformtest.pl: Preprocess allow-header data with -x c
40712         instead of from stdin.
40713         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40714         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40715         [C99-based standards] (cerfc): Likewise.
40716         [C99-based standards] (cexp2): Likewise.
40717         [C99-based standards] (cexpm1): Likewise.
40718         [C99-based standards] (clog10): Likewise.
40719         [C99-based standards] (clog1p): Likewise.
40720         [C99-based standards] (clog2): Likewise.
40721         [C99-based standards] (clgamma): Likewise.
40722         [C99-based standards] (ctgamma): Likewise.
40723         [C99-based standards] (cerff): Likewise.
40724         [C99-based standards] (cerfcf): Likewise.
40725         [C99-based standards] (cexp2f): Likewise.
40726         [C99-based standards] (cexpm1f): Likewise.
40727         [C99-based standards] (clog10f): Likewise.
40728         [C99-based standards] (clog1pf): Likewise.
40729         [C99-based standards] (clog2f): Likewise.
40730         [C99-based standards] (clgammaf): Likewise.
40731         [C99-based standards] (ctgammaf): Likewise.
40732         [C99-based standards] (cerfl): Likewise.
40733         [C99-based standards] (cerfcl): Likewise.
40734         [C99-based standards] (cexp2l): Likewise.
40735         [C99-based standards] (cexpm1l): Likewise.
40736         [C99-based standards] (clog10l): Likewise.
40737         [C99-based standards] (clog1pl): Likewise.
40738         [C99-based standards] (clog2l): Likewise.
40739         [C99-based standards] (clgammal): Likewise.
40740         [C99-based standards] (ctgammal): Likewise.
40741         * conform/data/inttypes.h-data [C99-based standards]: Include
40742         stdint.h-data.  Remove all expectations for stdint.h contents.
40743         [C99-based standards] (PRI*): Do not allow.
40744         [C99-based standards] (SCN*): Likewise.
40745         [C99-based standards] (*_t): Likewise.
40746         [C99-based-standards] (PRId8): Expect macro.
40747         [C99-based-standards] (PRIi8): Likewise.
40748         [C99-based-standards] (PRIo8): Likewise.
40749         [C99-based-standards] (PRIu8): Likewise.
40750         [C99-based-standards] (PRIx8): Likewise.
40751         [C99-based-standards] (PRIX8): Likewise.
40752         [C99-based-standards] (SCNd8): Likewise.
40753         [C99-based-standards] (SCNi8): Likewise.
40754         [C99-based-standards] (SCNo8): Likewise.
40755         [C99-based-standards] (SCNu8): Likewise.
40756         [C99-based-standards] (SCNx8): Likewise.
40757         [C99-based-standards] (PRIdLEAST8): Likewise.
40758         [C99-based-standards] (PRIiLEAST8): Likewise.
40759         [C99-based-standards] (PRIoLEAST8): Likewise.
40760         [C99-based-standards] (PRIuLEAST8): Likewise.
40761         [C99-based-standards] (PRIxLEAST8): Likewise.
40762         [C99-based-standards] (PRIXLEAST8): Likewise.
40763         [C99-based-standards] (SCNdLEAST8): Likewise.
40764         [C99-based-standards] (SCNiLEAST8): Likewise.
40765         [C99-based-standards] (SCNoLEAST8): Likewise.
40766         [C99-based-standards] (SCNuLEAST8): Likewise.
40767         [C99-based-standards] (SCNxLEAST8): Likewise.
40768         [C99-based-standards] (PRIdFAST8): Likewise.
40769         [C99-based-standards] (PRIiFAST8): Likewise.
40770         [C99-based-standards] (PRIoFAST8): Likewise.
40771         [C99-based-standards] (PRIuFAST8): Likewise.
40772         [C99-based-standards] (PRIxFAST8): Likewise.
40773         [C99-based-standards] (PRIXFAST8): Likewise.
40774         [C99-based-standards] (SCNdFAST8): Likewise.
40775         [C99-based-standards] (SCNiFAST8): Likewise.
40776         [C99-based-standards] (SCNoFAST8): Likewise.
40777         [C99-based-standards] (SCNuFAST8): Likewise.
40778         [C99-based-standards] (SCNxFAST8): Likewise.
40779         [C99-based-standards] (PRId16): Likewise.
40780         [C99-based-standards] (PRIi16): Likewise.
40781         [C99-based-standards] (PRIo16): Likewise.
40782         [C99-based-standards] (PRIu16): Likewise.
40783         [C99-based-standards] (PRIx16): Likewise.
40784         [C99-based-standards] (PRIX16): Likewise.
40785         [C99-based-standards] (SCNd16): Likewise.
40786         [C99-based-standards] (SCNi16): Likewise.
40787         [C99-based-standards] (SCNo16): Likewise.
40788         [C99-based-standards] (SCNu16): Likewise.
40789         [C99-based-standards] (SCNx16): Likewise.
40790         [C99-based-standards] (PRIdLEAST16): Likewise.
40791         [C99-based-standards] (PRIiLEAST16): Likewise.
40792         [C99-based-standards] (PRIoLEAST16): Likewise.
40793         [C99-based-standards] (PRIuLEAST16): Likewise.
40794         [C99-based-standards] (PRIxLEAST16): Likewise.
40795         [C99-based-standards] (PRIXLEAST16): Likewise.
40796         [C99-based-standards] (SCNdLEAST16): Likewise.
40797         [C99-based-standards] (SCNiLEAST16): Likewise.
40798         [C99-based-standards] (SCNoLEAST16): Likewise.
40799         [C99-based-standards] (SCNuLEAST16): Likewise.
40800         [C99-based-standards] (SCNxLEAST16): Likewise.
40801         [C99-based-standards] (PRIdFAST16): Likewise.
40802         [C99-based-standards] (PRIiFAST16): Likewise.
40803         [C99-based-standards] (PRIoFAST16): Likewise.
40804         [C99-based-standards] (PRIuFAST16): Likewise.
40805         [C99-based-standards] (PRIxFAST16): Likewise.
40806         [C99-based-standards] (PRIXFAST16): Likewise.
40807         [C99-based-standards] (SCNdFAST16): Likewise.
40808         [C99-based-standards] (SCNiFAST16): Likewise.
40809         [C99-based-standards] (SCNoFAST16): Likewise.
40810         [C99-based-standards] (SCNuFAST16): Likewise.
40811         [C99-based-standards] (SCNxFAST16): Likewise.
40812         [C99-based-standards] (PRId32): Likewise.
40813         [C99-based-standards] (PRIi32): Likewise.
40814         [C99-based-standards] (PRIo32): Likewise.
40815         [C99-based-standards] (PRIu32): Likewise.
40816         [C99-based-standards] (PRIx32): Likewise.
40817         [C99-based-standards] (PRIX32): Likewise.
40818         [C99-based-standards] (SCNd32): Likewise.
40819         [C99-based-standards] (SCNi32): Likewise.
40820         [C99-based-standards] (SCNo32): Likewise.
40821         [C99-based-standards] (SCNu32): Likewise.
40822         [C99-based-standards] (SCNx32): Likewise.
40823         [C99-based-standards] (PRIdLEAST32): Likewise.
40824         [C99-based-standards] (PRIiLEAST32): Likewise.
40825         [C99-based-standards] (PRIoLEAST32): Likewise.
40826         [C99-based-standards] (PRIuLEAST32): Likewise.
40827         [C99-based-standards] (PRIxLEAST32): Likewise.
40828         [C99-based-standards] (PRIXLEAST32): Likewise.
40829         [C99-based-standards] (SCNdLEAST32): Likewise.
40830         [C99-based-standards] (SCNiLEAST32): Likewise.
40831         [C99-based-standards] (SCNoLEAST32): Likewise.
40832         [C99-based-standards] (SCNuLEAST32): Likewise.
40833         [C99-based-standards] (SCNxLEAST32): Likewise.
40834         [C99-based-standards] (PRIdFAST32): Likewise.
40835         [C99-based-standards] (PRIiFAST32): Likewise.
40836         [C99-based-standards] (PRIoFAST32): Likewise.
40837         [C99-based-standards] (PRIuFAST32): Likewise.
40838         [C99-based-standards] (PRIxFAST32): Likewise.
40839         [C99-based-standards] (PRIXFAST32): Likewise.
40840         [C99-based-standards] (SCNdFAST32): Likewise.
40841         [C99-based-standards] (SCNiFAST32): Likewise.
40842         [C99-based-standards] (SCNoFAST32): Likewise.
40843         [C99-based-standards] (SCNuFAST32): Likewise.
40844         [C99-based-standards] (SCNxFAST32): Likewise.
40845         [C99-based-standards] (PRId64): Likewise.
40846         [C99-based-standards] (PRIi64): Likewise.
40847         [C99-based-standards] (PRIo64): Likewise.
40848         [C99-based-standards] (PRIu64): Likewise.
40849         [C99-based-standards] (PRIx64): Likewise.
40850         [C99-based-standards] (PRIX64): Likewise.
40851         [C99-based-standards] (SCNd64): Likewise.
40852         [C99-based-standards] (SCNi64): Likewise.
40853         [C99-based-standards] (SCNo64): Likewise.
40854         [C99-based-standards] (SCNu64): Likewise.
40855         [C99-based-standards] (SCNx64): Likewise.
40856         [C99-based-standards] (PRIdLEAST64): Likewise.
40857         [C99-based-standards] (PRIiLEAST64): Likewise.
40858         [C99-based-standards] (PRIoLEAST64): Likewise.
40859         [C99-based-standards] (PRIuLEAST64): Likewise.
40860         [C99-based-standards] (PRIxLEAST64): Likewise.
40861         [C99-based-standards] (PRIXLEAST64): Likewise.
40862         [C99-based-standards] (SCNdLEAST64): Likewise.
40863         [C99-based-standards] (SCNiLEAST64): Likewise.
40864         [C99-based-standards] (SCNoLEAST64): Likewise.
40865         [C99-based-standards] (SCNuLEAST64): Likewise.
40866         [C99-based-standards] (SCNxLEAST64): Likewise.
40867         [C99-based-standards] (PRIdFAST64): Likewise.
40868         [C99-based-standards] (PRIiFAST64): Likewise.
40869         [C99-based-standards] (PRIoFAST64): Likewise.
40870         [C99-based-standards] (PRIuFAST64): Likewise.
40871         [C99-based-standards] (PRIxFAST64): Likewise.
40872         [C99-based-standards] (PRIXFAST64): Likewise.
40873         [C99-based-standards] (SCNdFAST64): Likewise.
40874         [C99-based-standards] (SCNiFAST64): Likewise.
40875         [C99-based-standards] (SCNoFAST64): Likewise.
40876         [C99-based-standards] (SCNuFAST64): Likewise.
40877         [C99-based-standards] (SCNxFAST64): Likewise.
40878         [C99-based-standards] (PRIdMAX): Likewise.
40879         [C99-based-standards] (PRIiMAX): Likewise.
40880         [C99-based-standards] (PRIoMAX): Likewise.
40881         [C99-based-standards] (PRIuMAX): Likewise.
40882         [C99-based-standards] (PRIxMAX): Likewise.
40883         [C99-based-standards] (PRIXMAX): Likewise.
40884         [C99-based-standards] (SCNdMAX): Likewise.
40885         [C99-based-standards] (SCNiMAX): Likewise.
40886         [C99-based-standards] (SCNoMAX): Likewise.
40887         [C99-based-standards] (SCNuMAX): Likewise.
40888         [C99-based-standards] (SCNxMAX): Likewise.
40889         [C99-based-standards] (PRIdPTR): Likewise.
40890         [C99-based-standards] (PRIiPTR): Likewise.
40891         [C99-based-standards] (PRIoPTR): Likewise.
40892         [C99-based-standards] (PRIuPTR): Likewise.
40893         [C99-based-standards] (PRIxPTR): Likewise.
40894         [C99-based-standards] (PRIXPTR): Likewise.
40895         [C99-based-standards] (SCNdPTR): Likewise.
40896         [C99-based-standards] (SCNiPTR): Likewise.
40897         [C99-based-standards] (SCNoPTR): Likewise.
40898         [C99-based-standards] (SCNuPTR): Likewise.
40899         [C99-based-standards] (SCNxPTR): Likewise.
40900         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40901         allow.
40902         * conform/data/stdint.h-data: Update comments to clarify
40903         requirements.
40904         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40905         type.
40906         [C99-based standards] (INT8_MAX): Likewise.
40907         [C99-based standards] (INT16_MIN): Likewise.
40908         [C99-based standards] (INT16_MAX): Likewise.
40909         [C99-based standards] (INT32_MIN): Likewise.
40910         [C99-based standards] (INT32_MAX): Likewise.
40911         [C99-based standards] (INT64_MIN): Likewise.
40912         [C99-based standards] (INT64_MAX): Likewise.
40913         [C99-based standards] (UINT8_MAX): Likewise.
40914         [C99-based standards] (UINT16_MAX): Likewise.
40915         [C99-based standards] (UINT32_MAX): Likewise.
40916         [C99-based standards] (UINT64_MAX): Likewise.
40917         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40918         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40919         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40920         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40921         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40922         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40923         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40924         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40925         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40926         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40927         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40928         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40929         [C99-based standards] (INT_FAST8_MIN): Likewise.
40930         [C99-based standards] (INT_FAST8_MAX): Likewise.
40931         [C99-based standards] (INT_FAST16_MIN): Likewise.
40932         [C99-based standards] (INT_FAST16_MAX): Likewise.
40933         [C99-based standards] (INT_FAST32_MIN): Likewise.
40934         [C99-based standards] (INT_FAST32_MAX): Likewise.
40935         [C99-based standards] (INT_FAST64_MIN): Likewise.
40936         [C99-based standards] (INT_FAST64_MAX): Likewise.
40937         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40938         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40939         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40940         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40941         [C99-based standards] (INTPTR_MIN): Likewise.
40942         [C99-based standards] (INTPTR_MAX): Likewise.
40943         [C99-based standards] (UINTPTR_MAX): Likewise.
40944         [C99-based standards] (INTMAX_MIN): Likewise.
40945         [C99-based standards] (INTMAX_MAX): Likewise.
40946         [C99-based standards] (UINTMAX_MAX): Likewise.
40947         [C99-based standards] (PTRDIFF_MIN): Likewise.
40948         [C99-based standards] (PTRDIFF_MAX): Likewise.
40949         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40950         [C99-based standards] (SIZE_MAX): Likewise.
40951         [C99-based standards] (WCHAR_MAX): Likewise.
40952         [C99-based standards] (WINT_MAX): Likewise.
40953         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40954         constraint on value.
40955         [C99-based standards] (WCHAR_MIN): Likewise.
40956         [C99-based standards] (WINT_MIN): Likewise.
40957         [C99-based standards] (*_t): Allow.
40958         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40959         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40960         Include math.h-data and complex.h-data.  Remove all expectations
40961         of math.h and complex.h contents.
40962         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40963         at end of line.
40964         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40965         (struct tm): Expect tag.
40966         [C99-based-standards] (wcstof): Expect function.
40967         [C99-based-standards] (wcstold): Likewise.
40968         [C99-based-standards] (wcstoll): Likewise.
40969         [C99-based-standards] (wcstoull): Likewise.
40970         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40971         macro-int-constant.  Specify type.
40972         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40973         constraint on value.
40974         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40975         Specify type.
40976         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40977         Specify value.
40978         [ISO C standards]: Do not allow headers.
40979         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40980         wcs[abcdefghijklmnopqrstuvwxyz]*.
40981         [ISO C standards] (*_t): Do not allow.
40982         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40983         Expect function.
40984         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40985         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40986         Specify type.
40987         [ISO C standards]: Do not allow headers.
40988         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40989         is[abcdefghijklmnopqrstuvwxyz]*.
40990         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40991         to[abcdefghijklmnopqrstuvwxyz]*.
40992         [ISO C standards] (*_t): Do not allow.
40993         * conform/data/stdalign.h-data: New file.
40994         * conform/data/stdbool.h-data: Likewise.
40995         * conform/data/stdnoreturn.h-data: Likewise.
40997 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40999         [BZ #14815]
41000         * manual/filesys.texi (Directory Entries): Typo fix.
41001         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41003 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41005         * elf/elf.h (EM_AARCH64): New macro.
41006         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41007         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41008         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41009         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41010         (R_AARCH64_TLSDESC): Likewise.
41011         (NT_ARM_TLS): Likewise.
41012         (NT_ARM_HW_BREAK): Likewise.
41013         (NT_ARM_HW_WATCH): Likewise.
41015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41017         [BZ #14811]
41018         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41019         (__ieee754_powl): Saturate nonzero exponents with absolute value
41020         below 0x1p-79 to +/- 0x1p-79.
41021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41022         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41023         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41024         nonzero exponents with absolute value below 0x1p-32 to +/-
41025         0x1p-32.
41026         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41027         (__ieee754_powl): Saturate nonzero exponents with absolute value
41028         below 0x1p-79 to +/- 0x1p-79.
41029         * math/libm-test.inc (pow_test): Add more tests.
41031 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41033         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41034         _dl_s390_cap_flags with kernel. Increase string length.
41035         (_dl_s390_platforms): Add z196 and zEC12.
41037 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41039         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41040         Change XOPEN21K to XOPEN2K.
41042 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41044         * string/memmove.c: Use memcpy when possible.
41046 2012-11-06  Andreas Jaeger  <aj@suse.de>
41048         * po/eo.po: Update from translation team.
41050 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41052         [BZ #14793]
41053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41054         exponent and small x and y exponents, scale x or y up.  Increase
41055         by 2 the exponent used in scaling up.
41056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41058         * math/libm-test.inc (fma_test): Add more tests.
41059         (fma_test_towardzero): Likewise.
41060         (fma_test_downward): Likewise.
41061         (fma_test_upward): Likewise.
41063 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41065         [BZ #14805]
41066         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41067         fenv_t *.
41069         [BZ #14801]
41070         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41071         namespace for names of struct fields.
41072         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41073         fenv_t fields.
41074         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41075         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41077 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41079         [BZ #3665]
41080         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41082 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41084         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41085         PTR_DEMANGLE.
41087         [BZ #5246]
41088         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41089         PTR_DEMANGLE.
41091 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41093         [BZ #14797]
41094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41095         definitely overflow as x * y not x * y + z.
41096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41098         * math/libm-test.inc (fma_test): Add more tests.
41099         (fma_test_towardzero): Likewise.
41100         (fma_test_downward): Likewise.
41101         (fma_test_upward): Likewise.
41103 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41105         [BZ #157]
41107         * include/stub-tag.h: Remove file.
41108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41109         '#include' of it.
41110         * manual/maint.texi (Porting): Don't reference it.
41111         * Makerules ($(objpfx)stubs): Likewise.
41112         * dirent/closedir.c: Don't include <stub-tag.h>.
41113         * dirent/dirfd.c: Likewise.
41114         * dirent/fdopendir.c: Likewise.
41115         * dirent/getdents.c: Likewise.
41116         * dirent/getdents64.c: Likewise.
41117         * dirent/opendir.c: Likewise.
41118         * dirent/readdir.c: Likewise.
41119         * dirent/readdir64.c: Likewise.
41120         * dirent/readdir64_r.c: Likewise.
41121         * dirent/readdir_r.c: Likewise.
41122         * dirent/rewinddir.c: Likewise.
41123         * dirent/seekdir.c: Likewise.
41124         * dirent/telldir.c: Likewise.
41125         * gmon/profil.c: Likewise.
41126         * grp/setgroups.c: Likewise.
41127         * inet/if_index.c: Likewise.
41128         * io/access.c: Likewise.
41129         * io/chdir.c: Likewise.
41130         * io/chmod.c: Likewise.
41131         * io/chown.c: Likewise.
41132         * io/close.c: Likewise.
41133         * io/dup.c: Likewise.
41134         * io/dup2.c: Likewise.
41135         * io/dup3.c: Likewise.
41136         * io/euidaccess.c: Likewise.
41137         * io/faccessat.c: Likewise.
41138         * io/fchdir.c: Likewise.
41139         * io/fchmod.c: Likewise.
41140         * io/fchmodat.c: Likewise.
41141         * io/fchown.c: Likewise.
41142         * io/fchownat.c: Likewise.
41143         * io/fcntl.c: Likewise.
41144         * io/flock.c: Likewise.
41145         * io/fstatfs.c: Likewise.
41146         * io/fstatfs64.c: Likewise.
41147         * io/fstatvfs.c: Likewise.
41148         * io/fstatvfs64.c: Likewise.
41149         * io/futimens.c: Likewise.
41150         * io/fxstat.c: Likewise.
41151         * io/fxstat64.c: Likewise.
41152         * io/fxstatat.c: Likewise.
41153         * io/fxstatat64.c: Likewise.
41154         * io/getcwd.c: Likewise.
41155         * io/isatty.c: Likewise.
41156         * io/lchmod.c: Likewise.
41157         * io/lchown.c: Likewise.
41158         * io/link.c: Likewise.
41159         * io/linkat.c: Likewise.
41160         * io/lseek.c: Likewise.
41161         * io/lseek64.c: Likewise.
41162         * io/lxstat64.c: Likewise.
41163         * io/mkdir.c: Likewise.
41164         * io/mkdirat.c: Likewise.
41165         * io/mkfifo.c: Likewise.
41166         * io/mkfifoat.c: Likewise.
41167         * io/open.c: Likewise.
41168         * io/open64.c: Likewise.
41169         * io/openat.c: Likewise.
41170         * io/openat64.c: Likewise.
41171         * io/pipe.c: Likewise.
41172         * io/pipe2.c: Likewise.
41173         * io/poll.c: Likewise.
41174         * io/posix_fadvise.c: Likewise.
41175         * io/posix_fadvise64.c: Likewise.
41176         * io/posix_fallocate.c: Likewise.
41177         * io/posix_fallocate64.c: Likewise.
41178         * io/read.c: Likewise.
41179         * io/readlink.c: Likewise.
41180         * io/readlinkat.c: Likewise.
41181         * io/rmdir.c: Likewise.
41182         * io/sendfile.c: Likewise.
41183         * io/sendfile64.c: Likewise.
41184         * io/statfs.c: Likewise.
41185         * io/statfs64.c: Likewise.
41186         * io/statvfs.c: Likewise.
41187         * io/statvfs64.c: Likewise.
41188         * io/symlink.c: Likewise.
41189         * io/symlinkat.c: Likewise.
41190         * io/ttyname.c: Likewise.
41191         * io/ttyname_r.c: Likewise.
41192         * io/umask.c: Likewise.
41193         * io/unlink.c: Likewise.
41194         * io/unlinkat.c: Likewise.
41195         * io/utime.c: Likewise.
41196         * io/utimensat.c: Likewise.
41197         * io/write.c: Likewise.
41198         * io/xmknod.c: Likewise.
41199         * io/xmknodat.c: Likewise.
41200         * io/xstat.c: Likewise.
41201         * io/xstat64.c: Likewise.
41202         * login/getpt.c: Likewise.
41203         * login/grantpt.c: Likewise.
41204         * login/unlockpt.c: Likewise.
41205         * math/e_acoshl.c: Likewise.
41206         * math/e_acosl.c: Likewise.
41207         * math/e_asinl.c: Likewise.
41208         * math/e_atan2l.c: Likewise.
41209         * math/e_atanhl.c: Likewise.
41210         * math/e_coshl.c: Likewise.
41211         * math/e_expl.c: Likewise.
41212         * math/e_fmodl.c: Likewise.
41213         * math/e_gammal_r.c: Likewise.
41214         * math/e_hypotl.c: Likewise.
41215         * math/e_j0l.c: Likewise.
41216         * math/e_j1l.c: Likewise.
41217         * math/e_jnl.c: Likewise.
41218         * math/e_lgammal_r.c: Likewise.
41219         * math/e_log10l.c: Likewise.
41220         * math/e_log2l.c: Likewise.
41221         * math/e_logl.c: Likewise.
41222         * math/e_powl.c: Likewise.
41223         * math/e_rem_pio2l.c: Likewise.
41224         * math/e_sinhl.c: Likewise.
41225         * math/e_sqrtl.c: Likewise.
41226         * math/fclrexcpt.c: Likewise.
41227         * math/fedisblxcpt.c: Likewise.
41228         * math/feenablxcpt.c: Likewise.
41229         * math/fegetenv.c: Likewise.
41230         * math/fegetexcept.c: Likewise.
41231         * math/fegetround.c: Likewise.
41232         * math/feholdexcpt.c: Likewise.
41233         * math/fesetenv.c: Likewise.
41234         * math/fesetround.c: Likewise.
41235         * math/feupdateenv.c: Likewise.
41236         * math/fgetexcptflg.c: Likewise.
41237         * math/fraiseexcpt.c: Likewise.
41238         * math/fsetexcptflg.c: Likewise.
41239         * math/ftestexcept.c: Likewise.
41240         * math/k_cosl.c: Likewise.
41241         * math/k_rem_pio2l.c: Likewise.
41242         * math/k_sinl.c: Likewise.
41243         * math/k_tanl.c: Likewise.
41244         * math/s_asinhl.c: Likewise.
41245         * math/s_atanl.c: Likewise.
41246         * math/s_cbrtl.c: Likewise.
41247         * math/s_erfl.c: Likewise.
41248         * math/s_expm1l.c: Likewise.
41249         * math/s_log1pl.c: Likewise.
41250         * math/s_tanhl.c: Likewise.
41251         * misc/acct.c: Likewise.
41252         * misc/brk.c: Likewise.
41253         * misc/chflags.c: Likewise.
41254         * misc/chroot.c: Likewise.
41255         * misc/fchflags.c: Likewise.
41256         * misc/fgetxattr.c: Likewise.
41257         * misc/flistxattr.c: Likewise.
41258         * misc/fremovexattr.c: Likewise.
41259         * misc/fsetxattr.c: Likewise.
41260         * misc/fsync.c: Likewise.
41261         * misc/ftruncate.c: Likewise.
41262         * misc/futimes.c: Likewise.
41263         * misc/futimesat.c: Likewise.
41264         * misc/getdomain.c: Likewise.
41265         * misc/getdtsz.c: Likewise.
41266         * misc/gethostid.c: Likewise.
41267         * misc/gethostname.c: Likewise.
41268         * misc/getloadavg.c: Likewise.
41269         * misc/getpagesize.c: Likewise.
41270         * misc/getsysstats.c: Likewise.
41271         * misc/getxattr.c: Likewise.
41272         * misc/gtty.c: Likewise.
41273         * misc/ioctl.c: Likewise.
41274         * misc/lgetxattr.c: Likewise.
41275         * misc/listxattr.c: Likewise.
41276         * misc/llistxattr.c: Likewise.
41277         * misc/lremovexattr.c: Likewise.
41278         * misc/lsetxattr.c: Likewise.
41279         * misc/lutimes.c: Likewise.
41280         * misc/madvise.c: Likewise.
41281         * misc/mincore.c: Likewise.
41282         * misc/mlock.c: Likewise.
41283         * misc/mlockall.c: Likewise.
41284         * misc/mmap.c: Likewise.
41285         * misc/mprotect.c: Likewise.
41286         * misc/msync.c: Likewise.
41287         * misc/munlock.c: Likewise.
41288         * misc/munlockall.c: Likewise.
41289         * misc/munmap.c: Likewise.
41290         * misc/preadv.c: Likewise.
41291         * misc/preadv64.c: Likewise.
41292         * misc/ptrace.c: Likewise.
41293         * misc/pwritev.c: Likewise.
41294         * misc/pwritev64.c: Likewise.
41295         * misc/readv.c: Likewise.
41296         * misc/reboot.c: Likewise.
41297         * misc/remap_file_pages.c: Likewise.
41298         * misc/removexattr.c: Likewise.
41299         * misc/revoke.c: Likewise.
41300         * misc/select.c: Likewise.
41301         * misc/setdomain.c: Likewise.
41302         * misc/setegid.c: Likewise.
41303         * misc/seteuid.c: Likewise.
41304         * misc/sethostid.c: Likewise.
41305         * misc/sethostname.c: Likewise.
41306         * misc/setregid.c: Likewise.
41307         * misc/setreuid.c: Likewise.
41308         * misc/setxattr.c: Likewise.
41309         * misc/sstk.c: Likewise.
41310         * misc/stty.c: Likewise.
41311         * misc/swapoff.c: Likewise.
41312         * misc/swapon.c: Likewise.
41313         * misc/sync.c: Likewise.
41314         * misc/syncfs.c: Likewise.
41315         * misc/syscall.c: Likewise.
41316         * misc/truncate.c: Likewise.
41317         * misc/ualarm.c: Likewise.
41318         * misc/usleep.c: Likewise.
41319         * misc/ustat.c: Likewise.
41320         * misc/utimes.c: Likewise.
41321         * misc/vhangup.c: Likewise.
41322         * misc/writev.c: Likewise.
41323         * posix/_exit.c: Likewise.
41324         * posix/alarm.c: Likewise.
41325         * posix/execve.c: Likewise.
41326         * posix/fexecve.c: Likewise.
41327         * posix/fork.c: Likewise.
41328         * posix/fpathconf.c: Likewise.
41329         * posix/getaddrinfo.c: Likewise.
41330         * posix/getegid.c: Likewise.
41331         * posix/geteuid.c: Likewise.
41332         * posix/getgid.c: Likewise.
41333         * posix/getgroups.c: Likewise.
41334         * posix/getlogin.c: Likewise.
41335         * posix/getlogin_r.c: Likewise.
41336         * posix/getpgid.c: Likewise.
41337         * posix/getpid.c: Likewise.
41338         * posix/getppid.c: Likewise.
41339         * posix/getresgid.c: Likewise.
41340         * posix/getresuid.c: Likewise.
41341         * posix/getsid.c: Likewise.
41342         * posix/getuid.c: Likewise.
41343         * posix/glob64.c: Likewise.
41344         * posix/nanosleep.c: Likewise.
41345         * posix/pathconf.c: Likewise.
41346         * posix/pause.c: Likewise.
41347         * posix/posix_madvise.c: Likewise.
41348         * posix/pread.c: Likewise.
41349         * posix/pread64.c: Likewise.
41350         * posix/pwrite.c: Likewise.
41351         * posix/pwrite64.c: Likewise.
41352         * posix/sched_getaffinity.c: Likewise.
41353         * posix/sched_getp.c: Likewise.
41354         * posix/sched_gets.c: Likewise.
41355         * posix/sched_primax.c: Likewise.
41356         * posix/sched_primin.c: Likewise.
41357         * posix/sched_rr_gi.c: Likewise.
41358         * posix/sched_setaffinity.c: Likewise.
41359         * posix/sched_setp.c: Likewise.
41360         * posix/sched_sets.c: Likewise.
41361         * posix/sched_yield.c: Likewise.
41362         * posix/setgid.c: Likewise.
41363         * posix/setlogin.c: Likewise.
41364         * posix/setpgid.c: Likewise.
41365         * posix/setresgid.c: Likewise.
41366         * posix/setresuid.c: Likewise.
41367         * posix/setsid.c: Likewise.
41368         * posix/setuid.c: Likewise.
41369         * posix/sleep.c: Likewise.
41370         * posix/spawni.c: Likewise.
41371         * posix/sysconf.c: Likewise.
41372         * posix/times.c: Likewise.
41373         * posix/wait.c: Likewise.
41374         * posix/wait3.c: Likewise.
41375         * posix/wait4.c: Likewise.
41376         * posix/waitpid.c: Likewise.
41377         * resolv/gai_sigqueue.c: Likewise.
41378         * resource/getpriority.c: Likewise.
41379         * resource/getrlimit.c: Likewise.
41380         * resource/getrusage.c: Likewise.
41381         * resource/nice.c: Likewise.
41382         * resource/setpriority.c: Likewise.
41383         * resource/setrlimit.c: Likewise.
41384         * resource/ulimit.c: Likewise.
41385         * rt/aio_cancel.c: Likewise.
41386         * rt/aio_fsync.c: Likewise.
41387         * rt/aio_read.c: Likewise.
41388         * rt/aio_sigqueue.c: Likewise.
41389         * rt/aio_suspend.c: Likewise.
41390         * rt/aio_write.c: Likewise.
41391         * rt/clock_getres.c: Likewise.
41392         * rt/clock_gettime.c: Likewise.
41393         * rt/clock_nanosleep.c: Likewise.
41394         * rt/clock_settime.c: Likewise.
41395         * rt/lio_listio.c: Likewise.
41396         * rt/mq_close.c: Likewise.
41397         * rt/mq_getattr.c: Likewise.
41398         * rt/mq_notify.c: Likewise.
41399         * rt/mq_open.c: Likewise.
41400         * rt/mq_receive.c: Likewise.
41401         * rt/mq_send.c: Likewise.
41402         * rt/mq_setattr.c: Likewise.
41403         * rt/mq_timedreceive.c: Likewise.
41404         * rt/mq_timedsend.c: Likewise.
41405         * rt/mq_unlink.c: Likewise.
41406         * rt/shm_open.c: Likewise.
41407         * rt/shm_unlink.c: Likewise.
41408         * rt/timer_create.c: Likewise.
41409         * rt/timer_delete.c: Likewise.
41410         * rt/timer_getoverr.c: Likewise.
41411         * rt/timer_gettime.c: Likewise.
41412         * rt/timer_settime.c: Likewise.
41413         * setjmp/__longjmp.c: Likewise.
41414         * setjmp/setjmp.c: Likewise.
41415         * signal/kill.c: Likewise.
41416         * signal/killpg.c: Likewise.
41417         * signal/raise.c: Likewise.
41418         * signal/sigaction.c: Likewise.
41419         * signal/sigaltstack.c: Likewise.
41420         * signal/sigblock.c: Likewise.
41421         * signal/sigignore.c: Likewise.
41422         * signal/sigintr.c: Likewise.
41423         * signal/signal.c: Likewise.
41424         * signal/sigpause.c: Likewise.
41425         * signal/sigpending.c: Likewise.
41426         * signal/sigqueue.c: Likewise.
41427         * signal/sigreturn.c: Likewise.
41428         * signal/sigset.c: Likewise.
41429         * signal/sigsetmask.c: Likewise.
41430         * signal/sigstack.c: Likewise.
41431         * signal/sigsuspend.c: Likewise.
41432         * signal/sigtimedwait.c: Likewise.
41433         * signal/sigvec.c: Likewise.
41434         * signal/sigwait.c: Likewise.
41435         * signal/sigwaitinfo.c: Likewise.
41436         * signal/sysv_signal.c: Likewise.
41437         * socket/accept.c: Likewise.
41438         * socket/accept4.c: Likewise.
41439         * socket/bind.c: Likewise.
41440         * socket/connect.c: Likewise.
41441         * socket/getpeername.c: Likewise.
41442         * socket/getsockname.c: Likewise.
41443         * socket/getsockopt.c: Likewise.
41444         * socket/isfdtype.c: Likewise.
41445         * socket/listen.c: Likewise.
41446         * socket/recv.c: Likewise.
41447         * socket/recvfrom.c: Likewise.
41448         * socket/recvmsg.c: Likewise.
41449         * socket/send.c: Likewise.
41450         * socket/sendmsg.c: Likewise.
41451         * socket/sendto.c: Likewise.
41452         * socket/setsockopt.c: Likewise.
41453         * socket/shutdown.c: Likewise.
41454         * socket/sockatmark.c: Likewise.
41455         * socket/socket.c: Likewise.
41456         * socket/socketpair.c: Likewise.
41457         * stdio-common/ctermid.c: Likewise.
41458         * stdio-common/cuserid.c: Likewise.
41459         * stdio-common/remove.c: Likewise.
41460         * stdio-common/rename.c: Likewise.
41461         * stdio-common/renameat.c: Likewise.
41462         * stdio-common/tempname.c: Likewise.
41463         * stdlib/getcontext.c: Likewise.
41464         * stdlib/makecontext.c: Likewise.
41465         * stdlib/setcontext.c: Likewise.
41466         * stdlib/swapcontext.c: Likewise.
41467         * stdlib/system.c: Likewise.
41468         * streams/fattach.c: Likewise.
41469         * streams/fdetach.c: Likewise.
41470         * streams/getmsg.c: Likewise.
41471         * streams/getpmsg.c: Likewise.
41472         * streams/putmsg.c: Likewise.
41473         * streams/putpmsg.c: Likewise.
41474         * sysdeps/unix/bsd/getpt.c: Likewise.
41475         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41476         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41477         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41479         Likewise.
41480         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41481         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41482         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41483         * sysvipc/msgctl.c: Likewise.
41484         * sysvipc/msgget.c: Likewise.
41485         * sysvipc/msgrcv.c: Likewise.
41486         * sysvipc/msgsnd.c: Likewise.
41487         * sysvipc/semctl.c: Likewise.
41488         * sysvipc/semget.c: Likewise.
41489         * sysvipc/semop.c: Likewise.
41490         * sysvipc/semtimedop.c: Likewise.
41491         * sysvipc/shmat.c: Likewise.
41492         * sysvipc/shmctl.c: Likewise.
41493         * sysvipc/shmdt.c: Likewise.
41494         * sysvipc/shmget.c: Likewise.
41495         * termios/tcdrain.c: Likewise.
41496         * termios/tcflow.c: Likewise.
41497         * termios/tcflush.c: Likewise.
41498         * termios/tcgetattr.c: Likewise.
41499         * termios/tcgetpgrp.c: Likewise.
41500         * termios/tcsendbrk.c: Likewise.
41501         * termios/tcsetattr.c: Likewise.
41502         * termios/tcsetpgrp.c: Likewise.
41503         * time/adjtime.c: Likewise.
41504         * time/clock.c: Likewise.
41505         * time/getitimer.c: Likewise.
41506         * time/gettimeofday.c: Likewise.
41507         * time/setitimer.c: Likewise.
41508         * time/settimeofday.c: Likewise.
41509         * time/stime.c: Likewise.
41510         * time/time.c: Likewise.
41512 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41514         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41515         /usr/old/bin.
41517         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41518         instead of spaces.
41519         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41521 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41523         [BZ #14796]
41524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41525         FE_TONEAREST before applying Dekker multiplication and Knuth
41526         addition.  Clear inexact exceptions and check for exact zero
41527         results afterwards.
41528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41529         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41531         * math/libm-test.inc (fma_test): Add more tests.
41532         (fma_test_towardzero): Likewise.
41533         (fma_test_downward): Likewise.
41534         (fma_test_upward): Likewise.
41535         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41536         function.
41537         (libc_fesetround): New macro.
41538         (libc_fesetroundf): Likewise.
41539         (libc_fesetroundl): Likewise.
41540         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41541         function.
41542         (libc_fesetround_387): Likewise.
41543         (libc_fesetroundf): New macro.
41544         (libc_fesetround): Likewise.
41545         (libc_fesetroundl): Likewise.
41546         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41547         function.
41548         (libc_fesetroundf): New macro.
41549         (libc_fesetround): Likewise.
41550         (libc_fesetroundl): Likewise.
41551         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41552         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41553         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41554         libm_hidden_ver.
41555         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41556         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41557         libm_hidden_def.
41558         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41559         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41560         libm_hidden_ver.
41561         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41562         libm_hidden_def.
41564         [BZ #3439]
41565         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41566         integer constant usable in #if and use that to give value to enum
41567         constant.
41568         (FE_DIVBYZERO): Likewise.
41569         (FE_UNDERFLOW): Likewise.
41570         (FE_OVERFLOW): Likewise.
41571         (FE_INVALID): Likewise.
41572         (FE_INVALID_SNAN): Likewise.
41573         (FE_INVALID_ISI): Likewise.
41574         (FE_INVALID_IDI): Likewise.
41575         (FE_INVALID_ZDZ): Likewise.
41576         (FE_INVALID_IMZ): Likewise.
41577         (FE_INVALID_COMPARE): Likewise.
41578         (FE_INVALID_SOFTWARE): Likewise.
41579         (FE_INVALID_SQRT): Likewise.
41580         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41581         (FE_TONEAREST): Likewise.
41582         (FE_TOWARDZERO): Likewise.
41583         (FE_UPWARD): Likewise.
41584         (FE_DOWNWARD): Likewise.
41585         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41586         (FE_DIVBYZERO): Likewise.
41587         (FE_OVERFLOW): Likewise.
41588         (FE_UNDERFLOW): Likewise.
41589         (FE_INEXACT): Likewise.
41590         (FE_TONEAREST): Likewise.
41591         (FE_DOWNWARD): Likewise.
41592         (FE_UPWARD): Likewise.
41593         (FE_TOWARDZERO): Likewise.
41594         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41595         (FE_UNDERFLOW): Likewise.
41596         (FE_OVERFLOW): Likewise.
41597         (FE_DIVBYZERO): Likewise.
41598         (FE_INVALID): Likewise.
41599         (FE_TONEAREST): Likewise.
41600         (FE_TOWARDZERO): Likewise.
41601         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41602         (FE_OVERFLOW): Likewise.
41603         (FE_UNDERFLOW): Likewise.
41604         (FE_DIVBYZERO): Likewise.
41605         (FE_INEXACT): Likewise.
41606         (FE_TONEAREST): Likewise.
41607         (FE_TOWARDZERO): Likewise.
41608         (FE_UPWARD): Likewise.
41609         (FE_DOWNWARD): Likewise.
41610         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41611         (FE_DIVBYZERO): Likewise.
41612         (FE_OVERFLOW): Likewise.
41613         (FE_UNDERFLOW): Likewise.
41614         (FE_INEXACT): Likewise.
41615         (FE_TONEAREST): Likewise.
41616         (FE_DOWNWARD): Likewise.
41617         (FE_UPWARD): Likewise.
41618         (FE_TOWARDZERO): Likewise.
41620 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41622         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41624 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41626         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41627         commands.  Quote $PWD.
41628         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41629         -x" by "export".
41630         (remove_newlines): Remove.
41632 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41634         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41635         * stdlib/stdlib.h (atof): Moved to ...
41636         * include/bits/stdlib-float.h: Here.  New file.
41637         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41638         * stdlib/bits/stdlib-float.h: New file.
41639         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41640         -mno-sse -mno-mmx.
41641         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41642         <xmmintrin.h>.
41644 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41646         * conform/conformtest.pl (@headers): Add fenv.h.
41647         * conform/data/fenv.h-data: New file.
41648         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41649         include of <math/fenv.h>.
41651         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41652         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41653         && !UNIX98].  Enables tests for XOPEN2K8.
41654         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41655         POSIX2008]: Likewise.
41657         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41658         (struct rusage): Do not expect type or its members.
41660         [BZ #3439]
41661         * math/math.h (FP_NAN): Define macro to integer constant usable in
41662         #if and use that to give value to enum constant.
41663         (FP_INFINITE): Likewise.
41664         (FP_ZERO): Likewise.
41665         (FP_SUBNORMAL): Likewise.
41666         (FP_NORMAL): Likewise.
41668 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41670         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41671         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41672         arguments.
41674 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41676         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41677         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41678         autoconf-time if not.
41679         * configure.in: Remove AC_PREREQ.
41681 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41683         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41684         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41685         of the internal implementation.
41687 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41689         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41690         except include of <misc/sys/syslog.h>.
41692 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41695         function returns with a NULL context exit with zero.
41697 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41699         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41701 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41703         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41704         (run_program_cmd): This.
41705         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41706         (tst_langinfo): New variable.  Use it.
41708 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41710         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41711         floating point opcodes.
41713 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41715         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41716         variable.
41718         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41720         * sysdeps/mach/hurd/powerpc: Remove directory.
41721         * sysdeps/mach/powerpc: Likewise.
41723 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41725         * scripts/check-local-headers.sh: Ignore c++ headers.
41727 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41729         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41730         __libc_cleanup_region_start argument.
41732 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41734         [BZ #14784]
41735         [BZ #14785]
41736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41737         x * y using scaling, not as x * y + z.
41738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41740         * math/libm-test.inc (fma_test): Add more tests.
41741         (fma_test_towardzero): Likewise.
41742         (fma_test_downward): Likewise.
41743         (fma_test_upward): Likewise.
41745 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41747         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41749 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41751         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41752         New variable.
41754 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41756         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41758 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41761         Fix sort order.
41762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41763         Likewise.
41765 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41768         Fix the order of the list for glibc 2.17.
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41770         Likewise.
41772 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41776 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41778         [BZ #14610]
41779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41780         for low part of x being zero before using __atanl (y).
41781         * math/libm-test.inc (atan2_test): Add another test.
41783         * manual/install.texi (Configuring and compiling): Document
41784         general use of test-wrapper and test-wrapper-env.
41785         * INSTALL: Regenerated.
41787         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41788         (__fma): Do not extract and scale down low bits on after-rounding
41789         systems when result rounded to normal precision would have normal
41790         exponent.
41791         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41792         (__fmal): Do not extract and scale down low bits on after-rounding
41793         systems when result rounded to normal precision would have normal
41794         exponent.
41795         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41796         (__fmal): Do not extract and scale down low bits on after-rounding
41797         systems when result rounded to normal precision would have normal
41798         exponent.
41799         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41800         macro.
41801         (fma_test): Add more tests.
41802         (fma_test_towardzero): Likewise.
41803         (fma_test_downward): Likewise.
41804         (fma_test_upward): Likewise.
41806 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41808         * sysdeps/i386/tininess.h: Renamed to ...
41809         * sysdeps/x86/tininess.h: This.
41810         * sysdeps/x86_64/tininess.h: Removed.
41812 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41814         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41815         input.  Use $(build-program-cmd).
41816         ($(objpfx)tst-array1-static.out): Likewise.
41817         ($(objpfx)tst-array2.out): Likewise.
41818         ($(objpfx)tst-array3.out): Likewise.
41819         ($(objpfx)tst-array4.out): Likewise.
41820         ($(objpfx)tst-array5.out): Likewise.
41821         ($(objpfx)tst-array5-static.out): Likewise.
41823 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41825         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41826         if defined.
41828         * nss/nsswitch.h (nss_interface_function): Provide new
41829         macro for use with NSS functions.
41830         * grp/initgroups.c: Use new macro.
41831         * nss/getXXbyYY.c: Likewise.
41832         * nss/getXXbyYY_r.c: Likewise.
41833         * nss/getXXent.c: Likewise.
41834         * nss/getXXent_r.c: Likewise.
41835         * sysdeps/posix/getaddrinfo.c: Likewise.
41837 2012-10-30  Andreas Jaeger  <aj@suse.de>
41839         * po/ru.po: Update Russion translation from translation project.
41841 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41843         [BZ #14152]
41844         [BZ #14783]
41845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41846         result and shift together with sticky bit instead of replicating
41847         round-to-nearest rounding.
41848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41850         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41851         missing underflow exceptions.
41852         (fma_test_towardzero): Add more tests.
41853         (fma_test_downward): Likewise.
41854         (fma_test_upward): Likewise.
41856         [BZ #14047]
41857         * sysdeps/generic/tininess.h: New file.
41858         * sysdeps/i386/tininess.h: Likewise.
41859         * sysdeps/sh/tininess.h: Likewise.
41860         * sysdeps/x86_64/tininess.h: Likewise.
41861         * stdlib/tst-strtod-underflow.c: Likewise.
41862         * stdlib/tst-tininess.c: Likewise.
41863         * stdlib/strtod_l.c: Include <tininess.h>.
41864         (round_and_return): Do not set errno for exact underflow cases.
41865         Force an underflow exception when setting errno for underflow.
41866         Determine underflow based on rounding to normal precision if
41867         TININESS_AFTER_ROUNDING.
41868         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41869         ERANGE for exact underflow cases.
41870         * stdlib/Makefile (tests): Add tst-tininess and
41871         tst-strtod-underflow.
41872         ($(objpfx)tst-tininess): Use $(link-libm).
41873         ($(objpfx)tst-strtod-underflow): Likewise.
41875 2012-10-30  Andreas Jaeger  <aj@suse.de>
41877         [BZ#14767]
41878         * elf/Makefile (tests): Remove conditional for have-initfini-array
41879         since this is now always required and the variable does not exist
41880         anymore.
41881         (tests-static): Likewise.
41882         (modules-names): Likewise.
41884         * po/eo.po: Add Esperanto translation from translation project.
41886         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41887         merged with constructor/destructor.
41888         (init_array): Likewise.
41889         * elf/tst-array2dep.c (fini_array): Likewise.
41890         (init_array): Likewise.
41892 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41894         * manual/message.texi: Delete @cartouche tags.
41896 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41898         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41899         EOPNOTSUPP.
41900         * sysdeps/mach/hurd/fsync.c: Likewise.
41902         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41903         [_POSIX_REALTIME_SIGNALS]: Change condition to
41904         [_POSIX_REALTIME_SIGNALS > 0].
41906 2012-10-27  Andreas Jaeger  <aj@suse.de>
41908         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41909         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41910         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41911         [__WORDSIZE != 64]: Likewise.
41913 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41915         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41916         *  iconvdata/tst-tables.sh: Likewise.
41918 2012-10-25  David S. Miller  <davem@davemloft.net>
41920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41921         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41922         of strtoull.
41924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41925         ifunc-impl-list.c
41926         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41927         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41928         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41929         file.
41931 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41934         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41935         __getdirentries.
41937 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41938             Jim Blandy  <jimb@codesourcery.com>
41940         * scripts/cross-test-ssh.sh: New file.
41941         * manual/install.texi (Configuring and compiling): Document use of
41942         cross-test-ssh.sh.
41943         * INSTALL: Regenerated.
41945 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41947         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41948         EOPNOTSUPP.
41950 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41952         * Makeconfig (run-program-prefix): Fix comment.
41954 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41955             Jim Blandy  <jimb@codesourcery.com>
41957         * Makeconfig (test-wrapper): New variable,
41958         (test-wrapper-env): Likewise.
41959         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41960         (run-built-tests): Define to yes.
41961         (run-program-prefix): Use $(test-wrapper).
41962         (built-program-cmd): Likewise.
41963         * Rules (make-test-out): Use $(test-wrapper-env) and
41964         $(host-built-program-cmd).
41965         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41966         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41967         tst-pathopt.sh.
41968         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41969         $(test-wrapper-env) to tst-rtld-load-self.sh.
41970         ($(objpfx)order2.out): Use $(test-wrapper).
41971         ($(objpfx)tst-initorder.out): Likewise.
41972         ($(objpfx)tst-initorder2.out): Likewise.
41973         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41974         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41975         (test_wrapper_env): New variable.  Use it to run ld.so.
41976         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41977         Use it to run ld.so.
41978         (test_wrapper_env): Likewise.
41979         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41980         $(test-wrapper) to run-iconv-test.sh.
41981         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41982         (ICONV): Use $test_wrapper.
41983         * posix/Makefile ($(objpfx)globtest.out): Pass
41984         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41985         globtest.sh, not $(run-program-prefix).
41986         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41987         (test_wrapper): Likewise.
41988         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41989         set together with run_via_rtld_prefix.
41990         (run_program_prefix): Define in terms of test_wrapper and
41991         run_via_rtld_prefix.
41993 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41995         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41996         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41997         Targets removed.
41999         [BZ #14743]
42000         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42001         Declare __clock_getres, __clock_gettime, __clock_settime,
42002         __clock_nanosleep, and __clock_getcpuclockid.
42003         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42004         Remove librt_hidden_def (clock_gettime).
42005         * sysdeps/unix/clock_gettime.c: Likewise.
42006         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42008         * rt/clock_getres.c: Define __clock_getres as an alias.
42009         * sysdeps/posix/clock_getres.c: Likewise.
42010         * rt/clock_settime.c: Define __clock_settime as an alias.
42011         * sysdeps/unix/clock_settime.c: Likewise.
42012         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42013         * sysdeps/unix/clock_nanosleep.c: Likewise.
42014         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42015         * rt/clock-compat.c: New file.
42016         * rt/Makefile (librt-routines): Add clock-compat and move
42017         $(clock-routines) to ...
42018         (routines): ... here, new variable.
42019         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42020         Don't add get_clockfreq here.
42021         * rt/Versions (libc: GLIBC_2.17): New version set.
42022         Add clock_* symbols here.
42023         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42025         (GLIBC_2.17): Add clock_* symbols.
42026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42028         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42030         Likewise.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42032         Likewise.
42033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42037         * NEWS: Mention the move.
42039         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42040         Use __open, __read, __close rather than their public counterparts.
42041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42042         (__get_clockfreq_via_cpuinfo): Likewise.
42043         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42044         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42046         * config.h.in (HAVE_IFUNC): New #undef.
42047         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42048         was successful.
42049         * configure: Regenerated.
42051 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42053         * configure.in: Move READELF check to start of file.
42054         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42055         libc_cv_asm_gnu_indirect_function in the process.
42056         * configure: Regenerated.
42058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42060         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42061         send the output to /dev/null.
42062         (libc_cv_cc_with_libunwind): Likewise.
42063         (libc_cv_as_noexecstack): Likewise.
42064         * configure: Regenerate.
42066 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42068         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42070         * posix/globtest.sh (TMPDIR): Do not set.
42071         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42072         (testout): Likewise.
42074 2012-10-24  Andreas Jaeger  <aj@suse.de>
42076         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42077         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42078         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42079         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42080         posix_fadvise64, posix_fallocate64.
42082         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42083         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42084         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42085         Likewise.
42086         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42087         Likewise.
42088         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42091         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42092         <bits/fcntl-linux.h>.
42093         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42096         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42097         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42098         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42099         [__WORDSIZE != 64]: Likewise.
42101 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42103         * Makeconfig (run-built-tests): New variable.
42104         * Rules [$(cross-compiling) = yes]: Change condition to
42105         [$(run-built-tests) = no].
42106         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42107         to [$(run-built-tests) = yes].
42108         * elf/Makefile [$(cross-compiling) = no]: Likewise
42109         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42110         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42111         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42112         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42113         * io/Makefile [$(cross-compiling) = no]: Likewise.
42114         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42115         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42116         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42117         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42118         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42119         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42120         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42121         * string/Makefile [$(cross-compiling) = no]: Likewise.
42123         * posix/Makefile ($(objpfx)globtest.out): Pass
42124         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42125         $(rtld-installed-name).
42126         * posix/globtest.sh (elf_objpfx): Remove variable.
42127         (rtld_installed_name): Likewise.
42128         (library_path): Likewise.
42129         (run_program_prefix): New variable.  Use for running globtest
42130         binary.
42132 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42133             Joseph Myers  <joseph@codesourcery.com>
42135         * Makeconfig (host-built-program-cmd): New variable.
42136         * elf/Makefile (tst-stackguard1-ARGS): Use
42137         $(host-built-program-cmd).
42138         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42139         (tst-spawn-ARGS): Likewise.
42140         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42142 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42143             Jim Blandy  <jimb@codesourcery.com>
42145         * Makeconfig (run-via-rtld-prefix): New variable.
42146         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42147         (built-program-cmd): Likewise.
42149 2012-10-22  Andreas Jaeger  <aj@suse.de>
42151         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42152         __O_RSYNC if it exists, otherwise to O_SYNC.
42154 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42155             Joseph Myers  <joseph@codesourcery.com>
42157         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42158         /dev/null.
42159         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42160         from /dev/null
42161         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42162         /dev/null.
42164 2012-10-22  Andreas Jaeger  <aj@suse.de>
42166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42167         Define always.
42168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42171         bits/fcntl-linux.h.
42173         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42174         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42176         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42177         to __O_LARGEFILE.
42178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42179         to __O_LARGEFILE.
42181 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42182             Joseph Myers  <joseph@codesourcery.com>
42184         * config.make.in (NM): New variable.
42186 2012-10-21  Andreas Jaeger  <aj@suse.de>
42188         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42189         definitions and declarations that are provided by
42190         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42192 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42194         [BZ #14683]
42195         * elf/Makefile (tests-static): Add tst-leaks1-static.
42196         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42197         ($(objpfx)tst-leaks1-static): New rule.
42198         ($(objpfx)tst-leaks1-static-mem): Likewise.
42199         (tst-leaks1-static-ENV): New macro.
42200         * elf/dl-open.c (dl_open_worker): Check the main application
42201         only if SHARED is defined.
42202         * elf/tst-leaks1-static.c: New file.
42204 2012-10-20  Andreas Jaeger  <aj@suse.de>
42206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42207         generic values for Linux.
42208         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42209         and declarations that are provided by <bits/fcntl-linux.h> and
42210         include <bits/fcntl-linux.h>.
42211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42214 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42216         * io/fcntl.h: Move include of <bits/types.h> to the top and
42217         include it unconditionally.
42219 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42221         * wcsmbs/Makefile (tests-ifunc): New variable.
42222         (tests): Add $(tests-ifunc).
42223         * wcsmbs/test-wcschr-ifunc.c: New file.
42224         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42225         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42226         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42227         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42228         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42230         * string/Makefile (tests-ifunc): New variable.
42231         (tests): Add $(tests-ifunc).
42232         * string/test-memccpy.c (TEST_NAME): New macro.
42233         * string/test-memchr.c (TEST_NAME): Likewise.
42234         * string/test-memcmp.c (TEST_NAME): Likewise.
42235         * string/test-memcpy.c (TEST_NAME): Likewise.
42236         * string/test-memmem.c (TEST_NAME): Likewise.
42237         * string/test-memmove.c (TEST_NAME): Likewise.
42238         * string/test-memset.c (TEST_NAME): Likewise.
42239         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42240         * string/test-stpcpy.c (TEST_NAME): Likewise.
42241         * string/test-stpncpy.c (TEST_NAME): Likewise.
42242         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42243         * string/test-strcasestr.c (TEST_NAME): Likewise.
42244         * string/test-strcat.c (TEST_NAME): Likewise.
42245         * string/test-strchr.c (TEST_NAME): Likewise.
42246         * string/test-strcmp.c(TEST_NAME): Likewise.
42247         * string/test-strcpy.c (TEST_NAME): Likewise.
42248         * string/test-strcspn.c (TEST_NAME): Likewise.
42249         * string/test-strlen.c (TEST_NAME): Likewise.
42250         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42251         * string/test-strncmp.c (TEST_NAME): Likewise.
42252         * string/test-strncpy.c (TEST_NAME): Likewise.
42253         * string/test-strnlen.c (TEST_NAME): Likewise.
42254         * string/test-strpbrk.c (TEST_NAME): Likewise.
42255         * string/test-strrchr.c (TEST_NAME): Likewise.
42256         * string/test-strspn.c (TEST_NAME): Likewise.
42257         * string/test-strstr.c (TEST_NAME): Likewise.
42258         * string/test-bcopy-ifunc.c: New file.
42259         * string/test-bzero-ifunc.c: Likewise.
42260         * string/test-memccpy-ifunc.c: Likewise.
42261         * string/test-memchr-ifunc.c: Likewise.
42262         * string/test-memcmp-ifunc.c: Likewise.
42263         * string/test-memcpy-ifunc.c: Likewise.
42264         * string/test-memmem-ifunc.c: Likewise.
42265         * string/test-memmove-ifunc.c: Likewise.
42266         * string/test-mempcpy-ifunc.c: Likewise.
42267         * string/test-memset-ifunc.c: Likewise.
42268         * string/test-rawmemchr-ifunc.c: Likewise.
42269         * string/test-stpcpy-ifunc.c: Likewise.
42270         * string/test-stpncpy-ifunc.c: Likewise.
42271         * string/test-strcasecmp-ifunc.c: Likewise.
42272         * string/test-strcasestr-ifunc.c: Likewise.
42273         * string/test-strcat-ifunc.c: Likewise.
42274         * string/test-strchr-ifunc.c: Likewise.
42275         * string/test-strchrnul-ifunc.c: Likewise.
42276         * string/test-strcmp-ifunc.c: Likewise.
42277         * string/test-strcpy-ifunc.c: Likewise.
42278         * string/test-strcspn-ifunc.c: Likewise.
42279         * string/test-strlen-ifunc.c: Likewise.
42280         * string/test-strncasecmp-ifunc.c: Likewise.
42281         * string/test-strncat-ifunc.c: Likewise.
42282         * string/test-strncmp-ifunc.c: Likewise.
42283         * string/test-strncpy-ifunc.c: Likewise.
42284         * string/test-strnlen-ifunc.c: Likewise.
42285         * string/test-strpbrk-ifunc.c: Likewise.
42286         * string/test-strrchr-ifunc.c: Likewise.
42287         * string/test-strspn-ifunc.c: Likewise.
42288         * string/test-strstr-ifunc.c: Likewise.
42290         * debug/Makefile (tests-ifunc): New variable.
42291         (tests): Add $(tests-ifunc).
42292         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42293         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42294         * debug/test-stpcpy_chk-ifunc.c: New file.
42295         * debug/test-strcpy_chk-ifunc.c: Likewise.
42297 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42299         [BZ #13601]
42300         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42301         header is not read in.
42303 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42305         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42306         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42307         directly.  Pass built executable to script as
42308         $(built-program-cmd).
42309         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42310         $testprogram without using LD_LIBRARY_PATH and $ldso.
42312         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42313         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42314         $(rtld-installed-name).
42315         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42316         (rtld_installed_name): Likewise.
42317         (library_path): Likewise.
42318         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42319         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42320         $(run-program-prefix) to tst-tables.sh.
42321         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42322         it to run tst-table-from and tst-table-to.
42323         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42324         Pass it to tst-table.sh.
42325         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42326         $(run-program-prefix) to tst-gettext.sh.
42327         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42328         tst-translit.sh.
42329         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42330         tst-gettext2.sh.
42331         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42332         to run tst-gettext.
42333         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42334         to run tst-gettext2.
42335         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42336         to run tst-translit.
42337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42338         $(run-program-prefix) to tst-mtrace.sh.
42339         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42340         to run tst-mtrace.
42341         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42342         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42343         $(rtld-installed-name).
42344         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42345         (rtld_installed_name): Likewise.
42346         (run_program_prefix): New variable.  Use it to run wordexp-test.
42348         * Makeconfig (ARCH): Remove all definitions.
42349         (machine): Likewise.
42350         [ARCH]: Remove conditional code.
42351         [!objdir]: Give error.
42352         [!objdir] (objpfx): Remove.
42353         [!objdir] (common-objpfx): Likewise.
42354         [!objdir] (common-objdir): Likewise.
42355         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42356         AC_CONFIG_FILES call.
42357         * configure: Regenerated.
42359         [BZ #13888]
42360         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42361         or TMPDIR.
42362         (testout): Likewise.
42364         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42365         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42366         $(rtld-installed-name).
42367         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42368         (rtld_installed_name): Likwise.
42369         (runit): Remove function.
42370         (run_getconf): New variable,  Use it for running getconf binary.
42372 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42374         [BZ #14716]
42375         * string/test-memmem.c (check_result): New function.
42376         (do_one_test): Use it.
42377         (check1): New function.
42378         (test_main): Use it.
42380 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42382         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42384 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42386         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42387         (_G_LSEEK64): Likewise.
42388         (_G_MMAP64): Likewise.
42389         (_G_FSTAT64): Likewise.
42390         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42391         (_G_LSEEK64): Likewise.
42392         (_G_MMAP64): Likewise.
42393         (_G_FSTAT64): Likewise.
42394         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42395         unconditional.  Call __mmap64 directly.
42396         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42397         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42398         __lseek64 directly.
42399         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42400         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42401         __mmap64 directly.
42402         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42403         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42404         __lseek64 directly.
42405         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42406         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42407         __lseek64 directly.
42408         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42409         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42410         __lseek64 directly.
42411         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42412         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42413         __fxstat64 directly.
42414         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42415         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42416         unconditional.
42417         (freopen64) [!_G_OPEN64]: Remove conditional code.
42418         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42419         unconditional.
42420         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42421         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42422         unconditional.
42423         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42424         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42425         unconditional.
42426         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42427         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42428         unconditional.
42429         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42430         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42431         unconditional.
42432         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42433         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42434         unconditional.
42435         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42436         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42437         unconditional.
42438         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42440 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42442         [BZ #12140]
42443         * manual/memory.texi (Malloc Tunable Parameters): Add note
42444         about free list pointers overwriting some perturb bytes.
42445         Wording suggested by Roland McGrath.
42447 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42449         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42450         (lgamma_test): Likewise.
42451         (tgamma_test): Likewise.
42453 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42455         [BZ #14700]
42456         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42457         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42459 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42461         * NEWS: Mention BZ #14716.
42462         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42463         when removing AVAILABLE1_USES_J macro.
42465 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42467         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42468         (__bswap_64): __uint64_t for unsigned 64-bit int.
42470 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42472         * include/string.h (memmem): Declare libc hidden alias.
42473         * string/memmem.c (memmem): Define libc hidden alias.
42474         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42475         __read, __close instead of open, read, close.
42477 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42480         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42481         global and hidden.
42482         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42483         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42484         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42485         Likewise.
42486         (__rawmemchr_sse2): Likewise.
42487         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42488         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42489         (__strchr_sse2): Likewise.
42490         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42491         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42492         (__strcasecmp_sse2): Likewise.
42493         (__strncasecmp_sse2): Likewise.
42494         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42495         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42496         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42497         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42498         (__strrchr_sse2): Likewise.
42499         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42500         ifunc-impl-list.c.
42501         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42503         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42504         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42505         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42506         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42509         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42510         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42511         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42512         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42513         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42514         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42515         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42516         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42517         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42518         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42519         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42520         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42521         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42522         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42523         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42524         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42525         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42526         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42527         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42528         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42529         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42530         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42533         global and hidden.
42534         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42535         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42536         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42537         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42538         Likewise.
42539         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42540         Likewise.
42541         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42542         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42543         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42544         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42545         ifunc-impl-list.c.
42546         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42547         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42550         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42551         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42552         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42553         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42554         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42555         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42559         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42560         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42561         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42562         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42563         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42564         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42567         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42568         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42569         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42570         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42571         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42572         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42573         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42574         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42576         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42577         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42578         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42579         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42580         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42581         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42582         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42583         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42584         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42585         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42586         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42588         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42589         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42590         * include/ifunc-impl-list.h: New file.
42591         * misc/ifunc-impl-list.c: Likewise.
42592         * misc/Makefile (routines): Add ifunc-impl-list.
42593         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42594         * string/test-string.h: Include <ifunc-impl-list.h>.
42595         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42596         TEST_NAME]: New variables.
42597         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42598         are defined.
42599         (test_init): Call __libc_ifunc_impl_list to initialize
42600         func_list if TEST_IFUNC and TEST_NAME are defined.
42602         * string/Makefile (strop-tests): Add bcopy and bzero.
42603         * string/test-bcopy.c: New file.
42604         * string/test-bzero.c: Likewise.
42605         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42606         defined.
42607         * string/test-memset.c: Support bzero test if TEST_BZERO is
42608         defined.
42609         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42610         __libc_memmove.
42611         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42612         __libc_memset.
42613         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42614         of memset.
42616 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42618         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42619         * configure: Regenerated.
42621         * Makeconfig (+link-static-before-libc): Don't include
42622         $(link-static-libc).
42624         * libio/libio.h (_IO_pos_t): Remove.
42626 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42628         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42629         McGrath.
42631 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42633         * crypt/crypt-entry.c: Include fips-private.h.
42634         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42635         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42636         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42637         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42639 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42641         * crypt/crypt-private.h: Include stdbool.h.
42642         (_ufc_setup_salt_r): Return bool.
42643         * crypt/crypt-entry.c: Include errno.h.
42644         (__crypt_r): Return NULL with EINVAL for bad salt.
42645         * crypt/crypt_util.c (bad_for_salt): New.
42646         (_ufc_setup_salt_r): Check that salt is long enough and within
42647         the specified alphabet.
42648         * crypt/badsalttest.c: New file.
42649         * crypt/Makefile (tests): Add it.
42650         ($(objpfx)badsalttest): New.
42652 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42654         * NEWS: Add entry for BZ #14602.
42656 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42658         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42659         type-generic.
42660         * math/libm-test.inc: Update comment listing what functions and
42661         macros are tested.
42662         (isgreater_test): New function.
42663         (isgreaterequal_test): Likewise.
42664         (isless_test): Likewise.
42665         (islessequal_test): Likewise.
42666         (islessgreater_test): Likewise.
42667         (isunordered_test): Likewise.
42668         (main): Call the new functions.
42670 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42672         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42673         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42674         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42675         * sysdeps/i386/configure: Regenerated.
42676         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42677         * sysdeps/mach/configure: Regenerated.
42678         * sysdeps/mach/hurd/configure: Regenerated.
42679         * sysdeps/powerpc/configure: Regenerated.
42680         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42681         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42682         * sysdeps/s390/s390-32/configure: Regenerated.
42683         * sysdeps/s390/s390-64/configure: Regenerated.
42684         * sysdeps/sh/configure: Regenerated.
42685         * sysdeps/sparc/configure: Regenerated.
42686         * sysdeps/unix/sysv/linux/configure: Regenerated.
42687         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42688         * sysdeps/x86_64/configure: Regenerated.
42690         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42691         defined.  Don't check if MAP is NULL.
42693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42695         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42696         (_G_stat64): Likewise.
42697         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42698         (_G_stat64): Likewise.
42699         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42700         instead of struct _G_stat64.
42701         * libio/fileops.c (mmap_remap_check): Likewise.
42702         (decide_maybe_mmap): Likewise.
42703         (_IO_new_file_seekoff): Likewise.
42704         (_IO_file_stat): Likewise.
42705         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42706         _G_off64_t.
42707         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42708         instead of struct _G_stat64.
42709         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42711 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42713         [BZ #14602]
42714         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42715         Replace with ...
42716         (CHECK_EOL): New macro.
42717         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42718         CHECK_EOL.
42719         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42720         Replace with CHECK_EOL.
42721         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42722         Replace with CHECK_EOL.
42724 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42726         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42727         type-generic.
42728         * math/libm-test.inc: Update comment listing what functions and
42729         macros are tested.
42730         (finite_test): New function.
42731         (isinf_test): Likewise.
42732         (isnan_test): Likewise.
42733         (fpclassify_test): Test subnormal input.
42734         (isfinite_test): Likewise.
42735         (isnormal_test): Likewise.
42736         (main): Call the new functions.
42738 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42740         [BZ #14660]
42741         * Makerules (%.dynsym): Force C locale when running
42742         $(OBJDUMP) --dynamic-syms.
42744 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42746         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42747         <stdint.h>.
42749 2012-10-06  David S. Miller  <davem@davemloft.net>
42751         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42752         upper 32-bits of the length value in %o2 since we use branch-on-register
42753         tests which consider the entire 64-bit register.
42755 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42757         * string/test-strstr.c (check2): Add a test for page boundary.
42759 2012-10-05  David S. Miller  <davem@davemloft.net>
42761         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42762         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42763         file.
42764         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42765         sysdep_routines.
42766         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42767         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42768         and bzero when HWCAP_SPARC_CRYPTO is present.
42770 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42772         [BZ #14602]
42773         * string/test-strstr.c (check2): New function.
42774         (test_main): Call check2.
42776         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42777         and bug-strchr1.
42778         * string/bug-strcasestr1.c (do_test): Moved to ...
42779         * string/test-strcasestr.c (check1): Here.  New function.
42780         (do_one_test): Break out result checking code into ...
42781         (check_result): This.  New function.
42782         (do_one_test): Call check_result.
42783         (test_main): Call check1.
42784         * string/bug-strchr1.c (do_test): Moved to ...
42785         * string/test-strchr.c (check1): Here.  New function.
42786         (do_one_test): Break out result checking code into ...
42787         (check_result): This.  New function.
42788         (do_one_test): Call check_result.
42789         (test_main): Call check1.
42790         * string/bug-strstr1.c (main): Moved to ...
42791         * string/test-strstr.c (check1): Here.  New function.
42792         (do_one_test): Break out result checking code into ...
42793         (check_result): This.  New function.
42794         (do_one_test): Call check_result.
42795         (test_main): Call check1.
42796         * string/bug-strcasestr1.c: Removed.
42797         * string/bug-strchr1.c: Likewise.
42798         * string/bug-strstr1.c: Likewise.
42800         * elf/Makefile (dl-routines): Add hwcaps.
42801         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42802         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42803         (_dl_important_hwcaps): Moved to ...
42804         * elf/dl-hwcaps.c: Here.  New file.
42805         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42807         [BZ #14557]
42808         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42809         if IS_IN_rtld isn't defined.
42811         * elf/dl-support.c (_dl_sysinfo_map): New.
42812         Include "get-dynamic-info.h" and "setup-vdso.h".
42813         (_dl_non_dynamic_init): Call setup_vdso.
42814         * elf/dynamic-link.h: Don't include <assert.h>.
42815         (elf_get_dynamic_info): Moved to ...
42816         * elf/get-dynamic-info.h: Here.  New file.
42817         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42818         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42819         * elf/setup-vdso.h: Here.  New file.
42820         * elf/rtld.c: Include "setup-vdso.h".
42821         (dl_main): Call setup_vdso.
42823 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42825         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42826         creal in comment listing functions tested.  List finite, isinf,
42827         isnan, isless, islessequal, isgreater, isgreaterequal,
42828         islessgreater, isunordered, lgamma_r and pow10 as functions and
42829         macros not tested.  Mention which functions not tested are aliases
42830         for other functions.  Fix typo.  Note that signs of NaNs are not
42831         tested.
42833         * scripts/config.guess: Update from config.git.
42834         * scripts/config.sub: Likewise.
42836 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42838         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42839         * misc/madvise.c (madvise): Renamed to __madvise.
42840         Make madvise a weak alias.
42841         * include/sys/mman.h: Declare __madvise.
42842         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42843         * sysdeps/unix/syscalls.list
42844         (madvise): Make __madvise the strong name, and madvise a weak alias.
42845         * sysdeps/unix/sysv/linux/syscalls.list
42846         (madvise, mmap): Remove redundant entries.
42847         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42848         * malloc/malloc.c (mtrim): Likewise.
42849         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42851 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42853         * sysdeps/mach/hurd/dl-cache.c: File removed.
42854         * config.h.in (USE_LDCONFIG): New #undef.
42855         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42856         * configure: Regenerated.
42857         * elf/Makefile (dl-routines): Add dl-cache only under
42858         [$(use-ldconfig) = yes].
42859         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42860         cache on [USE_LDCONFIG].
42861         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42862         [USE_LDCONFIG].
42863         * elf/rtld.c (dl_main): Likewise.
42865 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42867         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42868         _SC_LEVEL4_CACHE_LINESIZE.
42870 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42872         * sysdeps/unix/bsd/confstr.h: File removed.
42874 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42876         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42877         sys/sdt-config.h.
42879 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42881         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42882         Make 'mapoff' field ElfW(Off) rather than off_t.
42884 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42886         * nscd/Makefile: Remove nscd-cflags and all its users.
42887         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42888         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42890         [BZ #10631]
42891         * malloc.c (malloc_printerr): Clarify error message.
42893 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42895         [BZ #14648]
42896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42897         Set bit_FMA_Usable if FMA is supported.
42898         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42899         macro.
42900         (bit_FMA4_Usable): Updated.
42901         (index_FMA_Usable): New macro.
42902         (CPUID_FMA): Likewise
42903         (HAS_FMA): Defined with bit_FMA_Usable.
42905 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42907         * bits/types.h (__swblk_t): Type removed.
42908         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42909         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42911         (__SWBLK_T_TYPE): Likewise.
42912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42913         (__SWBLK_T_TYPE): Likewise.
42914         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42915         (__SWBLK_T_TYPE): Likewise.
42916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42917         (__SWBLK_T_TYPE): Likewise.
42919 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42920             Honza Horak <hhorak@redhat.com>
42922         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42923         (xdr_mapname): Use YPMAXMAP as maxsize.
42924         (xdr_peername): Use YPMAXPEER as maxsize.
42925         (xdr_keydat): Use YPAXRECORD as maxsize.
42926         (xdr_valdat): Use YPMAXRECORD as maxsize.
42928 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42930         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42932         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42933         * csu/init-first.c: ... here.
42934         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42935         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42936         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42937         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42938         * sysdeps/i386/init-first.c: File removed.
42939         * sysdeps/sh/init-first.c: File removed.
42941 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42943         [BZ #14645]
42944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42945         if x * y might underflow to zero and z is zero.
42946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42948         * math/libm-test.inc (min_subnorm_value): New variable.
42949         (fma_test): Add more tests.
42950         (fma_test_towardzero): Likewise.
42951         (fma_test_downward): Likewise
42952         (fma_test_upward): Likewise.
42953         (initialize): Set min_subnorm_value.
42955 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42957         [BZ #14638]
42958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42959         0 + 0.
42960         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42961         mode for addition resulting in exact zero.
42962         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42964         exact 0 + 0.
42965         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42967         * math/libm-test.inc (fma_test): Add more tests.
42968         (fma_test_towardzero): New function.
42969         (fma_test_downward): Likewise.
42970         (fma_test_upward): Likewise.
42971         (main): Call the new functions.
42973 2012-09-28  David S. Miller  <davem@davemloft.net>
42975         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42977 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42979         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42980         instead of SIGALRM.
42982         * sysdeps/gnu/_G_config.h: Moved to ...
42983         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42984         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42985         * sysdeps/generic/_G_config.h: ... here.
42987         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42989         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42991         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42992         Conditionalize target on [libnss_test1.so-version].
42994         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42996         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42997         (elfobjdir): Move out of conditionals.
42999         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43000         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43001         (__nss_lookup_function): Conditionalize label remove_from_tree on
43002         [!DO_STATIC_NSS || SHARED], matching its only use.
43004 2012-09-28  David S. Miller  <davem@davemloft.net>
43006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43007         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43008         file.
43009         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43010         sysdep_routines.
43011         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43013         when HWCAP_SPARC_CRYPTO is present.
43015 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43017         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43019 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43021         [BZ #6530]
43022         * stdio-common/vfprintf.c (process_string_arg): Revert
43023         2000-07-22 change.
43025 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43027         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43028         for testcase.
43029         * stdio-common/tst-sprintf.c: Include <locale.h>
43030         (main): Test sprintf's handling of incomplete multibyte
43031         characters.
43033 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43035         * elf/dl-runtime.c (VERSYMIDX): Removed.
43036         * elf/dl-version.c (VERSYMIDX): Likewise.
43037         * elf/do-rel.h (VERSYMIDX): Likewise.
43038         (VALIDX): Likewise.
43039         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43040         * elf/rtld.c (VALIDX): Likewise.
43041         (ADDRIDX): Likewise.
43042         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43043         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43044         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43045         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43046         (VALIDX): Likewise.
43047         (ADDRIDX): Likewise.
43049 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43051         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43053 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43055         [BZ #11438]
43056         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43057         to global scope.
43058         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43059         addresses are in the same scope as 192.0.2/24.
43060         * posix/gai.conf: Document new scope table defaults.
43062 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43064         [BZ #5298]
43065         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43066         for ftell.  Compute offsets from write pointers instead.
43067         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43071         [BZ #14543]
43072         * libio/Makefile (tests): New test case tst-fseek.
43073         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43074         combination works in wide mode.
43075         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43076         state when the external buffer state changes.
43078 2012-09-27  David S. Miller  <davem@davemloft.net>
43080         [BZ #14376]
43081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43082         pass reloc->r_addend in as the 'high' argument to
43083         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43087 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43089         * rt/tst-aio2.c: Include <pthread.h>.
43090         * rt/tst-aio3.c: Likewise.
43092 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43094         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43096 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43098         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43099         contents on [SHARED].
43101 2012-09-26  Marek Polacek  <polacek@redhat.com>
43103         [BZ #14530]
43104         [BZ #13741]
43105         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43106         for C++ and GCC <4.3 as well as for non GCC compilers.
43108 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43112 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43114         * Makefile.in (all, install): Declare with .PHONY.
43115         Reported by Michael Hope <michael.hope@linaro.org>.
43117 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43119         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43120         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43121         system header.
43122         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43123         Likewise.
43124         (sydep_routines): Add the new and the internal functions.
43125         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43126         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43128         (GLIBC_2.17): Add the new function.
43129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43130         (GLIBC_2.17): Likewise.
43131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43132         (GLIBC_2.17): Likewise.
43133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43134         (GLIBC_2.17): Likewise.
43135         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43137 2012-09-25  Alan Modra  <amodra@gmail.com>
43139         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43140         Add release barrier before setting once_control to say
43141         initialisation is done.  Add hints on lwarx.  Use macro in
43142         place of isync.
43143         (clear_once_control): Add release barrier.
43145 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43147         [BZ #13629]
43148         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43149         specially.
43150         * math/s_clog10.c (__clog10): Likewise.
43151         * math/s_clog10f.c (__clog10f): Likewise.
43152         * math/s_clog10l.c (__clog10l): Likewise.
43153         * math/s_clogf.c (__clogf): Likewise.
43154         * math/s_clogl.c (__clogl): Likewise.
43155         * math/Makefile (libm-calls): Add x2y2m1.
43156         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43157         (__x2y2m1): Likewise.
43158         (__x2y2m1l): Likewise.
43159         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43160         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43163         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43164         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43165         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43166         * sysdeps/i386/fpu/libm-test-ulps: Update.
43167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43169         [BZ #14621]
43170         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43171         int as type of variable DEPTH.
43172         (glob): Use size_t instead of int as type of variables NEWCOUNT
43173         and OLD_PATHC.
43175 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43177         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43178         Add s_sincosf-sse2.
43179         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43180         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43181         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43182         macros for using routine as __sincosf_ia32.
43183         Use macro for function declaration and weak_alias.
43184         * sysdeps/i386/fpu/libm-test-ulps: Update.
43186         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43189         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43190         subnormal argument.
43191         * math/s_cexpf.c (__cexpf): Likewise.
43192         * math/s_csinf.c (__csinf): Likewise.
43193         * math/s_csinhf.c (__csinhf): Likewise.
43194         * math/s_ctanf.c (__ctanf): Likewise.
43195         * math/s_ctanhf.c (__ctanhf): Likewise.
43196         * math/s_ccosh.c (__ccoshf): Likewise.
43197         * math/s_cexp.c (__cexpl): Likewise.
43198         * math/s_csin.c (__csin): Likewise.
43199         * math/s_csinh.c (__csinh): Likewise.
43200         * math/s_ctan.c (__ctan): Likewise.
43201         * math/s_ctanh.c (ctanh): Likewise.
43202         * math/s_ccoshl.c (__ccoshl): Likewise.
43203         * math/s_cexpl.c (__cexpl): Likewise.
43204         * math/s_csinl.c (__csinl): Likewise.
43205         * math/s_csinhl.c (__csinhl): Likewise.
43206         * math/s_ctanl.c (__ctanl): Likewise.
43207         * math/s_ctanhl.c (__ctanhl): Likewise.
43209 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43211         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43212         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43213         (_IO_off_t): Define to __off_t, not _G_off_t.
43214         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43215         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43216         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43217         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43218         type of __dummy and __dummy2 fields.
43219         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43220         (_G_ssize_t): Likewise.
43221         (_G_off_t): Likewise.
43222         (_G_pid_t): Likewise.
43223         (_G_uid_t): Likewise.
43224         (_G_wchar_t): Likewise.
43225         (_G_wint_t): Likewise.
43226         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43227         (_G_ssize_t): Likewise.
43228         (_G_off_t): Likewise.
43229         (_G_pid_t): Likewise.
43230         (_G_uid_t): Likewise.
43231         (_G_wchar_t): Likewise.
43232         (_G_wint_t): Likewise.
43233         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43234         (_G_ssize_t): Likewise.
43235         (_G_off_t): Likewise.
43236         (_G_pid_t): Likewise.
43237         (_G_uid_t): Likewise.
43238         (_G_wchar_t): Likewise.
43239         (_G_wint_t): Likewise.
43241 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         * malloc/arena.c: Include malloc-sysdep.h.
43244         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43245         is sufficient to shrink the heap or an unmap is needed.
43246         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43247         new function check_may_shrink_heap.
43248         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43249         new function check_may_shrink_heap.
43251 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43253         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43254         comments.
43256 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43258         * catgets/test-gencat.sh: Add "set -e".
43259         * elf/tst-pathopt.sh: Likewise.
43260         * grp/tst_fgetgrent.sh: Likewise.
43261         * iconvdata/run-iconv-test.sh: Likewise.
43262         * intl/tst-gettext.sh: Likewise.
43263         * intl/tst-gettext2.sh: Likewise.
43264         * intl/tst-gettext4.sh: Likewise.
43265         * intl/tst-gettext6.sh: Likewise.
43266         * intl/tst-translit.sh: Likewise.
43267         * io/ftwtest-sh: Likewise.
43268         * libio/test-freopen.sh: Likewise.
43269         * malloc/tst-mtrace.sh: Likewise.
43270         * posix/globtest.sh: Likewise.
43271         * posix/tst-getconf.sh: Likewise.
43272         * posix/wordexp-tst.sh: Likewise.
43273         * stdio-common/tst-printf.sh: Likewise.
43274         * stdio-common/tst-unbputc.sh: Likewise.
43275         * stdlib/tst-fmtmsg.sh: Likewise.
43276         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43277         * catgets/Makefile: Do not specify -e option when running
43278         testsuite shell scripts.
43279         * elf/Makefile: Likewise.
43280         * grp/Makefile: Likewise.
43281         * iconvdata/Makefile: Likewise.
43282         * intl/Makefile: Likewise.
43283         * io/Makefile: Likewise.
43284         * libio/Makefile: Likewise.
43285         * malloc/Makefile: Likewise.
43286         * posix/Makefile: Likewise.
43287         * stdio-common/Makefile: Likewise.
43288         * stdlib/Makefile: Likewise.
43289         * sysdeps/x86_64/Makefile: Likewise.
43291         * io/ftwtest-sh: Add copyright header.
43292         * posix/globtest.sh: Likewise.
43293         * posix/tst-getconf.sh: Likewise.
43294         * posix/wordexp-tst.sh: Likewise.
43295         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43297 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43299         [BZ #13679]
43300         * Makeconfig (+link): Defined as $(+link-static) if
43301         $(build-shared) isn't yes.
43302         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43303         isn't yes.
43304         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43306         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43308         [BZ #14562]
43309         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43310         new chunk size with MALLOC_ALIGN_MASK.
43312 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43314         [BZ #5044]
43315         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43316         <rounding-mode.h>.
43317         (__printf_fphex): Determine rounding using get_rounding_mode and
43318         round_away.
43319         * stdio-common/tst-printf-round.c (struct hex_test): New
43320         structure.
43321         (hex_tests): New variable.
43322         (test_hex_in_one_mode): New function.
43323         (do_test): Also run tests for hex float output.
43325 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43327         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43328         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43329         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43330         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43331         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43332         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43333         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43334         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43336 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43338         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43339         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43340         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43341         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43343 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43345         [BZ #14579]
43346         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43347         mode only.
43348         * elf/tst-rtld-load-self.sh: New test.
43349         * elf/Makefile: Run it.
43351 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43353         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43354         (tst-writev-ENV): Remove.
43355         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43357 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43359         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43361 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43363         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43364         unconditional.
43365         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43366         Likewise.
43367         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43368         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43370         Likewise.
43372 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43374         [BZ #14587]
43375         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43376         * config.make.in (have-cpp-asm-debuginfo): Removed.
43377         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43378         * configure: Regenerated.
43380 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43382         [BZ #5044]
43383         * stdio-common/printf_fp.c: Include <stdbool.h> and
43384         <rounding-mode.h>.
43385         (___printf_fp): Determine rounding using get_rounding_mode and
43386         round_away.
43387         * stdio-common/tst-printf-round.c: New file.
43388         * stdio-common/Makefile (tests): Add tst-printf-round.
43389         (link-libm): New variable.
43390         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43392 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43394         [BZ #14576]
43395         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43396         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43397         Likewise.
43398         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43399         Likewise.
43401 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43403         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43404         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43405         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43408 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43410         [BZ #14518]
43411         * include/rounding-mode.h: New file.
43412         * sysdeps/generic/get-rounding-mode.h: Likewise.
43413         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43414         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43415         (MAX_VALUE): New macro.
43416         (MIN_VALUE): Likewise.
43417         (overflow_value): New function.
43418         (underflow_value): Likewise.
43419         (round_and_return): Use overflow_value and underflow_value to
43420         determine return values in overflow and underflow cases.  Use
43421         round_away to determine rounding depending on rounding mode.
43422         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43423         determine return values in overflow and underflow cases.
43424         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43425         (struct test_results): New structure.
43426         (struct test): Use struct test_results to store expected results
43427         for all rounding modes.
43428         (TEST): Include expected results for all rounding modes.
43429         (test_in_one_mode): New function.
43430         (do_test): Use test_in_one_mode to compute and check results.
43431         Check results for all rounding modes.
43432         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43433         $(link-libm).
43435 2012-12-09  Allan McRae  <allan@archlinux.org>
43437         * sysdeps/i386/fpu/libm-test-ulps: Update
43439 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43441         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43442         (_G_int32_t): Likewise.
43443         (_G_uint16_t): Likewise.
43444         (_G_uint32_t): Likewise.
43445         (_G_HAVE_BOOL): Likewise.
43446         (_G_HAVE_ATEXIT): Likewise.
43447         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43448         (_G_HAVE_IO_FILE_OPEN): Likewise.
43449         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43450         (_G_int32_t): Likewise.
43451         (_G_uint16_t): Likewise.
43452         (_G_uint32_t): Likewise.
43453         (_G_HAVE_BOOL): Likewise.
43454         (_G_HAVE_ATEXIT): Likewise.
43455         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43456         (_G_HAVE_IO_FILE_OPEN): Likewise.
43457         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43458         (_G_int32_t): Likewise.
43459         (_G_uint16_t): Likewise.
43460         (_G_uint32_t): Likewise.
43461         (_G_HAVE_BOOL): Likewise.
43462         (_G_HAVE_ATEXIT): Likewise.
43463         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43464         (_G_HAVE_IO_FILE_OPEN): Likewise.
43466 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43468         * csu/libc-tls.c: Update copyright years.
43470 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43472         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43473         [!_G_USING_THUNKS]: Remove conditional code.
43474         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43475         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43477         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43478         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43479         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43480         (_G_VTABLE_LABEL_PREFIX): Likewise.
43481         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43482         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43483         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43484         (_G_VTABLE_LABEL_PREFIX): Likewise.
43485         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43486         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43488         (_G_VTABLE_LABEL_PREFIX): Likewise.
43489         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43491 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43493         * libio/Makefile: Include ../Makeconfig before tests.
43494         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43495         only if $(build-shared) is yes.
43497         * iconv/gconv_db.c: Update copyright years.
43499 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43501         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43502         unwind info if defined PIC. Fix special cases description.
43503         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43505         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43506         DP_HI_MASK entry.
43507         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43509 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43511         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43513         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43514         is NULL.
43516         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43517         (LDLIBS-tst-chk4): This.
43518         (LDFLAGS-tst-chk5): Renamed to ...
43519         (LDLIBS-tst-chk5): This.
43520         (LDFLAGS-tst-chk6): Renamed to ...
43521         (LDLIBS-tst-chk6): This.
43522         (LDFLAGS-tst-lfschk4): Renamed to ...
43523         (LDLIBS-tst-lfschk4): This.
43524         (LDFLAGS-tst-lfschk5): Renamed to ...
43525         (LDLIBS-tst-lfschk5): This.
43526         (LDFLAGS-tst-lfschk6): Renamed to ...
43527         (LDLIBS-tst-lfschk6): This.
43529         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43530         on $(common-objpfx)soversions.mk.
43532 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43534         [BZ #10014]
43535         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43536         example host name.
43538 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43540         * malloc/arena.c (arena_get_retry): New function that gets
43541         another arena for the caller to try its request on.
43542         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43543         current arena cannot fulfill the request.
43544         (__libc_memalign): Likewise.
43545         (__libc_memalign): Likewise.
43546         (__libc_pvalloc): Likewise.
43547         (__libc_calloc): Likewise.
43549 2012-09-05  John Tobey  <john.tobey@gmail.com>
43551         [BZ #13542]
43552         * manual/arith.texi (Operations on Complex): Fix description
43553         of carg branch cut.
43555 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43557         [BZ #10014]
43558         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43559         host name.
43561         [BZ #10038]
43562         * manual/memory.texi (Memory): Make order of menu items match
43563         order of sections.
43565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43567         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43568         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43569         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43571 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43573         * csu/libc-tls.c (static_dtv): Renamed to ...
43574         (_dl_static_dtv): This.  Make it global.
43575         (_dl_initial_dtv): Removed.
43576         (__libc_setup_tls): Updated.
43577         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43578         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43579         DL_INITIAL_DTV.
43581 2012-09-06  Petr Machata  <pmachata@redhat.com>
43583         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43584         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43585         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43586         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43588 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43590         [BZ #14545]
43591         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43592         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43593         freeing dtv[-1].
43595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43597         [BZ #14544]
43598         * Makeconfig (link-static-before-libc): Replace $(+prector)
43599         with $(+prectorT).
43600         (link-static-after-libc): Replace $(+postctor) with
43601         $(+postctorT).
43602         (link-bounded): Replace $(+prector)/$(+postctor) with
43603         $(+prectorT)/$(+postctorT).
43604         (+prectorT): New macro.
43605         (+postctorT): Likewise.
43607 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43609         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43610         (round_str): Handle values above the maximum for IBM long double
43611         as inexact.
43612         * stdlib/tst-strtod-round.c (tests): Regenerated.
43614 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43616         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43617         assembler flag.
43618         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43619         zarch_nohighgprs around the zarch optimized routines.
43620         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43621         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43622         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43623         for zarch.
43625 2012-09-05  David S. Miller  <davem@davemloft.net>
43627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43629         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43630         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43631         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43632         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43633         entries.
43635 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43637         * malloc/arena.c: Fold copyright years.
43638         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43642         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43644 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43646         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43648 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43650         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43651         change internal state upon failure.
43653 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43655         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43656         * malloc/memusage.c (mmap): Likewise.
43657         (mmap64, mremap): Likewise.  Adjust name in comment.
43659 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43661         * libio/fileops.c: Fix typos in comments.
43662         * libio/oldfileops.c: Likewise.
43663         * libio/wfileops.c: Likewise.
43665 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43667         [BZ #1349]
43668         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43669         (tst-malloc-usable-ENV): Set environment for test case.
43670         * malloc/hooks.c (malloc_check_get_size): New function to get
43671         requested size.
43672         * malloc/malloc.c (musable): Use malloc_check_get_size.
43673         * malloc/tst-malloc-usable.c: New test case.
43675 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43677         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43679 2012-09-05  Allan McRae  <allan@archlinux.org>
43681         [BZ #13966]
43682         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43683         determine header location.
43684         * configure: Regenerated.
43686 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43688         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43689         float format.
43690         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43691         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43692         format.
43693         (test): Regenerate.
43695 2012-09-04  David S. Miller  <davem@davemloft.net>
43697         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43698         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43699         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43701 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43703         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43704         failures.
43706         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43708 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43710         [BZ #9914]
43711         * libio/iogetdelim.c: Include <limits.h>.
43712         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43713         + len + 1 would overflow.
43715 2012-09-03  Andreas Jaeger  <aj@suse.de>
43717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43718         * sysdeps/i386/fpu/libm-test-ulps: Update.
43720 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43722         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43723         Add s_sinf-sse2, s_conf-sse2.
43725         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43726         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43727         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43728         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43730         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43731         for using routine as __sinf_ia32.
43732         Use macro for function declaration and weak_alias.
43733         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43734         for using routine as __cosf_ia32.
43735         Use macro for function declaration and weak_alias.
43737         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43738         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43740         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43741         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43744         * math/libm-test.inc (cos_test): Add more test cases.
43745         (sin_test): Likewise.
43746         (sincos_test): Likewise.
43748 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43751         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43752         hidden.
43753         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43755 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43757         [BZ #14538]
43758         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43759         first element of the GOT.
43760         (elf_machine_load_address): Return the difference between
43761         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43763 2012-09-01  Allan McRae  <allan@archlinux.org>
43765         [BZ #13412]
43766         * configure.in (AWK): Require gawk version 3.0 or later.
43767         * configure: Regenerated.
43769 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43771         * sysdeps/unix/sysv/linux/kernel-features.h
43772         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43774         [__NR_clock_getres]: Make code unconditional.
43775         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43776         (clock_getcpuclockid): Remove code left unreachable by removal of
43777         conditionals.
43778         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43779         code unconditional.
43780         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43781         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43782         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43783         Make code unconditional.
43784         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43785         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43786         * sysdeps/unix/sysv/linux/clock_settime.c
43787         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43788         conditional code.
43789         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43790         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43792 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43794         [BZ #14476]
43795         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43796         scripts/test-installation.pl.
43798         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43799         and $ld_so_version if it is set.
43801 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43803         [BZ #14516]
43804         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43805         failure if reading from procfs failed.
43806         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43808 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43810         * sysdeps/unix/sysv/linux/kernel-features.h
43811         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43812         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43813         Remove conditional code.
43814         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43815         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43816         Remove conditional code.
43817         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43818         * sysdeps/unix/sysv/linux/i386/fxstat.c
43819         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43821         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43822         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43823         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43824         * sysdeps/unix/sysv/linux/i386/lxstat.c
43825         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43827         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43828         Remove conditional code.
43829         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43830         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43831         Remove conditional code.
43832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43833         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43834         <kernel-features.h>.
43835         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43836         Remove.
43837         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43838         Remove conditional code.
43839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43840         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43841         Remove conditional.
43843 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43845         [BZ #5400]
43846         * NEWS: Add fixed bug number.
43848 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43850         [BZ #14519]
43851         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43852         underflowing exponent in case of negative sign.
43853         * stdlib/tst-strtod-round-data: Add more tests.
43854         * stdlib/tst-strtod-round.c (tests): Regenerated.
43856         [BZ #3479]
43857         * stdlib/strtod_l.c (NDIG): Remove.
43858         (HEXNDIG): Likewise.
43859         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43860         smallest representable value.
43861         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43862         lie within an exact representation of 1/2 ulp of the result.
43863         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43864         unconditionally.
43865         (TENS_P9_IDX): Define unconditionally.
43866         (TENS_P9_SIZE): Likewise.
43867         (TENS_P10_IDX): Likewise.
43868         (TENS_P10_SIZE): Likewise.
43869         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43870         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43871         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43872         entries for 10^2^13 and 10^2^14.
43873         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43874         (TENS_P13_IDX): Define.
43875         (TENS_P13_SIZE): Likewise.
43876         (TENS_P14_IDX): Likewise.
43877         (TENS_P14_SIZE): Likewise.
43878         (_fpioconst_pow10): Change array size to
43879         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43880         unconditional.
43881         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43882         1024]: Add entries for 10^2^13 and 10^2^14.
43883         [LAST_POW10 > _LAST_POW10]: Remove #error.
43884         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43885         (_fpioconst_pow10): Change array size to
43886         FPIOCONST_POW10_ARRAY_SIZE.
43887         * stdlib/gen-fpioconst.c: New file.
43888         * stdlib/gen-tst-strtod-round.c: Likewise.
43889         * stdlib/tst-strtod-round-data: Likewise.
43890         * stdlib/tst-strtod-round.c: Likewise.
43891         * stdlib/Makefile (tests): Add tst-strtod-round.
43893         [BZ #14459]
43894         * stdlib/strtod_l.c: Include <stdint.h>.
43895         (NDEBUG): Do not define.
43896         (round_and_return): Change EXPONENT parameter to type intmax_t.
43897         Rearrange calculations to avoid internal overflow possibilities.
43898         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43899         Rearrange calculations to avoid internal overflow possibilities.
43900         Assert that number fits inside MPNSIZE limbs.
43901         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43902         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43903         calculations and add assertions to avoid internal overflow
43904         possibilities.  Add casts to avoid signed/unsigned operations.
43905         * stdlib/tst-strtod-overflow.c: New file.
43906         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43908 2012-08-25  Marek Polacek  <polacek@redhat.com>
43910         * time/time.h: Fix some typos in comments.
43912 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43914         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43915         * posix/tst-rfc3484-2.c: Likewise.
43916         * posix/tst-rfc3484-3.c: Likewise.
43918 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43920         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43921         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43923 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43925         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43926         #include of fxstatat64.c.
43928 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43930         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43931         * shadow/getspent_r.c: Likewise.
43932         * shadow/getspnam.c: Likewise.
43933         * shadow/getspnam_r.c: Likewise.
43934         * gshadow/getsgent.c: Likewise.
43935         * gshadow/getsgent_r.c: Likewise.
43936         * gshadow/getsgnam.c: Likewise.
43937         * gshadow/getsgnam_r.c: Likewise.
43938         * inet/getnetbyad.c: Likewise.
43939         * inet/getnetbyad_r.c: Likewise.
43940         * inet/getnetbynm.c: Likewise.
43941         * inet/getnetbynm_r.c: Likewise.
43942         * inet/getnetent.c: Likewise.
43943         * inet/getnetent_r.c: Likewise.
43944         * inet/getproto.c: Likewise.
43945         * inet/getproto_r.c: Likewise.
43946         * inet/getprtent.c: Likewise.
43947         * inet/getprtent_r.c: Likewise.
43948         * inet/getprtname.c: Likewise.
43949         * inet/getprtname_r.c: Likewise.
43950         * inet/getrpcbyname.c: Likewise.
43951         * inet/getrpcbyname_r.c: Likewise.
43952         * inet/getrpcbynumber.c: Likewise.
43953         * inet/getrpcbynumber_r.c: Likewise.
43954         * inet/getrpcent.c: Likewise.
43955         * inet/getrpcent_r.c: Likewise.
43956         * inet/getaliasent.c: Likewise.
43957         * inet/getaliasent_r.c: Likewise.
43958         * inet/getaliasname.c: Likewise.
43959         * inet/getaliasname_r.c: Likewise.
43960         * nscd/getgrgid_r.c: Likewise.
43961         * nscd/getgrnam_r.c: Likewise.
43962         * nscd/gethstbyad_r.c: Likewise.
43963         * nscd/gethstbynm3_r.c: Likewise.
43964         * nscd/getpwnam_r.c: Likewise.
43965         * nscd/getpwuid_r.c: Likewise.
43966         * nscd/getsrvbynm_r.c: Likewise.
43967         * nscd/getsrvbypt_r.c: Likewise.
43968         * nscd/gai.c: Likewise.
43970         * configure.in (build_nscd): New substituted variable, set
43971         by --disable-build-nscd and defaults to $use_nscd.
43972         * configure: Regenerated.
43973         * config.make.in (build-nscd): New substituted variable.
43974         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43975         Change conditional to require [$(build-nscd) = yes] as well.
43976         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43978         [BZ# 13696]
43979         * configure.in (use_nscd): New substituted variable, set by
43980         --disable-nscd.  If enabled, define USE_NSCD.
43981         * configure: Regenerated.
43982         * config.h.in: Add USE_NSCD.
43983         * config.make.in (use-nscd): New substituted variable.
43984         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43985         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43986         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43987         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43988         (CFLAGS-getgrnam_r.c): Likewise.
43989         (CFLAGS-initgroups.c): Likewise.
43990         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43991         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43992         Variables removed.
43993         * inet/getnetgrent_r.c
43994         (nscd_setnetgrent): New function, broken out of ...
43995         (setnetgrent): ... here.  Call it.
43996         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43997         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43998         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43999         * nscd/Makefile (routines, aux): Move definitions after include of
44000         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44001         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44002         Conditionalize on [USE_NSCD].
44003         (is_nscd, nscd_init_cb): Likewise.
44004         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44005         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44006         * nss/nss_db/db-init.c: Likewise.
44007         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44008         [USE_NSCD].
44009         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44010         (make_request): Use it.
44011         (cache_valid_p): New function.
44012         (__check_pf): Use it.
44013         * NEWS: Add item for --disable-nscd.
44015 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44017         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44018         to support sed >= 4.2.1-20-ga9bf076.
44019         * configure: Regenerated.
44021 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44023         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44024         Conditionalize whole body on [IREL].
44026 2012-08-22  Jeff Law <law@redhat.com>
44028         [BZ #14505]
44029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44030         if the family is PF_UNSPEC.
44032 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44034         * Makerules (lib-version): Rename from V.
44035         (install-lib-nosubdir): Change V to lib-version.
44037 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44039         [BZ #14252]
44040         * powerpc32/power6/wcschr.c: New file.
44041         * powerpc32/power6/wcscpy.c: New file.
44042         * powerpc32/power6/wcsrchr.c: New file.
44043         * powerpc64/power6/wcschr.c: New file.
44044         * powerpc64/power6/wcscpy.c: New file.
44045         * powerpc64/power6/wcsrchr.c: New file.
44047 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44049         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44050         (two_way_short_needle): Use it.
44051         * string/strstr.c (AVAILABLE1_USES_J): Define.
44052         * string/strcasestr.c: Likewise.
44054         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44055         array references.
44056         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44058         [BZ #11607]
44059         * NEWS: Add an entry.
44060         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44061         define their defaults.
44062         (two_way_short_needle): Detect end-of-string on-the-fly.
44063         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44064         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44065         * string/bug-strcasestr1.c: New test.
44066         * string/Makefile: Run it.
44068 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44070         [BZ #11607]
44071         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44072         the first character.
44074 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44076         * csu/elf-init.c (__libc_csu_irel): Function removed.
44077         * csu/libc-start.c (apply_irel): New function.
44078         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44080 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44082         * sysdeps/unix/sysv/linux/kernel-features.h
44083         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44084         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44085         <kernel-features.h>.
44086         [__NR_fadvise64_64]: Make code unconditional.
44087         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44088         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44089         !__NR_fadvise64_64)]: Likewise.
44090         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44091         !__NR_fadvise64_64))]: Likewise.
44092         [__NR_fadvise64]: Make code unconditional.
44093         [!__NR_fadvise64]: Remove conditional code.
44094         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44095         <kernel-features.h>.
44096         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44097         unconditional.
44098         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44099         conditional code.
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44101         not include <kernel-features.h>.
44102         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44103         unconditional.
44104         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44105         conditional code.
44106         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44107         include <kernel-features.h>.
44108         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44109         unconditional.
44110         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44111         conditional code.
44113 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44115         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44116         slight instruction rearrangements per scrollpipe analysis.
44117         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44119 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44121         * manual/syslog.texi (syslog; vsyslog, closelog):
44122         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44123         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44125         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44126         DSOCAPS to match condition on defining it.
44128 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44130         * sysdeps/unix/sysv/linux/kernel-features.h
44131         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44133         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44134         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44136         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44137         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44139         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44140         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44142         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44143         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44145         * sysdeps/unix/sysv/linux/kernel-features.h
44146         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44147         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44148         unconditional.
44149         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44150         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44151         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44152         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44153         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44154         Make code unconditional.
44155         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44156         (__mmap64) [!__NR_mmap2]: Likewise.
44157         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44160         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44161         [__NR_mmap2]: Make code unconditional.
44162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44163         (__mmap64) [!__NR_mmap2]: Likewise.
44165 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44167         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44169 2012-08-18  Andreas Jaeger  <aj@suse.de>
44171         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44173 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44175         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44176         * include/unistd.h (__have_sock_cloexec): Likewise.
44177         (__have_pipe2): Likewise.
44178         (__have_dup3): Likewise.
44180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44182         [BZ #9685]
44183         * include/unistd.h (__have_pipe2): Change define into an extern int.
44184         (__have_dup3): Likewise.
44185         * socket/have_sock_cloexec.c: Include fcntl.h.
44186         (__have_pipe2): New variable.
44187         (__have_dup3): Likewise.
44189 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44191         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44193 2012-08-17  Marek Polacek  <polacek@redhat.com>
44195         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44196         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44198 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44200         * configure.in: Add AC_SUBST for sysheaders.
44201         * configure: Regenerated.
44202         * config.make.in (sysheaders): New substituted variable.
44204         * sysdeps/unix/mkfifo.c: Moved ...
44205         * sysdeps/posix/mkfifo.c: ... here.
44206         * sysdeps/unix/mkfifoat.c: Moved ...
44207         * sysdeps/posix/mkfifoat.c: ... here.
44209         * sysdeps/unix/utime.c: Moved ...
44210         * sysdeps/posix/utime.c: ... here.
44212         * sysdeps/unix/time.c: Moved ...
44213         * sysdeps/posix/time.c: ... here.
44214         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44215         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44217         * sysdeps/unix/nice.c: Moved ...
44218         * sysdeps/posix/nice.c: ... here.
44220         * sysdeps/unix/alarm.c: Moved ...
44221         * sysdeps/posix/alarm.c: ... here.
44223         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44225 2012-08-17  Jeff Law <law@redhat.com>
44227         * intl/Makefile (codeset_mo): New variable.
44228         ($(codeset_mo)): New target.
44229         (tst-codeset.out): Depend on that.  Remove explicit rule.
44230         (tst-gettext3.out, tst-gettext5.out): Likewise.
44231         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44232         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44233         * intl/tst-codeset.sh: Remove.
44234         * intl/tst-gettext3.sh: Likewise.
44235         * intl/tst-gettext5.sh: Likewise.
44237 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44239         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44240         * sysdeps/unix/syscalls.list: ... here.
44242         * sysdeps/posix/getaddrinfo.c
44243         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44244         (gaiconf_init, gaiconf_reload): Use them.
44245         [!_STATBUF_ST_NSEC]
44246         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44247         Define using time_t rather than struct timespec.
44249         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44250         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44251         Macros removed.
44252         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44253         [!NO_THREADS].
44254         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44255         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44256         Likewise.
44258         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44259         __libc_cleanup_push argument.
44261         * bits/param.h: New file.
44262         * misc/sys/param.h: New file.
44263         * include/sys/param.h: New file.
44264         * misc/Makefile (headers): Add bits/param.h.
44265         * sysdeps/generic/sys/param.h: File removed.
44266         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44267         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44268         * sysdeps/mach/hurd/bits/param.h: New file.
44269         * sysdeps/mach/hurd/sys/param.h: File removed.
44271         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44272         last change.
44274         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44275         [_IO_MTSAFE_IO].
44276         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44277         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44278         New macros.
44280         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44281         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44282         rather than -D_IO_MTSAFE_IO conditionally.
44283         * stdio-common/Makefile (CPPFLAGS): Likewise.
44284         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44285         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44286         Use $(libio-mtsafe).
44287         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44288         of -D_IO_MTSAFE_IO.
44289         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44290         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44291         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44292         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44293         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44294         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44295         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44296         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44297         (CFLAGS-fread_u_chk.c): Likewise.
44298         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44299         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44300         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44301         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44302         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44303         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44304         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44305         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44306         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44308         * libio/Makefile: Test [$(libc-reentrant) = yes]
44309         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44311         * Makeconfig
44312         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44313         * sysdeps/pthread/configure: File removed.
44314         * sysdeps/pthread/Makeconfig: New file.
44315         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44316         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44318 2012-08-16  Gary Benson  <gbenson@redhat.com>
44320         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44321         unmapping the first object in a namespace.
44323 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44325         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44326         (__internal_setnetgrent): ... this.  Add internal_function to
44327         definition.  Add libc_hidden_def.
44328         (setnetgrent): Update caller.
44329         (internal_endnetgrent): Renamed to ...
44330         (__internal_endnetgrent): ... this.  Add internal_function to
44331         definition.  Add libc_hidden_def.
44332         (endnetgrent): Update caller.
44333         (internal_getnetgrent_r): Renamed to ...
44334         (__internal_getnetgrent_r): ... this.  Add internal_function to
44335         definition.  Add libc_hidden_def.
44336         (__getnetgrent_r): Update caller.
44337         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44339 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44341         * stdlib/longlong.h: Update from GCC.
44343 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44345         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44346         on _QL, which is set by umul_ppmm but never used.
44347         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44348         variables, which are set by GMP macros but never used.
44349         * stdio-common/_itowa.c (_itowa): Likewise.
44350         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44351         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44353 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44355         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44356         struct La_sh_regs is not constant.
44357         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44358         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44359         and struct La_sparc64_regs are not constant.
44361 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44363         * sysdeps/unix/sysv/linux/kernel-features.h
44364         (__ASSUME_POSIX_TIMERS): Remove.
44365         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44366         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44367         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44368         Make code unconditional.
44369         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44370         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44371         Make code unconditional.
44372         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44373         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44374         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44375         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44376         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44377         Make code unconditional.
44378         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44379         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44380         (__libc_missing_posix_timers): Remove.
44382 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44384         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44385         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44387         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44389         * elf/dl-sym.c: Include <stdlib.h>.
44391         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44392         constants, which avoids warnings in 32-bit builds.
44394         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44395         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44397         * misc/lseek.c: File moved to ...
44398         * io/lseek.c: ... here.
44400         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44402         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44403         shifting LEN more than 31 bits at once.
44405 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44407         [BZ #14195]
44408         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44409         segmentation fault for a case of two empty input strings.
44410         * string/test-strncasecmp.c (check1): Renamed to...
44411         (bz12205): ...this.
44412         (bz14195): Add new testcase for two empty input strings and N > 0.
44413         (test_main): Call new testcase, adapt for renamed function.
44415 2012-08-15  Andreas Jaeger  <aj@suse.de>
44417         [BZ #14090]
44418         * crypt/md5test2.c: New test, based on test supplied by Serge
44419         Belyshev <belyshev@depni.sinp.msu.ru>.
44420         * crypt/Makefile (xtests): Add md5test-giant..
44421         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44423 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44425         [BZ #14090]
44426         * crypt/md5.c (md5_process_block): Don't assume the buffer
44427         length is less than 2**32.
44428         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44429         length is less than 2**64.
44431 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44433         * string/str-two-way.h: Include <sys/param.h>.
44434         (MAX): Macro removed.
44436         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44437         Move #define and #undef of memmove to just before and after
44438         including <string.h>.
44440         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44441         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44442         and after including <string.h>.  Move declarations of
44443         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44444         to before #include "string/memmove.c".
44446         * include/dirent.h: Declare __getdirentries.
44448         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44449         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44451 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44453         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44454         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44455         * sysdeps/i386/configure: Regenerated.
44456         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44457         STABS_CURRENT_FILE, and STABS_FUN.
44458         (END): Remove call to STABS_FUN_END.
44459         (STABS_CURRENT_FILE1): Delete.
44460         (STABS_CURRENT_FILE): Likewise.
44461         (STABS_FUN): Likewise.
44462         (STABS_FUN_END): Likewise.
44463         (STABS_FUN2): Likewise.
44464         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44465         * sysdeps/x86_64/configure: Regenerated.
44467 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44469         * elf/dl-open.c: Include <atomic.h>.
44470         * elf/dl-lookup.c: Likewise.
44472 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44474         * sysdeps/unix/sysv/linux/kernel-features.h
44475         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44476         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44477         unconditionally.
44478         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44479         unconditionally.
44480         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44481         condition on __ASSUME_CLONE_THREAD_FLAGS.
44483 2012-08-14  Andreas Jaeger  <aj@suse.de>
44485         * sysdeps/i386/fpu/libm-test-ulps: Update.
44487 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44489         * include/atomic.h (atomic_exchange_and_add): Split into ...
44490         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44491         New atomic macros.
44493 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44497 2012-08-13  Jeff Law <law@redhat.com>
44499         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44500         null byte in the output string.
44502 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44504         * sysdeps/unix/sysv/linux/kernel-features.h
44505         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44506         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44507         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44508         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44509         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44510         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44511         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44513 2012-08-09  Jeff Law <law@redhat.com>
44515         [BZ #13939]
44516         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44517         When avoid_arena is set, don't retry in the that arena.  Pick the
44518         next one, whatever it might be.
44519         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44520         (arena_lock): Pass in new parameter to arena_get2.
44521         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44522         arena_get2.
44523         (__libc_malloc): Unify retrying after main arena failure with
44524         __libc_memalign version.
44525         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44527 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44529         [BZ #14166]
44530         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44531         to __redirect_strstr.
44532         (__strstr_sse42): Use typeof __redirect_strstr.
44533         (__strstr_ia32): Likewise.
44534         (__libc_strstr): New prototype.
44535         (strstr): Renamed to ...
44536         (__libc_strstr): This.
44537         (strstr): New strong alias of __libc_strstr.
44538         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44539         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44540         __redirect_time.
44541         Include <time.h>.
44542         (__libc_time): New prototype.
44543         (time_ifunc): Replace time with __libc_time.
44544         (time): New strong alias and hidden definition of __libc_time.
44545         (__GI_time): Remove strong alias.
44546         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44547         Include <stddef.h>.
44548         (memmove): Redefined to __redirect_memmove.
44549         (__memmove_sse2): Use typeof __redirect_memmove.
44550         (__memmove_ssse3): Likewise.
44551         (__memmove_ssse3_back): Likewise.
44552         (__libc_memmove): New prototype.
44553         (memmove): Renamed to ...
44554         (__libc_memmove): This.
44555         (memmove): New strong alias of __libc_memmove.
44557 2012-08-08  Mark Salter  <msalter@redhat.com>
44559         * elf/elf.h
44560         (R_MN10300_TLS_GD): Define.
44561         (R_MN10300_TLS_LD): Likewise.
44562         (R_MN10300_TLS_LDO): Likewise.
44563         (R_MN10300_TLS_GOTIE): Likewise.
44564         (R_MN10300_TLS_IE): Likewise.
44565         (R_MN10300_TLS_LE): Likewise.
44566         (R_MN10300_TLS_DTPMOD): Likewise.
44567         (R_MN10300_TLS_DTPOFF): Likewise.
44568         (R_MN10300_TLS_TPOFF): Likewise.
44569         (R_MN10300_SYM_DIFF): Likewise.
44570         (R_MN10300_ALIGN): Likewise.
44571         (R_MN10300_NUM): Update.
44573 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44576         Remove.
44578 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44580         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44582         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44583         sysdeps/unix -> sysdeps/posix move.
44584         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44586 2012-08-07      Allan McRae     <allan@archlinux.org>
44588         [BZ #14303]
44589         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44590         (SUNOS_CPP): Likewise.
44591         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44592         not found.
44593         (open_input): Call CPP using execvp.
44595 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44597         * sysdeps/unix/sysv/linux/kernel-features.h
44598         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44599         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44600         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44601         (__ASSUME_WAITID_SYSCALL): Likewise.
44602         * sysdeps/unix/sysv/linux/dl-execstack.c
44603         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44604         code unconditional.
44605         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44606         conditional code.
44607         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44608         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44609         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44610         code.
44611         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44612         unconditional.
44613         [__ASSUME_WAITID_SYSCALL]: Likewise.
44614         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44616 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44618         * sysdeps/unix/closedir.c: Renamed to ...
44619         * sysdeps/posix/closedir.c: ... here.
44620         * sysdeps/unix/dirfd.c: Renamed to ...
44621         * sysdeps/posix/dirfd.c: ... here.
44622         * sysdeps/unix/dirstream.h: Renamed to ...
44623         * sysdeps/posix/dirstream.h: ... here.
44624         * sysdeps/unix/fdopendir.c: Renamed to ...
44625         * sysdeps/posix/fdopendir.c: ... here.
44626         * sysdeps/unix/opendir.c: Renamed to ...
44627         * sysdeps/posix/opendir.c: ... here.
44628         * sysdeps/unix/readdir.c: Renamed to ...
44629         * sysdeps/posix/readdir.c: ... here.
44630         * sysdeps/unix/readdir_r.c: Renamed to ...
44631         * sysdeps/posix/readdir_r.c: ... here.
44632         * sysdeps/unix/rewinddir.c: Renamed to ...
44633         * sysdeps/posix/rewinddir.c: ... here.
44634         * sysdeps/unix/seekdir.c: Renamed to ...
44635         * sysdeps/posix/seekdir.c: ... here.
44636         * sysdeps/unix/telldir.c: Renamed to ...
44637         * sysdeps/posix/telldir.c: ... here.
44638         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44639         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44640         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44641         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44643         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44644         * bits/fcntl.h: ... here.
44646         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44647         not 0.
44648         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44649         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44650         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44651         (struct flock): Move l_start, l_len to the beginning.
44652         Use __pid_t for l_pid.
44653         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44654         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44655         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44656         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44657         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44658         [__USE_LARGEFILE64] (struct flock64): New type.
44659         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44661         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44662         * bits/dirent.h: ... here.
44664         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44665         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44667 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44670         Change from 2.6.0 to 2.6.16.
44671         * sysdeps/unix/sysv/linux/configure: Regenerated.
44672         * sysdeps/unix/sysv/linux/kernel-features.h
44673         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44674         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44675         version.
44676         (__ASSUME_UTIMES): Likewise.
44677         (__ASSUME_CLONE_STOPPED): Remove.
44678         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44679         architectures, not kernel version.
44680         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44681         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44682         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44683         (__ASSUME_WAITID_SYSCALL): Likewise.
44684         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44685         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44686         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44687         refer to older versions.
44689 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44691         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44692         Define alphasort64 as an alias.
44693         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44694         Define versionsort64 as an alias.
44695         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44696         Define scandir64 as an alias.
44697         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44698         Define scandirat64 as an alias.
44699         * dirent/alphasort64.c (alphasort64):
44700         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44701         * dirent/versionsort64.c: Likewise.
44702         * dirent/scandir64.c: Likewise.
44703         * dirent/scandirat64.c: Likewise.
44704         * sysdeps/wordsize-64/alphasort.c: File removed.
44705         * sysdeps/wordsize-64/alphasort64.c: File removed.
44706         * sysdeps/wordsize-64/scandir.c: File removed.
44707         * sysdeps/wordsize-64/scandir64.c: File removed.
44708         * sysdeps/wordsize-64/scandirat.c: File removed.
44709         * sysdeps/wordsize-64/scandirat64.c: File removed.
44710         * sysdeps/wordsize-64/versionsort.c: File removed.
44711         * sysdeps/wordsize-64/versionsort64.c: File removed.
44712         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44714         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44715         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44716         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44717         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44721         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44723         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44725         [defined __arch64__ || defined __sparcv9]
44726         (__INO_T_MATCHES_INO64_T): New macro.
44727         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44728         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44729         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44730         * sysdeps/unix/sysv/linux/bits/dirent.h
44731         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44732         (_DIRENT_MATCHES_DIRENT64): New macro.
44734         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44735         Define lockf64 as an alias.
44736         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44737         Define fseeko64 as an alias.
44738         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44739         Define ftello64 as an alias.
44740         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44741         Define _IO_fgetpos64 and fgetpos64 as aliases.
44742         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44743         Define _IO_fsetpos64 and fsetpos64 as aliases.
44744         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44745         Conditionalize body on this.
44746         * libio/fseeko64.c: Likewise.
44747         * libio/ftello64.c: Likewise.
44748         * libio/iofgetpos64.c: Likewise.
44749         * libio/iofsetpos64.c: Likewise.
44750         * sysdeps/wordsize-64/lockf.c: File removed.
44751         * sysdeps/wordsize-64/lockf64.c: File removed.
44752         * sysdeps/wordsize-64/fseeko.c: File removed.
44753         * sysdeps/wordsize-64/fseeko64.c: File removed.
44754         * sysdeps/wordsize-64/ftello.c: File removed.
44755         * sysdeps/wordsize-64/ftello64.c: File removed.
44756         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44757         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44758         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44759         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44760         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44762         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44764         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44766         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44768         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44769         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44771         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44773         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44775         [defined __arch64__ || defined __sparcv9]
44776         (__OFF_T_MATCHES_OFF64_T): New macro.
44777         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44778         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44780         (__OFF_T_MATCHES_OFF64_T): New macro.
44782 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44784         * stdlib/secure-getenv.c (__secure_getenv): Replace
44785         GLIBC_2_16 with GLIBC_2_17.
44787 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44789         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44790         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44792 2012-08-03  David S. Miller  <davem@davemloft.net>
44794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44796 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44799         Remove.
44800         (__ASSUME_CORRECT_SI_PID): Likewise.
44801         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44802         (__ASSUME_TMPFS_NAME): Likewise.
44803         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44804         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44805         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44806         (HAVE_AUX_SECURE): Make definition unconditional.
44807         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44808         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44810 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44812         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44813         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44814         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44815         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44816         __eloop_threshold instead of SYMLOOP_MAX.
44818         * sysdeps/generic/eloop-threshold.h: New file.
44819         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44820         of MAXSYMLINKS.
44821         * elf/chroot_canon.c (chroot_canon): Likewise.
44823 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44825         [BZ #13717]
44826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44827         Change to 2.6.0 everywhere.
44828         * sysdeps/unix/sysv/linux/configure: Regenerated.
44829         * sysdeps/unix/sysv/linux/kernel-features.h
44830         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44831         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44832         kernel versions.
44833         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44834         (__ASSUME_FUTEX_REQUEUE): Remove.
44835         (__ASSUME_STATFS64): Define unconditionally.
44836         (__ASSUME_AT_SECURE): Likewise.
44837         (__ASSUME_CORRECT_SI_PID): Likewise.
44838         (__ASSUME_TGKILL): Define without depending on kernel version for
44839         i386.
44840         (__ASSUME_UTIMES): Likewise.
44841         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44842         kernel version.
44843         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44844         (__ASSUME_TMPFS_NAME): Likewise.
44845         * README: Update reference to Linux kernel versions.
44847 2012-08-02  Marek Polacek  <polacek@redhat.com>
44849         [BZ# 14150]
44850         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44851         libc_cv_asm_type_prefix with %.
44852         * configure: Regenerated.
44853         * include/libc-symbols.h: Remove comment about
44854         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44855         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44856         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44857         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44858         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44859         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44860         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44861         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44862         * elf/tst-unique2mod1.c: Likewise.
44863         * elf/tst-unique1mod2.c: Likewise.
44864         * elf/tst-unique1mod1.c: Likewise.
44865         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44866         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44867         Replace ASM_TYPE_DIRECTIVE with .type.
44868         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44869         * sysdeps/i386/sysdep.h: Likewise.
44870         * sysdeps/x86_64/sysdep.h: Likewise.
44871         * sysdeps/sh/sysdep.h: Likewise.
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44873         Do not define ASM_TYPE_DIRECTIVE.
44874         * sysdeps/powerpc/sysdep.h: Likewise.
44875         * sysdeps/powerpc/powerpc32/sysdep.h:
44876         Replace ASM_TYPE_DIRECTIVE with .type.
44877         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44878         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44879         * sysdeps/i386/fpu/e_powf.S: Likewise.
44880         * sysdeps/i386/fpu/e_expl.S: Likewise.
44881         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44882         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44883         * sysdeps/i386/fpu/e_pow.S: Likewise.
44884         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44885         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44886         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44887         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44888         * sysdeps/i386/fpu/e_log2.S: Likewise.
44889         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44890         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44891         * sysdeps/i386/fpu/e_powl.S: Likewise.
44892         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44893         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44894         * sysdeps/i386/fpu/e_logl.S: Likewise.
44895         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44896         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44897         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44898         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44899         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44900         * sysdeps/i386/fpu/e_log.S: Likewise.
44901         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44902         * sysdeps/i386/fpu/e_logf.S: Likewise.
44903         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44904         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44905         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44906         * sysdeps/i386/fpu/e_log10.S: Likewise.
44907         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44908         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44909         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44910         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44911         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44912         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44913         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44914         * sysdeps/i386/i686/strtok.S: Likewise.
44915         * sysdeps/i386/i386-mcount.S: Likewise.
44916         * sysdeps/i386/strtok.S: Likewise.
44917         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44918         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44919         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44920         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44921         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44922         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44923         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44924         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44926         * sysdeps/x86_64/_mcount.S: Likewise.
44927         * sysdeps/x86_64/strtok.S: Likewise.
44928         * sysdeps/sh/_mcount.S: Likewise.
44930 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44932         * libio/iofopen.c: Include <fcntl.h>.
44933         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44934         (_IO_fopen64, fopen64): Define as aliases.
44935         * libio/iofopen64.c: Include <fcntl.h>.
44936         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44937         Conditionalize body on this.
44938         * sysdeps/wordsize-64/iofopen.c: File removed.
44939         * sysdeps/wordsize-64/iofopen64.c: File removed.
44941 2012-08-01  Marek Polacek  <polacek@redhat.com>
44943         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44944         Use dlfcn directly instead of a variable.
44945         (binfmt-subdir): Do not define.
44946         (dlfcn): Likewise.
44948 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44951         Remove all definitions.
44952         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44953         <kernel-features.h>.
44954         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44955         (miss_F_GETOWN_EX): Remove all definitions.
44956         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44957         macro definition.
44958         [!__ASSUME_FCNTL64]: Remove conditional code.
44959         [__ASSUME_FCNTL64]: Make code unconditional.
44960         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44961         <kernel-features.h>.
44962         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44963         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44964         (lockf64) [__NR_fcntl64]: Make code unconditional.
44965         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44967         * sysdeps/unix/sysv/linux/kernel-features.h
44968         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44969         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44970         Make code unconditional.
44971         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44972         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44974         [__NR_vfork]: Make code unconditional.
44975         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44976         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44978         [__NR_vfork]: Make code unconditional.
44979         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44980         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44982 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44984         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44985         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44987         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44988         Define mkstemp64 as an alias.
44989         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44990         Define mkstemps64 as an alias.
44991         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44992         Define mkostemp64 as an alias.
44993         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44994         Define mkostemps64 as an alias.
44995         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44996         Conditionalize body on this.
44997         * misc/mkostemp64.c: Likewise.
44998         * misc/mkostemps64.c: Likewise.
44999         * misc/mkstemps64.c: Likewise.
45000         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45001         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45002         * sysdeps/wordsize-64/mkostemp.c: File removed.
45003         * sysdeps/wordsize-64/mkstemp.c: File removed.
45004         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45005         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45007         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45009         [BZ #14138]
45010         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45011         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45012         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45013         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45015         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45016         compat_symbol macros from <shlib-compat.h> rather than the underlying
45017         default_symbol_version and symbol_version macros, so that DEFAULT
45018         lines in shlib-versions are respected.
45019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45021 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45023         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45024         Declare with warn_unused_result.
45025         (setgid, setregid, setegid, setresgid): Likewise.
45026         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45027         Likewise.
45028         * WUR-REPORT: Remove set*id functions.
45030 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45032         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45034 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45036         [BZ #10191]
45037         * include/sys/socket.h (__libc_accept, __libc_accept4):
45038         Add attribute_hidden.
45039         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45041         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45042         use of PTR_MANGLE.
45043         * inet/getnetgrent_r.c (setup): Likewise.
45045         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45047 2012-07-31  David S. Miller  <davem@davemloft.net>
45049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45051 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45053         [BZ #13629]
45054         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45055         value between 1.0 and 2.0 and smaller part has absolute value less
45056         than 1.0.
45057         * math/s_clog10.c (__clog10): Likewise.
45058         * math/s_clog10f.c (__clog10f): Likewise.
45059         * math/s_clog10l.c (__clog10l): Likewise.
45060         * math/s_clogf.c (__clogf): Likewise.
45061         * math/s_clogl.c (__clogl): Likewise.
45062         * math/libm-test.inc (clog_test): Add more tests.
45063         (clog10_test): Likewise.
45064         * sysdeps/i386/fpu/libm-test-ulps: Update.
45065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45067 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45069         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45070         Exit with zero in case no suitable GID is found, and write a
45071         message to standard error.
45073 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45075         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45076         rather than to 1.
45077         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45078         (MAXPATHLEN): Removed.
45079         (NOGROUP, NODEV): New macros.
45080         (setbit, clrbit, isset, isclr): New macros.
45081         (howmany, roundup, powerof2): New macros.
45082         (DEV_BSIZE): New macro.
45084         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45085         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45087         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45088         definition on [!__NO_LONG_DOUBLE_MATH].
45090         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45091         PTR_MANGLE and PTR_DEMANGLE.
45093         * socket/accept4.c (accept4): Rename to __libc_accept4.
45094         Define accept4 as a weak alias.
45096         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45097         on [_DIRENT_HAVE_D_TYPE].
45098         * io/ftw.c (ftw_dir): Likewise.
45100         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45102         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45104         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45105         Use the BSD numbers rather than the arbitrary ones we had.
45106         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45107         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45108         (SIGXCPU, SIGXFSZ): New macros.
45109         (_NSIG): Now 32.
45111         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45112         initializer on [_LIBC_REENTRANT].
45114         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45115         definitions inside [_POSIX_MAPPED_FILES].
45117         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45119         * dirent/opendir.c: Include <fcntl.h>.
45121         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45122         (__libc_getspecific): Likewise.
45123         (__libc_key_create): Likewise.
45125         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45126         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45127         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45128         (tmpfile64): Define as alias.
45129         * sysdeps/wordsize-64/tmpfile.c: File removed.
45130         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45131         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45132         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45134         * stdio-common/vfscanf.c: Include <stdbool.h>.
45135         * nss/makedb.c: Likewise.
45136         * stdio-common/_i18n_number.h: Likewise.
45137         * argp/argp-help.c: Likewise.
45138         * posix/wordexp.c: Likewise.
45139         * sysdeps/posix/spawni.c: Likewise.
45140         * nss/nss_files/files-initgroups.c: Likewise.
45141         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45142         * nss/nss_files/files-initgroups.c: Likewise.
45143         * nss/nss_db/db-netgrp.c: Likewise.
45144         * nss/nss_db/db-initgroups.c: Likewise.
45145         * io/fchmodat.c: Include <sys/stat.h>.
45147         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45148         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45150         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45151         [HAVE_MMAP].
45153         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45154         Add multiple inclusion protection.
45156 2012-07-27  David S. Miller  <davem@davemloft.net>
45158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45160 2012-07-27  Gary Benson  <gbenson@redhat.com>
45162         [BZ #14298]
45163         * elf/rtld.c: Include <stap-probe.h>.
45164         (dl_main): Added static probes "init_start" and "init_complete".
45165         * elf/dl-load.c: Include <stap-probe.h>.
45166         (lose): Take new parameter "nsid".
45167         Added static probe "map_failed".
45168         (_dl_map_object_from_fd): Pass namespace id to lose.
45169         Added static probe "map_start".
45170         (open_verify): Pass namespace id to lose.
45171         * elf/dl-open.c: Include <stap-probe.h>.
45172         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45173         and "reloc_complete".
45174         * elf/dl-close.c: Include <stap-probe.h>.
45175         (_dl_close_worker): Added static probes "unmap_start" and
45176         "unmap_complete".
45177         * elf/rtld-debugger-interface.txt: New file documenting the above.
45179 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45181         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45182         rather than a string variable.
45183         * sunrpc/rpc_main.c (h_output): Likewise.
45184         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45186 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45188         * inet/check_native.c: New file.
45190 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45192         [BZ #13629]
45193         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45194         if larger part has absolute value 1.0.
45195         * math/s_clog10.c (__clog10): Likewise.
45196         * math/s_clog10f.c (__clog10f): Likewise.
45197         * math/s_clog10l.c (__clog10l): Likewise.
45198         * math/s_clogf.c (__clogf): Likewise.
45199         * math/s_clogl.c (__clogl): Likewise.
45200         * math/libm-test.inc (clog_test): Add more tests.
45201         (clog10_test): Likewise.
45202         * sysdeps/i386/fpu/libm-test-ulps: Update.
45203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45205         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45206         (pltexit): Likewise.
45207         (La_regs): Likewise.
45208         (La_retval): Likewise.
45209         (int_retval): Likewise.
45210         Update #error for removed macros to refer only to definitions in
45211         tst-audit.h.
45212         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45213         macro.
45214         (pltexit): Likewise.
45215         (La_regs): Likewise.
45216         (La_retval): Likewise.
45217         (int_retval): Likewise.
45218         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45219         macro.
45220         (pltexit): Likewise.
45221         (La_regs): Likewise.
45222         (La_retval): Likewise.
45223         (int_retval): Likewise.
45224         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45225         macro.
45226         (pltexit): Likewise.
45227         (La_regs): Likewise.
45228         (La_retval): Likewise.
45229         (int_retval): Likewise.
45230         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45231         macro.
45232         (pltexit): Likewise.
45233         (La_regs): Likewise.
45234         (La_retval): Likewise.
45235         (int_retval): Likewise.
45236         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45237         macro.
45238         (pltexit): Likewise.
45239         (La_regs): Likewise.
45240         (La_retval): Likewise.
45241         (int_retval): Likewise.
45242         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45243         macro.
45244         (pltexit): Likewise.
45245         (La_regs): Likewise.
45246         (La_retval): Likewise.
45247         (int_retval): Likewise.
45248         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45249         macro definitions in tst-audit.h.
45250         * sysdeps/i386/tst-audit.h: New file.
45251         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45252         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45253         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45254         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45255         * sysdeps/sh/tst-audit.h: Likewise.
45256         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45257         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45258         * sysdeps/x86_64/tst-audit.h: Likewise.
45260 2012-07-26  Andreas Jaeger  <aj@suse.de>
45262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45263         ptrace.
45265         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45266         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45267         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45268         PTRACE_O_MASK.
45269         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45270         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45271         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45273         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45274         value.
45276         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45277         _sigsys.
45278         (si_call_addr, si_syscall, si_arch): Define new macro.
45279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45280         _sigsys.
45281         (si_call_addr, si_syscall, si_arch): Define new marcro.
45282         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45283         _sigsys.
45284         (si_call_addr, si_syscall, si_arch): Define new macro.
45285         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45286         _sigsys.
45287         (si_call_addr, si_syscall, si_arch): Define new macro.
45289 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45291         [BZ #13717]
45292         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45293         Change to 2.4.21 where previously 2.4.1.
45294         * sysdeps/unix/sysv/linux/configure: Regenerated.
45295         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45296         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45297         Linux kernel version.
45298         (__ASSUME_STD_AUXV): Remove.
45299         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45300         kernel version.
45301         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45302         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45303         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45304         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45305         (__ASSUME_NETLINK_SUPPORT): Likewise.
45306         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45307         (__no_netlink_support): Remove conditional definition.
45308         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45309         Remove.
45310         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45311         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45312         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45313         (if_nameindex_ioctl): Remove.
45314         (if_nameindex_netlink): Do not handle __no_netlink_support.
45315         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45316         code.
45317         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45318         Remove conditional code.
45319         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45320         code.
45321         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45322         unconditional.
45323         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45324         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45325         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45326         Remove.
45327         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45328         [!__ASSUME_STD_AUXV]: Remove conditional code.
45329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45330         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45331         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45333         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45334         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45335         code.
45336         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45338         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45339         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45340         conditional code.
45341         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45343         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45344         code.
45345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45347         conditional code.
45348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45349         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45350         code unconditional.
45351         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45352         conditional code.
45353         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45354         unconditional.
45355         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45356         conditional code.
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45358         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45359         unconditional.
45360         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45361         conditional code.
45362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45363         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45364         code unconditional.
45365         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45366         conditional code.
45367         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45368         unconditional.
45369         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45370         conditional code.
45371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45372         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45373         code unconditional.
45374         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45375         conditional code.
45376         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45377         unconditional.
45378         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45379         conditional code.
45381 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45383         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45384         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45385         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45386         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45387         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45388         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45390         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45391         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45392         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45393         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45394         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45395         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45396         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45398         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45399         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45400         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45401         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45403         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45404         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45405         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45407 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45409         * Versions.def: Add GLIBC_2.17.
45410         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45411         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45412         Introduce __libc_secure_getenv.
45413         * stdlib/Versions (2.17): Add secure_getenv
45414         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45415         * stdlib/secure-getenv.c: Rename __secure_getenv to
45416         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45417         symbol __secure_getenv for GLIBC_2.0.
45418         * stdlib/tst-secure-getenv.c: New.
45419         * stdlib/Makefile (tests): Add testcase.
45420         * manual/startup.texi (Environment Access): Document
45421         secure_getenv.
45422         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45423         __libc_secure_getenv.
45424         * inet/ruserpass.c (ruserpass): Likewise.
45425         * malloc/mtrace.c (mtrace): Likewise.
45426         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45427         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45428         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45429         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45430         HAVE_SECURE_GETENV.
45431         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45432         __secure_getenv to __libc_secure_getenv.
45433         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45435         Likewise.
45436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45437         Likewise.
45438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45446 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45448         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45449         (struct La_i86_retval): Likewise.
45450         (struct La_x86_64_regs): Likewise.
45451         (struct La_x86_64_retval): Likewise.
45452         (struct La_x32_regs): Likewise.
45453         (struct La_x32_retval): Likewise.
45454         (struct La_ppc32_regs): Likewise.
45455         (struct La_ppc32_retval): Likewise.
45456         (struct La_ppc64_regs): Likewise.
45457         (struct La_ppc64_retval): Likewise.
45458         (struct La_sh_regs): Likewise.
45459         (struct La_sh_retval): Likewise.
45460         (struct La_s390_32_regs): Likewise.
45461         (struct La_s390_32_retval): Likewise.
45462         (struct La_s390_64_regs): Likewise.
45463         (struct La_s390_64_retval): Likewise.
45464         (struct La_sparc32_regs): Likewise.
45465         (struct La_sparc32_retval): Likewise.
45466         (struct La_sparc64_regs): Likewise.
45467         (struct La_sparc64_retval): Likewise.
45468         (struct audit_ifaces): Remove architecture-specific pltenter and
45469         pltexit members.
45470         * sysdeps/i386/ldsodefs.h: New file.
45471         * sysdeps/powerpc/ldsodefs.h: Likewise.
45472         * sysdeps/s390/ldsodefs.h: Likewise.
45473         * sysdeps/sh/ldsodefs.h: Likewise.
45474         * sysdeps/sparc/ldsodefs.h: Likewise.
45475         * sysdeps/x86_64/ldsodefs.h: Likewise.
45477 2012-07-25  Marek Polacek  <polacek@redhat.com>
45479         [BZ #6808]
45480         * math/libm-test.inc (yn_test): Add another test.
45481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45482         to ERANGE when the result is +-Inf.
45483         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45484         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45485         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45486         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45488 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45490         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45491         equal to 0.
45492         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45493         clock_t.
45494         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45496 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45498         * configure.in <sysdeps resolving>: Correct printing
45499         Implies_before.
45500         * configure: Regenerate.
45502 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45504         * math/w_ilogb.c: Include <limits.h>.
45505         * math/w_ilogbl.c: Likewise.
45507 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45509         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45510         va_copy.  Document allowing for unavailable va_copy only as
45511         pre-C99 compatibility.
45512         * manual/string.texi (Copying and Concatenation): Use va_copy
45513         instead of __va_copy in concat example.
45515 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45517         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45518         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45519         it if not null.
45521         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45522         with O_NOLINK passed to __file_name_lookup.
45524         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45525         with O_NOLINK passed to __file_name_lookup.
45527         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45528         negative N or less than NGIDS.
45530         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45531         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45532         enough.  Use memcpy instead of strncpy.
45534 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45536         * elf/Makefile (check-data): Remove.
45537         (localplt.data): New vpath directive.
45538         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45539         instead of $(check-data).
45540         * scripts/data/localplt-generic.data: Move to ...
45541         * sysdeps/generic/localplt.data: ... here.
45542         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45543         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45544         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45546         ... here.
45547         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45549         ... here.
45550         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45552         ... here.
45553         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45555         ... here.
45556         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45558         ... here.
45559         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45561         ... here.
45563 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45565         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45566         PPC32 and PPC64 files.
45567         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45568         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45570 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45572         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45573         __makecontext_ret to ...
45574         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45575         ... here and call exit if uc_link is NULL.  New file.
45576         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45577         __makecontext_ret.S.
45578         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45579         __makecontext_ret to ...
45580         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45581         ... here and call exit if uc_link is NULL.  New file.
45582         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45583         __makecontext_ret.S.
45585 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45587         * elf/elf.h (R_390_IRELATIVE): New definition.
45588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45589         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45590         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45592         (elf_machine_lazy_rel): Likewise.
45593         * sysdeps/s390/dl-irel.h: New file.
45594         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45595         * sysdeps/s390/s390-64/memset.S: New asm code.
45596         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45597         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45599         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45600         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45601         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45602         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45603         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45604         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45605         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45606         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45607         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45608         * sysdeps/s390/s390-32/memset.S: New asm code.
45609         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45611 2012-07-17  Marek Polacek  <polacek@redhat.com>
45613         [BZ #14349]
45614         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45615         * sysdeps/s390/s390-64/configure.in: Likewise.
45616         * sysdeps/sparc/configure.in: Likewise.
45617         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45618         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45619         * sysdeps/i386/configure.in: Likewise.
45620         * sysdeps/x86_64/configure.in: Likewise.
45621         * sysdeps/sh/configure.in: Likewise.
45622         * sysdeps/s390/s390-32/configure: Regenerated.
45623         * sysdeps/s390/s390-64/configure: Likewise.
45624         * sysdeps/x86_64/configure: Likewise.
45625         * sysdeps/sh/configure: Likewise.
45626         * sysdeps/powerpc/powerpc64/configure: Likewise.
45627         * sysdeps/powerpc/powerpc32/configure: Likewise.
45628         * sysdeps/sparc/configure: Likwise.
45629         * sysdeps/i386/configure: Likewise.
45631         * elf/dl-open.c: Comment fixes.
45633 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45635         * Makefile [CXX] (check-data): Remove.
45636         [CXX] (c++-types.data): New vpath directive.
45637         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45638         vpath.  Do not allow for C++ type data being missing.
45639         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45640         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45641         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45642         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45643         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45644         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45645         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45647         ... here.
45648         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45650         ... here.
45651         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45653         ... here.
45654         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45656         ... here.
45657         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45659         ... here.
45660         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45662         ... here.
45663         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45665         ... here.
45666         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45669         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45670         definitions to architecture-specific files.
45671         (TLS_IE): Likewise.
45672         (TLS_LD): Likewise.
45673         (TLS_GD): Likewise.
45674         * sysdeps/i386/tls-macros.h: New file.
45675         * sysdeps/powerpc/tls-macros.h: Likewise.
45676         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45677         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45678         * sysdeps/sh/tls-macros.h: Likewise.
45679         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45680         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45681         * sysdeps/x86_64/tls-macros.h: Likewise.
45683 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45685         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45686         zero value for regular exit case.
45688         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45689         (__start_context): Preserve zero value for regular exit case.
45691 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45692             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45694         * manual/setjmp.texi (setcontext): Clarify normal process
45695         termination when uc_link is the null pointer.
45696         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45697         exit call.
45699 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45701         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45702         preprocessor.  Test for each exception mask separately.
45704 2012-07-16  Andreas Jaeger  <aj@suse.de>
45706         * po/ru.po: Update from translation team.
45708 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45710         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45711         equal to 0.
45712         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45713         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45714         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45715         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45718 2012-07-13  Andreas Jaeger  <aj@suse.de>
45720         * po/fr.po: Update from translation team.
45722 2012-07-12  Marek Polacek  <polacek@redhat.com>
45724         [BZ #14173]
45725         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45727         loop condition.
45729 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45731         [BZ #13717]
45732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45733         Change to 2.4.1 where previously 2.4.0.
45734         * sysdeps/unix/sysv/linux/configure: Regenerated.
45735         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45736         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45737         version.
45738         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45739         (__ASSUME_AT_CLKTCK): Remove.
45740         (__ASSUME_AT_PAGESIZE): Likewise.
45741         (__ASSUME_AT_XID): Likewise.
45742         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45743         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45744         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45745         unconditionally.
45746         (HAVE_AUX_PAGESIZE): Likewise.
45747         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45748         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45749         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45751 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45753         [BZ #14307]
45754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45755         the temporary buffer used to invoke __gethostbyname2_r,
45756         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45757         host_data / struct gaih_addrtuple.
45758         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45759         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45760         header file nss/nsswitch.h.
45761         * nss/nsswitch.h (global scope): Add definition of implementation
45762         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45763         resolv/nss_dns/dns-host.c).
45765 2012-07-11  Andreas Jaeger  <aj@suse.de>
45767         * po/fr.po: Update from translation team.
45769         * po/sv.po: Update from translation team
45770         * po/fr.po: Another update from translation team.
45772 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45775         for subnormals or multiply small sinh result by itself.
45776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45779 2012-07-11  David S. Miller  <davem@davemloft.net>
45781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45783 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45785         [BZ #14347]
45786         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45787         (INTERNAL_MARK): Shift it here.
45789 2012-07-10  Marek Polacek  <polacek@redhat.com>
45791         [BZ #14151]
45792         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45793         libc_cv_asm_global_directive with .globl.
45794         * configure: Regenerated.
45795         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45796         with .globl.
45797         * sysdeps/i386/configure: Regenerated.
45798         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45799         with .globl.
45800         * sysdeps/x86_64/configure: Regenerated.
45801         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45802         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45803         * elf/tst-unique2mod2.c: Likewise.
45804         * elf/tst-unique2mod1.c: Likewise.
45805         * elf/tst-unique1mod2.c: Likewise.
45806         * elf/tst-unique1mod1.c: Likewise.
45807         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45808         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45809         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45810         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45811         * sysdeps/mach/sysdep.h: Likewise.
45812         * sysdeps/i386/sysdep.h: Likewise.
45813         * sysdeps/i386/i386-mcount.S: Likewise.
45814         * sysdeps/x86_64/_mcount.S: Likewise.
45815         * sysdeps/x86_64/sysdep.h: Likewise.
45816         * sysdeps/sh/_mcount.S: Likewise.
45817         * sysdeps/sh/sysdep.h: Likewise.
45818         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45819         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45820         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45821         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45822         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45823         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45824         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45825         * locale/localeinfo.h: Likewise.
45826         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45827         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45829 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45831         [BZ #14336]
45832         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45833         system".
45834         * manual/message.texi (The Uniforum approach): Likewise.
45835         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45836         (glibc iconv Implementation): Likewise.
45838 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45840         [BZ #14337]
45841         * math/s_clog.c (__clog): Avoid scaling a value down where that
45842         could result in underflow.
45843         * math/s_clog10.c (__clog10): Likewise.
45844         * math/s_clog10f.c (__clog10f): Likewise.
45845         * math/s_clog10l.c (__clog10l): Likewise.
45846         * math/s_clogf.c (__clogf): Likewise.
45847         * math/s_clogl.c (__clogl): Likewise.
45848         * math/libm-test.inc (clog_test): Add more tests.
45849         (clog10_test): Likewise.
45850         * sysdeps/i386/fpu/libm-test-ulps: Update.
45851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45853 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45855         [BZ #14283]
45856         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45857         by 7 not 8 to examine high bit of fractional part.
45859         [BZ #14042]
45860         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45861         for call to __mcount_internal.
45862         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45863         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45864         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45866 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45868         [BZ #14154]
45869         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45870         approximation for values within 0x1p-13f of an odd multiple of
45871         pi/4.
45872         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45873         exception.  Add more tests.
45874         * sysdeps/i386/fpu/libm-test-ulps: Update.
45876         [BZ #6778]
45877         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45878         inputs and return -1 for them.  Do not check for +Inf in case not
45879         reachable for +Inf.
45880         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45881         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45882         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45883         and return -1 for them.  Do not check for +Inf in case not
45884         reachable for +Inf.
45885         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45886         define.
45887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45888         and return -1 for them.  Do not check for +Inf in case not
45889         reachable for +Inf.
45890         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45891         spurious underflow.
45892         * sysdeps/i386/fpu/libm-test-ulps: Update.
45893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45895 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45897         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45899 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45901         [BZ #14157]
45902         [BZ #14331]
45903         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45904         could result in spurious underflow.  Scale down values above
45905         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45906         * math/s_csqrtf.c (__csqrtf): Likewise.
45907         * math/s_csqrtl.c (__csqrtl): Likewise.
45908         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45909         spurious underflow.
45910         * sysdeps/i386/fpu/libm-test-ulps: Update.
45911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45913 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45915         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45916         xopen-msg.sed.
45917         * catgets/xopen-msg.awk: New file.
45918         * catgets/xopen-msg.sed: Removed.
45920         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45921         po2text.sed.
45922         * intl/po2test.awk: New file.
45923         * intl/po2test.sed: Removed.
45925 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45927         [BZ #14328]
45928         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45929         or multiply small sinh result by itself.
45930         * math/s_ctanf.c (__ctanf): Likewise.
45931         * math/s_ctanh.c (__ctanh): Likewise.
45932         * math/s_ctanhf.c (__ctanhf): Likewise.
45933         * math/s_ctanhl.c (__ctanhl): Likewise.
45934         * math/s_ctanl.c (__ctanl): Likewise.
45935         * math/libm-test.inc (ctan_test_tonearest): New function.
45936         (ctan_test_towardzero): Likewise.
45937         (ctan_test_downward): Likewise.
45938         (ctan_test_upward): Likewise.
45939         (ctanh_test_tonearest): Likewise.
45940         (ctanh_test_towardzero): Likewise.
45941         (ctanh_test_downward): Likewise.
45942         (ctanh_test_upward): Likewise.
45943         (main): Call these new functions.
45944         * sysdeps/i386/fpu/libm-test-ulps: Update.
45945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45947 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45949         * .gitignore: Delete /ports entry.
45951 2012-07-03  Andreas Jaeger  <aj@suse.de>
45953         * po/bg.po: Update from translation team.
45954         * po/cs.po: Likewise.
45955         * po/de.po: Likewise.
45956         * po/hr.po: Likewise.
45957         * po/nl.pl: Likewise.
45958         * po/pl.po: Likewise.
45959         * po/vi.po: Likewise.
45961 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45963         * Makeconfig [!+link] (+link-before-libc): New variable.
45964         [!+link] (+link-after-libc): Likewise.
45965         [!+link] (+link-tests): Likewise.
45966         [!+link] (+link): Define in terms of $(+link-before-libc) and
45967         $(+link-after-libc).
45968         [!+link-static] (+link-static-before-libc): New variable.
45969         [!+link-static] (+link-static-after-libc): Likewise.
45970         [!+link-static] (+link-static-tests): Likewise.
45971         [!+link-static] (+link-static): Define in terms of
45972         $(+link-static-before-libc) and $(+link-static-after-libc).
45973         [build-shared] (link-libc-before-gnulib): New variable.
45974         [build-shared] (link-libc-tests): Likewise.
45975         [build-shared] (link-libc): Define in terms of
45976         $(link-libc-before-gnulib).
45977         [!build-shared] (link-libc-tests): New variable.
45978         (link-libc-static-tests): New variable.
45979         [!gnulib] (gnulib-arch): New variable.
45980         [!gnulib] (gnulib-tests): Likewise.
45981         [!gnulib] (static-gnulib-arch): Likewise.
45982         [!gnulib] (static-gnulib-tests): Likewise.
45983         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45984         Define with "=" instead of ":=".
45985         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45986         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45987         * Rules (binaries-all-notests): New variable.
45988         (binaries-all-tests): Likewise.
45989         (binaries-static-notests): Likewise.
45990         (binaries-static-tests): Likewise.
45991         (binaries-all): Define using $(binaries-all-notests) and
45992         $(binaries-all-tests).
45993         (binaries-static): Define using $(binaries-static-notests) and
45994         $(binaries-static-tests).
45995         (binaries-shared-tests): New variable.
45996         (binaries-shared-notests): Likewise.
45997         (binaries-shared): Remove variable.
45998         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45999         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46000         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46001         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46002         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46003         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46004         * elf/Makefile (sln-modules): New variable.
46005         (extra-objs): Add $(sln-modules:=.o).
46006         (ldconfig-modules): Add static-stubs.
46007         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46008         * elf/static-stubs.c: New file.
46010         [BZ #14283]
46011         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46012         by 7 not 8 to examine high bit of fractional part.  Use volatile
46013         variables when splitting into final array of floats if
46014         __FLT_EVAL_METHOD__ != 0.
46015         * math/libm-test.inc (cos_test): Add another test.
46016         (sin_test): Likewise.
46017         * sysdeps/i386/fpu/libm-test-ulps: Update.
46019         [BZ #14273]
46020         * math/libm-test.inc (cosh_test): Add more tests.
46022         * version.h (RELEASE): Set to "development".
46023         (VERSION): Set to "2.16.90".
46025 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46027         * NEWS: Update copyright. Remove last-updated date.
46028         Mention math library bug fixes and timezone data changes.
46029         * README: Mention GNU/Hurd, x32, and HPPA support status.
46031 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46033         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46035 2012-06-27  Andreas Jaeger  <aj@suse.de>
46037         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46039 2012-06-25  Andreas Jaeger  <aj@suse.de>
46041         * sysdeps/s390/fpu/libm-test-ulps: Update.
46043 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46044             Thomas Schwinge  <thomas@codesourcery.com>
46046         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46047         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46049         fanotify_mark.
46051 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46053         * sysdeps/mach/start.c: Remove file.
46054         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46055         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46056         * sysdeps/sh/init-first.c: Likewise.
46058         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46059         registers for frame unwinding purposes, add CFI directives.
46060         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46061         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46062         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46063         Likewise.
46065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46066         __fortify_fail returning.
46067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46069         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46070         sysdeps/sh/____longjmp_chk.S.
46071         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46072         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46073         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46074         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46076         * sysdeps/sh/abort-instr.h: New file.
46077         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46078         process in case exit returns.
46080         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46081         initialize the GOT register before use.
46083         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46084         calculation of ARGC > 4.
46086         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46087         meaningful names to some local labels.
46089 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46090             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46092         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46093         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46094         (__arch_compare_and_exchange_val_16_acq): Likewise.
46095         (__arch_compare_and_exchange_val_32_acq): Likewise.
46096         (atomic_exchange_and_add): Fix gUSA sequence.
46097         (atomic_add): Likewise.
46098         (atomic_add_negative): Likewise.
46099         (atomic_add_zero): Likewise.
46100         (atomic_bit_test_set): Likewise.
46102 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46104         [BZ #13579]
46105         * include/link.h (struct link_map): Add l_free_initfini.
46106         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46107         l_initfini.
46108         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46109         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46110         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46111         set.
46113 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46115         * configure.in: Use AC_LANG_SOURCE.
46116         * configure: Regenerate.
46118 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46120         * configure.in (libc_cv_localstatedir): New substituted variable.
46121         * configure: Regenerated.
46122         * config.make.in (localstatedir): New variable, substituted from
46123         libc_cv_localstatedir.
46124         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46125         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46126         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46127         * sysdeps/gnu/configure: Regenerated.
46129 2012-06-21  Jeff Law  <law@redhat.com>
46131         [BZ #14277]
46132         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46133         free.  Simplify list management for _LIBC case.
46135 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46137         [BZ #14273]
46138         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46139         Clear sign bit of 64-bit integer value before comparing against
46140         overflow value.
46142         * sysdeps/mach/configure: Regenerated.
46144 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46146         [BZ #14278]
46147         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46149 2012-06-21  Jeff Law  <law@redhat.com>
46151         [BZ #13882]
46152         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46153         uint16_t for elements in the "seen" array to avoid char overflows.
46154         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46155         * elf/dl-open.c (dl_open_worker): Likewise.
46157 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46159         * scripts/list-sources.sh: Scan PORTS for translations.
46160         * po/libc.pot: Regenerated.
46162 2012-06-21  Andreas Jaeger  <aj@suse.de>
46164         [BZ #12194]
46165         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46166         warning.
46167         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46168         * bits/byteswap-16.h (__bswap_16): Likewise.
46169         * bits/byteswap.h (__bswap_constant_16): Likewise.
46171 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46173         [BZ #14117]
46174         * sysdeps/i386/fpu_control.h: Removed.
46175         * sysdeps/x86_64/fpu_control.h: Moved to ...
46176         * sysdeps/x86/fpu_control.h: Here.
46178         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46179         (_FPU_SETCW): Likewise.
46181 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46183         [BZ #14117]
46184         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46185         * sysdeps/x86/fpu/bits/mathinline.h: This.
46186         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46188         [BZ #14050]
46189         [BZ #14117]
46190         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46191         functions if __x86_64__ is defined.
46193 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46195         * string/endian.h: Add !__ASSEMBLER__ condition for including
46196         conversion interfaces.
46198 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46200         [BZ #14241]
46201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46202         of ABS(x) in calculating zero to negative powers other than odd
46203         integers.
46204         * math/libm-test.inc (pow_test): Add more tests.
46206 2012-06-15  Andreas Jaeger  <aj@suse.de>
46208         * manual/contrib.texi (Contributors): Update entry of Liubov
46209         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46210         Machado Filho.
46212 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46214         * string/string.h: Add __wur to GNU version of strerror_r.
46216 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46218         [BZ #14229]
46219         * string/Makefile (tests): Add tst-strtok_r.
46220         * string/tst-strtok_r.c: New file.
46221         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46222         RAX_LP/RDX_LP on SAVE_PTR.
46224 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46226         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46228 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46230         * libm_test.inc (csqrt_test): Allow more spurious underflow
46231         exceptions.
46232         (j0_test): Likewise.
46233         (j1_test): Likewise.
46234         (y0_test): Likewise.
46235         (y1_test): Likewise.
46237 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46239         * po/Makefile (libc.pot): Use UTF-8 charset.
46241 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46243         [BZ #14210]
46244         Suppress sign-conversion warning from FD_SET.
46245         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46246         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46247         not unsigned long int.
46248         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46250 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46252         [BZ #14050]
46253         [BZ #14117]
46254         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46255         __extern_always_inline instead of __extern_inline.
46256         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46257         (__signbit): Likewise.
46258         (__signbitl): Support C++ namespace.
46259         (lrintf): New inline function.
46260         (lrint): Likewise.
46261         (llrintf): Likewise.
46262         (llrint): Likewise.
46263         (fmaxf): Likewise.
46264         (fmax): Likewise.
46265         (fminf): Likewise.
46266         (fmin): Likewise.
46267         (rint): Likewise.
46268         (rintf): Likewise.
46269         (ceil): Likewise.
46270         (ceilf): Likewise.
46271         (floor): Likewise.
46272         (floorf): Likewise.
46273         (nearbyint): Likewise.
46274         (nearbyintf): Likewise.
46276 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46278         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46279         non-default versions.
46281 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46283         [BZ #14218]
46284         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46286 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46288         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46289         (FE_UPWARD, FE_DOWNWARD): Don't define.
46290         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46291         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46293         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46294         reading it.
46295         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46298 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46300         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46303         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46305 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46307         [BZ #14117]
46308         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46309         * sysdeps/i386/fpu/Implies: New file.
46310         * sysdeps/x86_64/fpu/Implies: Likewise.
46311         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46312         * sysdeps/x86/fpu/bits/fenv.h: This.
46314         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46315         __SSE_MATH__.
46317 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46319         [BZ #14134]
46320         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46321         character 0xffff that matches the last element of the
46322         conversion table.
46324 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46326         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46327         fmodl commit.
46329 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46332         values higher than 25.6283.
46334 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46336         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46337         subnormal exponent extraction and add some __builtin_expect.
46338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46339         Fix for subnormal mantissa calculation.
46341 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46343         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46344         cpu2 is -1 and errno is not ENOSYS.
46346 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46348         [BZ #14117]
46349         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46350         * sysdeps/x86/bits/string.h: This.
46351         * sysdeps/x86_64/bits/string.h: Removed.
46353         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46354         if not compiling for x86-64, but compiling for >= i486.
46356         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46357         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46359         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46360         New macro from Linux kernel 3.4.0.
46361         (FP_XSTATE_MAGIC2): Likewise.
46362         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46363         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46364         (struct _fpx_sw_bytes): New struct.
46365         (struct _xsave_hdr): Likewise.
46366         (struct _ymmh_state): Likewise.
46367         (struct _xstate): Likewise.
46369         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46370         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46371         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46372         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46373         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46374         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46376         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46377         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46378         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46379         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46380         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46381         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46383 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46385         [BZ #13743]
46386         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46387         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46388         (sysdep_headers): Include sys/platform/ppc.h.
46389         * sysdeps/powerpc/test-gettimebase.c: Test for
46390         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46391         * manual/Makefile (appendices): Include platform.texi.
46392         * manual/contrib.texi (Contributors): Update @node pointers.
46393         * manual/maint.texi (Maintenance): Likewise.
46394         (Platform): New node.
46395         * manual/platform.texi: New file.  Document the new features.
46397 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46398             Jakub Jelinek  <jakub@redhat.com>
46400         [BZ #14188]
46401         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46402         where __builtin_expect is unavailable.
46404 2012-06-03  David S. Miller  <davem@davemloft.net>
46406         * stdlib/longlong.h: Updated from GCC.
46408 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46410         [BZ #14042]
46411         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46412         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46413         __mcount_internal.
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46415         (GLIBC_2.16): Likewise.
46417 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46419         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46421 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46424         (default-abi): New variable.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46426         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46427         variable.
46428         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46429         Likewise.
46430         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46431         Likewise.
46432         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46433         Likewise.
46435         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46436         definition.  Document in comment.
46438 2012-06-01  David S. Miller  <davem@davemloft.net>
46440         * stdlib/longlong.h: Updated from GCC.
46442 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46444         [BZ #14117]
46445         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46446         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46447         sys/debugreg.h sys/io.h here.
46448         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46449         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46450         sys/io.h.
46451         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46452         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46453         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46454         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46455         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46456         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46458         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46459         Define only if __x86_64__ is defined.
46461 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46463         [BZ #14048]
46464         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46465         Use int64_t for variable i.
46466         * math/libm-test.inc (fmod_test): Add more tests.
46468         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46469         z computation is not scheduled after fetestexcept.
46470         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46471         Use math_force_eval instead of asm to ensure calculation scheduled
46472         before exception test.
46473         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46474         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46476 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46479         computation is not scheduled after fetestexcept.
46481 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46483         [BZ #14117]
46484         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46485         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46487 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46489         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46490         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46492 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46494         [BZ #14117]
46495         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46496         <bits/wordsize.h>.
46497         (__WCHAR_MIN): Support __WORDSIZE == 64.
46498         (__WCHAR_MAX): Likewise.
46500         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46503         [BZ #14183]
46504         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46505         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46507         [BZ #14117]
46508         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46509         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46511         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46512         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46514         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46515         Defined to 1 if __x86_64__ isn't defined.
46516         (_STAT_VER_LINUX_OLD): New.
46517         (st_atime): Remove duplicate.
46518         (st_mtime): Likewise.
46519         (st_ctime): Likewise.
46521 2012-05-31  David S. Miller  <davem@davemloft.net>
46523         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46524         entries.
46526 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46528         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46529         gen-libm-test.pl.
46531         [BZ #14132]
46532         * elf/dl-reloc.c: Include <_itoa.h>.
46533         (_dl_reloc_bad_type): Remove use of INTUSE.
46534         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46535         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46536         * stdio-common/psiginfo.c (psiginfo): Likewise.
46537         * stdio-common/psignal.c (psignal): Likewise.
46538         * string/strsignal.c (strsignal): Likewise.
46539         * include/signal.h (_sys_siglist): Declare hidden proto.
46540         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46541         INTVARDEF with libc_hidden_data_def.
46542         * stdio-common/itoa-udigits.c: Likewise.
46543         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46544         (_itoa_lower_digits_internal): Remove declaration.
46545         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46546         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46547         (_sys_sigabbrev_internal): Remove aliases.
46548         (_sys_siglist): Define hidden alias.
46550 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46553         bits/sysctl.h.
46555 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46557         [BZ #14117]
46558         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46559         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46561         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46562         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46563         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46564         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46566         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46568         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46569         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46570         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46572         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46573         with __addr.
46574         (insw): Likewise.
46575         (insl): Likewise.
46576         (outsb): Likewise.
46577         (outsw): Likewise.
46578         (outsl): Likewise.
46580         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46581         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46582         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46584         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46585         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46586         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46587         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46588         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46589         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46591         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46592         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46594         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46595         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46601         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46602         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46603         to ...
46604         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46606         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46607         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46608         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46610         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46611         for x86-64.
46612         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46614 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46616         * math/math.h (M_El): Use two more decimal places.
46617         (M_LOG2El): Likewise.
46618         (M_LOG10El): Likewise.
46619         (M_LN2l): Likewise.
46620         (M_LN10l): Likewise.
46621         (M_PIl): Likewise.
46622         (M_PI_2l): Likewise.
46623         (M_PI_4l): Likewise.
46624         (M_1_PIl): Likewise.
46625         (M_2_PIl): Likewise.
46626         (M_2_SQRTPIl): Likewise.
46627         (M_SQRT2l): Likewise.
46628         (M_SQRT1_2l): Likewise.
46630 2012-05-31  David S. Miller  <davem@davemloft.net>
46632         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46633         values between float registers.
46634         * sysdeps/sparc/sparc64/memset.S: Likewise.
46635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46637 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46639         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46640         -D_FORTIFY_SOURCE=1.
46641         (CPPFLAGS-tst-longjmp_chk.c): Define.
46642         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46643         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46644         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46645         CFLAGS-tst-wchar-h.c.
46647 2012-05-31  Marek Polacek  <polacek@redhat.com>
46649         [BZ #14132]
46650         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46651         __endmntent_internal): Remove declaration.
46652         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46653         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46654         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46656 2012-05-30  David S. Miller  <davem@davemloft.net>
46658         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46659         (___Q_simulate_exceptions): Use real FP ops rather than writing
46660         into the %fsr.
46661         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46662         Likewise.
46664 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46666         [BZ #14117]
46667         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46668         * sysdeps/x86/bits/xtitypes.h: This.
46670         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46671         * sysdeps/x86/bits/wordsize.h: This.
46673         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46674         * sysdeps/x86/bits/huge_vall.h: This.
46676         * sysdeps/i386/bits/select.h: Removed.
46677         * sysdeps/x86_64/bits/select.h: Renamed to ...
46678         * sysdeps/x86/bits/select.h: This.
46680         * sysdeps/i386/bits/setjmp.h: Removed.
46681         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46682         * sysdeps/x86/bits/setjmp.h: This.
46684         * sysdeps/i386/bits/mathdef.h: Removed.
46685         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46686         * sysdeps/x86/bits/mathdef.h: This.
46688 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46690         [BZ #14132]
46691         * include/sys/socket.h (__connect_internal)
46692         (__libc_sa_len_internal): Remove declaration.
46693         (__connect, __libc_sa_len): Declare hidden_proto.
46694         (SA_LEN): Remove use of INTUSE.
46695         * socket/connect.c: Add libc_hidden_def.
46696         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46697         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46698         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46699         alias.
46700         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46701         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46702         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46703         of adding _internal alias.
46705 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46707         [BZ #14117]
46708         * sysdeps/i386/bits/link.h: Removed.
46709         * sysdeps/i386/bits/linkmap.h: Likewise.
46710         * sysdeps/x86_64/bits/link.h: Renamed to ...
46711         * sysdeps/x86/bits/link.h: This.
46712         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46713         * sysdeps/x86/bits/linkmap.h: This.
46715         * sysdeps/i386/bits/endian.h: Removed.
46716         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46717         * sysdeps/x86/bits/endian.h: This.
46719         * sysdeps/i386/bits/byteswap.h: Removed.
46720         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46721         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46722         * sysdeps/x86/bits/byteswap.h: This.
46723         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46724         * sysdeps/x86/bits/byteswap-16.h: This.
46725         * sysdeps/i386/Implies: Add x86.
46726         * sysdeps/x86_64/Implies: Likewise.
46728 2012-05-30  David S. Miller  <davem@davemloft.net>
46730         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46731         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46732         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46733         (FP_TRAPPING_EXCEPTIONS): Define.
46734         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46735         (FP_TRAPPING_EXCEPTIONS): Define.
46736         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46737         subnormals only when inexact has been signalled or underflow
46738         exceptions are enabled.
46739         (_FP_PACK_CANONICAL): Likewise.
46741 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46743         [BZ #14183]
46744         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46745         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46747 2012-05-30  Richard Henderson  <rth@twiddle.net>
46749         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46750         with #ifndef NOT_IN_libc.
46752         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46753         marked to avoid plt entry.
46755 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46757         [BZ #14112]
46758         * Makeconfig (default-abi): New macro.
46759         (abi-includes): Likewise.
46760         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46761         $(abi-$(default-abi)-lib-soname) for soname if defined.
46762         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46763         abi-variants.
46764         * Makefile (installed-stubs): Likewise.
46765         * include/stubs-biarch.h: Removed.
46766         * scripts/lib-names.awk: Only handle one library at a time.
46767         * scripts/soversions.awk: Remove WORDSIZE support.
46768         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46769         entries.
46770         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46771         Removed.
46772         (syscall-list-default-condition): Likewise.
46773         (syscall-list-default-condition): Likewise.
46774         (syscall-list-includes): Likewise.
46775         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46776         syscall-list-* with abi-*.  Handle undefined abi-variants.
46777         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46778         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46779         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46780         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46781         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46782         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46783         Removed.
46784         (syscall-list-32-options): Likewise.
46785         (syscall-list-32-condition): Likewise.
46786         (syscall-list-64-options): Likewise.
46787         (syscall-list-64-condition): Likewise.
46788         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46789         macro.
46790         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46791         Renamed to ...
46792         (abi-*): This.
46793         (abi-64-ld-soname): New macro.
46794         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46795         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46796         Renamed to ...
46797         (abi-*): This.
46798         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46799         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46801 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46803         * sysdeps/unix/sysv/linux/kernel-features.h
46804         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46805         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46806         include <kernel-features.h>.
46807         [!__NR_ftruncate64]: Remove conditional code.
46808         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46809         [__NR_ftruncate64]: Make code unconditional.
46810         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46811         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46812         include <kernel-features.h>.
46813         [!__NR_ftruncate64]: Remove conditional code.
46814         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46815         [__NR_ftruncate64]: Make code unconditional.
46816         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46818         include <kernel-features.h>.
46819         [!__NR_ftruncate64]: Remove conditional code.
46820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46821         [__NR_ftruncate64]: Make code unconditional.
46822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46824         include <kernel-features.h>.
46825         [!__NR_ftruncate64]: Remove conditional code.
46826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46827         [__NR_ftruncate64]: Make code unconditional.
46828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46830         * configure.in (libc_cv_fpie): Weaken to a compile test using
46831         LIBC_TRY_CC_OPTION.
46832         * configure: Regenerated.
46834 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46840         Refreshed.
46841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46847         Refreshed.
46849 2012-05-27  David S. Miller  <davem@davemloft.net>
46851         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46852         (___Q_zero): New.
46853         (__Q_simulate_exceptions): Return void.  Change to simulate
46854         exceptions by writing into the %fsr.
46855         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46856         (__Qp_handle_exceptions): Likewise.
46857         (numbers): Delete.
46858         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46859         __Qp_handle_exceptions.
46860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46861         __Qp_handle_exceptions.
46862         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46863         as unused and give dummy FP_RND_NEAREST initializer.
46864         (FP_INHIBIT_RESULTS): Define.
46865         (___Q_simulate_exceptions): Update declaration.
46866         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46867         formatting.
46868         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46869         as unused and give dummy FP_RND_NEAREST initializer.
46870         (__Qp_handle_exceptions): Update declaration.
46871         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46872         formatting.
46874 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46876         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46877         the temporary FPU control word.
46878         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46879         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46880         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46881         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46882         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46883         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46884         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46885         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46886         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46887         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46888         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46890 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46892         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46893         fields.
46895 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46897         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46898         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46899         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46900         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46901         Likewise.
46902         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46903         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46904         Likewise.
46906 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46908         * po/h.po: Update from translation team.
46910 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46912         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46914         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46915         handling of denormals.
46916         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46917         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46918         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46919         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46923         Likewise.
46925 2012-05-26  Marek Polacek  <polacek@redhat.com>
46927         [BZ #14152]
46928         * math/libm-test.inc (fma_test): Don't always expect underflow
46929         exception.
46931 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         [BZ #12416]
46934         * elf/tst-execstack.c: Include stackinfo.h.
46935         (do_test): Adjust test case to ensure that pthread_getattr_np
46936         behaviour remains the same after marking stack executable.
46938 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46940         * sysdeps/unix/sysv/linux/kernel-features.h
46941         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46942         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46943         kernel-features.h.
46944         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46945         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46946         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46947         kernel-features.h.
46948         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46949         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46951 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46953         * configure.in: Define the default includes to being none.
46954         * configure: Regenerated.
46956 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46958         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46959         * sysdeps/x86_64/setjmp.S: Likewise.
46960         * sysdeps/i386/bsd-setjmp.S: Likewise.
46961         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46962         * sysdeps/i386/setjmp.S: Likewise.
46963         * sysdeps/i386/__longjmp.S: Likewise.
46964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46965         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46967         * include/stap-probe.h: New file.
46968         * configure.in: Handle --enable-systemtap.
46969         * configure: Regenerated.
46970         * config.h.in (USE_STAP_PROBE): New #undef.
46971         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46972         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46973         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46977         [BZ #13717]
46978         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46979         to 2.4.0 where earlier.
46980         * sysdeps/unix/sysv/linux/configure: Regenerated.
46981         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
46990         [__ASSUME_32BITUIDS]: Make code unconditional.
46991         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46992         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46993         <kernel-features.h>.
46994         [__ASSUME_32BITUIDS]: Make code unconditional.
46995         [!__ASSUME_32BITUIDS]: Remove conditional code.
46996         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46997         <kernel-features.h>.
46998         [__ASSUME_32BITUIDS]: Make code unconditional.
46999         [!__ASSUME_32BITUIDS]: Remove conditional code.
47000         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47001         <kernel-features.h>.
47002         [__ASSUME_32BITUIDS]: Make code unconditional.
47003         [!__ASSUME_32BITUIDS]: Remove conditional code.
47004         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47005         <kernel-features.h>.
47006         [__ASSUME_32BITUIDS]: Make code unconditional.
47007         [!__ASSUME_32BITUIDS]: Remove conditional code.
47008         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47009         <kernel-features.h>.
47010         [__ASSUME_32BITUIDS]: Make code unconditional.
47011         [!__ASSUME_32BITUIDS]: Remove conditional code.
47012         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47013         <kernel-features.h>.
47014         [__ASSUME_32BITUIDS]: Make code unconditional.
47015         [!__ASSUME_32BITUIDS]: Remove conditional code.
47016         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47017         <kernel-features.h>.
47018         [__ASSUME_32BITUIDS]: Make code unconditional.
47019         [!__ASSUME_32BITUIDS]: Remove conditional code.
47020         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47021         <kernel-features.h>.
47022         [__ASSUME_32BITUIDS]: Make code unconditional.
47023         [!__ASSUME_32BITUIDS]: Remove conditional code.
47024         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47025         <kernel-features.h>.
47026         [__ASSUME_32BITUIDS]: Make code unconditional.
47027         [!__ASSUME_32BITUIDS]: Remove conditional code.
47028         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47029         <kernel-features.h>.
47030         [__ASSUME_32BITUIDS]: Make code unconditional.
47031         [!__ASSUME_32BITUIDS]: Remove conditional code.
47032         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47033         <kernel-features.h>.
47034         [__NR_setresgid] (__setresgid): Do not declare.
47035         [__ASSUME_32BITUIDS]: Make code unconditional.
47036         [!__ASSUME_32BITUIDS]: Remove conditional code.
47037         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47038         <kernel-features.h>.
47039         [__NR_setresuid] (__setresuid): Do not declare.
47040         [__ASSUME_32BITUIDS]: Make code unconditional.
47041         [!__ASSUME_32BITUIDS]: Remove conditional code.
47042         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47043         <kernel-features.h>.
47044         [__ASSUME_32BITUIDS]: Make code unconditional.
47045         [!__ASSUME_32BITUIDS]: Remove conditional code.
47046         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47047         <kernel-features.h>.
47048         [__ASSUME_32BITUIDS]: Make code unconditional.
47049         [!__ASSUME_32BITUIDS]: Remove conditional code.
47050         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47051         <kernel-features.h>.
47052         [__ASSUME_32BITUIDS]: Make code unconditional.
47053         [!__ASSUME_32BITUIDS]: Remove conditional code.
47054         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47055         <kernel-features.h>.
47056         [__ASSUME_32BITUIDS]: Make code unconditional.
47057         [!__ASSUME_32BITUIDS]: Remove conditional code.
47058         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47059         <kernel-features.h>.
47060         [__ASSUME_32BITUIDS]: Make code unconditional.
47061         [!__ASSUME_32BITUIDS]: Remove conditional code.
47062         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47063         <kernel-features.h>.
47064         [__ASSUME_32BITUIDS]: Make code unconditional.
47065         [!__ASSUME_32BITUIDS]: Remove conditional code.
47066         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47067         <kernel-features.h>.
47068         [__ASSUME_32BITUIDS]: Make code unconditional.
47069         [!__ASSUME_32BITUIDS]: Remove conditional code.
47070         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47071         <kernel-features.h>.
47072         [__ASSUME_32BITUIDS]: Make code unconditional.
47073         [!__ASSUME_32BITUIDS]: Remove conditional code.
47074         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47075         <kernel-features.h>.
47076         [__ASSUME_32BITUIDS]: Make code unconditional.
47077         [!__ASSUME_32BITUIDS]: Remove conditional code.
47078         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47079         <kernel-features.h>.
47080         [__ASSUME_32BITUIDS]: Make code unconditional.
47081         [!__ASSUME_32BITUIDS]: Remove conditional code.
47082         * sysdeps/unix/sysv/linux/kernel-features.h
47083         (__ASSUME_SETRESUID_SYSCALL): Remove.
47084         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47085         (__ASSUME_32BITUIDS): Likewise.
47086         (__ASSUME_LDT_WORKS): Likewise.
47087         (__ASSUME_O_DIRECTORY): Likewise.
47088         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47089         architecture but not kernel version.
47090         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47091         (__ASSUME_MMAP2_SYSCALL): Likewise.
47092         (__ASSUME_STAT64_SYSCALL): Likewise.
47093         (__ASSUME_IPC64): Likewise.
47094         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47095         <kernel-features.h>.
47096         [__ASSUME_32BITUIDS]: Make code unconditional.
47097         [!__ASSUME_32BITUIDS]: Remove conditional code.
47098         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47099         <kernel-features.h>.
47100         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47101         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47102         132096]: Remove conditional code.
47103         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47104         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47105         <kernel-features.h>.
47106         [__ASSUME_32BITUIDS]: Make code unconditional.
47107         [!__ASSUME_32BITUIDS]: Remove conditional code.
47108         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47109         <kernel-features.h>.
47110         [__ASSUME_32BITUIDS]: Make code unconditional.
47111         [!__ASSUME_32BITUIDS]: Remove conditional code.
47112         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47113         <kernel-features.h>.
47114         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47115         unconditional.
47116         (__setresgid): Do not declare.
47117         [__ASSUME_32BITUIDS]: Make code unconditional.
47118         [!__ASSUME_32BITUIDS]: Remove conditional code.
47119         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47120         <kernel-features.h>.
47121         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47122         unconditional.
47123         (__setresuid): Do not declare.
47124         [__ASSUME_32BITUIDS]: Make code unconditional.
47125         [!__ASSUME_32BITUIDS]: Remove conditional code.
47126         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47127         <kernel-features.h>.
47128         [__ASSUME_32BITUIDS]: Make code unconditional.
47129         [!__ASSUME_32BITUIDS]: Remove conditional code.
47130         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47131         <kernel-features.h>.
47132         [__ASSUME_32BITUIDS]: Make code unconditional.
47133         [!__ASSUME_32BITUIDS]: Remove conditional code.
47135 2012-05-25  Richard Henderson  <rth@twiddle.net>
47137         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47138         dl_hwcap to ifunc resolver.
47139         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47140         elf_ifunc_invoke.
47141         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47142         dl_hwcap to ifunc resolver.
47143         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47145 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47147         [BZ #14153]
47148         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47149         for |x| <= 2**-26, not 2**-57.
47150         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47151         exception.
47153 2012-05-24  Jeff Law  <law@redhat.com>
47155         * stdio-common/Makefile (tests): Add bug25.
47156         * stdio-common/bug25.c: New test.
47158 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47160         [BZ #13576]
47161         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47162         multiple of MALLOC_ALIGNMENT in size.
47163         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47165 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47167         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47168         Require >= 256.
47169         (FILENAME_MAX): Use macro-int-constant.
47170         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47171         (_IOFBF): Use macro-int-constant.
47172         (_IOLBF): Likewise.
47173         (_IONBF): Likewise.
47174         (SEEK_CUR): Likewise.
47175         (SEEK_END): Likewise.
47176         (SEEK_SET): Likewise.
47177         (TMP_MAX): Likewise.
47178         (EOF): Use macro-int-constant.  Require < 0.
47179         (NULL): Use macro-constant.  Require == 0.
47180         (stdin): Require type to be FILE *.
47181         (stdout): Likewise.
47182         (stderr): Likewise.
47183         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47184         macro-int-constant.
47185         (EXIT_SUCCESS): Likewise.
47186         (NULL): Use macro-constant.  Require == 0.
47187         (RAND_MAX): Use macro-int-constant.
47188         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47189         [C99-based standards] (strtof): Require function.
47190         [C99-based standards] (strtold): Likewise.
47191         [C99-based standards] (strtoll): Likewise.
47192         [C99-based standards] (strtoull): Likewise.
47193         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47194         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47195         [ISO || ISO99 || ISO11] (math.h): Likewise.
47196         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47197         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47200 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47202         [BZ #14132]
47203         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47204         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47205         * intl/dgettext.c (DCGETTEXT): Likewise.
47206         * intl/gettext.c (DCGETTEXT): Likewise.
47207         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47208         * posix/regex_internal.h (gettext): Likewise.
47209         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47210         Remove declaration.
47211         * include/argz.h (__argz_count_internal)
47212         (__argz_stringify_internal): Remove declaration.
47213         (__argz_count, __argz_stringify): Declare hidden proto.
47214         * intl/dcgettext.c: Remove use of INTDEF.
47215         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47216         * string/argz-stringify.c: Likewise.
47217         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47218         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47219         Declare hidden proto.
47220         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47221         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47222         Declare hidden proto.
47223         * include/stdio.h (__asprintf_internal): Don't declare.
47224         (__asprintf): Don't define as macro.  Declare hidden proto.
47225         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47226         (__fsetlocking): Declare hidden proto.
47227         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47228         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47229         hidden proto.
47230         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47231         (_IO_setlinebuf): Remove use of INTUSE.
47232         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47233         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47234         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47235         Remove declaration.
47236         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47237         (_IO_do_flush): Remove use of INTUSE.
47238         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47239         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47240         (_IO_adjust_column, _IO_least_wmarker)
47241         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47242         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47243         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47244         (_IO_default_doallocate, _IO_wdefault_doallocate)
47245         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47246         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47247         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47248         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47249         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47250         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47251         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47252         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47253         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47254         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47255         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47256         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47257         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47258         proto.
47259         (_IO_flush_all_internal, _IO_adjust_column_internal)
47260         (_IO_default_uflow_internal, _IO_default_finish_internal)
47261         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47262         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47263         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47264         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47265         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47266         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47267         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47268         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47269         (_IO_file_close_internal, _IO_file_close_it_internal)
47270         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47271         (_IO_file_init_internal, _IO_file_attach_internal)
47272         (_IO_file_fopen_internal, _IO_file_read_internal)
47273         (_IO_file_sync_internal, _IO_file_seek_internal)
47274         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47275         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47276         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47277         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47278         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47279         (_IO_list_all_internal, _IO_link_in_internal)
47280         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47281         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47282         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47283         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47284         (_IO_do_write_internal, _IO_padn_internal)
47285         (_IO_getline_info_internal, _IO_getline_internal)
47286         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47287         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47288         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47289         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47290         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47291         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47292         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47293         with libc_hidden_ver, remove use of INTUSE.
47294         * libio/genops.c: Likewise.
47295         * libio/freopen.c: Likewise.
47296         * libio/freopen64.c: Likewise.
47297         * libio/iofclose.c: Likewise.
47298         * libio/iofdopen.c: Likewise.
47299         * libio/iofflush.c: Likewise.
47300         * libio/iofflush_u.c: Likewise.
47301         * libio/iofgets.c: Likewise.
47302         * libio/iofgets_u.c: Likewise.
47303         * libio/iofopen.c: Likewise.
47304         * libio/iofopncook.c: Likewise.
47305         * libio/iofread.c: Likewise.
47306         * libio/iofread_u.c: Likewise.
47307         * libio/ioftell.c: Likewise.
47308         * libio/iofwrite.c: Likewise.
47309         * libio/iogetline.c: Likewise.
47310         * libio/iogets.c: Likewise.
47311         * libio/iogetwline.c: Likewise.
47312         * libio/iopadn.c: Likewise.
47313         * libio/iopopen.c: Likewise.
47314         * libio/ioseekoff.c: Likewise.
47315         * libio/ioseekpos.c: Likewise.
47316         * libio/iosetbuffer.c: Likewise.
47317         * libio/iosetvbuf.c: Likewise.
47318         * libio/ioungetc.c: Likewise.
47319         * libio/ioungetwc.c: Likewise.
47320         * libio/iovdprintf.c: Likewise.
47321         * libio/iovsprintf.c: Likewise.
47322         * libio/iovsscanf.c: Likewise.
47323         * libio/memstream.c: Likewise.
47324         * libio/obprintf.c: Likewise.
47325         * libio/oldfileops.c: Likewise.
47326         * libio/oldiofclose.c: Likewise.
47327         * libio/oldiofdopen.c: Likewise.
47328         * libio/oldiofopen.c: Likewise.
47329         * libio/oldiopopen.c: Likewise.
47330         * libio/oldstdfiles.c: Likewise.
47331         * libio/putc.c: Likewise.
47332         * libio/setbuf.c: Likewise.
47333         * libio/setlinebuf.c: Likewise.
47334         * libio/stdfiles.c: Likewise.
47335         * libio/strops.c: Likewise.
47336         * libio/vasprintf.c: Likewise.
47337         * libio/vscanf.c: Likewise.
47338         * libio/vsnprintf.c: Likewise.
47339         * libio/vswprintf.c: Likewise.
47340         * libio/wfiledoalloc.c: Likewise.
47341         * libio/wfileops.c: Likewise.
47342         * libio/wgenops.c: Likewise.
47343         * libio/wmemstream.c: Likewise.
47344         * libio/wstrops.c: Likewise.
47345         * libio/__fpurge.c: Likewise.
47346         * libio/__fsetlocking.c: Likewise.
47347         * assert/assert.c: Likewise.
47348         * debug/fgets_chk.c: Likewise.
47349         * debug/fgets_u_chk.c: Likewise.
47350         * debug/fread_chk.c: Likewise.
47351         * debug/fread_u_chk.c: Likewise.
47352         * debug/gets_chk.c: Likewise.
47353         * debug/obprintf_chk.c: Likewise.
47354         * debug/vasprintf_chk.c: Likewise.
47355         * debug/vdprintf_chk.c: Likewise.
47356         * debug/vsnprintf_chk.c: Likewise.
47357         * debug/vsprintf_chk.c: Likewise.
47358         * malloc/mtrace.c: Likewise.
47359         * misc/error.c: Likewise.
47360         * misc/syslog.c: Likewise.
47361         * stdio-common/asprintf.c: Likewise.
47362         * stdio-common/fxprintf.c: Likewise.
47363         * stdio-common/getw.c: Likewise.
47364         * stdio-common/isoc99_fscanf.c: Likewise.
47365         * stdio-common/isoc99_scanf.c: Likewise.
47366         * stdio-common/isoc99_vfscanf.c: Likewise.
47367         * stdio-common/isoc99_vscanf.c: Likewise.
47368         * stdio-common/isoc99_vsscanf.c: Likewise.
47369         * stdio-common/printf-prs.c: Likewise.
47370         * stdio-common/printf_fp.c: Likewise.
47371         * stdio-common/printf_fphex.c: Likewise.
47372         * stdio-common/printf_size.c: Likewise.
47373         * stdio-common/putw.c: Likewise.
47374         * stdio-common/scanf.c: Likewise.
47375         * stdio-common/sprintf.c: Likewise.
47376         * stdio-common/tmpfile.c: Likewise.
47377         * stdio-common/vfprintf.c: Likewise.
47378         * stdio-common/vfscanf.c: Likewise.
47379         * stdlib/strfmon_l.c: Likewise.
47380         * sunrpc/openchild.c: Likewise.
47381         * sunrpc/xdr_stdio.c: Likewise.
47382         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47383         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47385 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47387         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47389         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47390         in the third column, to generate for the shared library an IFUNC
47391         that uses _dl_vdso_vsym.
47392         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47393         * Makeconfig (object-suffixes-noshared): New variable.
47395         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47396         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47397         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47398         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47400         [BZ #14132]
47401         * include/sys/time.h (__gettimeofday): Remove macro.
47402         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47403         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47404         Remove INTDEF.
47405         (__gettimeofday): Add libc_hidden_def.
47406         (gettimeofday): Add libc_hidden_weak.
47407         * sysdeps/mach/gettimeofday.c: Likewise.
47408         * sysdeps/posix/gettimeofday.c: Likewise.
47409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47410         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47412         (__gettimeofday_internal): Remove strong_alias.
47413         (__gettimeofday): Add libc_hidden_def.
47414         (gettimeofday): Add libc_hidden_weak.
47415         * sysdeps/unix/syscalls.list (gettimeofday):
47416         Remove __gettimeofday_internal alias.
47418 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47419             H.J. Lu  <hongjiu.lu@intel.com>
47421         [BZ #12495]
47422         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47423         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47424         (largebin_index_32_big): New.
47425         (largebin_index): Use it for 16-byte alignment.
47426         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47427         correction with front_misalign.
47429 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47433         Likewise.
47434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47435         Likewise.
47436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47437         Likewise.
47438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47439         Likewise.
47440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47441         Likewise.
47442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47443         Likewise.
47444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47445         Likewise.
47446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47447         Likewise.
47448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47449         Likewise.
47450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47451         Likewise.
47452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47453         Likewise.
47454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47455         Likewise.
47457         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47458         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47460 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47462         [BZ #10846]
47463         [BZ #14036]
47464         * math/libm-test.inc (exp_test): Add test from bug 14036.
47465         (pow_test): Add test from bug 10846.
47467         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47468         and other flags.
47469         (special_function): Do not include flags in test name.
47470         (parse_args): Likewise.
47471         * sysdeps/i386/fpu/libm-test-ulps: Update.
47472         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47473         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47474         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47477         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47478         exceptions.
47479         * math/libm-test.inc ("Philosophy"): Update comment about
47480         exception testing.
47481         (UNDERFLOW_EXCEPTION): New macro.
47482         (UNDERFLOW_EXCEPTION_OK): Likewise.
47483         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47484         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47485         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47486         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47487         (INVALID_EXCEPTION_OK): Update value.
47488         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47489         (OVERFLOW_EXCEPTION_OK): Likewise.
47490         (IGNORE_ZERO_INF_SIGN): Likewise.
47491         (test_exceptions): Handle underflow exceptions.
47492         (acos_test): Update for underflow exception expectations.
47493         (cexp_test): Likewise.
47494         (clog_test): Likewise.
47495         (clog10_test): Likewise.
47496         (csqrt_test): Likewise.
47497         (ctan_test): Likewise.
47498         (ctanh_test): Likewise.
47499         (exp_test): Likewise.
47500         (exp10_test): Likewise.
47501         (exp2_test): Likewise.
47502         (expm1_test): Likewise.
47503         (fma_test): Likewise.
47504         (j0_test): Likewise.
47505         (jn_test): Likewise.
47506         (nexttoward_test): Likewise.
47507         (pow_test): Likewise.
47508         (scalbn_test): Likewise.
47509         (scalbln_test): Likewise.
47510         (tan_test): Likewise.
47511         (y1_test): Likewise.
47512         * sysdeps/i386/fpu/libm-test-ulps: Update.
47513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47515 2012-05-23  David S. Miller  <davem@davemloft.net>
47517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47518         (__libc_sigaction): Remove unused local variables.
47520 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47522         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47524 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47526         mktime: avoid signed integer overflow
47527         * time/mktime.c (__mktime_internal): Do not mishandle the case
47528         where diff == INT_MIN.
47530         mktime: simplify computation of average
47531         * time/mktime.c (ranged_convert): Use new time_t_avg function
47532         instead of rolling our own (probably-slower) code.
47534         mktime: do not assume signed right shift propagates sign bit
47535         * time/mktime.c (isdst_differ): New static function.
47536         (__mktime_internal): No need to normalize tm_isdst now.
47537         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47538         tm_isdst values.
47540         mktime: merge another wrapv change from gnulib
47541         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47542         from some compilers.
47544         mktime: remove incorrect attempt at unusual arithmetics
47545         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47546         The code didn't really work on such machines anyway.
47547         (TYPE_MINIMUM): Assume two's complement.
47548         (twos_complement_arithmetic): Verify that long_int and time_t
47549         are two's complement (or unsigned, in the latter case).
47551         mktime: check signed shifts on long_int and time_t, too
47552         * time/mktime.c (SHR): Check that shifts work as desired
47553         on the types long_int and time_t too, as SHR is used on
47554         such types.
47556         mktime: do not assume 'long' is wide enough
47557         * time/mktime.c (verify): Move decl up.
47558         (long_int): New type.
47559         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47560         to remove assumption in the code that 'long' is wide enough to
47561         store year values.  This assumption is not true on x32 and on
47562         some non-glibc platforms.
47564         mktime: merge wrapv change from gnulib
47565         * time/mktime.c (WRAPV): New macro.
47566         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47567         (guess_time_tm, __mktime_internal): Do not assume that signed
47568         integer overflow wraps around; modern compilers generate code
47569         where this assumption is no longer valid.
47571 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47573         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47574         Replace "jmp L(pseudo_end)" with "ret".
47575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47576         Likewise.
47578 2012-05-23  Andreas Jaeger  <aj@suse.de>
47580         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47581         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47583 2012-05-23  Andreas Jaeger  <aj@suse.de>
47584             Maximilian Attems  <max@stro.at>
47586         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47587         New macros.
47589 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47591         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47592         code so that pseudo_end is just ret and the stack pointer is
47593         correct also for static library in error case.
47595 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47597         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47598         move to syscalls.list.
47599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47604         * manual/install.texi (Running make install): Do not mention Linux
47605         kernel version for which pt_chown is not needed.
47606         (Linux): Do not mention problems with nscd with 2.0 kernels.
47607         * INSTALL: Regenerated.
47609 2012-05-23  Andreas Jaeger  <aj@suse.de>
47611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47612         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47613         macro.
47614         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47615         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47616         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47618         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47622         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47624         * sysdeps/unix/sysv/linux/bits/in.h
47625         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47627 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47629         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47630         (PREPARE_VERSION): Just use assert instead, it will be elided
47631         under [NDEBUG] anyway.
47633 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47635         * sysdeps/unix/sysv/linux/Makefile: Include
47636         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47637         (sysdep_routines): Remove sysctl.
47638         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47639         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47640         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47641         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47642         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47644 2012-05-22  Andreas Jaeger  <aj@suse.de>
47646         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47647         that pseudo_end is just ret and the stack pointer is correct also
47648         for static library in error case.
47650 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47652         [BZ #14122]
47653         * nss/nsswitch.c (defconfig_entries): New variable.
47654         (__nss_database_lookup): Don't leak defconfig entries.
47655         (nss_parse_service_list): Don't leak on error paths.
47656         (free_database_entries): New function.
47657         (free_defconfig): New function.
47658         (free_mem): Move common code to free_database_entries.
47660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47662         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47663         Add arch_prctl.
47664         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47667         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47669         New macro.
47670         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47671         (INTERNAL_SYSCALL_TYPES): Likewise.
47672         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47673         (LOAD_REGS_TYPES_[1-6]): Likewise.
47674         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47675         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47677 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47680         copysignl for GLIBC_2_0.
47681         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47682         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47684         logbl for GLIBC_2_0.
47685         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47686         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47688 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47690         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47691         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47693         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47694         Use "neg %eax".
47696         * time/mktime.c: Update copyright years.
47698 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47700         mktime: merge comment-quoting-style change from gnulib
47701         * time/mktime.c: Quote 'like this' in comments.
47702         The GNU coding standards suggest that we no longer quote `like this',
47703         as "`" and "'" are typically rendered asymmetrically nowadays.
47704         The typical gnulib style is to quote 'like this' when quoting
47705         code, and "like this" when quoting English.
47707         * time/mktime.c (compile-command): Add "-I.".
47709         mktime: merge mktime-internal.h change from gnulib
47710         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47712         mktime: merge time_r change from gnulib
47713         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47715         mktime: merge DEBUG change from gnulib
47716         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47717         case system <time.h> has a #define.
47719         mktime: merge <sys/types.h> change from gnulib
47720         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47721         since <time.t> is now guaranteed to define time_t.
47723         mktime: merge HAVE_CONFIG_H change from gnulib
47724         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47726 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47729         Use "neg %eax".
47731         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47732         __rlim_t cast.
47733         (struct rusage): Use anonymous union to pad each field to
47734         __syscall_slong_t.
47736 2012-05-21  David S. Miller  <davem@davemloft.net>
47738         * Makefules (o-iterator): Remove .s cases.
47739         (compile-command.s): Delete.
47740         (COMPILE.s): Delete.
47741         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47743 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47745         * configure.in (libc_cv_predef_stack_protector): Only consider
47746         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47747         * configure: Regenerated.
47749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47752         New macro.  Use R*LP on int and pointer.
47753         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47754         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47755         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47756         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47758         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47759         [__WORDSIZE_TIME64_COMPAT32] instead of
47760         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47761         (struct utmp): Likewise.
47762         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47763         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47764         Renamed to ...
47765         (__WORDSIZE_TIME64_COMPAT32): This.
47766         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47767         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47768         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47769         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47770         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47771         (__WORDSIZE_TIME64_COMPAT32): New macro.
47773 2012-05-21  Andreas Jaeger  <aj@suse.de>
47775         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47776         only if [SHARED]. Add prototype for __wcschr_ia32.
47778 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47780         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47781         of %rbp unmolested in the jmp_buf while mangling the low bits.
47782         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47783         unmolested high bits of %rbp while demangling the low bits.
47784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47786 2012-05-21  Andreas Jaeger  <aj@suse.de>
47788         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47789         * sunrpc/svc_simple.c: Use it for registerrpc.
47790         * sunrpc/xcrypt.c: Use it for passwd2des.
47792         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47794 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47796         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47797         Don't define if [__SYSCALL_WORDSIZE != 32].
47798         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47799         New macro.
47801 2012-05-21  Bruno Haible  <bruno@clisp.org>
47802             Andreas Jaeger  <aj@suse.de>
47804         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47805         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47806         inptr and inend for must_buffer_ch.
47807         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47808         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47809         * stdio-common/Makefile (tests): Remove bug15.
47810         (bug15-ENV): Remove macro.
47811         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47812         anymore.
47814 2012-05-19  Andreas Jaeger  <aj@suse.de>
47815             Roland McGrath  <roland@hack.frob.com>
47817         * manual/contrib.texi: Completely rewritten. It contains now an
47818         alphabetical list of contributors and their contributions.
47820 2012-05-21  Richard Henderson  <rth@twiddle.net>
47822         * misc/getauxval.c (__getauxval): Use unsigned long int.
47823         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47824         (getauxval): Use unsigned long int.
47826 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47828         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47830 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47832         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47833         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47834         __alignof__ (long double).
47836 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47840 2012-05-20  Richard Henderson  <rth@twiddle.net>
47842         * misc/getauxval.c: New file.
47843         * misc/sys/auxv.h: New file.
47844         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47845         (routines): Add getauxval.
47846         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47848         * elf/dl-sysdep.c (_dl_auxv): Remove.
47849         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47850         * elf/dl-support.c (_dl_auxv): New variable.
47851         (_dl_aux_init): Initialize it.
47852         * manual/startup.texi (Auxiliary Vector): New node.
47853         * sysdeps/generic/bits/hwcap.h: New file.
47854         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47855         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47856         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47857         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47858         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47861         Update.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47871 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47875 2012-05-19  David S. Miller  <davem@davemloft.net>
47877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47879 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47881         [BZ #14123]
47882         * math/s_ccosh.c: Include <float.h>
47883         (__ccosh): Avoid internal overflow calculating sinh and cosh
47884         values before multiplying by sin and cos values.
47885         * math/s_ccoshf.c: Likewise.
47886         * math/s_ccoshl.c: Likewise.
47887         * math/s_csin.c: Likewise.
47888         * math/s_csinf.c: Likewise.
47889         * math/s_csinl.c: Likewise.
47890         * math/s_csinh.c: Likewise.
47891         * math/s_csinhf.c: Likewise.
47892         * math/s_csinhl.c: Likewise.
47893         * math/libm-test.inc (ccos_test): Add more tests.
47894         (ccosh_test): Likewise.
47895         (csin_test): Likewise.
47896         (csinh_test): Likewise.
47897         * sysdeps/i386/fpu/libm-test-ulps: Update.
47898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47900 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47902         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47903         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47905         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47907 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47909         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47910         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47911         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47912         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47913         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47914         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47915         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47916         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47917         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47918         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47919         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47920         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47921         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47922         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47923         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47924         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47925         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47926         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47927         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47928         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47929         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47930         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47931         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47932         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47933         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47934         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47935         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47936         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47937         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47938         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47939         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47941 2012-05-18  Andreas Jaeger  <aj@suse.de>
47943         * csu/.gitignore: Delete.
47945 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47947         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47948         (timex): Use __syscall_slong_t.
47950 2012-05-18  Andreas Jaeger  <aj@suse.de>
47951             Carlos O'Donell  <carlos_odonell@mentor.com>
47953         * manual/install.texi (Configuring and compiling): Update
47954         description about files modified in the source directory.
47955         * INSTALL: Regenerated.
47957 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47959         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47960         value.  Use "or" to set return value to -1.
47961         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47962         negate return value.
47964 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47966         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47967         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47968         failure if the compiler has Graphite support disabled.
47969         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47970         Likewise.
47971         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47972         (CFLAGS-memmove.c): Likewise.
47973         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47974         Likewise.
47976 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47978         * sysdeps/x86_64/x32/_itoa.h: New file.
47980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47981         getdents system call only if kernel and user dirents have the
47982         same d_ino and d_off.
47984         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47985         LLONG_MAX != LONG_MAX.
47986         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47987         (_fitoa_word): Likewise.
47989         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47990         years.
47991         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47992         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47993         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47995         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47996         include <bits/wordsize.h>.  Check __x86_64__ instead of
47997         __WORDSIZE.
47998         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47999         if __x86_64__ is defined.  Use anonymous union on fpstate.
48001         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48002         anonymous union.
48004 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48006         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48007         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48008         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48009         Refer to _rtld_local_ro instead of _rtld_global_ro.
48010         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48011         Likewise.
48012         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48013         Likewise.
48014         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48015         Likewise.
48016         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48017         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48018         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48020         * sysdeps/powerpc/powerpc32/dl-machine.c
48021         (__elf_machine_runtime_setup) [PROF]: Don't reference
48022         _dl_prof_resolve.
48024 2012-05-18  Andreas Jaeger  <aj@suse.de>
48026         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48027         function only available for GCCs before 3.4 since GCC 3.4
48028         introduced a builtin.
48029         (lrint): Likewise.
48030         (llrintf): Likewise.
48031         (llrint): Likewise.
48032         (fmaxf): Likewise.
48033         (fmax): Likewise.
48034         (fminf): Likewise.
48035         (fmin): Likewise.
48036         (rint): Likewise.
48037         (rintf): Likewise.
48038         (nearbyint): Likewise.
48039         (nearbyintf): Likewise.
48040         (ceil): Likewise.
48041         (ceilf): Likewise.
48042         (floor): Likewise.
48043         (floorf): Likewise.
48045 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48047         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48048         on both fields and cast pointer to __syscall_ulong_t.
48050         * bits/types.h (__fsword_t): New type.
48051         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48052         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48054         (__FSWORD_T_TYPE): Likewise.
48055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48056         (__FSWORD_T_TYPE): Likewise.
48057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48058         (__FSWORD_T_TYPE): Likewise.
48059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48060         (__FSWORD_T_TYPE): Likewise.
48061         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48062         __SWORD_TYPE with __fsword_t.
48063         (statfs64): Likewise.
48065 2012-05-17  David S. Miller  <davem@davemloft.net>
48067         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48069 2012-05-17  Andreas Jaeger  <aj@suse.de>
48071         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48072         warning.
48074 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48076         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48078 2012-05-17  Andreas Jaeger  <aj@suse.de>
48080         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48081         when it is used.
48083 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48085         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48087 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48089         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48090         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48092 2012-05-17  Andreas Jaeger  <aj@suse.de>
48093             Carlos O'Donell  <carlos_odonell@mentor.com>
48095         [BZ #14059]
48096         * sysdeps/x86_64/multiarch/init-arch.h
48097         (bit_YMM_Usable): Rename to...
48098         (bit_AVX_Usable): ... this.
48099         (bit_FMA4_Usable): New macro.
48100         (bit_XMM_state): New macro.
48101         (bit_YMM_state): New macro.
48102         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48103         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48104         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48105         (CPUID_OSXSAVE): New macro.
48106         (CPUID_AVX): New macro.
48107         (CPUID_FMA4): New macro.
48108         (index_YMM_Usable): Rename to...
48109         (index_AVX_Usable): ... this.
48110         (HAS_AVX): Use HAS_ARCH_FEATURE.
48111         (HAS_FMA4): Likewise.
48112         (HAS_YMM_USABLE): Remove.
48113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48114         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48115         are present.
48116         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48117         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48118         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48119         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48120         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48122 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48124         * math/libm-test.c: Support platforms without multiple rounding modes.
48125         * math/bug-nextafter.c: Support platforms without FP exceptions.
48126         * math/bug-nexttoward.c: Likewise.
48127         * math/test-fenv.c: Likewise.
48128         * math/test-misc.c: Likewise.
48129         * stdlib/bug-getcontext.c: Likewise.
48131 2012-05-17  Andreas Jaeger  <aj@suse.de>
48133         * manual/examples/search.c (critter_cmp): Change signature to
48134         avoid warnings.
48135         * manual/string.texi (Collation Functions): Likewise.
48137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48139         * bits/types.h: Fold copyright years.
48140         * bits/typesizes.h: Likewise.
48141         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48145         * time/time.h: Likewise.
48147 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48149         [BZ #208]
48150         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48151         in instead of returning them.  Return void.
48152         (__libc_mallinfo): Accumulate over all arenas.
48153         (__malloc_stats): Adjust for change in int_mallinfo interface.
48155 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48157         [BZ #10375]
48158         * configure.in (NM): Add AC_CHECK_TOOL for it.
48159         (libc_extra_cflags): New substituted variable.
48160         Check for -fstack-protector being used implicitly.
48161         * configure: Regenerated.
48162         * config.make.in (config-extra-cflags): New variable,
48163         gets @libc_extra_cflags@.
48164         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48166         [BZ #10375]
48167         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48168         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48169         * configure: Regenerated.
48170         * config.make.in (CPPUNDEFS): New substituted variable.
48171         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48172         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48173         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48175 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48177         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48178         (mq_attr): Use __syscall_slong_t.
48180 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48182         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48183         Check __x86_64__ instead of __WORDSIZE.
48184         (_STAT_VER_LINUX): Likewise.
48185         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48186         __syscall_ulong_t and __syscall_slong_t.
48187         (stat64): Likewise.
48189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48195         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48197 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48199         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48200         __syscall_ulong_t.
48202         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48203         include <bits/wordsize.h>.  Check __x86_64__ instead of
48204         __WORDSIZE.
48205         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48206         defined.
48207         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48209         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48210         include <bits/wordsize.h>.  Check __x86_64__ instead of
48211         __WORDSIZE.
48212         (user_regs_struct): Use "__extension__ unsigned long long"
48213         instead of "unsigned long" if __x86_64__ is defined.
48214         (user): Likewise.  Pad after pointer field if __ILP32__ is
48215         defined.
48217 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48219         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48220         versions 5 to 9.
48221         * configure: Regenerated.
48222         * manual/install.texi (texinfo): Increase version requirement to
48223         4.5 or later.
48224         * INSTALL: Regenerated.
48226         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48230         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48232         * sysdeps/x86_64/x32/ffs.c: New file.
48234         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48235         __syscall_ulong_t.
48236         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48237         defined.  Use __syscall_ulong_t.
48238         (shminfo): Use __syscall_ulong_t.
48239         (shm_info): Likewise.
48241         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48242         __syscall_ulong_t.
48244         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48245         <bits/wordsize.h>.
48246         (msgqnum_t): Use __syscall_ulong_t.
48247         (msglen_t): Likewise.
48248         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48249         __syscall_ulong_t.
48251         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48252         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48254         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48256         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48257         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48259         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48260         __syscall_slong_t.
48262         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48263         include <bits/wordsize.h>.  Check __x86_64__ instead of
48264         __WORDSIZE.
48266         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48267         "unsigned long long int" if __x86_64__ is defined.
48268         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48270         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48271         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48272         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48274         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48275         <stdint.h>.
48276         (GET_PC): Cast to uintptr_t first.
48277         (GET_FRAME): Likewise.
48278         (GET_STACK): Likewise.
48280         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48281         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48282         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48283         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48284         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48285         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48286         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48287         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48288         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48289         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48290         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48293         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48295         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48297         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48299         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48301         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48303         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48305         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48306         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48307         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48308         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48310 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48312         * Makerules (+depfiles): Also collect depfiles from .oS in
48313         $(extra-objs).
48314         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48315         .oS, $(libnldbl-routines)).
48317         * Makerules (native-compile-mkdep-flags): Define.
48318         * sunrpc/Makefile (extra-objs): Add $(addprefix
48319         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48320         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48321         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48322         calling $(make-target-directory).
48324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48326         * bits/types.h (__snseconds_t): Removed.
48327         * time/time.h (struct timespec): Replace __snseconds_t with
48328         __syscall_slong_t.
48329         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48330         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48331         Likewise.
48332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48333         (__SNSECONDS_T_TYPE): Likewise.
48334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48335         (__SNSECONDS_T_TYPE): Likewise.
48336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48337         (__SNSECONDS_T_TYPE): Likewise.
48339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48341         * sysdeps/mach/hurd/bits/typesizes.h
48342         (__SYSCALL_SLONG_TYPE): New macro.
48343         (__SYSCALL_ULONG_TYPE): Likewise.
48345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48347         * bits/types.h (__syscall_slong_t): New type.
48348         (__syscall_ulong_t): Likewise.
48350         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48351         (__SYSCALL_ULONG_TYPE): Likewise.
48352         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48353         (__SYSCALL_SLONG_TYPE): Likewise.
48354         (__SYSCALL_ULONG_TYPE): Likewise.
48355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48356         (__SYSCALL_SLONG_TYPE): Likewise.
48357         (__SYSCALL_ULONG_TYPE): Likewise.
48358         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48359         (__SYSCALL_SLONG_TYPE): Likewise.
48360         (__SYSCALL_ULONG_TYPE): Likewise.
48362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48364         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48365         Add sigaltstack-offsets.sym.
48366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48367         <sigaltstack-offsets.h>.
48368         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48369         longjmp_msg pointer.
48370         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48371         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48372         signal stack.
48373         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48375 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48377         * elf/stackguard-macros.h: Remove file.
48378         * sysdeps/generic/stackguard-macros.h: New file.
48379         * sysdeps/i386/stackguard-macros.h: Likewise.
48380         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48381         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48382         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48383         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48384         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48385         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48386         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48387         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48388         <elf/stackguard-macros.h>.
48390         [BZ #14109]
48391         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48392         __aligned__ in attribute.
48393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48394         (gregset_t): Likewise.
48396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48398         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48399         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48400         * sysdeps/x86_64/x32/Implies-after: New file.
48402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48404         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48405         and access return value for _dl_profile_fixup.  Use R10_LP to
48406         load frame size.
48408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48410         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48414         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48415         * sysdeps/x86_64/x32/sysdep.h: New file.
48417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48419         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48420         * sysdeps/x86_64/setjmp.S: Likewise.
48422 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48424         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48425         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48426         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48427         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48428         remove unused global constant.
48430 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48432         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48433         include of <not-cancel.h>.
48435 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48437         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48439 2012-05-15  Jeff Law  <law@redhat.com>
48440             Andreas Jaeger  <aj@suse.de>
48442         [BZ #13594]
48443         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48444         out from...
48445         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48446         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48447         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48448         code changing __hst_map_handle.map.
48450 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48452         * configure.in (sysnames): Look for Implies-before and Implies-after
48453         files.
48454         * configure: Regenerated.
48456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48458         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48459         8-byte data alignment with LP_SIZE alignment.
48461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48463         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48464         into R10_LP.
48466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48468         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48472         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48473         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48475         Likewise.
48476         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48480         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48481         (stackinfo_sub_sp): Likewise.
48483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48485         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48486         RAX_LP.
48488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48490         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48491         into R*_LP.
48493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48495         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48496         sizes into R*_LP.
48498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48500         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48504         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48505         into R11_LP and load __x86_64_shared_cache_size_half into
48506         R8_LP.
48508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48510         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48511         R8_LP.
48513 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48516         logb for POWER7.
48517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48518         logbf for POWER7.
48519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48520         logbl for POWER7.
48521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48522         powerpc32/power7/fpu/s_logb.c via #include.
48523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48524         powerpc32/power7/fpu/s_logbf.c via #include.
48525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48526         powerpc32/power7/fpu/s_logbl.c via #include.
48528 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48530         * README.libm: Remove file.
48532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48534         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48535         count for x32.  Use R*_LP and omit operand-size suffix.
48537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48539         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48540         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48541         * sysdeps/x86_64/x32/shlib-versions: New file.
48543 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48545         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48546         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48547         Use _dl_fatal_printf instead.
48549 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48551         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48552         set if not set by the user.  Do not allow for being unset.
48553         * sysdeps/unix/sysv/linux/configure: Regenerated.
48555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48557         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48558         the `q' suffix from lea and replace .quad with ASM_ADDR.
48560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48563         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48564         instead of $17.
48565         (PTR_DEMANGLE): Likewise.
48567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48569         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48570         (LP_OP): Likewise.
48571         (ASM_ADDR): Likewise.
48572         (RAX_LP): Likewise.
48573         (RBP_LP): Likewise.
48574         (RBX_LP): Likewise.
48575         (RCX_LP): Likewise.
48576         (RDI_LP): Likewise.
48577         (RSI_LP): Likewise.
48578         (RSP_LP): Likewise.
48579         (R8_LP): Likewise.
48580         (R9_LP): Likewise.
48581         (R10_LP): Likewise.
48582         (R10_LP): Likewise.
48583         (R11_LP): Likewise.
48584         (R12_LP): Likewise.
48585         (R13_LP): Likewise.
48586         (R14_LP): Likewise.
48587         (R15_LP): Likewise.
48589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48591         * sysdeps/x86_64/x32/dl-machine.h: New file.
48593 2012-05-14  Andreas Jaeger  <aj@suse.de>
48595         * manual/Makefile (subdir): Remove export of subdir.
48596         (all): Remove target.
48597         (.PHONY): Remove all from list.
48598         (mkinstalldirs): Remove.
48599         (.PHONY): Remove installdirs from list.
48600         ($(inst_infodir)/libc.info): Use make-target-directory.
48601         (installdirs): Remove.
48602         (subdir_%): Remove.
48603         (glibc-targets): Remove.
48604         (lib): Remove.
48605         (stubs): Remove.
48606         ($(objpfx)stubs ../po/manual.pot): Remove.
48607         ($(objpfx)stamp%): Remove.
48608         (make-target-directory): Remove.
48609         (subdir_install): Remove.
48610         (routines): Remove.
48611         (aux): Remove.
48612         (sources): Remove.
48613         (objects): Remove.
48614         (headers): Remove.
48616         [BZ #13750]
48617         * manual/.gitignore: Remove, it's not needed anymore.
48618         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48619         all files in it.
48620         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48621         directory.
48622         (texis): Renamed to $(objpfx)texis.
48623         (texis-path): New, contains path to generated files.
48624         (chapters.%): Use texis-path for complete path, add extra argument
48625         libc-texinfo.sh.
48626         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48627         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48628         (summary,texi, stamp-summary): Use complete path of
48629         files. Generate files in build dir.
48630         (dir-add.texi): Build in build dir.
48631         (libm-err.texi,stamp-libm-err): Likewise.
48632         (version.texi, stamp-version): Likewise.
48633         (.%c.texi): Likewise.
48634         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48635         (mostlyclean): Remove target.
48636         (realclean): Remove target.
48637         (generated): Add new variable with contents from mostlyclean and
48638         realclean, remove entries duplicated in common-mostlyclean, add
48639         stamp-libm-err and stamp-version.
48640         (generated-dirs): Add libc directory.
48641         ($(inst_infodir)/libc.info): Install files from build dir.
48643         * manual/install.texi (Configuring and compiling): Adjust since
48644         the info files are not part of the tar ball anymore.
48646 2012-05-14  Andreas Jaeger  <aj@suse.de>
48648         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48649         variable.
48651 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48653         [BZ #13717]
48654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48655         to 2.2.0 where earlier.
48656         * sysdeps/unix/sysv/linux/configure: Regenerated.
48657         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48658         Remove conditional code.
48659         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48660         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48661         Remove conditional code.
48662         [!__NR_lchown]: Likewise.
48663         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48664         [__NR_lchown]: Likewise.
48665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48666         comment referencing __ASSUME_LCHOWN_SYSCALL.
48667         * sysdeps/unix/sysv/linux/i386/sigaction.c
48668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48670         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48671         Remove conditional code.
48672         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48673         (__protocol_available): Remove #if 0 code.
48674         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48675         conditional code.
48676         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48677         * sysdeps/unix/sysv/linux/kernel-features.h
48678         (__ASSUME_GETCWD_SYSCALL): Don't define.
48679         (__ASSUME_REALTIME_SIGNALS): Likewise.
48680         (__ASSUME_PREAD_SYSCALL): Likewise.
48681         (__ASSUME_PWRITE_SYSCALL): Likewise.
48682         (__ASSUME_POLL_SYSCALL): Likewise.
48683         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48684         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48685         non-SPARC.
48686         (__ASSUME_SIOCGIFNAME): Don't define.
48687         (__ASSUME_MSG_NOSIGNAL): Likewise.
48688         (__ASSUME_SENDFILE): Define unconditionally.
48689         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48690         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48691         conditional code.
48692         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48693         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48694         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48695         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48696         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48697         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48698         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48700         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48701         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48703         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48704         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48706         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48707         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48709         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48710         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48712         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48713         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48715         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48716         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48718         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48719         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48721         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48722         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48723         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48724         Remove conditional code.
48725         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48726         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48727         Remove conditional code.
48728         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48729         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48730         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48731         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48732         Remove conditional code.
48733         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48734         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48735         Remove conditional code.
48736         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48737         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48738         Remove conditional code.
48739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48740         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48741         Remove conditional code.
48742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48743         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48744         Remove conditional code.
48745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48746         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48749         * sysdeps/unix/sysv/linux/sigaction.c
48750         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48751         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48752         * sysdeps/unix/sysv/linux/sigpending.c
48753         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48754         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48755         * sysdeps/unix/sysv/linux/sigprocmask.c
48756         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48757         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48758         * sysdeps/unix/sysv/linux/sigsuspend.c
48759         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48760         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48762         (__libc_missing_rt_sigs): Remove.
48763         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48764         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48765         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48766         Remove conditional code.
48767         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48768         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48769         return 1.
48770         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48771         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48772         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48773         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48775 2012-05-14  Andreas Jaeger  <aj@suse.de>
48777         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48778         it's not used in glibc.
48779         (__coshm1): Likewise.
48780         (__acosh1p): Likewise.
48781         (__sgn): Likewise.
48783         * manual/string.texi (Copying and Concatenation): Add missing
48784         variable in concat example.
48785         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48789         [BZ #14103]
48790         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48791         __builtin_clzl with __builtin_clzll.
48793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48795         [BZ #14104]
48796         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48797         libc_freeres_ptr.
48799 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48801         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48802         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48803         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48804         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48806 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48808         * NEWS: Update ia64 info.
48810 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48812         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48813         used as bcopy.
48815 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48817         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48818         * sysdeps/unix/syscalls.list (dup3): Likewise.
48819         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48820         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48822 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48824         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48825         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48827 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48829         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48830         thread pointer.
48831         (TLS_IE): Use mov/add instead of movq/addq to load thread
48832         pointer.
48833         (TLS_GD_PREFIX): New.
48834         (TLS_GD): Use it.
48836 2012-05-11  David S. Miller  <davem@davemloft.net>
48838         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48839         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48840         (_FPU_SETCW): Likewise.
48842 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48844         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48845         is 32-byte aligned.
48847 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48849         [BZ #11837]
48850         * iconvdata/gb18030.c: Update tables.
48851         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48852         characters specially.
48853         (BODY for TO_LOOP): Add encoding of missing ranges.
48855 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48857         [BZ #13673]
48858         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48859         * sysdeps/mach/hurd/dup3.c: Likewise.
48860         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48861         * sysdeps/powerpc/memmove.c:: Likewise.
48863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48865         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48866         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48870         * elf/elf.h (R_X86_64_RELATIVE64): New.
48871         (R_X86_64_NUM): Updated.
48872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48873         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48874         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48875         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48876         tst-quad1pie tst-quad2pie
48877         (modules-names): Add tst-quadmod1 tst-quadmod2.
48878         ($(objpfx)tst-quad1): New dependency.
48879         ($(objpfx)tst-quad2): Likewise.
48880         ($(objpfx)tst-quad1pie): Likewise.
48881         ($(objpfx)tst-quad2pie): Likewise.
48882         * sysdeps/x86_64/tst-quad1.c: New file.
48883         * sysdeps/x86_64/tst-quad1pie.c: New file.
48884         * sysdeps/x86_64/tst-quad2.c: Likewise.
48885         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48886         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48887         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48888         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48889         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48893         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48894         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48895         * streams/stropts.h (t_scalar_t): Define type.
48897         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48898         (_PATH_PRESERVE): Set to "/var/lib".
48899         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48901         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48902         instead of int.
48904         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48905         if __dir_mkfile succeeded.
48907         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48908         checking for _hurd_dtablesize.  Unlock it right after having
48909         finished _hurd_dtable allocation.
48911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48913         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48914         * sysdeps/mach/hurd/configure: Regenerated.
48915         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48916         special-casing to...
48917         * sysdeps/gnu/configure.in: ... this new file.
48918         * sysdeps/unix/sysv/linux/configure: Regenerated.
48919         * sysdeps/gnu/configure: New generated file.
48921         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48922         for Linux: use nsec instead of usec, as well as:
48923         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48924         members of type struct timespec.
48925         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48926         New macros.
48927         (struct stat64): Likewise.
48928         (_STATBUF_ST_NSEC): New macro.
48929         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48931         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48932         __strtoul_internal rather than strtoul.
48934 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48936         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48937         and reject them.
48939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48941         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48942         which preserves existing values.
48943         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48945 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48947         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48948         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48949         greater than FD_SETSIZE.
48951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48953         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48954         allocated, call __vm_protect to finish enabling the existing space, and
48955         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48956         allocate the remainder.
48958 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48960         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48961         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48965         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48966         sysdeps/mach/hurd/readlink.c.
48968         * posix/tst-sysconf.c (posix_options): Only use
48969         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48970         _POSIX_SYNCHRONIZED_IO when they are defined
48971         * sysdeps/mach/hurd/bits/posix_opt.h:
48972         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48973         (_XOPEN_REALTIME): Undefine macro.
48974         (_XOPEN_REALTIME_THREADS): Undefine macro.
48975         (_XOPEN_SHM): Undefine macro.
48976         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48977         macro to -1.
48978         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48979         macro to -1.
48980         (_POSIX_ASYNC_IO): Undefine macro.
48981         (_POSIX_PRIORITIZED_IO): Undefine macro.
48982         (_POSIX_SPIN_LOCKS): Define macro to -1.
48984         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48985         SA_NODEFER, SA_RESETHAND.
48986         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48987         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48988         F_DUPFD_CLOEXEC.
48990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48992         * elf/Makefile (pldd-modules): Define unconditionally.
48994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48996         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49000         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49001         Return ENOENT when name is empty.
49002         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49006         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49008         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49012         Fix mlock in all cases except non-readable pages.
49013         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49014         instead of VM_PROT_ALL as parameter to __vm_wire function.
49016         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49017         (__mkdir): When path is `/', just fail with EEXIST.
49018         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49022         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49023         <sys/uio.h> (for writev).
49024         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49025         and <sys/param.h> (for MIN).
49027 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49029         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49030         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49031         if interrupted.
49033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49035         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49036         Depend on against $(link-rpcuserlibs).
49038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49040         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49041         (__libc_stack_end): Do not use attribute_relro.
49042         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49043         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49044         to libthread-provided value.
49045         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49046         attribute_relro.
49048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49050         [BZ #3748]
49051         * bits/libc-lock.h (__libc_once_get): New macro.
49052         * sysdeps/mach/bits/libc-lock.h: Likewise.
49053         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49055         instead of using implementation details.
49057         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49058         * libio/freopen.c: Likewise.
49059         * libio/freopen64.c: Likewise.
49060         * misc/syslog.c: Likewise.
49061         * nscd/connections.c: Likewise.
49062         * nscd/netgroupcache.c: Likewise.
49063         * sysdeps/posix/getcwd.c: Likewise.
49065 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49067         * math/w_ilogbf.c: Add #include <limits.h>.
49069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49071         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49072         path instead of returning without unlocking.
49074         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49075         immediate-write ioctls.
49076         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49080         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49081         __builtin_frame_address instead of making assumptions about the
49082         location of the return address relative to DATA.  Force early load of
49083         the return address.
49084         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49085         __builtin_frame_address.
49087         dup3 for GNU Hurd.
49088         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49089         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49090         implement dup3 and do some further code clean-ups.
49091         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49092         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49096         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49098         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49099         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49100         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49101         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49102         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49103         d->port.lock.
49105         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49106         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49107         when handler == SIG_ERR, not when handler != SIG_ERR.
49109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49111         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49112         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49113         definitions.
49115         accept4 for GNU Hurd.
49116         * include/sys/socket.h (__libc_accept4): New prototype.
49117         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49118         to implement __libc_accept4.
49119         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49120         __libc_accept4.
49121         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49123         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49124         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49125         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49126         signal-defines.sym.
49128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49130         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49134         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49135         assertion on O_CLOEXEC flag.
49136         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49137         * hurd/intern-fd.c: Likewise.
49138         * hurd/port2fd.c: Likewise.
49140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49142         [BZ #3906]
49143         * bits/in.h (IPV6_PKTINFO): Define new macro.
49144         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49146 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49148         [BZ #13954]
49149         [BZ #13955]
49150         [BZ #13956]
49151         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49152         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49153         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49154         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49156         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49157         * math/libm-test.inc (logb_test) : Additional logb tests.
49159 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49160             Andreas Jaeger  <aj@suse.de>
49162         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49163         * configure: Regenerated.
49164         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49165         * config.make.in (link-obsolete-rpc): New substituted variable.
49166         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49167         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49168         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49169         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49170         so that libc.a contains the symbols.
49171         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49172         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49173         * sunrpc/auth_none.c: Likewise.
49174         * sunrpc/auth_unix.c: Likewise.
49175         * sunrpc/authdes_prot.c: Likewise.
49176         * sunrpc/authuxprot.c: Likewise.
49177         * sunrpc/clnt_gen.c: Likewise.
49178         * sunrpc/clnt_perr.c: Likewise.
49179         * sunrpc/clnt_raw.c: Likewise.
49180         * sunrpc/clnt_simp.c: Likewise.
49181         * sunrpc/clnt_tcp.c: Likewise.
49182         * sunrpc/clnt_udp.c: Likewise.
49183         * sunrpc/clnt_unix.c: Likewise.
49184         * sunrpc/des_crypt.c: Likewise.
49185         * sunrpc/des_soft.c: Likewise.
49186         * sunrpc/get_myaddr.c: Likewise.
49187         * sunrpc/key_call.c: Likewise.
49188         * sunrpc/key_prot.c: Likewise.
49189         * sunrpc/netname.c: Likewise.
49190         * sunrpc/pm_getmaps.c: Likewise.
49191         * sunrpc/pm_getport.c: Likewise.
49192         * sunrpc/pmap_clnt.c: Likewise.
49193         * sunrpc/pmap_prot.c: Likewise.
49194         * sunrpc/pmap_prot2.c: Likewise.
49195         * sunrpc/pmap_rmt.c: Likewise.
49196         * sunrpc/publickey.c: Likewise.
49197         * sunrpc/rpc_cmsg.c: Likewise.
49198         * sunrpc/rpc_common.c: Likewise.
49199         * sunrpc/rpc_dtable.c: Likewise.
49200         * sunrpc/rpc_prot.c: Likewise.
49201         * sunrpc/rpc_thread.c: Likewise.
49202         * sunrpc/rtime.c: Likewise.
49203         * sunrpc/svc.c: Likewise.
49204         * sunrpc/svc_auth.c: Likewise.
49205         * sunrpc/svc_raw.c: Likewise.
49206         * sunrpc/svc_run.c: Likewise.
49207         * sunrpc/svc_tcp.c: Likewise.
49208         * sunrpc/svc_udp.c: Likewise.
49209         * sunrpc/svc_unix.c: Likewise.
49210         * sunrpc/svcauth_des.c: Likewise.
49211         * sunrpc/xcrypt.c: Likewise.
49212         * sunrpc/xdr.c: Likewise.
49213         * sunrpc/xdr_array.c: Likewise.
49214         * sunrpc/xdr_float.c: Likewise.
49215         * sunrpc/xdr_intXX_t.c: Likewise.
49216         * sunrpc/xdr_mem.c: Likewise.
49217         * sunrpc/xdr_rec.c: Likewise.
49218         * sunrpc/xdr_ref.c: Likewise.
49219         * sunrpc/xdr_sizeof.c: Likewise.
49220         * sunrpc/xdr_stdio.c: Likewise.
49222 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49225         change.  Update copyright years.
49227 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49229         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49231 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49232             Joseph Myers  <joseph@codesourcery.com>
49233             Paul Pluzhnikov  <ppluzhnikov@google.com>
49235         [BZ #14012]
49236         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49237         requiring rpcgen.
49238         [cross-compiling] (extra-libs): Likewise.
49239         [cross-compiling] (extra-libs-others): Likewise.
49240         [cross-compiling] (librpcsvc-routines): Likewise.
49241         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49242         [cross-compiling] (omit-deps): Likewise.
49243         (sunrpc-CPPFLAGS): New variable.
49244         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49245         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49246         (cross-rpcgen-objs): New variable.
49247         (extra-objs): Append $(cross-rpcgen-objs).
49248         ($(cross-rpcgen-objs)): New rule.
49249         ($(objpfx)cross-rpcgen): Likewise.
49250         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49251         comment.
49252         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49253         ($(objpfx)x%.stmp): Likewise.
49254         * sunrpc/proto.h [IS_IN_build] (_): Define.
49255         [IS_IN_build] (_libc_intl_domainname): Likewise.
49257 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49260         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49261         and R_X86_64_TPOFF64.
49263 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49265         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49266         sysdeps/unix/sysv/syscalls.list.
49267         (stime): Likewise.
49268         (utime): Likewise.
49269         * sysdeps/unix/sysv/syscalls.list: Remove file.
49271 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49273         [BZ #3440]
49274         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49275         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49276         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49277         (__LC_IDENTIFICATION): Make these macros useful in #if
49278         expressions, as required by C99.
49280 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49282         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49283         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49284         after this.
49286 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49288         * stdlib/longlong.h: Updated from GCC.
49290 2012-05-09  Andreas Jaeger  <aj@suse.de>
49292         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49293         default is first entry.
49294         (run_mode): Set type.
49295         (main): Remove informal message about syslog.
49296         (options): Fix typo.
49298         [BZ #14053]
49299         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49300         to asm.
49301         (lrint): Likewise.
49302         (llrintf): Likewise.
49303         (llrint): Likewise.
49304         (rint): Likewise.
49305         (rintf): Likewise.
49306         (nearbyint): Likewise.
49307         (nearbyintf): Likewise.
49309 2012-05-09  Andreas Jaeger  <aj@suse.de>
49310             Pedro Alves  <palves@redhat.com>
49312         * nscd/nscd.c (run_mode): Use enum.
49313         (main): Cleanup coding style issue.
49315 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49316             Andreas Jaeger  <aj@suse.de>
49318         * nscd/nscd.c (go_background): Replaced with...
49319         (run_mode): ... this.
49320         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49321         (options): Add -F --foreground.
49322         (main): Implement it.
49323         (parse_opt): Parse it.
49325 2012-05-09  Andreas Jaeger  <aj@suse.de>
49327         [BZ #14083]
49328         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49329         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49330         -Wconversion warning.
49331         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49332         Likewise.
49334 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49336         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49337         == 0.
49338         (LC_ALL): Use macro-int-constant.
49339         (LC_COLLATE): Likewise.
49340         (LC_CTYPE): Likewise.
49341         (LC_MESSAGES): Likewise.
49342         (LC_MONETARY): Likewise.
49343         (LC_NUMERIC): Likewise.
49344         (LC_TIME): Likewise.
49345         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49346         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49347         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49348         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49349         Specify type.
49350         [C99-based standards] (float_t): Expect type.
49351         [C99-based standards] (double_t): Expect type.
49352         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49353         type.
49354         [C99-based standards] (HUGE_VALL): Likewise.
49355         [C99-based standards] (INFINITY): Likewise.
49356         [C99-based standards] (NAN): Likewise.
49357         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49358         [C99-based standards] (FP_NAN): Likewise.
49359         [C99-based standards] (FP_NORMAL): Likewise.
49360         [C99-based standards] (FP_SUBNORMAL): Likewise.
49361         [C99-based standards] (FP_ZERO): Likewise.
49362         [C99-based standards] (FP_FAST_FMA): Use
49363         optional-macro-int-constant.  Specify type.  Require == 1.
49364         [C99-based standards] (FP_FAST_FMAF): Likewise.
49365         [C99-based standards] (FP_FAST_FMAL): Likewise.
49366         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49367         [C99-based standards] (FP_ILOGBNAN): Likewise.
49368         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49369         Specify type.
49370         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49371         [C99-based standards] (math_errhandling): Specify type.
49372         [ISO99 || ISO11] (signgam): Do not allow.
49373         [non-C99-based standards] (copysignf): Do not allow.
49374         [non-C99-based standards] (exp2f): Likewise.
49375         [non-C99-based standards] (log2f): Likewise.
49376         [non-C99-based standards] (modff): Allow.
49377         [non-C99-based standards] (erff): Do not allow.
49378         [non-C99-based standards] (erfcf): Likewise.
49379         [non-C99-based standards] (gammaf): Likewise.
49380         [non-C99-based standards] (hypotf): Likewise.
49381         [non-C99-based standards] (j0f): Likewise.
49382         [non-C99-based standards] (j1f): Likewise.
49383         [non-C99-based standards] (jnf): Likewise.
49384         [non-C99-based standards] (lgammaf): Likewise.
49385         [non-C99-based standards] (tgammaf): Likewise.
49386         [non-C99-based standards] (y0f): Likewise.
49387         [non-C99-based standards] (y1f): Likewise.
49388         [non-C99-based standards] (ynf): Likewise.
49389         [non-C99-based standards] (isnanf): Likewise.
49390         [non-C99-based standards] (acoshf): Likewise.
49391         [non-C99-based standards] (asinhf): Likewise.
49392         [non-C99-based standards] (atanhf): Likewise.
49393         [non-C99-based standards] (cbrtf): Likewise.
49394         [non-C99-based standards] (expm1f): Likewise.
49395         [non-C99-based standards] (ilogbf): Likewise.
49396         [non-C99-based standards] (log1pf): Likewise.
49397         [non-C99-based standards] (logbf): Likewise.
49398         [non-C99-based standards] (nextafterf): Likewise.
49399         [non-C99-based standards] (remainderf): Likewise.
49400         [non-C99-based standards] (rintf): Likewise.
49401         [non-C99-based standards] (scalbf): Likewise.
49402         [non-C99-based standards] (copysignl): Likewise.
49403         [non-C99-based standards] (exp2l): Likewise.
49404         [non-C99-based standards] (log2l): Likewise.
49405         [non-C99-based standards] (modfl): Allow.
49406         [non-C99-based standards] (erfl): Do not allow.
49407         [non-C99-based standards] (erfcl): Likewise.
49408         [non-C99-based standards] (gammal): Likewise.
49409         [non-C99-based standards] (hypotl): Likewise.
49410         [non-C99-based standards] (j0l): Likewise.
49411         [non-C99-based standards] (j1l): Likewise.
49412         [non-C99-based standards] (jnl): Likewise.
49413         [non-C99-based standards] (lgammal): Likewise.
49414         [non-C99-based standards] (tgammal): Likewise.
49415         [non-C99-based standards] (y0l): Likewise.
49416         [non-C99-based standards] (y1l): Likewise.
49417         [non-C99-based standards] (ynl): Likewise.
49418         [non-C99-based standards] (isnanl): Likewise.
49419         [non-C99-based standards] (acoshl): Likewise.
49420         [non-C99-based standards] (asinhl): Likewise.
49421         [non-C99-based standards] (atanhl): Likewise.
49422         [non-C99-based standards] (cbrtl): Likewise.
49423         [non-C99-based standards] (expm1l): Likewise.
49424         [non-C99-based standards] (ilogbl): Likewise.
49425         [non-C99-based standards] (log1pl): Likewise.
49426         [non-C99-based standards] (logbl): Likewise.
49427         [non-C99-based standards] (nextafterl): Likewise.
49428         [non-C99-based standards] (remainderl): Likewise.
49429         [non-C99-based standards] (rintl): Likewise.
49430         [non-C99-based standards] (scalbl): Likewise.
49431         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49432         [non-C99-based standards] (FP_*): Do not allow.
49433         [C99-based standards] (FP_*): Change to
49434         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49435         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49436         allow.
49437         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49438         (SIG_ERR): Likewise.
49439         [X/Open-based standards] (SIG_HOLD): Likewise.
49440         (SIG_IGN): Likewise.
49441         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49442         positive value.
49443         (SIGFPE): Likewise.
49444         (SIGILL): Likewise.
49445         (SIGINT): Likewise.
49446         (SIGSEGV): Likewise.
49447         (SIGTER): Likewise.
49448         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49449         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49450         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49451         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49452         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49453         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49454         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49455         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49456         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49457         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49458         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49459         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49460         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49461         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49462         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49463         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49464         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49465         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49466         [X/Open-based standards] (SIGTRAP): Likewise.
49467         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49468         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49469         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49470         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49471         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49472         allow.
49474 2012-05-08  Ian Wienand  <ianw@vmware.com>
49476         [BZ #14080]
49477         * time/tzset.c (__tzset_parse_tz): Update default rules for
49478         daylight time changes in the Energy Policy Act of 2005.
49480 2012-05-09  Andreas Jaeger  <aj@suse.de>
49482         [BZ #13983]
49483         * elf/ldconfig.c (parse_conf): Change string to make clear that
49484         ldconfig only issued a warning if ld.so.conf does not exist.
49486 2012-05-08  David S. Miller  <davem@davemloft.net>
49488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49489         movxtod instead of popping the value on the stack.
49491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49493 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49495         * config.h.in: Add HAVE_ARM_PCS_VFP.
49497 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49499         [BZ #13979]
49500         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49501         checking but the checks are disabled for any reason.
49503 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49505         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49506         and ELF64_R_TYPE with ELFW(R_TYPE).
49508 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49510         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49511         (ulimit): Likewise.
49513         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49514         (settimeofday): Likewise.
49516 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49518         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49519         a struct th_u2 inside the union, and move tu_block/tu_code into
49520         a new th_u3 union of tu_block/tu_code inside of that.  Move
49521         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49522         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49523         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49524         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49525         (th_stuff): Change to th_u1.tu_stuff.
49526         (th_data): Define.
49527         (th_msg): Change to th_u1.th_u2.tu_data.
49529 2012-05-07  David S. Miller  <davem@davemloft.net>
49531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49533         [BZ #14074]
49534         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49535         (SETUP_PIC_REG): Use it.
49536         (SETUP_PIC_REG_LEAF): Use it.
49538 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49540         [BZ #13885]
49541         [BZ #13923]
49542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49543         USE_AS_EXPM1L.
49544         (EXPL_FINITE): Likewise.
49545         (FLDLOG): Likewise.
49546         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49547         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49548         e_expl.S.
49549         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49550         USE_AS_EXPM1L.
49551         (EXPL_FINITE): Likewise.
49552         (FLDLOG): Likewise.
49553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49554         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49555         e_expl.S.
49556         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49557         test of -max_value argument for long double.
49558         * sysdeps/i386/fpu/libm-test-ulps: Update.
49559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49561 2012-05-06  David S. Miller  <davem@davemloft.net>
49563         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49564         quad soft-float symbols whose references which are compiler
49565         generated.
49566         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49568 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49570         [BZ #13884]
49571         [BZ #13914]
49572         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49573         USE_AS_EXP10L.
49574         (EXPL_FINITE): Likewise.
49575         (FLDLOG): Likewise.
49576         (c0): Likewise.
49577         (c1): Likewise.
49578         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49579         Adjust comments for base varying.
49580         (__expl_finite): Change alias to EXPL_FINITE.
49581         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49582         e_expl.S.
49583         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49584         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49585         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49586         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49588         USE_AS_EXP10L.
49589         (EXPL_FINITE): Likewise.
49590         (FLDLOG): Likewise.
49591         (c0): Likewise.
49592         (c1): Likewise.
49593         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49594         Adjust comments for base varying.
49595         (__expl_finite): Change alias to EXPL_FINITE.
49596         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49597         tests for bugs.
49598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49600         [BZ #14064]
49601         * math/libm-test.inc (check_float_internal): Correct ulp
49602         calculation for subnormal expected results.
49604 2012-05-06  Andreas Jaeger  <aj@suse.de>
49606         * Makeconfig (+math-flags): New, set to -frounding-math.
49607         (+cflags): Add +math-flags so that all of glibc gets compiled with
49608         it.
49610         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49612 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49614         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49615         Disable one test.
49617         [BZ #13787]
49618         [BZ #13922]
49619         [BZ #14036]
49620         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49621         (__ieee754_expl): Allow for and saturate large arguments.
49622         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49623         (u_threshold): Likewise.
49624         (__exp): Call __ieee754_exp before checking for overflow and
49625         underflow.
49626         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49627         (u_threshold): Likewise.
49628         (__expf): Call __ieee754_expf before checking for overflow and
49629         underflow.
49630         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49631         (u_threshold): Likewise.
49632         (__expl): Call __ieee754_expl before checking for overflow and
49633         underflow.
49634         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49635         (__ieee754_expl): Allow for and saturate large arguments.
49636         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49637         missing overflow exception on overflow.
49638         (expm1_test): Do not allow missing overflow exception on overflow.
49640         * sysdeps/i386/fpu/e_expl.c: Move to ...
49641         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49642         rather than using inline asm.
49643         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49644         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49645         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49647         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49648         (nice): Likewise.
49649         (poll): Likewise.
49650         (signal): Likewise.
49651         (time): Likewise.
49652         (times): Likewise.
49654 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49656         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49657         sysdeps/unix/common/syscalls.list.
49658         (fchmod): Likewise.
49659         (fchown): Likewise.
49660         (ftruncate): Likewise.
49661         (getrusage): Likewise.
49662         (gettimeofday): Likewise.
49663         (setpgid): Likewise.
49664         (setregid): Likewise.
49665         (setreuid): Likewise.
49666         (sigaction): Likewise.
49667         (truncate): Likewise.
49668         (vhangup): Likewise.
49669         * sysdeps/unix/common/syscalls.list: Remove file.
49670         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49671         * sysdeps/unix/sysv/linux/Implies: Likewise.
49673 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49675         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49677         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49678         Moved to ...
49679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49680         Here.
49681         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49682         to ...
49683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49684         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49685         to ...
49686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49687         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49688         to ...
49689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49690         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49691         to ...
49692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49693         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49694         to ...
49695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49696         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49697         to ...
49698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49699         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49700         to ...
49701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49702         Here.
49703         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49704         to ...
49705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49706         Here.
49707         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49708         to ...
49709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49710         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49711         Moved to ...
49712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49713         Here.
49714         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49715         to ...
49716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49718 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49720         * sysdeps/unix/common/bits/dirent.h: Remove file.
49721         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49723         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49724         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49725         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49726         * sysdeps/unix/bsd/isatty.c: Likewise.
49727         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49728         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49729         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49731 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49733         [BZ #13563]
49734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49735         long double comparison inaccuracies.
49736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49739 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49741         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49744 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49746         [BZ #14049]
49747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49748         nonzero digits before rounding a hex value.
49749         * stdlib/tst-strtod.c (tests): Add another test.
49751 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49753         * sysdeps/s390/fpu/libm-test-ulps: Update.
49755 2012-05-03  Andreas Jaeger  <aj@suse.de>
49757         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49758         does not get optimized out.
49759         (malloc_opt_barrier): New.
49761 2012-05-03  Andreas Jaeger  <aj@suse.de>
49762             Roland McGrath  <roland@hack.frob.com>
49764         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49765         intermediate file deletion.
49766         (generated): Add .symlist files.
49768 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49770         [BZ #13775]
49771         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49772         Redirect under this condition.
49773         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49774         [__USE_GNU] (__dprintf_chk): Not under this condition.
49775         [__USE_GNU] (__vdprintf_chk): Likewise.
49776         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49777         under this condition.
49778         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49779         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49780         [__USE_XOPEN2K8] (vdprintf): Likewise.
49781         [__USE_GNU] (__dprintf_chk): Not under this condition.
49782         [__USE_GNU] (__vdprintf_chk): Likewise.
49783         [__USE_GNU] (dprintf): Likewise.
49784         [__USE_GNU] (vdprintf): Likewise.
49786 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49788         * elf/Makefile (common-generated): Set this instead of generated for
49789         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49790         $(all-built-dso)-derived lists.
49792 2012-05-03  Andreas Jaeger  <aj@suse.de>
49794         * sysdeps/i386/fpu/libm-test-ulps: Update.
49796         * FAQ: Removed.
49797         * FAQ.in: Likewise.
49798         * scripts/gen-FAQ.pl: Likewise.
49799         * manual/install.texi (Installation): Point to online location of
49800         FAQ.
49801         * Makefile (files-for-dist): Remove FAQ.
49802         (FAQ): Remove.
49804 2012-05-02  Allan McRae  <allan@archlinux.org>
49806         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49807         (LDFLAGS-reldepmod5.so): Likewise.
49808         (LDFLAGS-reldep6mod1.so): Likewise.
49809         (LDFLAGS-reldep6mod4.so): Likewise.
49810         (LDFLAGS-reldep8mod3.so): Likewise.
49811         (LDFLAGS-unload4mod1.so): Likewise.
49812         (LDFLAGS-unload4mod2.so): Likewise.
49813         (LDFLAGS-tst-initorder): Likewise.
49814         (LDFLAGS-tst-initordera2.so): Likewise.
49815         (LDFLAGS-tst-initordera3.so): Likewise.
49816         (LDFLAGS-tst-initordera4.so): Likewise.
49817         (LDFLAGS-tst-initorderb2.so): Likewise.
49818         (LDFLAGS-noload): Likewise.
49819         (LDFLAGS-next): Likewise.
49820         (LDFLAGS-order2mod1.so): Likewise.
49821         (LDFLAGS-order2mod2.so): Likewise.
49822         (LDFLAGS-tst-initorder2): Likewise.
49823         (LDFLAGS-tst-initorder2a.so): Likewise.
49824         (LDFLAGS-tst-initorder2b.so): Likewise.
49825         (LDFLAGS-tst-initorder2c.so): Likewise.
49826         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49828 2012-05-02  David S. Miller  <davem@davemloft.net>
49830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49832 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49834         [BZ #14055]
49835         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49837 2012-05-02  Andreas Jaeger  <aj@suse.de>
49839         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49840         since we manipulate rounding mode.
49841         (CPPFLAGS-test-idouble.c): Likewise.
49842         (CPPFLAGS-test-ifloat.c): Likewise.
49843         (CFLAGS-test-ldouble.c): Likewise.
49844         (CFLAGS-test-double.c): Likewise.
49845         (CFLAGS-test-float.c): Likewise.
49846         (CFLAGS-test-misc.c): Likewise.
49847         (CFLAGS-test-test-fenv.c): Likewise.
49849 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49851         [BZ #2550]
49852         [BZ #2570]
49853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49854         comparisons to determine direction to adjust input.
49856 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49858         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49859         output to the target.
49861         * scripts/localplt.awk: New file.
49862         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49863         (check-localplt-CFLAGS): Variable removed.
49864         ($(all-built-dso:=.jmprel)): New static pattern rule.
49865         (generated): Add those targets.
49866         (localplt-built-dso): New variable.
49867         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49869         * elf/check-localplt.c: File removed.
49871         * scripts/check-execstack.awk: New file.
49872         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49873         (check-execstack-CFLAGS): Variable removed.
49874         ($(objpfx)check-execstack.h): Target removed.
49875         ($(objpfx)execstack-default): New target.
49876         (generated): Add that instead of check-execstack.h.
49877         ($(all-built-dso:=.phdr)): New static pattern rule.
49878         (generated): Add those targets.
49879         * elf/check-execstack.c: File removed.
49881         * scripts/check-textrel.awk: New file.
49882         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49883         (check-textrel-CFLAGS): Variable removed.
49884         (all-built-dso): Use := to define.o
49885         ($(all-built-dso:=.dyn)): New static pattern rule.
49886         (generated): Add those targets.
49887         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49888         * config.make.in (READELF): New substituted variable.
49889         * elf/check-textrel.c: File removed.
49891 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49893         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49894         allow.
49895         * conform/data/ctype.h-data [C99-based standards] (isblank):
49896         Expect function.
49897         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49898         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49900         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49901         Specify type.  Require positive value.
49902         (EILSEQ): Likewise.
49903         (ERANGE): Likewise.
49904         [ISO || POSIX] (EILSEQ): Do not expect.
49905         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49906         Specify type.  Require positive value.
49907         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49908         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49909         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49910         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49911         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49912         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49913         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49914         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49915         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49916         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49935         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49937         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49938         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49939         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49940         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49941         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49942         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49943         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49944         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49945         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49946         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49947         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49948         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49949         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49950         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49951         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49952         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49953         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49954         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49955         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49956         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49957         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49958         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49959         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49960         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49961         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49962         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49963         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49964         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49965         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49966         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49967         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49968         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49969         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49970         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49971         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49972         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49973         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49974         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49975         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49976         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49977         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49978         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49979         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49980         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49981         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49982         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49983         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49984         Require >= 2.
49985         (FLT_ROUNDS): Expect as macro, not constant.
49986         (FLT_MANT_DIG): Use macro-int-constant.
49987         (DBL_MANT_DIG): Likewise.
49988         (LDBL_MANT_DIG): Likewise.
49989         (FLT_DIG): Likewise.
49990         (DBL_DIG): Likewise.
49991         (LDBL_DIG): Likewise.
49992         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49993         (DBL_MIN_EXP): Likewise.
49994         (LDBL_MIN_EXP): Likewise.
49995         (FLT_MAX_EXP): Use macro-int-constant.
49996         (DBL_MAX_EXP): Likewise.
49997         (LDBL_MAX_EXP): Likewise.
49998         (FLT_MAX_10_EXP): Likewise.
49999         (DBL_MAX_10_EXP): Likewise.
50000         (LDBL_MAX_10_EXP): Likewise.
50001         (FLT_MAX): Use macro-constant.
50002         (DBL_MAX): Likewise.
50003         (LDBL_MAX): Likewise.
50004         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50005         (DBL_EPSILON): Likewise.
50006         (LDBL_EPSILON): Likewise.
50007         (FLT_MIN): Likewise.
50008         (DBL_MIN): Likewise.
50009         (LDBL_MIN): Likewise.
50010         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50011         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50012         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50013         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50014         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50015         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50016         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50017         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50018         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50019         [ISO11] (FLT_TRUE_MIN): Likewise.
50020         [ISO11] (LDBL_TRUE_MIN): Likewise.
50021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50022         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50023         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50024         (SCHAR_MAX): Likewise.
50025         (UCHAR_MAX): Likewise.
50026         (CHAR_MIN): Likewise.
50027         (CHAR_MAX): Likewise.
50028         (MB_LEN_MAX): Use macro-int-constant.
50029         (SHRT_MIN): Use macro-int-constant.  Specify type.
50030         (SHRT_MAX): Likewise.
50031         (USHRT_MAX): Likewise.
50032         (INT_MAX): Likewise.
50033         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50034         bound negative.
50035         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50036         bound with "U".
50037         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50038         bound with "L".
50039         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50040         bound negative.  Suffix upper bound with "L".
50041         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50042         bound with "UL".
50043         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50044         Specify type.
50045         [C99-based standards] (LLONG_MAX): Likewise.
50046         [C99-based standards] (ULLONG_MAX): Likewise.
50047         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50048         == 0.
50049         [ISO11] (max_align_t): Require type.
50050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50052         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50053         from $CFLAGS, without defining away __attribute__ calls.
50054         (checknamespace): Use $CFLAGS_namespace.
50056         * conform/conformtest.pl (@keywords): Only include C99 keywords
50057         for standards based on C99 or C11.
50059         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50060         Disable tests.
50061         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50062         UNIX98]: Likewise.
50064         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50065         usability of symbols in #if.
50067         * conform/conformtest.pl: If macro or constant types start
50068         "promoted:", expect the symbol to be of the following type
50069         promoted by the integer promotions.
50071         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50072         in one place.  Also handle "macro-constant".
50074         * conform/conformtest.pl: Only accept expected macro values with
50075         "==".  Parse all "macro" lines in one place.
50076         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50078         * conform/conformtest.pl: Handle braced types on "constant" lines
50079         instead of handling "typed-constant".
50080         * conform/data/signal.h-data: Use "constant" instead of
50081         "typed-constant".
50083         * conform/conformtest.pl: Handle "optional-" at start of lines in
50084         one place rather than duplicating several cases.  Handle each
50085         format of "macro" line with initial "optional-".
50087         * conform/conformtest.pl: Only accept expected constant or
50088         optional-constant values with "==".  Parse all "constant" lines in
50089         one place.  Parse all "optional-constant" lines in one place.
50090         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50091         * conform/data/fmtmsg.h-data: Likewise.
50092         * conform/data/netinet/in.h-data: Likewise.
50093         * conform/data/tar.h-data: Likewise.
50094         * conform/data/limits.h-data: Use "==" form on "constant" and
50095         "optional-constant" lines.
50097         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50098         Use -std=c99 for XOPEN2K.
50099         (@knownproblems): Remove.
50100         (newtoken): Don't check %isknown.
50102         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50103         Do not expect macro.
50104         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50105         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50106         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50107         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50108         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50109         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50110         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50111         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50112         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50113         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50114         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50115         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50116         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50117         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50118         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50119         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50120         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50121         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50122         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50123         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50124         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50125         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50126         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50128         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50129         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50132         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50134         [XPG3] (acosh): Likewise.
50135         [XPG3] (asinh): Likewise.
50136         [XPG3] (atanh): Likewise.
50137         [XPG3] (cbrt): Likewise.
50138         [XPG3] (expm1): Likewise.
50139         [XPG3] (ilogb): Likewise.
50140         [XPG3] (log1p): Likewise.
50141         [XPG3] (logb): Likewise.
50142         [XPG3] (nextafter): Likewise.
50143         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50144         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50145         [XPG3] (remainder): Likewise.
50146         [XPG3] (rint): Likewise.
50147         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50148         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50149         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50150         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50151         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50152         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50154         [UNIX98 || XOPEN2K] (scalb): Expect.
50155         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50156         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50164         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50165         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50166         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50239         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50240         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50248         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50249         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50250         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50251         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50252         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50253         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50254         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50255         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50256         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50257         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50258         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50259         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50260         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50261         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50262         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50263         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50264         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50265         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50266         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50267         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50268         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50269         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50270         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50271         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50272         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50273         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50274         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50275         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50276         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50277         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50278         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50279         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50280         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50281         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50282         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50283         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50284         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50285         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50286         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50287         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50288         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50289         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50290         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50291         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50293         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50294         _XOPEN_SOURCE_EXTENDED for XPG4.
50296         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50298         * Makeconfig (localtime): Remove variable.
50299         (inst_localtime-file): Likewise.
50301 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50304         Update.
50305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50306         Update.
50307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50308         Update.
50309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50310         Update.
50311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50312         Update.
50313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50314         Update.
50315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50316         Update.
50317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50318         Update.
50319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50320         Update.
50322 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50324         [BZ #2550]
50325         [BZ #2570]
50326         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50327         comparisons to determine direction to adjust input.
50328         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50329         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50331         Likewise.
50332         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50333         Likewise.
50334         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50335         Likewise.
50336         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50337         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50338         Likewise.
50339         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50340         Likewise.
50341         * math/libm-test.inc (nexttoward_test): Add more tests.
50343 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50345         [BZ #14040]
50346         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50347         in version GLIBC_2.1, not GLIBC_2.0.
50348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50349         Likewise.
50351 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50353         [BZ #13942]
50354         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50355         (1 - x) * (1 + x).
50356         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50357         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50358         * math/libm-test.inc (acos_test): Add more tests.
50359         (asin_test): Likewise.
50360         * sysdeps/i386/fpu/libm-test-ulps: Update.
50361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50363         [BZ #14034]
50364         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50365         of square root.
50366         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50367         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50368         * math/libm-test.inc (acos_test_tonearest): New function.
50369         (acos_test_towardzero): Likewise.
50370         (acos_test_downward): Likewise.
50371         (acos_test_upward): Likewise.
50372         (asin_test_tonearest): Likewise.
50373         (asin_test_towardzero): Likewise.
50374         (asin_test_downward): Likewise.
50375         (asin_test_upward): Likewise.
50376         (main): Call the new functions.
50377         * sysdeps/i386/fpu/libm-test-ulps: Update.
50378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50380         [BZ #13884]
50381         [BZ #13924]
50382         * math/e_exp10.c: Include <float.h>.
50383         (__ieee754_exp10): Handle underflow here rather than multiplying
50384         large negative argument by M_LN10.
50385         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50386         of __ieee754_expf.
50387         * math/e_exp10l.c: Include <float.h>.
50388         (__ieee754_exp10l): Handle underflow here rather than multiplying
50389         large negative argument by M_LN10l.
50390         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50391         spurious overflow exception on underflow.
50393 2012-04-29  Marek Polacek  <polacek@redhat.com>
50395         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50396         (__fortify_function): New macro.
50397         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50398         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50399         __extern_always_inline.
50400         * libio/bits/stdio2.h: Likewise.
50401         * libio/bits/stdio.h: Likewise.
50402         * string/string.h: Likewise.
50403         * string/bits/string3.h: Likewise.
50404         * include/stdio.h: Likewise.
50405         * stdlib/bits/stdlib.h: Likewise.
50406         * stdlib/stdlib.h: Likewise.
50407         * rt/bits/mqueue2.h: Likewise.
50408         * rt/mqueue.h: Likewise.
50409         * posix/bits/unistd.h: Likewise.
50410         * posix/unistd.h: Likewise.
50411         * io/bits/poll2.h: Likewise.
50412         * io/bits/fcntl2.h: Likewise.
50413         * io/fcntl.h: Likewise.
50414         * io/sys/poll.h: Likewise.
50415         * misc/bits/syslog.h: Likewise.
50416         * misc/bits/syslog-ldbl.h: Likewise.
50417         * misc/sys/syslog.h: Likewise.
50418         * socket/bits/socket2.h: Likewise.
50419         * socket/sys/socket.h: Likewise.
50420         * debug/tst-chk1.c: Likewise.
50421         * wcsmbs/bits/wchar2.h: Likewise.
50422         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50423         * wcsmbs/wchar.h: Likewise.
50425 2012-04-29  Andreas Jaeger  <aj@suse.de>
50427         * Makerules (tests): Remove enable-check-abi protection.
50428         (check-abi-warn): Remove.
50429         (check-abi-%): Remove check-abi-warn usage.
50431         * configure.in: Remove check-abi configure option.
50432         * configure: Regenerated.
50433         * config.make.in (enable-check-abi): Remove.
50435 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50437         [BZ #14033]
50438         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50439         double functions to double *_finite functions.
50441         [BZ #13941]
50442         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50443         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50444         LDBL_MIN_EXP.
50445         * stdio-common/Makefile (tests): Add tst-sprintf3.
50446         * stdio-common/tst-sprintf3.c: New file.
50448         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50449         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50451 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50453         * conform/conformtest.pl: Remove duplicate typed-constant
50454         handling.
50456 2012-04-28  David S. Miller  <davem@davemloft.net>
50458         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50459         (check-abi-%): Remove AWK script prerequisite and explicit
50460         abilist directory.
50461         (check-abi): Rewrite to just diff the symlist with the abilist.
50462         (config-tls, config-abi-config): Delete, no longer used.
50463         (update-abi-%): Remove AWK script and explicit abilist directory.
50464         (update-abi): Rewrite to simply compare and conditionally copy the
50465         symlist and the sysdep abilist file.  Remove update-abi-config
50466         checks.
50467         * abilist/ld.abilist: Remove.
50468         * abilist/libBrokenLocale.abilist: Remove.
50469         * abilist/libanl.abilist: Remove.
50470         * abilist/libcrypt.abilist: Remove.
50471         * abilist/libdl.abilist: Remove.
50472         * abilist/librt.abilist: Remove.
50473         * abilist/libthread_db.abilist: Remove.
50474         * abilist/libutil.abilist: Remove.
50475         * scripts/extract-abilist.awk: Remove.
50476         * scripts/merge-abilist.awk: Remove.
50477         * sysdeps/generic/libcidn.abilist: New file.
50478         * sysdeps/generic/libnss_compat.abilist: New file.
50479         * sysdeps/generic/libnss_db.abilist: New file.
50480         * sysdeps/generic/libnss_dns.abilist: New file.
50481         * sysdeps/generic/libnss_files.abilist: New file.
50482         * sysdeps/generic/libnss_hesiod.abilist: New file.
50483         * sysdeps/generic/libnss_nis.abilist: New file.
50484         * sysdeps/generic/libnss_nisplus.abilist: New file.
50485         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50486         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50487         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50488         file.
50489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50490         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50491         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50492         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50493         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50494         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50495         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50496         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50497         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50498         file.
50499         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50500         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50501         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50502         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50503         file.
50504         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50505         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50506         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50507         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50508         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50509         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50510         file.
50511         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50512         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50513         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50514         file.
50515         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50517         New file.
50518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50519         New file.
50520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50521         New file.
50522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50523         New file.
50524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50525         New file.
50526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50527         New file.
50528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50529         New file.
50530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50531         New file.
50532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50533         New file.
50534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50535         New file.
50536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50537         New file.
50538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50539         New file.
50540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50541         New file.
50542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50543         file.
50544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50545         New file.
50546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50547         New file.
50548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50549         file.
50550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50551         New file.
50552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50553         New file.
50554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50555         file.
50556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50557         New file.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50559         New file.
50560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50561         New file.
50562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50563         New file.
50564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50565         New file.
50566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50567         New file.
50568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50570         file.
50571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50572         New file.
50573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50574         file.
50575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50576         file.
50577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50578         file.
50579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50580         file.
50581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50582         file.
50583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50584         New file.
50585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50586         file.
50587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50588         file.
50589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50590         New file.
50591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50595         file.
50596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50597         New file.
50598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50599         file.
50600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50601         file.
50602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50603         file.
50604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50605         file.
50606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50607         file.
50608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50609         New file.
50610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50611         file.
50612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50613         file.
50614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50615         New file.
50616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50617         file.
50618         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50619         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50620         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50621         file.
50622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50623         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50624         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50625         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50626         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50627         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50628         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50629         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50630         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50631         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50634         file.
50635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50636         New file.
50637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50638         file.
50639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50640         file.
50641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50642         file.
50643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50644         file.
50645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50646         file.
50647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50648         New file.
50649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50650         New file.
50651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50652         file.
50653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50654         New file.
50655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50656         file.
50657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50659         file.
50660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50661         New file.
50662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50663         file.
50664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50665         file.
50666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50667         file.
50668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50669         file.
50670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50671         file.
50672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50673         New file.
50674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50675         New file.
50676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50677         file.
50678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50679         New file.
50680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50681         file.
50683 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50685         * conform/conformtest.pl: Fix typo in handling typed-constant from
50686         allow-header.
50688 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50690         * README: Cut down references to pre-2.6 Linux kernels and
50691         Linuxthreads.  Update lists of configurations in libc and ports
50692         and sort alphabetically.  Say "or newer" with Linux kernel version
50693         requirements.
50695         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50697 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50699         [BZ #887]
50700         * math/libm-test.inc (logb_test_downward): New test to expose
50701         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50702         rounding mode.
50704 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50706         [BZ #14027]
50707         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50708         to be done.
50709         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50710         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50712 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50714         * sysdeps/unix/i386/brk.S: Remove file.
50715         * sysdeps/unix/i386/dl-brk.S: Likewise.
50716         * sysdeps/unix/i386/pipe.S: Likewise.
50717         * sysdeps/unix/i386/sigreturn.S: Likewise.
50718         * sysdeps/unix/i386/syscall.S: Likewise.
50719         * sysdeps/unix/i386/vfork.S: Likewise.
50720         * sysdeps/unix/i386/wait.S: Likewise.
50722         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50723         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50725         * configure.in (arm*-none*): Do not allow without
50726         --enable-hacker-mode.
50727         (netbsd*): Remove case setting base_os.
50728         (386bsd*): Likewise.
50729         (freebsd*): Likewise.
50730         (bsdi*): Likewise.
50731         (osf*): Likewise.
50732         (sunos*): Likewise.
50733         (ultrix*): Likewise.
50734         (newsos*): Likewise.
50735         (dynix*): Likewise.
50736         (*bsd*): Likewise.
50737         (sysv*): Likewise.
50738         (isc*): Likewise.
50739         (esix*): Likewise.
50740         (sco*): Likewise.
50741         (minix*): Likewise.
50742         (irix4*): Likewise.
50743         (irix6*): Likewise.
50744         (solaris[2-9]*): Likewise.
50745         (none): Likewise.
50746         * configure: Regenerated.
50748 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50750         [BZ #11521]
50751         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50752         overflow or cancellation in calculating denominator.
50753         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50755         down expression to avoid unexpected rounding in newer GCCs.
50756         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50758 2012-04-26  David S. Miller  <davem@davemloft.net>
50760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50761         long-double compat symbols.
50762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50776 2012-04-25  David S. Miller  <davem@davemloft.net>
50778         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50779         HWCAP_* values only after the memory barriers have been defined.
50780         (atomic_full_barrier): Define.
50781         (atomic_read_barrier): Define.
50782         (atomic_write_barrier): Define.
50784 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50786         * shlib-versions: Add libgcc_s version information.
50787         * sysdeps/generic/libgcc_s.h: Remove.
50788         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50789         libgcc_s.h.
50790         * sysdeps/gnu/unwind-resume.c: Likewise.
50791         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50793 2012-04-25  David S. Miller  <davem@davemloft.net>
50795         * sysdeps/unix/sparc/brk.S: Delete.
50796         * sysdeps/unix/sparc/dl-brk.S: Delete.
50797         * sysdeps/unix/sparc/pipe.S: Delete.
50798         * sysdeps/unix/sparc/sysdep.S: Delete.
50799         * sysdeps/unix/sparc/sysdep.h: Delete.
50800         * sysdeps/unix/sparc/vfork.S: Delete.
50801         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50802         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50803         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50804         (ret_ERRVAL, r0, r1, MOVE): Define.
50805         (JUMPTARGET): Remove.
50806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50807         sysdeps/unix/sparc/sysdep.h
50808         (ENTRY, END): Remove.
50809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50811 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50813         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50814         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50815         -DIS_IN_build.
50817         * timezone/README: Update upstream location and email address for
50818         tzcode and tzdata.
50819         * timezone/zdump.c: Update from tzcode 2012b.
50820         * timezone/zic.c: Likewise.
50822         * configure.in (libc_cv_as_needed): Remove test.
50823         * configure: Regenerated.
50824         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50825         conditional definition.
50826         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50827         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50828         * config.make.in (have-as-needed): Remove variable.
50830 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50831             Paul Pluzhnikov  <ppluzhnikov@google.com>
50833         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50834         strings correctly.
50836 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50838         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50839         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50840         * sysdeps/sh/strlen.S: Likewise.
50842 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50844         * sysdeps/unix/fork.S: Remove file.
50845         * sysdeps/unix/i386/fork.S: Likewise.
50846         * sysdeps/unix/sparc/fork.S: Likewise.
50848         * sysdeps/unix/system.c: Remove file.
50849         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50851         * sysdeps/unix/getegid.S: Remove file.
50852         * sysdeps/unix/geteuid.S: Likewise.
50854 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50856         * scripts/check-localplt.awk: New file.
50857         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50858         of diff.
50859         * scripts/data/localplt-generic.data: Add a comment.
50861         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50862         NODE when __dir_mkfile failed.
50863         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50864         Reported by Ludovic Courtès <ludo@gnu.org>.
50866 2012-04-24  Andreas Jaeger  <aj@suse.de>
50868         * Makerules (common-clean): Also remove gen-as-const-headers
50869         files.
50871 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50873         * Makerules (native-compile): Do not change working directory for
50874         build.  Use $(OUTPUT_OPTION) in command.
50875         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50877 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50879         [BZ #13886]
50880         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50881         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50882         * math/libm-test.inc (floor_test): Add more tests.
50883         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50885 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50887         * sysdeps/unix/getdents.c: Remove file.
50888         * sysdeps/unix/sysv/getdents.c: Likewise.
50889         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50891         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50892         sysdeps/unix/mman/syscalls.list.
50893         (mmap): Likewise.
50894         (mprotect): Likewise.
50895         (msync): Likewise.
50896         (munmap): Likewise.
50897         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50898         * sysdeps/unix/mman/syscalls.list: Remove.
50899         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50901         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50902         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50903         * configure: Regenerated.
50904         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50905         $(libgcc_s_suffix).
50906         * config.make.in (libgcc_s_suffix): Remove variable.
50908 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50910         * sysdeps/unix/sysv/gethostname.c: Move to ...
50911         * sysdeps/posix/gethostname.c: ... here.
50913         * sysdeps/unix/execve.S: Remove file.
50915         * sysdeps/unix/_exit.S: Remove file.
50917 2012-04-23  Andreas Jaeger  <aj@suse.de>
50919         [BZ #13739]
50920         * manual/Makefile: Remove make dist support, there's no
50921         need for a stand-alone documentation tar ball.
50922         (TEXI2DVI): Define always, it's not in Makeconfig.
50923         (dist): Removed.
50924         (tar-it): Removed.
50925         (edition): Removed.
50926         (glibc-doc-$(edition).tar): Removed
50927         (%.Z): Removed.
50928         (%.gz): Removed.
50929         (%.uu): Removed.
50930         (ETAGS): Remove, it's in Makeconfig.
50931         (move-if-change): Remove, it's in Makeconfig.
50933 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50935         [BZ #13970]
50936         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50937         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50938         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50939         (strtod_l, strtof_l, strtold_l): Remove __wur.
50940         It is not necessarily an error to ignore strtol's return value.
50941         One can reliably look at the stored endptr to decide whether
50942         the number had valid syntax.
50944 2012-04-21  Andreas Jaeger  <aj@suse.de>
50946         [BZ #13739]
50947         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50949 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50951         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50952         * sysdeps/unix/sysv/Versions: Remove file.
50954 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50956         [BZ #13927]
50957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50959 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50961         [BZ #7064]
50962         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50963         version from __vm86.
50965 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50967         * sysdeps/unix/common/lxstat.c: Remove file.
50968         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50970         * sysdeps/unix/sysv/Makefile: Remove file.
50972         * sysdeps/unix/sysv/direct.h: Remove file.
50974         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50975         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50976         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50977         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50978         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50979         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50980         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50982         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50984         * sysdeps/unix/xmknod.c: Remove file.
50985         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50987         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50989         * sysdeps/unix/sysv/i386/time.S: Remove file.
50991         * sysdeps/unix/fxstat.c: Remove file.
50992         * sysdeps/unix/xstat.c: Likewise.
50993         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50995         * sysdeps/unix/sysv/sigaction.c: Remove file.
50997         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50998         (sysdep_headers): Remove variable.
50999         [termio.h not in sysdep_headers] (generated): Likewise.
51000         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51001         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51002         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51003         * sysdeps/unix/sysv/tcflow.c: Likewise.
51004         * sysdeps/unix/sysv/tcflush.c: Likewise.
51005         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51006         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51007         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51008         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51009         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51011         * sysdeps/unix/siglist.c: Remove file.
51013         * sysdeps/unix/getppid.S: Remove file.
51015         * sysdeps/unix/mkdir.c: Remove file.
51016         * sysdeps/unix/rmdir.c: Likewise.
51018 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51020         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51021         ERR_MAX value.
51022         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51023         errlist-compat value.
51025 2012-04-18  David S. Miller  <davem@davemloft.net>
51027         * sysdeps/generic/memcopy.h (reg_char): Delete.
51028         * debug/strcat_chk.c: Use char, not reg_char.
51029         * debug/strcpy_chk.c: Likewise.
51030         * debug/strncat_chk.c: Likewise.
51031         * debug/strncpy_chk.c: Likewise.
51032         * string/memchr.c: Likewise.
51033         * string/memrchr.c: Likewise.
51034         * string/rawmemchr.c: Likewise.
51035         * string/strcat.c: Likewise.
51036         * string/strchr.c: Likewise.
51037         * string/strchrnul.c: Likewise.
51038         * string/strcmp.c: Likewise.
51039         * string/strcpy.c: Likewise.
51040         * string/strncat.c: Likewise.
51041         * string/strncmp.c: Likewise.
51042         * string/strncpy.c: Likewise.
51044 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51046         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51047         __builtin_memcopy is called when src and dest ranges are known to not
51048         overlap.
51050 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51052         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51053         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51054         fwd_align_merge macro call.
51055         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51056         bwd_align_merge macro call.
51057         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51059 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51061         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51062         bwd_align_merge macros.
51063         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51064         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51065         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51067 2012-04-18  David S. Miller  <davem@davemloft.net>
51069         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51071 2012-04-18  Andreas Jaeger  <aj@suse.de>
51073         [BZ# 6794]
51074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51075         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51076         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51078         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51079         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51080         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51082         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51083         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51084         Adjust for changed ldbl-128 files.
51086         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51087         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51088         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51090 2012-04-17  David S. Miller  <davem@davemloft.net>
51092         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51094 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51096         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51097         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51098         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51099         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51100         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51101         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51103 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51105         [BZ #6794]
51106         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51107         * math/libm-test.inc: Add ilogb errno and exception tests.
51108         * math/w_ilogb.c: New file: ilogb wrapper.
51109         * math/w_ilogbf.c: New file: ilogbf wrapper.
51110         * math/w_ilogbl.c: New file: ilogbl wrapper.
51111         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51112         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51113         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51114         exception being thrown with 0.0 as argument.
51115         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51116         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51117         exception being thrown with 0.0 as argument.
51118         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51119         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51120         exception being thrown with 0.0 as argument.
51121         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51122         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51123         exception being thrown with 0.0 as argument.
51124         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51125         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51126         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51127         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51128         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51129         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51130         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51131         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51132         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51134 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51136         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51137         with altivec.
51139 2012-04-16  Marek Polacek  <polacek@redhat.com>
51141         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51143 2012-04-16  Marek Polacek  <polacek@redhat.com>
51145         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51146         operands of fdivp instruction.
51148 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51150         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51151         * elf/tst-auditmod3b.c: Likewise.
51152         * elf/tst-auditmod4b.c: Likewise.
51153         * elf/tst-auditmod5b.c: Likewise.
51154         * elf/tst-auditmod6b.c: Likewise.
51155         * elf/tst-auditmod6c.c: Likewise.
51156         * elf/tst-auditmod7b.c: Likewise.
51157         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51158         * sysdeps/x86_64/preconfigure.in: Likewise.
51159         * sysdeps/x86_64/preconfigure: Regenerated.
51161 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51163         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51164         __ILP32__.
51166 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51169         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51171 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51173         [BZ #13973]
51174         * locale/iso-639.def: Fix gl language name. Spotted by
51175         Yaron Shahrabani.
51177 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51179         [BZ #2074]
51180         * libio/libio.h (__io_write_fn): Update comment.
51182 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51184         [BZ #2074]
51185         * stdio.texi (Hook Functions): The user provided writer function
51186         is not allowed to return -1.
51188 2012-04-11  David S. Miller  <davem@davemloft.net>
51190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51192 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51194         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51195         Add a leading slash to rtkaio.
51197 2012-04-11  Jim Meyering  <meyering@redhat.com>
51199         [BZ #11959]
51200         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51201         It is not necessarily an error to ignore fwrite's return
51202         value.  One can reliably use ferror to test for errors after
51203         the fact.
51205 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51207         * bits/types.h (__snseconds_t): New type.
51208         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51210         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51212         (__SNSECONDS_T_TYPE): Likewise.
51213         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51214         (__SNSECONDS_T_TYPE): Likewise.
51215         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51216         (__SNSECONDS_T_TYPE): Likewise.
51218 2012-04-10  Andreas Jaeger  <aj@suse.de>
51220         [BZ #2636]
51221         * manual/time.texi (Processor Time): Return type of times is
51222         elapsed real time since an arbitrary point in the past.
51223         (CPU Time): Move CLK_TCK from here...
51224         (Processor Time): ...to here.  Correct description.
51225         * manual/conf.texi (Constants for Sysconf): Correct description of
51226         _SC_CLK_TCK.
51228 2012-04-10  David S. Miller  <davem@davemloft.net>
51230         [BZ #13967]
51231         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51232         where the is a gap between DT_REL(A) and DT_JMPREL.
51234 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51236         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51237         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51238         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51240 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51242         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51243         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51244         (dl_main): Handle --inhibit-cache.
51245         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51246         _dl_inhibit_cache.
51247         * elf/dl-load.c (_dl_map_object): Use it.
51248         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51250 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51252         [BZ #13872]
51253         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51254         (__ieee754_powl): Saturate large exponents rather than testing for
51255         overflow of y*log2(x).
51256         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51257         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51258         exceptions.
51260         [BZ #11521]
51261         * math/s_ctan.c: Include <float.h>.
51262         (__ctan): Avoid internal overflow or cancellation in calculating
51263         denominator.
51264         * math/s_ctanf.c: Likewise.
51265         * math/s_ctanl.c: Likewise.
51266         * math/s_ctanh.c: Likewise.
51267         * math/s_ctanhf.c: Likewise.
51268         * math/s_ctanhl.c: Likewise.
51269         * math/libm-test.inc (ctan_test): Add more tests.
51270         (ctanh_test): Likewise.
51271         * sysdeps/i386/fpu/libm-test-ulps: Update.
51272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51274 2012-04-09  Andreas Jaeger  <aj@suse.de>
51276         [BZ #6894]
51277         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51278         is an optional BSD extension.
51280         [BZ #10254]
51281         * manual/stdio.texi (Opening Streams): Document additional fopen
51282         parameters.
51284 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51286         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51287         %eax without telling the compiler.
51289 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51291         [BZ # 13963]
51292         * manual/install.texi: Use sourceware.org.
51294 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51296         [BZ #13873]
51297         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51298         (__ieee754_pow): Generate overflow and underflow using huge*huge
51299         and tiny*tiny rather than just returning constant infinity or zero
51300         for large exponents.
51301         * math/libm-test.inc (pow_test): Require overflow exceptions for
51302         applicable cases of large exponents.
51304         [BZ #706]
51305         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51306         (__ieee754_pow): Use iterative multiplication algorithm only for
51307         integer exponents with absolute value below 1024.  Check for odd
51308         integer exponents when using algorithm for real exponents.
51309         * math/libm-test.inc (pow_test): Add more tests.
51310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51312 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51314         [BZ #13705]
51315         * math/libm-test.inc (exp_test): Do not allow overflow exception
51316         on underflow test.
51318 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51320         [BZ #13705]
51321         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51322         instead of __kernel_standard_f.
51324 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51326         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51327         * sysdeps/x86_64/memset_chk.S: Likewise.
51329 2012-04-08  Andreas Jaeger  <aj@suse.de>
51331         [BZ #10153]
51332         * manual/startup.texi (Environment Access): Describe return value
51333         for putenv and setenv.
51335         [BZ #6895]
51336         * manual/filesys.texi (Directory Entries): Add description for
51337         DT_LNK.
51339         [BZ #6890]
51340         * manual/filesys.texi (Directory Entries): Clarify that it's file
51341         system not operating system in the description of DT_UNKNOWN.
51343         [BZ #6578]
51344         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51346 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51348         [BZ #6649]
51349         * manual/llio.texi (Opening and Closing Files): Add cross
51350         reference to explain mode argument.
51352 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51354         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51355         * sysdeps/x86_64/memset_chk.S: Likewise.
51357 2012-04-07  David S. Miller  <davem@davemloft.net>
51359         * elf/elf.h (R_SPARC_WDISP10): Define.
51360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51361         R_SPARC_SIZE32.
51362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51363         R_SPARC_SIZE64 and R_SPARC_H34.
51365 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51367         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51368         conditions and remove no longer applicable assertion.
51370 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51372         * bits/byteswap.h: Include <features.h>.
51373         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51374         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51376 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51378         * bits/byteswap.h (__bswap_16): Removed.
51379         Include <bits/byteswap-16.h> to get __bswap_16.
51380         * sysdeps/i386/bits/byteswap.h: Likewise.
51381         * sysdeps/s390/bits/byteswap.h: Likewise.
51382         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51383         * bits/byteswap-16.h: New file.
51384         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51385         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51386         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51387         * string/Makefile (headers): Add bits/byteswap-16.h.
51389 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51391         [BZ #13895]
51392         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51393         extra indirection.
51394         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51395         * nss/tst-nss-static.c: New.
51397 2012-04-06  Robert Millan  <rmh@gnu.org>
51399         [BZ #6486]
51400         * manual/llio.texi (File Position Primitive): lseek
51401         refers to WHENCE when it really means OFFSET.
51403 2012-04-06  Andreas Jaeger  <aj@suse.de>
51405         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51406         strncmp declarations.
51408         * abilist/libc.abilist: Add __poll and __ppoll.
51410 2012-04-05  David S. Miller  <davem@davemloft.net>
51412         * scripts/check-local-headers.sh: Accept a host triplet in the
51413         path matched by the exclude regexp.
51415         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51416         definition.
51417         * sysdeps/powerpc/powerpc32/dl-machine.h
51418         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51419         * sysdeps/s390/s390-32/dl-machine.h
51420         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51421         * sysdeps/sparc/sparc32/dl-machine.h
51422         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51423         * sysdeps/sparc/sparc64/dl-machine.h
51424         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51426         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51427         lazy binding.
51428         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51429         undefined symbol errors.
51431         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51432         DT_NEEDED entries.
51434 2012-04-05  Michael Matz  <matz@suse.de>
51436         [BZ #13592]
51437         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51439 2012-04-05  Andreas Jaeger  <aj@suse.de>
51441         [BZ #13908]
51442         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51443         comment.
51445 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51447         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51448         which ROUND is no valid rounding mode.
51450 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51452         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51453         read again.
51454         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51456 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51458         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51459         an exception using FPU order intentionally.
51461 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51463         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51464         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51465         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51466         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51468 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51470         [BZ #12340]
51471         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51472         EINVAL when BUFLEN is too smal.
51474 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51476         [BZ #13553]
51477         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51478         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51480 2012-04-03  Andreas Jaeger  <aj@suse.de>
51482         [BZ #13938]
51483         * manual/setjmp.texi (System V contexts): Fix sentence.
51485         [BZ #13926]
51486         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51487         New macro for this case.
51488         [!__GNUC__] (__bswap_64): New inline function for this case.
51489         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51490         * bits/byteswap.h: Likewise.
51491         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51492         ull, guard with __GLIBC_HAVE_LONG_LONG.
51494         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51495         __GLIBC_HAVE_LONG_LONG.
51497         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51498         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51500 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51502         [BZ #13691]
51503         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51504         inptr and inend, rather than using last_ch.
51506 2012-04-02  David S. Miller  <davem@davemloft.net>
51508         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51509         * stdio-common/printf-parse.h (read_int): Change return type to
51510         'int', return -1 on INT_MAX overflow.
51511         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51512         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51513         overflows INT_MAX.  Check for overflow of in-format-string precision
51514         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51515         SIZE_MAX not INT_MAX for integer overflow test.
51516         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51517         skip the construct in the format string but do not record anything.
51518         * stdio-common/bug22.c: Adjust to test both width/prevision
51519         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51520         explicitly for proper errno values.
51522 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51524         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51525         CHAR_MAX.
51526         * string/test-strcmp.c [! WIDE]: Likewise.
51527         * time/tst-mktime2.c: Likewise for INT_MAX.
51528         * string/test-string.h: #include <sys/param.h> for MIN.
51530         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51531         * sysdeps/i386/init-first.c (init): Likewise.
51532         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51533         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51534         * sysdeps/sh/init-first.c (init): Likewise.
51536 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51538         * po/ru.po: Update from translation team.
51539         * po/vi.po: Likewise.
51541 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51543         * resolv/nss_dns/dns-host.c: Merge copyright years.
51545 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51547         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51548         Optimize memcpy with prefetch if
51549         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51550         src, dst pointers have unequal 16 byte alignments.
51552 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51554         [BZ #13928]
51555         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51556         from a CNAME entry and return the minimum ttl for the query.
51557         (gaih_getanswer_slice): Likewise.
51559 2012-03-30  Jeff Law  <law@redhat.com>
51561         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51562         due to long keys.
51563         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51564         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51566         * resolv/nss_dns/dns-host.c: Update copyright year.
51568 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51570         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51571         requests to save a system call.  Fix check that all bytes are sent.
51573         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51574         comments for sendmmsg.
51576 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51578         [BZ #13691]
51579         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51580         with only 1 character between 0x0041 and 0x01b0.
51581         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51582         * wcsmbs/tst-mbsnrtowcs.c: New file.
51584 2012-03-29  David S. Miller  <davem@davemloft.net>
51586         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51587         small copies by hand.
51589 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51591         [BZ #13761]
51592         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51593         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51594         group memberships.
51596 2012-03-28  David S. Miller  <davem@davemloft.net>
51598         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51599         that branches into memcpy.
51600         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51603         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51605         bits.
51606         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51607         implementation too.
51608         * sysdeps/sparc/mempcpy.S: New file.
51610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51611         the IFUNC routine in the libc case.
51612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51614         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51615         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51616         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51617         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51618         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51619         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51620         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51621         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51623         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51624         loop to 256 bytes instead of 64 bytes and fix test signedness.
51626         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51627         * sysdeps/sparc/sparc32/Makefile: rather than here...
51628         * sysdeps/sparc/sparc64/Makefile: and here.
51630 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51632         * malloc/mallocbug.c: Avoid warnings about unused variables.
51634 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51636         [BZ #13760]
51637         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51638         in the right place. Discard and retry query if response is
51639         larger than input buffer size.
51641 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51643         [BZ #369]
51644         [BZ #2678]
51645         [BZ #3866]
51646         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51647         x for large integer exponent.
51648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51649         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51650         sign of result as needed afterwards.
51651         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51652         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51653         result for underflowing pow the same as for overflow.
51654         (__kernel_standard_l): Handle powl overflow and underflow here
51655         rather than calling __kernel_standard.
51656         * math/libm-test.inc (pow_test): Add more tests.
51658         [BZ #3868]
51659         [BZ #13879]
51660         [BZ #13910]
51661         [BZ #13911]
51662         [BZ #13912]
51663         [BZ #13913]
51664         [BZ #13915]
51665         [BZ #13916]
51666         [BZ #13917]
51667         [BZ #13918]
51668         [BZ #13919]
51669         [BZ #13920]
51670         [BZ #13921]
51671         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51672         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51673         (__kernel_standard_l): New function.
51674         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51675         __kernel_standard.
51676         * math/w_acosl.c (__acosl): Likewise.
51677         * math/w_asinl.c (__asinl): Likewise.
51678         * math/w_atan2l.c (__atan2l): Likewise.
51679         * math/w_atanhl.c (__atanhl): Likewise.
51680         * math/w_coshl.c (__coshl): Likewise.
51681         * math/w_exp10l.c (__exp10l): Likewise.
51682         * math/w_exp2l.c (__exp2l): Likewise.
51683         * math/w_fmodl.c (__fmodl): Likewise.
51684         * math/w_hypotl.c (__hypotl): Likewise.
51685         * math/w_j0l.c (__j0l, __y0l): Likewise.
51686         * math/w_j1l.c (__j1l, __y1l): Likewise.
51687         * math/w_jnl.c (__jnl, __ynl): Likewise.
51688         * math/w_lgammal.c (__lgammal): Likewise.
51689         * math/w_log10l.c (__log10l): Likewise.
51690         * math/w_log2l.c (__log2l): Likewise.
51691         * math/w_logl.c (__logl): Likewise.
51692         * math/w_powl.c (__powl): Likewise.
51693         * math/w_remainderl.c (__remainderl): Likewise.
51694         * math/w_scalbl.c (sysv_scalbl): Likewise.
51695         * math/w_sinhl.c (__sinhl): Likewise.
51696         * math/w_sqrtl.c (__sqrtl): Likewise.
51697         * math/w_tgammal.c (__tgammal): Likewise.
51698         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51699         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51700         * math/libm-test.inc (acos_test): Add more tests.
51701         (acosh_test): Likewise.
51702         (asin_test): Likewise.
51703         (atanh_test): Likewise.
51704         (exp_test): Likewise.
51705         (exp10_test): Likewise.
51706         (exp2_test): Likewise.
51707         (expm1_test): Likewise.
51708         (lgamma_test): Likewise.
51709         (log_test): Likewise.
51710         (log10_test): Likewise.
51711         (log1p_test): Likewise.
51712         (log2_test): Likewise.
51713         (pow_test): Do not allow some spurious overflow exceptions.
51714         (sqrt_test): Add more tests.
51715         (tgamma_test): Likewise.
51716         (y0_test): Likewise.
51717         (y1_test): Likewise.
51718         (yn_test): Likewise.
51720 2012-03-27  Anton Blanchard  <anton@samba.org>
51722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51723         MAP_HUGETLB.
51724         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51725         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51726         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51728 2012-03-27  David S. Miller  <davem@davemloft.net>
51730         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51732         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51733         have-as-vis3 check.
51735 2012-03-27  Andreas Jaeger  <aj@suse.de>
51737         * sysdeps/x86_64/elf/configure.in: Moved to ...
51738         * sysdeps/x86_64/configure.in: ... here.
51739         * sysdeps/x86_64/elf/start.S: Moved to ...
51740         * sysdeps/x86_64/start.S: ... here.
51741         * sysdeps/x86_64/elf/configure: Delete.
51743         * sysdeps/x86_64/configure.in: Merge contents from
51744         sysdeps/i386/configure.in (without i686 check).
51746         * sysdeps/i386/elf/Versions: Merge into ...
51747         * sysdeps/i386/Versions: ... this.
51748         * sysdeps/i386/elf/Versions: Delete file.
51749         * sysdeps/i386/elf/start.S: Moved to ...
51750         * sysdeps/i386/start.S: ...here.
51751         * sysdeps/i386/elf/configure.in: Merge into...
51752         * sysdeps/i386/configure.in: ...here.
51753         * sysdeps/i386/elf/configure.in: Delete file.
51754         * sysdeps/i386/elf/configure: Delete file.
51756         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51757         * debug/backtracesyms.c: ... here.
51758         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51759         * debug/backtracesymsfd.c: ... here.
51760         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51761         * sysdeps/generic/ifunc-sel.h: ... here.
51763         * sysdeps/unix/i386/start.c: Delete file.
51764         * sysdeps/unix/sparc/start.c: Delete file.
51765         * sysdeps/unix/start.c: Delete file.
51767         * sysdeps/sh/elf/configure.in: Moved to ...
51768         * sysdeps/sh/configure.in: ... here.
51769         * sysdeps/sh/elf/start.S: Moved to ...
51770         * sysdeps/sh/start.S: ... here.
51771         * sysdeps/sh/elf/configure: Delete file.
51773         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51774         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51775         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51776         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51777         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51778         * sysdeps/powerpc/powerpc64/start.S: here.
51779         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51780         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51781         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51782         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51783         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51785         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51786         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51787         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51788         * sysdeps/powerpc/powerpc32/start.S: ... here.
51789         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51790         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51791         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51793         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51794         * sysdeps/powerpc/ifunc-sel.h: ... here.
51795         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51796         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51798         * sysdeps/sparc/elf/configure.in: Moved to ...
51799         * sysdeps/sparc/configure.in: ... here.
51800         * sysdeps/sparc/elf/configure: Delete file.
51801         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51802         * sysdeps/sparc/sparc32/start.S: ... here.
51803         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51804         * sysdeps/sparc/sparc64/start.S: ... here.
51805         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51806         * sysdeps/sparc/sparc32/Makefile: ... this.
51807         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51808         * sysdeps/sparc/sparc64/Makefile: ... this.
51810         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51811         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51812         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51813         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51814         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51815         * sysdeps/s390/s390-32/setjmp.S: ... here.
51816         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51817         * sysdeps/s390/s390-32/configure.in: ... here.
51818         * sysdeps/s390/s390-32/elf/configure: Delete file.
51819         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51820         * sysdeps/s390/s390-32/start.S: ... here.
51822         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51823         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51824         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51825         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51826         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51827         * sysdeps/s390/s390-64/setjmp.S: ... here.
51828         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51829         * sysdeps/s390/s390-64/configure.in: ... here
51830         * sysdeps/s390/s390-64/elf/configure: Delete file.
51831         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51832         * sysdeps/s390/s390-64/start.S: ... here.
51833         * sysdeps/s390/s390-64/elf/configure: Delete.
51835         * configure.in: Remove support for elf directories in sysdeps.
51837         * configure: Regenerated.
51838         * sysdeps/i386/configure: Regenerated.
51839         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51840         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51841         * sysdeps/s390/s390-32/configure: Regenerated.
51842         * sysdeps/s390/s390-64/configure: Regenerated.
51843         * sysdeps/sh/configure: Regenerated.
51844         * sysdeps/sparc/configure: Regenerated.
51845         * sysdeps/x86_64/configure: Regenerated.
51847 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51852         denormal result into account.
51854 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51856         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51857         Reported by Allan McRae <allan@archlinux.org>.
51859 2012-03-23  Jeff Law  <law@redhat.com>
51861         * nss/getnssent.c (__nss_getent): Fix typo.
51863 2012-03-23  David S. Miller  <davem@davemloft.net>
51865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51867 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51869         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51870         to pad to uint64_t for each field.
51871         (dl_tls_index): Replace unsigned long with uint64_t.
51873 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51874         Paul Pluzhnikov  <ppluzhnikov@google.com>
51876         [BZ #6528]
51877         * grp/Makefile (otherlibs): Don't set it.
51878         * inet/Makefile (otherlibs): Likewise.
51879         * login/Makefile (otherlibs): Likewise.
51880         * nscd/Makefile (otherlibs): Likewise.
51881         * posix/Makefile (otherlibs): Likewise.
51882         * pwd/Makefile (otherlibs): Likewise.
51883         * rt/Makefile (otherlibs): Likewise.
51884         * sunrpc/Makefile (otherlibs): Likewise.
51885         * nss/Makefile (otherlibs): Likewise.
51886         Add libnss_files to routines and static-only-routines.
51887         ($(objpfx)getent): Remove rule.
51888         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51889         static-only-routines.
51891 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51893         [BZ #13892]
51894         * math/s_cexp.c: Include <float.h>.
51895         (__cexp): Handle exp result overflowing not necessarily
51896         overflowing both real and imaginary parts of result.
51897         * math/s_cexpf.c: Likewise.
51898         * math/s_cexpl.c: Likewise.
51899         * math/libm-test.inc (cexp_test): Add more tests.
51900         * sysdeps/i386/fpu/libm-test-ulps: Update.
51901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51903 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51905         * include/link.h (ELFW): New macro.
51906         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51907         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51909 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51911         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51912         with uint64_t.
51914 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51916         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51917         declaration.
51918         (struct La_x32_retval): Likewise.
51920 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51922         * sysdeps/x86_64/preconfigure.in: New file.
51923         * sysdeps/x86_64/preconfigure: New generated file.
51925 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51927         [BZ #13824]
51928         * math/e_exp2l.c: Include <float.h>.
51929         (__ieee754_exp2l): Handle overflow and underflow cases
51930         separately.  Only pass fractional part of argument to
51931         __ieee754_expl.
51932         * math/libm-test.inc (exp2_test): Add more tests.
51934         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51935         negating x to take absolute value.
51936         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51937         Likewise.
51938         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51939         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51940         Likewise.
51941         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51942         computing low part if x was negated.
51943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51945 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51947         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51948         la_x32_gnu_pltexit.
51949         (pltexit): Cast int_retval to ptrdiff_t.
51950         * elf/tst-auditmod3b.c: Likewise.
51951         * elf/tst-auditmod4b.c: Likewise.
51952         * elf/tst-auditmod5b.c: Likewise.
51953         * elf/tst-auditmod6b.c: Likewise.
51954         * elf/tst-auditmod6c.c: Likewise.
51955         * elf/tst-auditmod7b.c: Likewise.
51957         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51958         and x32_gnu_pltexit.
51960         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51961         __ELF_NATIVE_CLASS.
51962         (La_x32_regs): New macro.
51963         (La_x32_retval): Likewise.
51964         (la_x32_gnu_pltenter): New function prototype.
51965         (la_x32_gnu_pltexit): Likewise.
51967 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51969         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51970         exponent.
51972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51974         * configure.in (libc_cv_cc_nofma): Check for option to disable
51975         generation of FMA instructions.
51976         * configure: Regenerate.
51977         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51978         * sysdeps/ieee754/dbl-64/Makefile: New file.
51979         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51980         Remove brandred-fma4.
51981         (CFLAGS-brandred-fma4.c): Remove.
51982         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51984         define.
51985         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51986         define.
51988 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51990         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51991         LLONG_MAX != LONG_MAX.
51992         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51993         (_fitoa_word): Likewise.
51994         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51995         LLONG_MAX != LONG_MAX.
51996         * stdio-common/_itowa.h: Include <_itoa.h>.
51997         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51998         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51999         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52000         only if not defined.
52001         (_ITOA_WORD_TYPE): Likewise.
52002         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52003         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52005 2012-03-21  David S. Miller  <davem@davemloft.net>
52007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52009 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52011         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52012         of x86_64 when setting libc_cv_slibdir, libdir and
52013         libc_cv_localedir.
52014         * sysdeps/unix/sysv/linux/configure: Regenerated.
52016 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52018         * manual/lang.texi (Old Varargs): Remove section.
52019         (How Variadic): Update menu.
52020         (va_start): Do not mention varargs.h.
52022 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52023             Joseph Myers  <joseph@codesourcery.com>
52025         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52026         link test.
52027         * configure: Regenerated.
52029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52031         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52032         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52033         conformtest.pl
52035 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52037         * NOTES: Remove.
52038         * Makefile (files-for-dist): Remove NOTES.
52039         (NOTES): Remove rule.
52040         * README: Don't refer to NOTES.
52041         * manual/creature.texi: Don't include macros.texi.
52042         * manual/intro.texi (creature.texi): Remove comment referring to
52043         NOTES.
52045         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52046         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52047         * configure: Regenerated.
52048         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52049         LIBC_TRY_CC_OPTION.
52050         (libc_cv_as_i686): Likewise.
52051         (libc_cv_cc_avx): Likewise.
52052         (libc_cv_cc_sse2avx): Likewise.
52053         (libc_cv_cc_fma4): Likewise.
52054         (libc_cv_cc_novzeroupper): Likewise.
52055         * sysdeps/i386/configure: Regenerated.
52057         [BZ #13883]
52058         * sysdeps/i386/fpu/s_cexp.S: Remove.
52059         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52060         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52061         * math/libm-test.inc (cexp_test): Add more tests.
52062         * sysdeps/i386/fpu/libm-test-ulps: Update.
52063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52065 2012-03-21  Allan McRae  <allan@archlinux.org>
52067         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52069 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52071         [BZ #13871]
52072         * math/w_exp2.c: Do not include <float.h>.
52073         (o_threshold, u_threshold): Remove.
52074         (__exp2): Calculate result before checking finiteness and calling
52075         __kernel_standard.
52076         * math/w_exp2f.c: Likewise.
52077         * math/w_exp2l.c: Likewise.
52078         * math/libm-test.inc (exp2_test): Require overflow exception for
52079         1e6 input.
52081         [BZ #3866]
52082         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52083         range of signed 64-bit integers before using fistpll.  Remove
52084         checks for whether integers fit in mantissa bits.
52085         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52086         the range of signed 32-bit integers before using fistpl.  Remove
52087         checks for whether integers fit in mantissa bits.
52088         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52089         (__ieee754_powl): Test for y outside the range of signed 64-bit
52090         integers before using fistpll.  Reduce 64-bit values to 63-bit
52091         ones as needed.
52092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52093         divide-by-zero is raised for zero to large negative powers.
52094         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52095         (__ieee754_powl): Test for y outside the range of signed 64-bit
52096         integers before using fistpll.  Reduce 64-bit values to 63-bit
52097         ones as needed.
52098         * math/libm-test.inc (pow_test): Add more tests.
52100 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52102         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52103         <stdio-common/_itoa.h>.
52104         * debug/segfault.c: Likewise.
52105         * elf/dl-cache.c: Likewise.
52106         * elf/dl-minimal.c: Likewise.
52107         * elf/dl-misc.c: Likewise.
52108         * elf/dl-sysdep.c: Likewise.
52109         * elf/dl-version.c: Likewise.
52110         * elf/rtld.c: Likewise.
52111         * hurd/hurdsock.c: Likewise.
52112         * hurd/lookup-retry.c: Likewise.
52113         * malloc/malloc.c: Likewise.
52114         * malloc/mtrace.c: Likewise.
52115         * nscd/nscd_getgr_r.c: Likewise.
52116         * nscd/nscd_getpw_r.c: Likewise.
52117         * nscd/nscd_getserv_r.c: Likewise.
52118         * posix/getopt_init.c: Likewise.
52119         * posix/wordexp.c: Likewise.
52120         * stdio-common/_itoa.c: Likewise.
52121         * stdio-common/printf_fphex.c: Likewise.
52122         * stdio-common/vfprintf.c: Likewise.
52123         * string/_strerror.c: Likewise.
52124         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52125         * sysdeps/i386/i686/hp-timing.h: Likewise.
52126         * sysdeps/mach/_strerror.c: Likewise.
52127         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52128         * sysdeps/mach/hurd/sethostid.c: Likewise.
52129         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52130         * sysdeps/mach/xpg-strerror.c: Likewise.
52131         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52132         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52133         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52134         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52135         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52136         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52137         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52138         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52139         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52140         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52141         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52142         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52143         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52144         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52145         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52146         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52147         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52148         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52149         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52150         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52151         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52153         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52155         * stdio-common/_itoa.h: Moved to ...
52156         * sysdeps/generic/_itoa.h: Here.
52158         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52160         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52161         instead of "_itoa.h" and "_itowa.h".
52162         * stdio-common/vfprintf.: Likewise.
52164 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52166         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52167         <bits/wordsize.h>.
52168         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52169         (__signbit): Likwise.
52170         (llrintf): Likwise.
52171         (llrint): Likwise.
52173 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52175         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52176         __WORDSIZE != 64.
52178 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52180         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52181         OVERFLOW_EXCEPTION_OK.
52182         * math/libm-test.inc ("Philosophy"): Update comment about
52183         exception testing.
52184         (OVERFLOW_EXCEPTION): Define.
52185         (OVERFLOW_EXCEPTION_OK): Likewise.
52186         (INVALID_EXCEPTION_OK): Renumber.
52187         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52188         (IGNORE_ZERO_INF_SIGN): Likewise.
52189         (test_exceptions): Handle FE_OVERFLOW.
52190         (exp10_test): Expect overflow exceptions.
52191         (exp2_test): Likewise.
52192         (expm1_test): Likewise.
52193         (nextafter_test): Likewise.
52194         (pow_test): Likewise.
52195         (scalbn_test): Likewise.
52196         (scalbln_test): Likewise.
52198 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52200         * sysdeps/x86_64/bits/atomic.h
52201         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52202         64bit integer.
52203         (atomic_exchange_acq): Likewise.
52204         (__arch_exchange_and_add_body): Likewise.
52205         (__arch_add_body): Likewise.
52206         (atomic_add_negative): Likewise.
52207         (atomic_add_zero): Likewise.
52209 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52211         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52212         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52216         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52217         Check __x86_64__ instead of __WORDSIZE.
52219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52221         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52223 2012-03-19  David S. Miller  <davem@davemloft.net>
52225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52227         * sysdeps/sparc/fpu/fenv_private.h: New file.
52228         * sysdeps/sparc/fpu/math_private.h: Use it.
52229         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52230         Remove.
52231         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52232         (libc_feholdexcept_setroundl): Remove.
52233         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52234         Remove.
52235         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52236         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52238 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52240         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52241         int64_t instead of long int.
52242         (INSERT_WORDS64): Likwise.
52244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52246         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52247         _Unwind_GetCFA return to _Unwind_Ptr first.
52249 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52251         [BZ #13629]
52252         * math/s_clog.c: Include <float.h>.
52253         (__clog): Scale large or subnormal inputs.
52254         * math/s_clogf.c: Likewise.
52255         * math/s_clogl.c: Likewise.
52256         * math/s_clog10.c: Include <float.h>.
52257         (M_LOG10_2): Define.
52258         (__clog10): Scale large or subnormal inputs.
52259         * math/s_clog10f.c: Likewise.
52260         * math/s_clog10l.c: Likewise.
52261         * math/libm-test.inc (clog_test): Add more tests.
52262         (clog10_test): Likewise.
52263         * sysdeps/i386/fpu/libm-test-ulps: Update.
52264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52266         [BZ #11451]
52267         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52268         x and y.
52269         * math/libm-test.inc (atan2_test): Add another test.
52271         * Makerules (common-objdir-compile): Remove.
52272         * sysdeps/unix/Makefile (config-generated): Do not add
52273         $(unix-generated) to variable.
52274         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52275         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52276         Remove rule.
52277         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52278         Likewise.
52279         [generic bits/local_lim.h] (before-compile): Do not append to
52280         variable.
52281         [generic bits/local_lim.h] (common-generated): Likewise.
52282         [generic sys/param.h] (before-compile): Do not append to variable.
52283         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52284         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52285         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52286         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52287         include.
52288         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52289         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52290         [generic sys/param.h] ($(addprefix
52291         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52292         [generic sys/param.h] (common-generated): Do not append to
52293         variable.
52294         [generic sys/param.h] (sysdep_headers): Likewise.
52295         [generic bits/errno.h] (before-compile): Do not append to
52296         variable.
52297         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52298         rule.
52299         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52300         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52301         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52302         [generic bits/errno.h] (common-generated): Do not append to
52303         variable.
52304         [generic bits/ioctls.h] (before-compile): Do not append to
52305         variable.
52306         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52307         rule.
52308         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52309         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52310         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52311         rule.
52312         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52313         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52314         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52315         [generic bits/ioctls.h] (common-generated): Do not append to
52316         variable.
52317         [generic sys/syscall.h] (syscall.h): Remove variable.
52318         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52319         rule.
52320         [generic sys/syscall.h] (before-compile): Do not append to
52321         variable.
52322         [generic sys/syscall.h] (common-generated): Likewise.
52323         * sysdeps/unix/errnos-tmpl.c: Remove file.
52324         * sysdeps/unix/errnos.awk: Likewise.
52325         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52326         * sysdeps/unix/ioctls.awk: Likewise.
52327         * sysdeps/unix/mk-local_lim.c: Likewise.
52328         * sysdeps/unix/snarf-ioctls: Likewise.
52330 2012-03-19  Richard Henderson  <rth@twiddle.net>
52332         * sysdeps/i386/fpu/fenv_private.h: New file.
52333         * sysdeps/i386/fpu/math_private.h: Use it.
52334         (math_opt_barrier, math_force_eval): Remove.
52335         (libc_feholdexcept_setround_53bit): Remove.
52336         (libc_feupdateenv_53bit): Remove.
52337         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52338         (math_opt_barrier, math_force_eval): Remove.
52339         (libc_feholdexcept): Remove.
52340         (libc_feholdexcept_setround): Remove.
52341         (libc_fetestexcept, libc_fesetenv): Remove.
52342         (libc_feupdateenv_test): Remove.
52343         (libc_feupdateenv, libc_feholdsetround): Remove.
52344         (libc_feresetround): Remove.
52346         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52347         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52349         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52350         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52351         (libc_feupdateenv_testl): New.
52352         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52353         (libc_feupdateenv_testf): New.
52354         (libc_feupdateenv): Use libc_feupdateenv_test.
52355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52356         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52358         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52359         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52360         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52361         (libc_feresetround_noex): New.
52362         (libc_feresetround_noexf): New.
52363         (libc_feresetround_noexl): New.
52364         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52365         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52366         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52368         SET_RESTORE_ROUND.
52369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52371         (__cos): Likewise.
52372         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52374         SET_RESTORE_ROUND_NOEX.
52375         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52376         SET_RESTORE_ROUND_NOEXF.
52377         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52378         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52379         (libc_feholdsetroundf): New.
52380         (libc_feresetround, libc_feresetroundf): New.
52382         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52383         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52384         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52386         * sysdeps/generic/math_private.h: Include <fenv.h>.
52387         (default_libc_feholdexcept): New.
52388         (default_libc_feholdexcept_setround): New.
52389         (default_libc_fesetenv, default_libc_feupdateenv): New.
52390         (libc_feholdexcept): Only define if undefined.
52391         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52392         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52393         (libc_feholdexcept_setroundl): Likewise.
52394         (libc_feholdexcept_setround_53bit): Likewise.
52395         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52396         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52397         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52398         (libc_feupdateenv_53bit): Likewise.
52399         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52400         (libc_feholdexcept): Convert from macro to inline function.
52401         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52402         (libc_fesetenv, libc_feupdateenv): Likewise.
52404         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52405         not previously defined.
52406         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52407         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52408         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52409         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52410         * sysdeps/ieee754/flt-32/math_private.h: New file.
52411         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52412         math_private.h below SET_FLOAT_WORD.
52413         (__isnan, __isinf_ns, __finite): Remove.
52414         (__isnanf, __isinf_nsf, __finitef): Remove.
52416 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52420 2012-03-17  David S. Miller  <davem@davemloft.net>
52422         [BZ #6471]
52423         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52424         for 2.16.
52426 2012-03-16  David S. Miller  <davem@davemloft.net>
52428         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52429         warnings.
52431         [BZ #6471]
52432         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52433         properly.
52434         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52435         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52436         sysdep_routines when subdir is sysvipc.
52437         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52438         __getshmlba helper.
52440         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52442 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52444         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52445         [__LP64__].
52447 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52449         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52450         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52451         (__lround): Renamed to ...
52452         (__llround): This.  Replace long int with long long int.
52453         Define lround functions as aliases of llround functions.
52454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52456 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52458         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52459         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52460         adresses to uintptr_t.  Replace "long int" and "unsigned long
52461         int" with "greg_t" on va_arg.
52463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52465         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52466         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52468         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52469         Move e_machine check before EI_CLASS check.  Handle x32
52470         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52471         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52472         SKIP_EM_IA_64 and include
52473         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52475         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52476         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52477         (add_system_dir): New macro.
52479         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52480         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52482 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52484         [BZ #2551]
52485         [BZ #2552]
52486         [BZ #2553]
52487         [BZ #2554]
52488         [BZ #2562]
52489         [BZ #2563]
52490         [BZ #2565]
52491         [BZ #2566]
52492         [BZ #2576]
52493         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52494         (y0): Likewise.
52495         * math/w_j0f.c (j0f): Likewise.
52496         (y0f): Likewise.
52497         * math/w_j0l.c (__j0l): Likewise.
52498         (__y0l): Likewise.
52499         * math/w_j1.c (j1): Likewise.
52500         (y1): Likewise.
52501         * math/w_j1f.c (j1f): Likewise.
52502         (y1f): Likewise.
52503         * math/w_j1l.c (__j1l): Likewise.
52504         (__y1l): Likewise.
52505         * math/w_jn.c (jn): Likewise.
52506         (yn): Likewise.
52507         * math/w_jnf.c (jnf): Likewise.
52508         (ynf): Likewise.
52509         * math/w_jnl.c (__jnl): Likewise.
52510         (__ynl): Likewise.
52511         * math/libm-test.inc (j0_test): Add more tests.
52512         (j1_test): Likewise.
52513         (jn_test): Likewise.  Add trailing semicolon to existing test.
52514         (y0_test): Likewise.
52515         (y1_test): Likewise.
52516         * sysdeps/i386/fpu/libm-test-ulps: Update.
52517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52519         [BZ #13851]
52520         [BZ #13854]
52521         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52522         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52523         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52524         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52525         (__tanl): Set errno for infinite argument.
52526         * sysdeps/i386/fpu/mptan.c: Remove.
52527         * sysdeps/i386/fpu/s_tan.S: Likewise.
52528         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52529         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52530         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52531         * math/libm-test.inc (tan_test): Add more tests and enable more
52532         tests for double and long double.
52533         * sysdeps/i386/fpu/libm-test-ulps: Update.
52534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52536 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52538         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52539         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52541 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52543         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52544         * configure.in: Use it for both main tree and add-ons.
52545         * configure: Regenerated.
52547 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52549         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52551 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52553         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52554         in comment.
52556         [BZ #13851]
52557         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52558         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52562         infinite argument.
52563         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52565         != 0 for prec == 2.
52566         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52567         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52568         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52569         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52570         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52571         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52572         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52573         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52574         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52575         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52576         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52577         * math/libm-test.inc (cos_test): Add more tests and enable more
52578         tests for long double.
52579         (sin_test): Likewise.
52580         (sincos_test): Likewise.
52581         * sysdeps/i386/fpu/libm-test-ulps: Update.
52582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52584 2012-03-16  David S. Miller  <davem@davemloft.net>
52586         * sysdeps/sparc/fpu/math_private.h: New file.
52588 2012-03-15  David S. Miller  <davem@davemloft.net>
52590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52591         file.
52592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52594         file.
52595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52601         sysdep routines.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52604         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52605         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52607         * sysdeps/sparc/sparc-ifunc.h: New file.
52608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52609         sparc-ifunc.h
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52612         Likewise.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52614         Likewise.
52615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52619         Likewise.
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52625         Likewise.
52626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52627         Likewise.
52628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52634         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52646         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52648         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52650         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52653 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52655         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52656         scaling.
52657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52659 2012-03-15  Andreas Jaeger  <aj@suse.de>
52661         [BZ #13852]
52662         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52663         ieee754/flt-32 implementation for sin, cos and sincos.
52664         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52665         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52666         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52667         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52668         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52669         ieee754/flt-32 implementation for tan.
52671         * math/libm-test.inc (cos_test): Enable some large input tests for
52672         float as well
52673         (sin_test): Likewise.
52674         (sincos_test): Likewise.
52675         (tan_test): Add tests for large input.
52677         * sysdeps/i386/fpu/libm-test-ulps: Update.
52679 2012-03-15  Andreas Jaeger  <aj@suse.de>
52681         [BZ #13658]
52682         * math/libm-test.inc (cos_test): Add more test cases.
52683         (sin_test): Likewise.
52684         (sincos_test): Likewise.
52686 2012-03-15  Andreas Jaeger  <aj@suse.de>
52688         [BZ #13837]
52689         * math/libm-test.inc (cos_test): Add a test case for large input
52690         value.
52691         (sin_test): Likewise.
52692         (sincos_test): Likewise.
52694 2012-03-15  Andreas Jaeger  <aj@suse.de>
52695             Joseph Myers  <joseph@codesourcery.com>
52697         [BZ #13658]
52698         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52699         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52700         * sysdeps/i386/fpu/branred.c: Likewise.
52701         * sysdeps/i386/fpu/dosincos.c: Likewise.
52702         * sysdeps/i386/fpu/mpa.c: Likewise.
52703         * sysdeps/i386/fpu/s_cos.S: Likewise.
52704         * sysdeps/i386/fpu/s_sin.S: Likewise.
52705         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52706         * sysdeps/i386/fpu/sincos32.c: Likewise.
52708         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52709         Define.
52710         (libc_feupdateenv_53bit): Define.
52711         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52712         Define.
52713         (libc_feupdateenv_53bit): Define.
52715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52716         53 bit (without extend i386 double precision).
52718         * math/libm-test.inc (sincos_test): Add tests for large input.
52719         (sin): Likewise.
52720         (cos): Likewise.
52722         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52724 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52728 2012-03-15  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52731         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52732         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52733         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52746         file.
52747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52749         file.
52750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52752         file.
52753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52755         file.
52756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52758         fmin/fmax sysdep routines.
52759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52761 2012-03-14  David S. Miller  <davem@davemloft.net>
52763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52783         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52787         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52792         routines.
52793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52794         file.
52795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52797         file.
52798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52800         file.
52801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52803         file.
52804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52806         file.
52807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52809         file.
52810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52811         file.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52813         file.
52814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52815         file.
52816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52817         New file.
52818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52819         file.
52820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52821         file.
52822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52824         file.
52825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52827         file.
52828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52830         file.
52831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52833         VIS3 routines.
52835         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52836         New file.
52838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52840         * sysdeps/sparc/configure.in: New file.
52841         * sysdeps/sparc/configure: Generate.
52842         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52843         * configure: Regenerate.
52844         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52845         * config.make.in (have-as-vis3): New.
52846         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52847         available use -Av9d instead of -Av9a.
52848         * sysdeps/sparc/sparc64/Makefile: Likewise.
52849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52851         New file.
52852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52853         file.
52854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52855         New file.
52856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52857         file.
52858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52864         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52865         fzeros/fnegs to load 0x80000000 into a float register instead of
52866         using the stack.
52867         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52869 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52872         bits/syscall.h.
52873         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52874         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52875         ($(inst_includedir)/bits/syscall.h): Remove rule.
52876         ($(objpfx)bits/syscall.d): Include instead of
52877         $(objpfx)syscall-list.d.
52878         (generated): Change syscall-list.h and syscall-list.d to
52879         bits/syscall.h and bits/syscall.d.
52881 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52883         [BZ #13846]
52884         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52886 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52888         [BZ #13841]
52889         * math/s_csqrt.c: Include <float.h>.
52890         (__csqrt): Scale large or subnormal inputs.
52891         * math/s_csqrtf.c: Likewise.
52892         * math/s_csqrtl.c: Likewise.
52893         * math/libm-test.inc (csqrt_test): Add more tests.
52894         * sysdeps/i386/fpu/libm-test-ulps: Update.
52895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52897         [BZ #13840]
52898         * math/libm-test.inc (hypot_test): Add more tests.
52900 2012-03-13  David S. Miller  <davem@davemloft.net>
52902         [BZ #13840]
52903         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52904         double-precision for the calculation instead of scaling.
52906 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52908         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52909         manipulate bits before adding and subtracting TWO52[sx].
52910         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52911         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52912         Likewise.
52913         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52915 2012-03-13  David S. Miller  <davem@davemloft.net>
52917         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52918         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52920         rtld-global-offsets.h
52921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52923         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52924         large parameters.
52926         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52928         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52929         'err' in the ifdef scope in which it is actually used.
52931         * nss/nss_db/db-init.c: Include string.h
52933 2012-03-12  David S. Miller  <davem@davemloft.net>
52935         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52936         masking out of the most significant byte of random value used.
52937         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52938         Fix coding style in previous change.
52940         * sysdeps/unix/sysv/linux/kernel-features.h
52941         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52942         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52943         expression.
52944         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52945         later.
52947 2012-03-11  David S. Miller  <davem@davemloft.net>
52949         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52950         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52951         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52952         for 'resultvar' otherwise things get truncated on 64-bit.
52954         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52955         Fix masking out of the most significant byte of random value used.
52957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52959 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52963 2012-03-09  David S. Miller  <davem@davemloft.net>
52965         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52966         variables with appropriate CPP guards.
52967         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52968         from the frame pointer, not the stack pointer.  Correct layout
52969         comments.  Fix test on resulting framesize and the management of
52970         the outregs buffer for pltexit.  Preserve floating point return
52971         values across _dl_call_pltexit call.
52972         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52973         framesize and the management of the outregs buffer for pltexit.
52974         Preserve floating point return values across _dl_call_pltexit
52975         call.
52976         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52977         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52978         (la_sparc64_gnu_pltexit): New functions.
52979         (print_exit): Fix format string for return register value.
52981 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52983         * sunrpc/Makefile (others): Add rpcgen.
52984         ($(objpfx)rpcgen): Remove special build rule and dependency on
52985         libc.
52986         * sunrpc/rpcgen.c: New file.
52988 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52990         [BZ #13673]
52991         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52992         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52993         * sysdeps/i386/crti.S: Likewise.
52994         * sysdeps/i386/crtn.S: Likewise.
52995         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52996         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52997         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52998         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52999         * sysdeps/sh/crti.S: Likewise.
53000         * sysdeps/sh/crtn.S: Likewise.
53001         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53003         [BZ #13673]
53004         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53005         with URL.
53006         * locale/programs/locfile-kw.gperf: Likewise.
53007         * locale/programs/charmap-kw.h: Regenerated.
53008         * locale/programs/locfile-kw.h: Likewise.
53010         [BZ #13673]
53011         * intl/plural.y: Replace FSF snail mail address with URL.
53012         * intl/plural.c: Regenerated.
53014 2012-03-09  Richard Henderson  <rth@twiddle.net>
53016         * include/math_private.h: Remove file.
53017         * math/math_private.h: Move file ...
53018         * sysdeps/generic/math_private.h: ... here.
53020         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53021         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53022         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53024         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53025         and <math_private.h>.
53026         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53027         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53028         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53029         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53030         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53032         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53033         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53034         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53038         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53039         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53040         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53085         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53087         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53088         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53090         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53099         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53100         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53101         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53105         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53106         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53107         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53109         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53110         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53113         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53114         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53115         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53116         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53117         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53118         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53119         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53120         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53121         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53122         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53123         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53124         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53125         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53126         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53127         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53128         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53129         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53130         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53131         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53132         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53133         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53134         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53136         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53137         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53138         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53139         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53140         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53141         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53142         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53143         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53144         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53145         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53146         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53147         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53149         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53150         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53151         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53152         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53153         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53154         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53155         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53156         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53157         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53158         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53159         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53160         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53161         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53162         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53163         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53164         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53165         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53166         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53167         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53168         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53169         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53170         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53171         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53172         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53173         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53174         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53175         * sysdeps/ieee754/k_standard.c: Likewise.
53176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53177         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53179         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53180         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53182         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53183         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53236         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53237         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53238         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53240         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53241         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53242         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53243         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53244         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53248         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53249         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53259         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53261         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53266         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53267         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53268         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53269         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53272         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53279         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53280         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53281         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53282         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53283         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53284         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53285         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53287         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53289         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53290         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53291         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53292         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53295         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53296         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53297         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53298         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53301         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53303         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53306         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53307         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53308         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53311         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53312         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53313         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53317         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53318         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53319         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53320         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53321         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53322         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53323         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53324         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53325         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53326         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53327         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53328         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53329         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53330         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53331         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53332         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53333         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53334         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53335         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53336         * sysdeps/ieee754/s_lib_version.c: Likewise.
53337         * sysdeps/ieee754/s_matherr.c: Likewise.
53338         * sysdeps/ieee754/s_signgam.c: Likewise.
53339         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53340         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53341         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53342         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53343         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53344         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53345         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53346         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53347         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53348         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53349         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53350         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53351         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53353         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53354         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53355         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53356         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53357         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53358         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53361 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53363         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53364         * sunrpc/rpc_main.c: Likewise.
53365         * sunrpc/rpc_svcout.c: Likewise.
53367 2012-03-09  David S. Miller  <davem@davemloft.net>
53369         * include/math_private.h: New file.
53371 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53373         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53374         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53375         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53376         from <bits/socket_type.h>.
53377         (enum __socket_type): Don't define here.
53378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53380         bits/socket_type.h.
53382         [BZ #13566]
53383         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53384         checking __USE_GNU.
53386         * Makerules ($(inst_includedir)/%.h): New rule.
53387         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53388         (install-others): Remove variable setting.
53389         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53391 2012-03-08  Richard Henderson  <rth@twiddle.net>
53393         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53394         from macro to inline function; merge with the
53395         !__LIBC_INTERNAL_MATH_INLINES version.
53396         (__ieee754_sqrtf): Likewise.
53398         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53399         to inline function.
53400         (__rintf, __floor, __floorf): Likewise.
53402         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53403         macro to inline function.
53404         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53406         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53407         not <math/math_private.h>.
53409 2012-03-08  David S. Miller  <davem@davemloft.net>
53411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53412         copyright year.
53413         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53415 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53417         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53418         normalization.
53419         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53420         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53422 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53424         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53425         be defined individually, they must be defined as a block.  Define
53426         S for printing a string instead of hidint the different by using a
53427         macro for adding the 'l'.
53428         * stdio-common/tst-fphex-wide.c: Adjust.
53430 2012-03-07  Marek Polacek  <polacek@redhat.com>
53432         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53434 2012-03-08  Marek Polacek  <polacek@redhat.com>
53436         [BZ #13806]
53437         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53438         * stdio-common/tst-fphex.c: Define a few macros to make the
53439         test reusable.  Use them.
53440         * stdio-common/tst-fphex-wide.c: New file.
53442 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53444         [BZ #6911]
53445         * manual/macros.texi (gnusystems): New macro.
53446         (nongnusystems): Likewise.
53447         (gnulinuxhurdsystems): Likewise.
53448         (gnuhurdsystems): Likewise..
53449         (gnulinuxsystems): Likewise.
53450         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53451         variants of the GNU system, not "GNU system".
53452         * manual/conf.texi: Likewise.
53453         * manual/errno.texi: Likewise.  Update example of errno macro
53454         expansion.
53455         * manual/filesys.texi: Likewise.
53456         (getumask): Document as specific to GNU/Hurd.
53457         * manual/install.texi: Likewise.  Reword some references to
53458         GNU/Linux.
53459         * manual/intro.texi: Likewise.
53460         * manual/io.texi: Likewise.
53461         (File Name Portability): Detail which constraints are inapplicable
53462         to all GNU systems and which are only inapplicable to GNU/Hurd.
53463         * manual/job.texi: Likewise.
53464         * manual/llio.texi: Likewise.
53465         (O_NOCTTY): Document as present on GNU/Linux.
53466         * manual/maint.texi: Likewise.
53467         * manual/memory.texi: Likewise.
53468         * manual/pattern.texi: Likewise.
53469         * manual/pipe.texi: Likewise.
53470         * manual/process.texi: Likewise.
53471         * manual/resource.texi: Likewise.
53472         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53473         child on GNU/Hurd.
53474         * manual/setjmp.texi: Likewise.
53475         * manual/signal.texi: Likewise.
53476         * manual/startup.texi: Likewise.
53477         * manual/stdio.texi: Likewise.
53478         * manual/terminal.texi: Likewise.
53479         (ONLCR): Document as POSIX.
53480         (OXTABS): Document availability on GNU/Linux as XTABS.
53481         (ONOEOT): Document availability separately from other bits.
53482         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53483         * manual/time.texi: Likewise.
53484         * manual/users.texi: Likewise.
53485         * INSTALL: Regenerated.
53486         * sysdeps/gnu/errlist.c: Regenerated.
53488         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53489         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53490         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53491         puts.
53492         * configure: Regenerated.
53494 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53496         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53497         default includes instead of AC_HEADER_CHECK.
53498         * sysdeps/i386/configure: Regenerated.
53500         [BZ #10716]
53501         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53502         * math/s_cacoshf.c (__cacoshf): Likewise.
53503         * math/s_cacoshl.c (__cacoshl): Likewise.
53504         * math/s_casinh.c (__casinh): Set signs of result from argument.
53505         * math/s_casinhf.c (__casinhf): Likewise.
53506         * math/s_casinhl.c (__casinhl): Likewise.
53507         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53508         (casinh_test): Add more tests.
53509         * sysdeps/i386/fpu/libm-test-ulps: Update.
53510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53512 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53514         * po/zh_TW.po: Update from translation team.
53516         * login/Makefile (distribute): Remove variable.
53517         * catgets/Makefile: Likewise.
53518         * mach/Makefile: Likewise.
53519         * malloc/Makefile: Likewise.
53520         * misc/Makefile: Likewise.
53521         * iconv/Makefile: Likewise.
53522         * nscd/Makefile: Likewise.
53523         * hurd/Makefile: Likewise.
53524         * manual/Makefile: Likewise.
53525         * locale/Makefile: Likewise.
53526         * intl/Makefile: Likewise.
53527         * conform/Makefile: Likewise.
53528         * nss/Makefile: Likewise.
53529         * time/Makefile: Likewise.
53530         * soft-fp/Makefile: Likewise.
53531         * dirent/Makefile: Likewise.
53532         * gmon/Makefile: Likewise.
53533         * po/Makefile: Likewise.
53534         * rt/Makefile: Likewise.
53535         * socket/Makefile: Likewise.
53536         * math/Makefile: Likewise.
53537         * signal/Makefile: Likewise.
53538         * debug/Makefile: Likewise.
53539         * elf/Makefile: Likewise.
53540         * timezone/Makefile: Likewise.
53541         * stdlib/Makefile: Likewise.
53542         * iconvdata/Makefile: Likewise.
53543         * sunrpc/Makefile: Likewise.
53544         * io/Makefile: Likewise.
53545         * argp/Makefile: Likewise.
53546         * inet/Makefile: Likewise.
53547         * hesiod/Makefile: Likewise.
53548         * grp/Makefile: Likewise.
53549         * csu/Makefile: Likewise.
53550         * wctype/Makefile: Likewise.
53551         * crypt/Makefile: Likewise.
53552         * libio/Makefile: Likewise.
53553         * string/Makefile: Likewise.
53554         * nis/Makefile: Likewise.
53555         * resolv/Makefile: Likewise.
53556         * stdio-common/Makefile: Likewise.
53557         * wcsmbs/Makefile: Likewise.
53558         * dlfcn/Makefile: Likewise.
53559         * posix/Makefile: Likewise.
53561         [BZ #6959]
53562         * timezone/Makefile: Don't install timezone files, just the programs
53563         and scripts.
53565 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53567         * nss/databases.def: Add missing gshadow entry.
53569         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53571 2012-03-06  Marek Polacek  <polacek@redhat.com>
53573         [BZ #13726]
53574         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53575         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53576         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53577         * stdio-common/tst-long-dbl-fphex.c: New file.
53579 2012-03-06  David S. Miller  <davem@davemloft.net>
53581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53582         (set_obp_int): New function.
53583         (get_obp_int): New function.
53584         (__get_clockfreq_via_dev_openprom): Likewise.
53585         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53586         Avoid unused variable warnings on 'val' and use builtin_expect.
53587         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53588         __builtin_expect.
53589         (INLINE_CLONE_SYSCALL): Likewise.
53591 2012-03-05  David S. Miller  <davem@davemloft.net>
53593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53595 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53599         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53600         only for |x| >= 40.
53601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53603 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53606         Replace gettimeofday with __vdso_gettimeofday.
53608         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53609         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53610         __vdso_clock_gettime and __vdso_getcpu.
53612         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53613         time with __vdso_time.
53615 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53617         * manual/lang.texi (size_t): Note types to which size_t may be
53618         equivalent with the GNU C Library, but do not describe when
53619         differences between them are significant.
53621 2012-03-05  Andreas Jaeger  <aj@suse.de>
53623         * sysdeps/i386/fpu/libm-test-ulps: Update.
53625 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #3976]
53628         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53629         (__ieee754_pow): Save and restore rounding mode and use
53630         round-to-nearest for main computations.
53631         * math/libm-test.inc (pow_test_tonearest): New function.
53632         (pow_test_towardzero): Likewise.
53633         (pow_test_downward): Likewise.
53634         (pow_test_upward): Likewise.
53635         (main): Call the new functions.
53636         * sysdeps/i386/fpu/libm-test-ulps: Update.
53637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53639         [BZ #3976]
53640         * math/libm-test.inc (cosh_test_tonearest): New function.
53641         (cosh_test_towardzero): Likewise.
53642         (cosh_test_downward): Likewise.
53643         (cosh_test_upward): Likewise.
53644         (sinh_test_tonearest): Likewise.
53645         (sinh_test_towardzero): Likewise.
53646         (sinh_test_downward): Likewise.
53647         (sinh_test_upward): Likewise.
53648         (main): Call the new functions.
53649         * sysdeps/i386/fpu/libm-test-ulps: Update.
53650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53652 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53654         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53655         default stack guard is set in last bytes.
53656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53658 2012-03-05  Kees Cook  <keescook@chromium.org>
53660         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53662         [BZ #13656]
53663         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53664         possibly allocate from heap instead of stack.
53665         * stdio-common/bug-vfprintf-nargs.c: New file.
53666         * stdio-common/Makefile (tests): Add nargs overflow test.
53668 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53672 2012-03-03  Marek Polacek  <polacek@redhat.com>
53674         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53675         * math/math_private.h: Likewise.
53676         * stdlib/tst-strtod.c: Likewise.
53677         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53678         * sysdeps/x86_64/bits/atomic.h: Likewise.
53680 2012-03-02  David S. Miller  <davem@davemloft.net>
53682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53686         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53687         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53688         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53689         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53691 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53693         [BZ #13792]
53694         * manual/examples/README: New file, says the example source files
53695         can be used under GPL>=2.
53696         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53697         line containing just "*/".
53698         * manual/examples/add.c: Add copyright header (GPL>=2).
53699         * manual/examples/argp-ex1.c: Likewise.
53700         * manual/examples/argp-ex2.c: Likewise.
53701         * manual/examples/argp-ex3.c: Likewise.
53702         * manual/examples/argp-ex4.c: Likewise.
53703         * manual/examples/atexit.c: Likewise.
53704         * manual/examples/db.c: Likewise.
53705         * manual/examples/dir.c: Likewise.
53706         * manual/examples/dir2.c: Likewise.
53707         * manual/examples/execinfo.c: Likewise.
53708         * manual/examples/filecli.c: Likewise.
53709         * manual/examples/filesrv.c: Likewise.
53710         * manual/examples/fmtmsgexpl.c: Likewise.
53711         * manual/examples/genpass.c: Likewise.
53712         * manual/examples/inetcli.c: Likewise.
53713         * manual/examples/inetsrv.c: Likewise.
53714         * manual/examples/isockad.c: Likewise.
53715         * manual/examples/longopt.c: Likewise.
53716         * manual/examples/memopen.c: Likewise.
53717         * manual/examples/memstrm.c: Likewise.
53718         * manual/examples/mkfsock.c: Likewise.
53719         * manual/examples/mkisock.c: Likewise.
53720         * manual/examples/mygetpass.c: Likewise.
53721         * manual/examples/pipe.c: Likewise.
53722         * manual/examples/popen.c: Likewise.
53723         * manual/examples/rprintf.c: Likewise.
53724         * manual/examples/search.c: Likewise.
53725         * manual/examples/select.c: Likewise.
53726         * manual/examples/setjmp.c: Likewise.
53727         * manual/examples/sigh1.c: Likewise.
53728         * manual/examples/sigusr.c: Likewise.
53729         * manual/examples/stpcpy.c: Likewise.
53730         * manual/examples/strdupa.c: Likewise.
53731         * manual/examples/strftim.c: Likewise.
53732         * manual/examples/strncat.c: Likewise.
53733         * manual/examples/subopt.c: Likewise.
53734         * manual/examples/swapcontext.c: Likewise.
53735         * manual/examples/termios.c: Likewise.
53736         * manual/examples/testopt.c: Likewise.
53737         * manual/examples/testpass.c: Likewise.
53738         * manual/examples/timeval_subtract.c: Likewise.
53740         [BZ #13792]
53741         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53742         function to ...
53743         * manual/timeval_subtract.c.texi: ... here, new file.
53745 2012-03-02  David S. Miller  <davem@davemloft.net>
53747         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53749 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53751         [BZ #3976]
53752         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53753         (__sin): Save and restore rounding mode and use round-to-nearest
53754         for all computations.
53755         (__cos): Save and restore rounding mode and use round-to-nearest
53756         for all computations.
53757         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53758         <fenv.h>.
53759         (tan): Save and restore rounding mode and use round-to-nearest for
53760         all computations.
53761         * math/libm-test.inc (cos_test_tonearest): New function.
53762         (cos_test_towardzero): Likewise.
53763         (cos_test_downward): Likewise.
53764         (cos_test_upward): Likewise.
53765         (sin_test_tonearest): Likewise.
53766         (sin_test_towardzero): Likewise.
53767         (sin_test_downward): Likewise.
53768         (sin_test_upward): Likewise.
53769         (tan_test_tonearest): Likewise.
53770         (tan_test_towardzero): Likewise.
53771         (tan_test_downward): Likewise.
53772         (tan_test_upward): Likewise.
53773         (main): Call the new functions.
53774         * sysdeps/i386/fpu/libm-test-ulps: Update.
53775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53777         [BZ #10135]
53778         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53779         small n, then large n, before computing and testing k+n.
53780         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53781         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53782         Likewise.
53783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53784         Likewise.
53785         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53786         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53787         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53789         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53790         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53792         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53793         * math/libm-test.inc (scalbn_test): Add more tests.
53794         (scalbln_test): Likewise.
53796         * manual/filesys.texi (mode_t): Describe constraints on size and
53797         signedness, not exact equivalence to a particular type.
53798         (ino_t): Likewise.
53799         (ino64_t): Likewise.
53800         (dev_t): Likewise.
53801         (nlink_t): Likewise.
53802         (blkcnt_t): Likewise.
53803         (blkcnt64_t): Likewise.
53804         * manual/llio.texi (off_t): Likewise.
53806         [BZ #3976]
53807         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53808         (__ieee754_exp): Save and restore rounding mode and use
53809         round-to-nearest for all computations.
53810         * math/libm-test.inc (exp_test_tonearest): New function.
53811         (exp_test_towardzero): Likewise.
53812         (exp_test_downward): Likewise.
53813         (exp_test_upward): Likewise.
53814         (main): Call the new functions.
53815         * sysdeps/i386/fpu/libm-test-ulps: Update.
53816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53818 2012-03-01  Chris Demetriou  <cgd@google.com>
53820         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53821         have predictable order.
53823 2012-03-01  David S. Miller  <davem@davemloft.net>
53825         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53827         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53828         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53829         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53830         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53832         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53833         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53834         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53836         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53837         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53838         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53839         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53840         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53844         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53845         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53846         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53848         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53849         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53850         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53851         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53852         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53855         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53856         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53857         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53858         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53859         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53861         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53862         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53864         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53865         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53866         * sysdeps/sparc/elf/configure: Regenerated.
53868 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53870         * configure.in (AS, LD): Require binutils 2.20 or later.
53871         * configure: Regenerated.
53872         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53873         as required minimum version.
53874         * INSTALL: Regenerated.
53876         [BZ #2541]
53877         [BZ #4108]
53878         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53879         before squaring exponent.
53880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53881         bottom long double and 27 bits of top long double before squaring
53882         exponent.
53883         * math/libm-test.inc (erfc_test): Add more tests.
53884         * sysdeps/i386/fpu/libm-test-ulps: Update.
53885         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53888 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53890         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53891         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53892         containing bit-fields.
53893         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53894         * soft-fp/single.h (_FP_UNION_S): Likewise.
53895         * soft-fp/double.h (_FP_UNION_D): Likewise.
53897 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53899         [BZ #13786]
53900         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53901         not include ../strcmp.S.
53902         [USE_AS_STRNCASECMP_L]: Likewise.
53903         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53904         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53905         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53906         (__strncasecmp_l_ia32): Define as alias to
53907         __strncasecmp_l_nonascii.
53909         [BZ #5794]
53910         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53911         * sysdeps/i386/fpu/libm-test-ulps: Update.
53912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53914         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53917 2012-02-29  Jeff Law  <law@redhat.com>
53919         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53920         out of bounds read.
53922 2012-02-29  Marek Polacek  <polacek@redhat.com>
53924         [BZ #13706]
53925         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53926         * elf/Makefile: Add rules to run tst-unused-dep.out.
53928 2012-02-28  David S. Miller  <davem@davemloft.net>
53930         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53931         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53932         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53934         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53935         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53937 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53939         * math/libm-test.inc (llround_test): Move one test from
53940         lround_test.  Use TEST_f_L in moved test.
53941         (lround_test): Move misplaced test to llround_test.  Add testcase
53942         from bug 2561.
53944 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53946         * sysdeps/x86_64/fpu/e_expf.S: New file.
53947         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53949 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53951         [BZ #13637]
53952         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53953         of remain_len that may cause incomplete multi-byte character and
53954         false match.
53955         * posix/bug-regex33.c: New file.
53956         * posix/Makefile (tests): Add bug-regex33.
53958 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53960         * manual/macros.texi: New file.
53961         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53962         * manual/libc.texinfo: Include macros.texi.
53963         * manual/creatute.texi: Likewise.
53964         * manual/install.texi: Likewise.
53965         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53966         @glibcadj{} in references to the GNU C Library.
53967         * manual/charset.texi: Likewise.
53968         * manual/conf.texi: Likewise.
53969         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53970         when not using those macros.
53971         * manual/creature.texi: Likewise.
53972         * manual/crypt.texi: Likewise.
53973         * manual/errno.texi: Likewise.
53974         * manual/filesys.texi: Likewise.
53975         * manual/header.texi: Likewise.
53976         * manual/install.texi: Likewise.
53977         * manual/intro.texi: Likewise.
53978         * manual/io.texi: Likewise.
53979         * manual/job.texi: Likewise.
53980         * manual/lang.texi: Likewise.
53981         * manual/libc.texiinfo: Likewise.
53982         * manual/llio.texi: Likewise.
53983         * manual/locale.texi: Likewise.
53984         * manual/maint.texi: Likewise.
53985         * manual/math.texi: Likewise.
53986         * manual/memory.texi: Likewise.
53987         * manual/message.texi: Likewise.
53988         * manual/nss.texi: Likewise.
53989         * manual/pattern.texi: Likewise.
53990         * manual/process.texi: Likewise.
53991         * manual/resource.texi: Likewise.
53992         * manual/search.texi: Likewise.
53993         * manual/setjmp.texi: Likewise.
53994         * manual/signal.texi: Likewise.
53995         * manual/socket.texi: Likewise.
53996         * manual/startup.texi: Likewise.
53997         * manual/stdio.texi: Likewise.
53998         * manual/string.texi: Likewise.
53999         * manual/sysinfo.texi: Likewise.
54000         * manual/syslog.texi: Likewise.
54001         * manual/terminal.texi: Likewise.
54002         * manual/time.texi: Likewise.
54003         * manual/users.texi: Likewise.
54004         * INSTALL: Regenerated.
54005         * NOTES: Regenerated.
54006         * sysdeps/gnu/errlist.c: Regenerated.
54008 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54010         * include/dirent.h: Include <dirstream.h> before
54011         <dirent/dirent.h>.
54013 2012-02-28  David S. Miller  <davem@davemloft.net>
54015         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54016         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54017         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54018         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54020 2012-02-27  David S. Miller  <davem@davemloft.net>
54022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54024         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54025         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54028         frame pointer instead of stack pointer relative arg slot.
54029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54030         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54031         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54033 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54035         [BZ #3992]
54036         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54038 2012-02-27  David S. Miller  <davem@davemloft.net>
54040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54044         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54045         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54046         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54047         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54049 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54051         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54052         later.  Allow versions 5-9.
54053         * configure: Regenerated.
54054         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54055         required minimum version and 4.6 as recommended version.  Do not
54056         mention bugs in GCC 2.7 and 2.8.
54057         * INSTALL: Regenerated.
54059 2012-02-27  David S. Miller  <davem@davemloft.net>
54061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54067         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54068         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54070         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54071         manipulate bits before adding and subtracting TWO112[sx].
54072         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54074 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54076         [BZ #13775]
54077         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54078         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54079         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54080         being in POSIX, because they are in 1003.1-2008.
54082         * rt/tst-aio.c: Include <fcntl.h>.
54083         * rt/tst-aio7.c: Likewise.
54084         * rt/tst-aio64.c: Likewise.
54086         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54088 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54090         * manual/install.texi (--with-headers): Describe headers as
54091         interface headers, not private headers.
54092         (Specific advice for GNU/Linux systems): Describe use of headers
54093         from "make headers_install", not private headers from older
54094         kernels.
54095         * INSTALL: Regenerated.
54096         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54097         Change to 2.6.19.
54098         * sysdeps/unix/sysv/linux/configure: Regenerated.
54100         * manual/llio.texi (fclean): Remove documentation.
54102         * manual/Makefile (libc-texi-generated): New variable.  Include
54103         version.texi.
54104         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54105         $(libc-texi-generated), not duplicated list of files.
54106         (version.texi, stamp-version): New rules.
54107         (realclean): Remove $(libc-texi-generated), not individual files
54108         from that list.  Do not remove dir-add.texinfo.
54109         * manual/libc.texinfo: Comment out uses of edition numbers and
54110         references to printed manual.  Remove last-updated dates.
54111         (EDITION): Comment out.
54112         (ISBN): Likewise.
54113         (VERSION, UPDATED): Remove.
54114         (version.texi): Include.
54116 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54118         * sysdeps/posix/spawni.c: Include <signal.h>.
54119         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54120         * sysdeps/pthread/aio_fsync.c: Likewise.
54122 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54124         * conform/Makefile (tests): Run only when not cross-compiling and
54125         when fast-check is not defined.
54127         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54128         * conform/data/limits.h-data: Fixes for POSIX2008.
54129         * conform/run-conformtest.sh: Run all tests.
54130         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54131         headers.
54132         * include/bits/dlfcn.h: Likewise.
54133         * include/langinfo.h: Likewise.
54134         * include/monetary.h: Likewise.
54135         * include/sys/poll.h: Likewise.
54137         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54138         for __USE_GNU.
54139         * posix/spawn.h: Define __need_sigset_t.
54140         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54141         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54142         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54143         to get sigevent_t only.
54144         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54145         only for __USE_GNU.
54146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54147         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54148         process_vm_writev only for __USE_GNU.
54149         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54151         * conform/Makefile: For now ignore errors from run-conformtest.
54152         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54153         POSIX to avoid namespace pollution.  Don't prepend headers.
54154         * conform/data/aio.h-data: Fixes for POSIX testing.
54155         * conform/data/fcntl.h-data: Likewise.
54156         * conform/data/glob.h-data: Likewise.
54157         * conform/data/grp.h-data: Likewise.
54158         * conform/data/pthread.h-data: Likewise.
54159         * conform/data/pwd.h-data: Likewise.
54160         * conform/data/signal.h-data: Likewise.
54161         * conform/data/spawn.h-data: Likewise.
54162         * conform/data/stdio.h-data: Likewise.
54163         * conform/data/stdlib.h-data: Likewise.
54164         * conform/data/stropts.h-data: Likewise.
54165         * conform/data/sys/mman.h-data: Likewise.
54166         * conform/data/sys/stat.h-data: Likewise.
54167         * conform/data/sys/types.h-data: Likewise.
54168         * conform/data/sys/wait.h-data: Likewise.
54169         * conform/data/time.h-data: Likewise.
54170         * conform/data/unistd.h-data: Likewise.
54171         * conform/data/utime.h-data: Likewise.
54173         * io/sys/stat.h: fchmod was always in POSIX.
54174         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54175         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54176         * rt/aio.h: Define __need_timespec before including <time.h>.
54177         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54178         struct.  Add forward declaration of pthread_attr_t and use it in
54179         sigevent.
54180         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54181         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54182         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54183         always remove CLK_TCK definition.
54185 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54187         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54189 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54191         * conform/run-conformtest.sh: New file.
54192         * conform/Makefile: Run run-conformtest for tests.
54193         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54194         support.
54196         * conform/data/uchar.h-data: New file.
54197         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54198         * conform/data/arpa/inet.h-data: Likewise.
54199         * conform/data/assert.h-data: Likewise.
54200         * conform/data/complex.h-data: Likewise.
54201         * conform/data/cpio.h-data: Likewise.
54202         * conform/data/ctype.h-data: Likewise.
54203         * conform/data/dirent.h-data: Likewise.
54204         * conform/data/dlfcn.h-data: Likewise.
54205         * conform/data/errno.h-data: Likewise.
54206         * conform/data/fcntl.h-data: Likewise.
54207         * conform/data/float.h-data: Likewise.
54208         * conform/data/fmtmsg.h-data: Likewise.
54209         * conform/data/fnmatch.h-data: Likewise.
54210         * conform/data/ftw.h-data: Likewise.
54211         * conform/data/glob.h-data: Likewise.
54212         * conform/data/grp.h-data: Likewise.
54213         * conform/data/iconv.h-data: Likewise.
54214         * conform/data/inttypes.h-data: Likewise.
54215         * conform/data/langinfo.h-data: Likewise.
54216         * conform/data/libgen.h-data: Likewise.
54217         * conform/data/limits.h-data: Likewise.
54218         * conform/data/locale.h-data: Likewise.
54219         * conform/data/math.h-data: Likewise.
54220         * conform/data/monetary.h-data: Likewise.
54221         * conform/data/mqueue.h-data: Likewise.
54222         * conform/data/ndbm.h-data: Likewise.
54223         * conform/data/net/if.h-data: Likewise.
54224         * conform/data/netdb.h-data: Likewise.
54225         * conform/data/netinet/in.h-data: Likewise.
54226         * conform/data/nl_types.h-data: Likewise.
54227         * conform/data/poll.h-data: Likewise.
54228         * conform/data/pthread.h-data: Likewise.
54229         * conform/data/pwd.h-data: Likewise.
54230         * conform/data/regex.h-data: Likewise.
54231         * conform/data/sched.h-data: Likewise.
54232         * conform/data/search.h-data: Likewise.
54233         * conform/data/semaphore.h-data: Likewise.
54234         * conform/data/setjmp.h-data: Likewise.
54235         * conform/data/signal.h-data: Likewise.
54236         * conform/data/spawn.h-data: Likewise.
54237         * conform/data/stdarg.h-data: Likewise.
54238         * conform/data/stdio.h-data: Likewise.
54239         * conform/data/stdlib.h-data: Likewise.
54240         * conform/data/string.h-data: Likewise.
54241         * conform/data/strings.h-data: Likewise.
54242         * conform/data/stropts.h-data: Likewise.
54243         * conform/data/sys/ipc.h-data: Likewise.
54244         * conform/data/sys/mman.h-data: Likewise.
54245         * conform/data/sys/msg.h-data: Likewise.
54246         * conform/data/sys/resource.h-data: Likewise.
54247         * conform/data/sys/select.h-data: Likewise.
54248         * conform/data/sys/sem.h-data: Likewise.
54249         * conform/data/sys/shm.h-data: Likewise.
54250         * conform/data/sys/socket.h-data: Likewise.
54251         * conform/data/sys/stat.h-data: Likewise.
54252         * conform/data/sys/statvfs.h-data: Likewise.
54253         * conform/data/sys/time.h-data: Likewise.
54254         * conform/data/sys/timeb.h-data: Likewise.
54255         * conform/data/sys/times.h-data: Likewise.
54256         * conform/data/sys/types.h-data: Likewise.
54257         * conform/data/sys/uio.h-data: Likewise.
54258         * conform/data/sys/un.h-data: Likewise.
54259         * conform/data/sys/utsname.h-data: Likewise.
54260         * conform/data/sys/wait.h-data: Likewise.
54261         * conform/data/syslog.h-data: Likewise.
54262         * conform/data/tar.h-data: Likewise.
54263         * conform/data/termios.h-data: Likewise.
54264         * conform/data/utime.h-data: Likewise.
54265         * conform/data/utmpx.h-data: Likewise.
54266         * conform/data/varargs.h-data: Likewise.
54267         * conform/data/wchar.h-data: Likewise.
54268         * conform/data/wctype.h-data: Likewise.
54269         * conform/data/wordexp.h-data: Likewise.
54271         * include/stropts.h: New file.
54272         * include/uchar.h: New file.
54273         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54274         * include/assert.h: Likewise.
54275         * include/ctype.h: Likewise.
54276         * include/dirent.h: Likewise.
54277         * include/dlfcn.h: Likewise.
54278         * include/fcntl.h: Likewise.
54279         * include/fnmatch.h: Likewise.
54280         * include/glob.h: Likewise.
54281         * include/grp.h: Likewise.
54282         * include/libio.h: Likewise.
54283         * include/locale.h: Likewise.
54284         * include/math.h: Likewise.
54285         * include/net/if.h: Likewise.
54286         * include/netdb.h: Likewise.
54287         * include/netinet/in.h: Likewise.
54288         * include/pthread.h: Likewise.
54289         * include/pwd.h: Likewise.
54290         * include/regex.h: Likewise.
54291         * include/sched.h: Likewise.
54292         * include/search.h: Likewise.
54293         * include/setjmp.h: Likewise.
54294         * include/signal.h: Likewise.
54295         * include/stdio.h: Likewise.
54296         * include/stdlib.h: Likewise.
54297         * include/string.h: Likewise.
54298         * include/sys/cdefs.h: Likewise.
54299         * include/sys/mman.h: Likewise.
54300         * include/sys/msg.h: Likewise.
54301         * include/sys/resource.h: Likewise.
54302         * include/sys/select.h: Likewise.
54303         * include/sys/socket.h: Likewise.
54304         * include/sys/stat.h: Likewise.
54305         * include/sys/statvfs.h: Likewise.
54306         * include/sys/time.h: Likewise.
54307         * include/sys/times.h: Likewise.
54308         * include/sys/uio.h: Likewise.
54309         * include/sys/utsname.h: Likewise.
54310         * include/sys/wait.h: Likewise.
54311         * include/termios.h: Likewise.
54312         * include/time.h: Likewise.
54313         * include/ulimit.h: Likewise.
54314         * include/unistd.h: Likewise.
54315         * include/utime.h: Likewise.
54316         * include/wchar.h: Likewise.
54317         * include/wctype.h: Likewise.
54318         * include/wordexp.h: Likewise.
54320         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54322         * time/time.h: TIME_UTC must be a macro.
54323         Make timespec_get available for ISO C11 only as well.
54325 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54327         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54328         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54330 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54332         * configure.in: Use -o not -a in test for unsupported multi-arch.
54334 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54336         * manual/texinfo.tex: Update to version 2012-01-19.16.
54338 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54340         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54342 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54344         [BZ #13738]
54345         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54346         * manual/fdl-1.3.texi: New file.
54347         * manual/fdl-1.1.texi: File removed.
54349         [BZ #13738]
54350         * manual/libc.texinfo (FDL_VERSION): New @set.
54351         Use it for mention of FDL in cover text.
54352         (Documentation License): Use it in @include file name.
54354 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54355             Roland McGrath  <roland@hack.frob.com>
54357         [BZ #5461]
54358         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54359         (not LONG_LONG_MAX and LONG_LONG_MIN.
54360         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54361         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54362         name.
54363         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54365 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54367         [BZ #2547]
54368         [BZ #11365]
54369         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54370         manipulate bits before adding and subtracting TWO23[sx].
54371         * math/libm-test.inc (nearbyint_test): Add more tests.
54373 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54375         [BZ #2548]
54376         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54377         bits before adding and subtracting TWO23[sx].
54378         * math/libm-test.inc (rint_test): Add more tests.
54379         (rint_test_tonearest): Likewise.
54380         (rint_test_towardzero): Likewise.
54381         (rint_test_downward): Likewise.
54382         (rint_test_upward: Likewise.
54384 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54386         [BZ #10110]
54387         * include/stdc-predef.h: New file.  Extracted from features.h.
54388         * include/features.h: Include stdc-predef.h.
54389         * Makefile (headers): Add stdc-predef.h.
54390         * CONFORMANCE (Compiler limitations): Update.
54392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54394         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54396 2012-02-21  David S. Miller  <davem@davemloft.net>
54398         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54399         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54401 2012-02-20  David S. Miller  <davem@davemloft.net>
54403         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54404         using a normal save/restore sequence, rather than allocating a
54405         dummy stack frame just to store a frame pointer and restore.
54406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54408 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54410         * manual/install.texi: Fix stray word in line-wrapped comment.
54412 2012-02-20  David S. Miller  <davem@davemloft.net>
54414         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54415         both binutils and gcc support GOTDATA.
54417         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54418         "rd %pc" in the PIC register setup sequences.
54420         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54421         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54422         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54423         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54424         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54427         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54429         (SYSCALL_ERROR_HANDLER): Likewise.
54430         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54431         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54433         (SYSCALL_ERROR_HANDLER): Likewise.
54435         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54436         (HAVE_GCC_GOTDATA): New.
54437         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54438         relocation support in both binutils and gcc.
54439         * sysdeps/sparc/elf/configure: Regenerate.
54441         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54442         * sysdeps/sparc/sparc32/elf/configure: Delete.
54443         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54444         * sysdeps/sparc/sparc64/elf/configure: Delete.
54445         * sysdeps/sparc/elf/configure.in: New file.
54446         * sysdeps/sparc/elf/configure: Generate.
54448         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54449         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54450         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54451         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54452         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54454 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54456         * manual/install.texi: Do not mention specific glibc version
54457         numbers.
54458         * manual/libc.texinfo (VERSION, UPDATED): Update.
54459         (@copying): Use @copyright{} and range of years.
54461 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54463         [BZ #13695]
54464         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54465         [crti.S not in sysdirs] (generated): Do not append.
54466         [crti.S not in sysdirs] (omit-deps): Likewise.
54467         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54468         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54469         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54470         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54471         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54472         Likewise.
54473         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54474         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54475         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54476         * csu/defs.awk: Remove file.
54477         * sysdeps/generic/initfini.c: Likewise.
54478         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54479         variable.
54480         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54481         Likewise.
54483 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54485         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54486         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54487         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54488         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54490         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54491         <bits/epoll.h>.
54492         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54493         (__EPOLL_PACKED): Define to empty if not defined by
54494         <bits/epoll.h>.
54495         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54497         bits/epoll.h.
54499 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54501         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54502         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54503         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54504         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54505         <bits/timerfd.h>.
54506         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54508         bits/timerfd.h.
54510 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54512         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54513         in C locale.
54514         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54515         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54516         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54519 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54522         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54524 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54526         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54527         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54528         defined.
54529         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54530         Likewise.
54531         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54532         entry for 2.16.
54534 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54536         * math/w_acos.c: Use non-signaling floating-point comparisons.
54537         * math/w_acosf.c: Likewise.
54538         * math/w_acosh.c: Likewise.
54539         * math/w_acoshf.c: Likewise.
54540         * math/w_acoshl.c: Likewise.
54541         * math/w_acosl.c: Likewise.
54542         * math/w_asin.c: Likewise.
54543         * math/w_asinf.c: Likewise.
54544         * math/w_asinl.c: Likewise.
54545         * math/w_atanh.c: Likewise.
54546         * math/w_atanhf.c: Likewise.
54547         * math/w_atanhl.c: Likewise.
54548         * math/w_exp2.c: Likewise.
54549         * math/w_exp2f.c: Likewise.
54550         * math/w_exp2l.c: Likewise.
54551         * math/w_j0.c: Likewise.
54552         * math/w_j0f.c: Likewise.
54553         * math/w_j0l.c: Likewise.
54554         * math/w_j1.c: Likewise.
54555         * math/w_j1f.c: Likewise.
54556         * math/w_j1l.c: Likewise.
54557         * math/w_jn.c: Likewise.
54558         * math/w_jnf.c: Likewise.
54559         * math/w_log.c: Likewise.
54560         * math/w_log10.c: Likewise.
54561         * math/w_log10f.c: Likewise.
54562         * math/w_log10l.c: Likewise.
54563         * math/w_log2.c: Likewise.
54564         * math/w_log2f.c: Likewise.
54565         * math/w_log2l.c: Likewise.
54566         * math/w_logf.c: Likewise.
54567         * math/w_logl.c: Likewise.
54568         * math/w_sqrt.c: Likewise.
54569         * math/w_sqrtf.c: Likewise.
54570         * math/w_sqrtl.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54573         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54574         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54575         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54577 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54579         [BZ #9739]
54580         * manual/string.texi (strnlen): Use correct parameter name in
54581         equivalent expression.
54583 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54585         [BZ #11174]
54586         * manual/users.texi (seteuid): Consistently use neweuid for
54587         argument name.
54589 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54591         [BZ #13704]
54592         * manual/nss.texi (Services in the NSS configuration): Correct
54593         list of services in example configuration file.
54595 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54597         [BZ #11322]
54598         * manual/arith.texi: Remove statements about negative zero
54599         behaving identically to zero.
54601 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54603         [BZ #5993]
54604         * manual/install.texi: Do not document upgrading from libc5.
54606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54608         [BZ #4596]
54609         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54611 2012-02-18  David S. Miller  <davem@davemloft.net>
54613         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54614         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54615         %o7 across the call.
54616         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54617         instead.
54618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54619         SETUP_PIC_REG_LEAF.
54620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54621         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54622         * sysdeps/sparc/crtn.S: Likewise.
54624 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54626         * aout/Makefile: Remove.
54628 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54630         [BZ #13058]
54631         * manual/examples/argp-ex1.c (main): Format definition in GNU
54632         style.
54633         * manual/examples/argp-ex2.c (main): Likewise.
54634         * manual/examples/argp-ex3.c (main): Likewise.
54635         * manual/examples/argp-ex4.c (main): Likewise.
54636         * manual/examples/longopt.c (main): Use new-style prototype
54637         definition.
54638         * manual/examples/strncat.c (main): Specify return type and use
54639         (void) for arguments.
54640         * manual/examples/subopt.c (main): Use char **argv argument.
54642 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54644         [BZ #5077]
54645         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54646         rounding modes.
54648 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54650         [BZ #6907]
54651         * manual/string.texi (strchr): Change when strchrnul is
54652         recommended.
54654 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54656         [BZ #174]
54657         * manual/locale.texi (setlocale): Document LOCPATH.
54659 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54661         [BZ #10210]
54662         * manual/process.texi (execle): Move @dots{} before last argument.
54664 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54666         [BZ #12047]
54667         * manual/charset.texi (Generic Charset Conversion): Fix typo
54668         (LC_TYPE -> LC_CTYPE).
54670 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54672         [BZ #5805]
54673         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54674         (scalbnf): Likewise.
54675         (scalbnl): Likewise.
54676         (scalbln): Likewise.
54677         (scalblnf): Likewise.
54678         (scalblnl): Likewise.
54679         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54680         (vwarnx): Likewise.
54681         (verr): Likewise.
54682         (verrx): Likewise.
54683         * manual/filesys.texi (telldir): Use braces around return type.
54684         * manual/llio.texi (mmap): Add space after comma.
54685         (mmap64): Likewise.
54686         * manual/math.texi (jn): Use @var{} on parameter names.
54687         (jnf): Likewise.
54688         (jnl): Likewise.
54689         (yn): Likewise.
54690         (ynf): Likewise.
54691         (ynl): Likewise.
54692         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54693         line.
54694         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54695         "...".
54696         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54697         (sched_get_priority_max): Likewise.
54698         * manual/signal.texi (sigvec): Add space after comma.
54699         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54700         names.
54701         (if_indextoname): Likewise.
54702         (if_freenameindex): Likewise.
54703         (sendto): Use ',' instead of '.' in prototype.
54704         * manual/startup.texi (syscall): Use @dots{} instead of literal
54705         "...".
54706         * manual/stdio.texi (__fpending): Separate initial words of
54707         paragraph from @deftypefun line.
54708         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54709         "...".
54710         (vsyslog): Use @var{} on parameter names.
54711         * manual/terminal.texi (stty): Use @var{} on parameter names.
54712         * manual/users.texi (getutmp): Use @var{} on parameter names.
54713         (getutmpx): Likewise.
54715 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54717         [BZ #6884]
54718         * manual/stdio.texi (fopen): Fix typos in description of
54719         ",ccs=STRING".
54721 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54723         [BZ #4026]
54724         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54725         get clock_id definition.
54727 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54729         [BZ #4822]
54730         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54731         (madvise): Cast every argument to void on its own.
54733 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54735         [BZ #9902]
54736         * manual/startup.texi (Exit Status): Fix typo.
54738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54740         [BZ #10140]
54741         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54742         * manual/examples/argp-ex2.c: Likewise.
54743         * manual/examples/argp-ex3.c: Likewise.
54745 2012-02-16  Richard Henderson  <rth@redhat.com>
54747         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54748         * sysdeps/s390/s390-32/initfini.c: Remove.
54749         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54750         * sysdeps/s390/s390-64/initfini.c: Remove.
54752 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54754         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54755         compiler output for sysdeps/generic/initfini.c.
54756         * sysdeps/sh/elf/initfini.c: Remove file.
54758 2012-02-16  David S. Miller  <davem@davemloft.net>
54760         [BZ #11494]
54761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54763         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54764         * sysdeps/sparc/crti.S: New file.
54765         * sysdeps/sparc/crtn.S: New file.
54766         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54767         * sysdeps/sparc/sparc64/Makefile: Likewise.
54769 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54771         [BZ #3335]
54772         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54774 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54776         [BZ #4822]
54777         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54779         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54780         (write, read, close): Likewise.
54781         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54783 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54785         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54786         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54787         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54788         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54789         <bits/signalfd.h>.
54790         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54792         bits/signalfd.h.
54794 2012-02-14  Marek Polacek  <polacek@redhat.com>
54796         * sysdeps/x86_64/crti.S: New file.
54797         * sysdeps/x86_64/crtn.S: New file.
54798         * sysdeps/x86_64/elf/initfini.c: Remove file.
54800 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54802         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54803         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54804         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54805         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54806         <bits/inotify.h>.
54807         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54809         bits/inotify.h.
54811 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54813         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54814         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54815         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54816         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54817         <bits/eventfd.h>.
54818         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54820         bits/eventfd.h.
54822 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54824         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54825         __feraiseexcept instead of feraiseexcept.
54827         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54828         nanosleep invocations.
54829         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54830         strings, and add error checking for a nanosleep invocations.
54832 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54834         Replace FSF snail mail address with URLs, as per GNU coding standards.
54835         Most of the snail mail addresses were wrong anyway, and omitting
54836         them makes the source code easier to maintain.  Almost all of the
54837         changes are to license notices and to locale LC_IDENTIFICATION
54838         addresses, except for this one:
54839         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54840         not its snail mail address.
54842 2012-02-09  Richard Henderson  <rth@twiddle.net>
54844         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54845         of kernel-features.h.
54847         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54849 2012-02-08  Marek Polacek  <polacek@redhat.com>
54851         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54852         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54853         * sysdeps/gnu/_G_config.h: Likewise.
54854         * sysdeps/generic/_G_config.h: Likewise.
54856 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54858         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54859         tests.
54860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54862         * sysdeps/powerpc/powerpc32/crti.S: New file.
54863         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54864         * sysdeps/powerpc/powerpc64/crti.S: New file.
54865         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54867         * Makeconfig (have-initfini): Don't set.
54868         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54869         * configure.in (nopic_initfini): Don't substitute.
54870         * config.h.in (HAVE_INITFINI): Don't #undef.
54871         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54872         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54874 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54876         Support crti.S and crtn.S provided directly by architectures.
54877         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54878         [crti.S in sysdirs] (omit-deps): Likewise.
54879         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54880         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54881         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54882         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54883         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54884         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54885         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54886         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54887         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54888         compiler output for sysdeps/generic/initfini.c.
54889         * sysdeps/i386/elf/Makefile: Remove file.
54890         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54892 2012-02-07  Marek Polacek  <polacek@redhat.com>
54894         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54895         * sysdeps/gnu/_G_config.h: Likewise.
54896         * sysdeps/mach/hurd/_G_config.h: Likewise.
54898 2012-02-07  Marek Polacek  <polacek@redhat.com>
54900         * math/Makefile (tests): Add tst-CMPLX2.
54901         * math/tst-CMPLX2.c: New file.
54903 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54905         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54907         * math/libm-test.inc (jn_test): Add missing L suffix.
54909 2012-02-06  Marek Polacek  <polacek@redhat.com>
54911         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54912         * sysdeps/i386/fpu/e_powf.S: Likewise.
54913         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54914         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54915         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54916         * sysdeps/i386/fpu/e_pow.S: Likewise.
54917         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54918         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54919         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54920         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54921         * sysdeps/i386/fpu/e_log2.S: Likewise.
54922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54923         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54924         * sysdeps/i386/fpu/e_powl.S: Likewise.
54925         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54926         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54927         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54928         * sysdeps/i386/fpu/e_logl.S: Likewise.
54929         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54930         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54931         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54932         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54935         * sysdeps/i386/fpu/e_log.S: Likewise.
54936         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54937         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54938         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54939         * sysdeps/i386/fpu/e_logf.S: Likewise.
54940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54942         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54943         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54944         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54945         * sysdeps/i386/fpu/e_log10.S: Likewise.
54946         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54947         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54948         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54949         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54950         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54951         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54952         * sysdeps/i386/asm-syntax.h: Likewise.
54953         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54956         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54957         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54958         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54959         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54960         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54961         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54962         * sysdeps/powerpc/sysdep.h: Likewise.
54963         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54964         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54966 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54968         [BZ #411]
54969         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54973         * sysdeps/i386/sysdep.h: Include <features.h>.
54974         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54975         version.
54977 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54979         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54980         Define.
54981         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54982         LOAD_PIC_REG_STR.
54984 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54986         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54987         (SETUP_PIC_REG): Use GET_PC_THUNK.
54988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54989         macro.
54991 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54993         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54994         for non-PIC compilation.
54995         (SETUP_PIC_REG): Add .p2align directive.
54996         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54997         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54998         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54999         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55000         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55001         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55002         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55004         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55005         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55006         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55007         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55014         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55016         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55017         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55018         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55019         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55020         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55022         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55024         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55025         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55026         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55027         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55029         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55030         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55031         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55032         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55038 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55040         * math/tst-CMPLX.c: Include <stdio.h>.
55042 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55044         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55045         float.
55046         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55047         * sysdeps/sparc/bits/mathdef.h: Likewise.
55049 2012-01-31  Marek Polacek  <polacek@redhat.com>
55051         * libio/libio.h: Don't define _PARAMS.
55052         * locale/programs/config.h: Don't define PARAMS.
55053         * stdlib/strtol_l.c: Likewise.
55054         (__strtol_l): Remove PARAMS from the prototype.
55056 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55058         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55059         names.  Just use the correct names.  Remove unnecessary wrapper
55060         functions.
55061         * malloc/arena.c: Likewise.
55062         * malloc/hooks.c: Likewise.
55064         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55065         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55066         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55068 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55070         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55071         into tail calls.
55072         (update_get_addr): New function.
55073         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55074         GET_ADDR_MODULE parameter.
55076 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55078         * crypt/cert.c: Remove __STDC__ conditionals.
55079         * crypt/crypt-entry.c: Likewise.
55080         * crypt/crypt_util.c: Likewise.
55081         * libio/filedoalloc.c: Likewise.
55082         * libio/fileops.c: Likewise.
55083         * libio/genops.c: Likewise.
55084         * libio/iofclose.c: Likewise.
55085         * libio/iofdopen.c: Likewise.
55086         * libio/iofopen.c: Likewise.
55087         * libio/iofopen64.c: Likewise.
55088         * libio/iogetdelim.c: Likewise.
55089         * libio/iopopen.c: Likewise.
55090         * libio/obprintf.c: Likewise.
55091         * libio/oldfileops.c: Likewise.
55092         * libio/oldiofclose.c: Likewise.
55093         * libio/oldiofdopen.c: Likewise.
55094         * libio/oldiofopen.c: Likewise.
55095         * libio/oldiopopen.c: Likewise.
55096         * libio/wfiledoalloc.c: Likewise.
55097         * libio/wgenops.c: Likewise.
55098         * locale/programs/xmalloc.c: Likewise.
55099         * misc/syslog.c: Likewise.
55100         * stdio-common/xbug.c: Likewise.
55101         * string/memchr.c: Likewise.
55102         * string/memcmp.c: Likewise.
55103         * string/memrchr.c: Likewise.
55104         * string/rawmemchr.c: Likewise.
55105         * sysdeps/posix/getcwd.c: Likewise.
55106         * time/strftime_l.c: Likewise.
55108 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55110         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55111         * config.make.in (config-cflags-sse2avx): Define.
55112         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55113         Fix typo.
55115 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55117         * scripts/config.guess: Update from upstream config git repository.
55118         * scripts/config.sub: Likewise.
55120 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55122         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55123         (EM_NUM): Update.
55124         (R_TILEPRO_*, R_TILEGX_*): New macros.
55126         * scripts/firstversions.awk: Fix bug in version range handling.
55128         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55130         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55132         * include/sys/epoll.h: New file.
55133         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55134         libc_hidden_def.
55136 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55138         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55139         Avoid unnecessary __WORDSIZE == 64 test.
55140         (fmaxf): Use VEX format if possible.
55141         (fmax): Likewise.
55142         (fminf): Likewise.
55143         (fmin): Likewise.
55145         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55146         * math/math_private.h: Remove libc_fegetround* and
55147         libc_fesetround*.
55148         * sysdeps/i386/configure.in: Check for -msse2avx.
55149         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55150         also if SSE2AVX is defined.
55151         Remove libc_fegetround* and libc_fesetround*.
55152         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55153         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55154         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55155         of HAS_YMM_USABLE.
55156         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55157         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55158         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55159         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55160         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55162         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55164 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55166         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55167         size is not set.
55168         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55170 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55172         [BZ #13618]
55173         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55174         relocation.
55175         * Makeconfig (libm): Define.
55176         * elf/Makefile: Add rules to build and run tst-relsort1.
55177         * elf/tst-relsort1.c: New file.
55178         * elf/tst-relsort1mod1.c: New file.
55179         * elf/tst-relsort1mod2.c: New file.
55181 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55183         * math/s_ldexp.c: Remove __STDC__ conditionals.
55184         * math/s_ldexpf.c: Likewise.
55185         * math/s_ldexpl.c: Likewise.
55186         * math/s_nextafter.c: Likewise.
55187         * math/s_nexttowardf.c: Likewise.
55188         * math/s_significand.c: Likewise.
55189         * math/s_significandf.c: Likewise.
55190         * math/s_significandl.c: Likewise.
55191         * math/w_jnl.c: Likewise.
55192         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55193         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55194         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55195         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55196         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55198         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55199         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55200         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55201         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55202         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55203         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55204         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55205         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55206         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55208         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55209         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55211         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55212         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55213         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55214         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55216         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55217         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55218         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55219         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55220         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55221         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55222         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55223         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55224         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55225         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55226         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55227         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55228         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55229         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55230         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55231         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55232         * sysdeps/ieee754/k_standard.c: Likewise.
55233         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55234         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55235         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55236         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55237         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55238         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55239         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55240         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55242         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55255         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55262         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55264         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55265         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55266         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55273         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55275         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55276         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55278         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55282         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55289         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55291         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55292         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55293         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55294         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55295         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55296         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55297         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55298         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55299         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55300         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55301         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55302         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55303         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55304         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55305         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55306         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55307         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55308         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55309         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55310         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55311         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55312         * sysdeps/ieee754/s_matherr.c: Likewise.
55313         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55314         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55318 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55320         * crypt/md5.h: Remove __STDC__ conditionals.
55321         * libio/libioP.h: Likewise.
55322         * locale/programs/config.h: Likewise.
55323         * sysdeps/generic/sysdep.h: Likewise.
55324         * sysdeps/i386/asm-syntax.h: Likewise.
55325         * sysdeps/s390/asm-syntax.h: Likewise.
55326         * sysdeps/unix/sysdep.h: Likewise.
55327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55330 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55332         * libio/libio.h: Remove __STDC__ conditionals.
55333         * malloc/obstack.h: Likewise.
55334         * math/complex.h: Likewise.
55335         * math/math.h: Likewise.
55336         * sysdeps/generic/_G_config.h: Likewise.
55337         * sysdeps/gnu/_G_config.h: Likewise.
55338         * sysdeps/mach/hurd/_G_config.h: Likewise.
55339         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55340         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55341         * sysdeps/sparc/bits/mathdef.h: Likewise.
55343 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55345         [BZ #13583]
55346         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55347         Clean up HAS_* macros.
55348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55349         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55350         possible.
55351         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55352         HAS_AVX.
55353         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55354         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55355         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55356         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55357         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55359 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55361         * elf/tst-unique3.cc (gets): Remove declaration.
55362         * elf/tst-unique3lib.cc (gets): Likewise.
55363         * elf/tst-unique3lib2.cc (gets): Likewise.
55364         * elf/tst-unique4.cc (gets): Likewise.
55366 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55368         * include/stdio.h: Add C++ protection.  Add gets declarations and
55369         definitions.
55370         * debug/tst-chk1.c: Don't declare gets here.
55371         * stdio-common/tst-gets.c: Likewise.
55373 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55375         * posix/glob: Remove directory.
55377 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55379         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55381 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55383         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55384         of the non-standard EPFNOSUPPORT.
55386 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55388         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55389         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55390         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55392 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55394         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55396 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55398         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55399         transient errors.
55400         * nscd/grpcache.c (cache_addgr): Likewise.
55401         * nscd/hstcache.c (cache_addhst): Likewise.
55402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55403         * nscd/pwdcache.c (cache_addpw): Likewise.
55404         * nscd/servicescache.c (cache_addserv): Likewise.
55406 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55408         * malloc/malloc.c: Various cleanups.
55409         * malloc/hooks.c: Likewise.
55411         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55412         * stdlib/bug-fmtmsg1.c: New file.
55414         * stdlib/fmtmsg.c (init): Add missing unlock.
55415         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55417 2012-01-12  Marek Polacek  <polacek@redhat.com>
55419         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55420         and _GNU_SOURCE.
55422 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55424         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55425         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55426         macro to ensure uniqueness of label name.
55427         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55428         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55430 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55432         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55434         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55435         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55436         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55439 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55441         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55443         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55444         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55445         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55447         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55449         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55450         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55454         * math/bits/math-finite.h: Add ldexp support.
55456 2012-01-10  Marek Polacek  <polacek@redhat.com>
55458         * locale/programs/localedef.h (show_archive_content): Add noreturn
55459         attribute.
55461 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55463         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55465 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55467         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55469         * io/Makefile (headers): Add bits/poll2.h.
55471 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55474         typo #include statement.
55476 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55478         * include/sys/cdefs.h: Define __attribute_alloc_size.
55479         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55480         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55481         * elf/pldd.c: Likewise.
55482         * iconv/iconv_charmap.c: Likewise.
55483         * iconv/iconvconfig.c: Likewise.
55484         * iconv/strtab.c: Likewise.
55485         * locale/programs/locale.c: Likewise.
55486         * locale/programs/localedef.h: Likewise.
55487         * locale/programs/simple-hash.c: Likewise.
55488         * nscd/nscd.h: Likewise.
55489         * nss/makedb.c: Likewise.
55490         * sysdeps/generic/ldconfig.h: Likewise.
55491         * locale/programs/localedef.c: Remove xmalloc prototype.
55492         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55494 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55497         appropriate.
55499 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55501         * math/Makefile (tests): Add tst-CMPLX.
55502         * math/tst-CMPLX.c: New file.
55504         * math/complex.h (CMPLXL): Fix typo.
55506         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55507         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55508         GLIBC_2.16.
55509         * debug/tst-chk1.c: Add poll and ppoll tests.
55510         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55511         * include/sys/poll.h: Add hidden proto for ppoll.
55512         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55513         * sysdeps/mach/hurd/ppoll.c: Likewise.
55514         * io/ppoll.c: Likewise.
55515         * debug/poll_chk.c: New file.
55516         * debug/ppoll_chk.c: New file.
55517         * include/bits/poll2.h: New file.
55518         * io/bits/poll2.h: New file.
55520         [BZ #1350]
55521         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55523         * configure.in: static is always set to yes.  Remove.
55524         * config.make.in: Don't set build-static.
55525         * Makeconfig: Remove use of build-static.
55526         * dlfcn/Makefile: Likewise.
55527         * elf/Makefile: Likewise.
55528         * math/Makefile: Likewise.
55529         * misc/Makefile: Likewise.
55530         * nptl/Makefile: Likewise.
55531         * sysdeps/mach/hurd/Makefile: Likewise.
55533         * configure.in: PWD_P is not used anymore.
55534         * config.make.in: Remove PWD_P entry.
55536         * configure.in: Remove last remnants of RANLIB.
55537         No need to check for signed size_t anymore.
55538         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55539         and IA-64.
55540         Remove __builtin_expect test because we require at least gcc 3.4.
55541         * aclocal.m4: Likewise.
55543         * wcsmbs/mbrtoc16.c: Implement using towc function.
55544         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55545         * wcsmbs/wcsmbsload.c: Likewise.
55546         * iconv/gconv_simple.c: Likewise.
55547         * iconv/gconv_int.h: Likewise.
55548         * iconv/gconv_builtin.h: Likewise.
55549         * iconv/iconv_prog.c: Remove CHAR16 handling.
55551         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55553         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55555         * configure.in: Remove --with-elf and --enable-bounded options.
55556         Dont set base_machine for ia64.  More non-ELF conditions removed.
55557         Remove testing and setting of leading underscore information.
55558         * config.make.in (build-bounded): Set to no.
55559         * config.h.in: Remove NO_UNDERSCORES entry.
55560         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55561         them.
55562         * csu/start.c: Remove !NO_UNDERSCORE code.
55563         * locale/localeinfo.h: Likewise.
55564         * sysdeps/generic/machine-gmon.h: Likewise.
55565         * sysdeps/generic/sysdep.h: Likewise.
55566         * sysdeps/i386/sysdep.h: Likewise.
55567         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55568         * sysdeps/mach/sysdep.h: Likewise.
55569         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55570         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55571         * sysdeps/sh/sysdep.h: Likewise.
55572         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55573         * sysdeps/unix/i386/sysdep.S: Likewise.
55574         * sysdeps/unix/sparc/start.c: Likewise.
55575         * sysdeps/unix/sparc/sysdep.S: Likewise.
55576         * sysdeps/unix/sparc/sysdep.h: Likewise.
55577         * sysdeps/unix/start.c: Likewise.
55578         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55579         * sysdeps/x86_64/sysdep.h: Likewise.
55581 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55583         [BZ #13553]
55584         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55585         for non-gcc.
55586         * argp/argp-fmtstream.h: Use const instead __const.
55587         * argp/argp.h: Likewise.
55588         * assert/assert.h: Likewise.
55589         * bits/fenv.h: Likewise.
55590         * bits/sched.h: Likewise.
55591         * bits/sigset.h: Likewise.
55592         * bits/sigthread.h: Likewise.
55593         * catgets/nl_types.h: Likewise.
55594         * conform/data/pthread.h-data: Likewise.
55595         * crypt/crypt-private.h: Likewise.
55596         * crypt/crypt.h: Likewise.
55597         * crypt/crypt_util.c: Likewise.
55598         * ctype/ctype.h: Likewise.
55599         * debug/execinfo.h: Likewise.
55600         * debug/mbsnrtowcs_chk.c: Likewise.
55601         * debug/mbsrtowcs_chk.c: Likewise.
55602         * debug/wcsnrtombs_chk.c: Likewise.
55603         * debug/wcsrtombs_chk.c: Likewise.
55604         * debug/wcstombs_chk.c: Likewise.
55605         * dirent/dirent.h: Likewise.
55606         * dlfcn/dlfcn.h: Likewise.
55607         * elf/neededtest4.c: Likewise.
55608         * grp/grp.h: Likewise.
55609         * gshadow/gshadow.h: Likewise.
55610         * iconv/gconv.h: Likewise.
55611         * iconv/gconv_int.h: Likewise.
55612         * iconv/gconv_simple.c: Likewise.
55613         * iconv/iconv.h: Likewise.
55614         * iconv/loop.c: Likewise.
55615         * iconv/skeleton.c: Likewise.
55616         * include/aio.h: Likewise.
55617         * include/aliases.h: Likewise.
55618         * include/argz.h: Likewise.
55619         * include/arpa/inet.h: Likewise.
55620         * include/assert.h: Likewise.
55621         * include/dirent.h: Likewise.
55622         * include/dlfcn.h: Likewise.
55623         * include/execinfo.h: Likewise.
55624         * include/fcntl.h: Likewise.
55625         * include/fenv.h: Likewise.
55626         * include/glob.h: Likewise.
55627         * include/grp.h: Likewise.
55628         * include/libintl.h: Likewise.
55629         * include/mntent.h: Likewise.
55630         * include/netdb.h: Likewise.
55631         * include/pwd.h: Likewise.
55632         * include/rpc/netdb.h: Likewise.
55633         * include/sched.h: Likewise.
55634         * include/search.h: Likewise.
55635         * include/shadow.h: Likewise.
55636         * include/signal.h: Likewise.
55637         * include/stdio.h: Likewise.
55638         * include/stdlib.h: Likewise.
55639         * include/string.h: Likewise.
55640         * include/sys/socket.h: Likewise.
55641         * include/sys/stat.h: Likewise.
55642         * include/sys/statfs.h: Likewise.
55643         * include/sys/statvfs.h: Likewise.
55644         * include/sys/syslog.h: Likewise.
55645         * include/sys/time.h: Likewise.
55646         * include/sys/uio.h: Likewise.
55647         * include/time.h: Likewise.
55648         * include/unistd.h: Likewise.
55649         * include/utmp.h: Likewise.
55650         * include/wchar.h: Likewise.
55651         * include/wctype.h: Likewise.
55652         * inet/aliases.h: Likewise.
55653         * inet/arpa/inet.h: Likewise.
55654         * inet/netinet/ether.h: Likewise.
55655         * inet/netinet/in.h: Likewise.
55656         * intl/libintl.h: Likewise.
55657         * io/bits/fcntl2.h: Likewise.
55658         * io/fcntl.h: Likewise.
55659         * io/ftw.h: Likewise.
55660         * io/sys/poll.h: Likewise.
55661         * io/sys/stat.h: Likewise.
55662         * io/sys/statfs.h: Likewise.
55663         * io/sys/statvfs.h: Likewise.
55664         * io/utime.h: Likewise.
55665         * libio/bits/stdio.h: Likewise.
55666         * libio/bits/stdio2.h: Likewise.
55667         * libio/libio.h: Likewise.
55668         * libio/libioP.h: Likewise.
55669         * libio/stdio.h: Likewise.
55670         * locale/lc-ctype.c: Likewise.
55671         * locale/locale.h: Likewise.
55672         * login/utmp.h: Likewise.
55673         * malloc/arena.c: Likewise.
55674         * malloc/malloc.c: Likewise.
55675         * malloc/malloc.h: Likewise.
55676         * malloc/mcheck.c: Likewise.
55677         * malloc/mtrace.c: Likewise.
55678         * math/bits/mathcalls.h: Likewise.
55679         * math/fenv.h: Likewise.
55680         * math/math_private.h: Likewise.
55681         * misc/bits/error.h: Likewise.
55682         * misc/bits/syslog.h: Likewise.
55683         * misc/err.h: Likewise.
55684         * misc/error.h: Likewise.
55685         * misc/fstab.h: Likewise.
55686         * misc/mntent.h: Likewise.
55687         * misc/regexp.h: Likewise.
55688         * misc/search.h: Likewise.
55689         * misc/sgtty.h: Likewise.
55690         * misc/sys/mman.h: Likewise.
55691         * misc/sys/syslog.h: Likewise.
55692         * misc/sys/uio.h: Likewise.
55693         * misc/sys/xattr.h: Likewise.
55694         * misc/ttyent.h: Likewise.
55695         * nis/rpcsvc/ypclnt.h: Likewise.
55696         * nss/nss.h: Likewise.
55697         * posix/bits/unistd.h: Likewise.
55698         * posix/fnmatch.h: Likewise.
55699         * posix/glob.h: Likewise.
55700         * posix/sched.h: Likewise.
55701         * posix/spawn.h: Likewise.
55702         * posix/sys/wait.h: Likewise.
55703         * posix/unistd.h: Likewise.
55704         * posix/wordexp.h: Likewise.
55705         * pwd/pwd.h: Likewise.
55706         * resolv/netdb.h: Likewise.
55707         * resource/sys/resource.h: Likewise.
55708         * rt/aio.h: Likewise.
55709         * rt/bits/mqueue2.h: Likewise.
55710         * rt/mqueue.h: Likewise.
55711         * shadow/shadow.h: Likewise.
55712         * signal/signal.h: Likewise.
55713         * socket/send.c: Likewise.
55714         * socket/sendto.c: Likewise.
55715         * socket/sys/socket.h: Likewise.
55716         * stdio-common/printf.h: Likewise.
55717         * stdlib/bits/stdlib.h: Likewise.
55718         * stdlib/fmtmsg.h: Likewise.
55719         * stdlib/monetary.h: Likewise.
55720         * stdlib/stdlib.h: Likewise.
55721         * stdlib/ucontext.h: Likewise.
55722         * streams/stropts.h: Likewise.
55723         * string/argz.h: Likewise.
55724         * string/bits/string2.h: Likewise.
55725         * string/string.h: Likewise.
55726         * string/strings.h: Likewise.
55727         * sunrpc/rpc/auth.h: Likewise.
55728         * sunrpc/rpc/auth_des.h: Likewise.
55729         * sunrpc/rpc/clnt.h: Likewise.
55730         * sunrpc/rpc/netdb.h: Likewise.
55731         * sunrpc/rpc/pmap_clnt.h: Likewise.
55732         * sunrpc/rpc/xdr.h: Likewise.
55733         * sysdeps/generic/inttypes.h: Likewise.
55734         * sysdeps/generic/net/if.h: Likewise.
55735         * sysdeps/generic/sys/swap.h: Likewise.
55736         * sysdeps/gnu/net/if.h: Likewise.
55737         * sysdeps/gnu/utmpx.h: Likewise.
55738         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55739         * sysdeps/i386/i486/bits/string.h: Likewise.
55740         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55741         * sysdeps/s390/bits/string.h: Likewise.
55742         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55743         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55744         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55745         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55746         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55747         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55748         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55749         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55750         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55751         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55752         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55753         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55754         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55755         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55756         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55757         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55758         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55760         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55762         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55763         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55764         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55765         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55766         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55767         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55768         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55770         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55771         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55772         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55773         * sysvipc/sys/ipc.h: Likewise.
55774         * sysvipc/sys/msg.h: Likewise.
55775         * sysvipc/sys/sem.h: Likewise.
55776         * sysvipc/sys/shm.h: Likewise.
55777         * termios/termios.h: Likewise.
55778         * time/sys/time.h: Likewise.
55779         * time/time.h: Likewise.
55780         * wcsmbs/bits/wchar2.h: Likewise.
55781         * wcsmbs/uchar.h: Likewise.
55782         * wcsmbs/wchar.h: Likewise.
55783         * wctype/wctype.h: Likewise.
55785         [BZ #13551]
55786         * Makeconfig: Remove all but ELF support including AIX support.
55787         * Makerules: Likewise.
55788         * config.h.in: Likewise.
55789         * config.make.in: Likewise.
55790         * configure: Likewise.
55791         * configure.in: Likewise.
55792         * csu/Makefile: Likewise.
55793         * csu/version.c: Likewise.
55794         * debug/Makefile: Likewise.
55795         * dlfcn/Makefile: Likewise.
55796         * elf/Makefile: Likewise.
55797         * extra-lib.mk: Likewise.
55798         * iconv/Makefile: Likewise.
55799         * include/libc-symbols.h: Likewise.
55800         * include/shlib-compat.h: Likewise.
55801         * resolv/Makefile: Likewise.
55802         * resolv/res_libc.c: Likewise.
55803         * rt/Makefile: Likewise.
55804         * sysdeps/i386/asm-syntax.h: Likewise.
55805         * sysdeps/i386/sysdep.h: Likewise.
55806         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55807         * sysdeps/mach/sysdep.h: Likewise.
55808         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55809         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55810         * sysdeps/s390/asm-syntax.h: Likewise.
55811         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55812         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55813         * sysdeps/sh/sysdep.h: Likewise.
55814         * sysdeps/unix/sparc/sysdep.h: Likewise.
55815         * sysdeps/wordsize-32/divdi3.c: Likewise.
55816         * sysdeps/x86_64/sysdep.h: Likewise.
55818         * argp/Versions: Remove _argp_unlock_xxx.
55820         [BZ #13559]
55821         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55822         * abilist/libBrokenLocale.abilist: Likewise.
55823         * abilist/libanl.abilist: Likewise.
55824         * abilist/libc.abilist: Likewise.
55825         * abilist/libcrypt.abilist: Likewise.
55826         * abilist/libdl.abilist: Likewise.
55827         * abilist/libm.abilist: Likewise.
55828         * abilist/libnsl.abilist: Likewise.
55829         * abilist/libpthread.abilist: Likewise.
55830         * abilist/libresolv.abilist: Likewise.
55831         * abilist/librt.abilist: Likewise.
55832         * abilist/libthread_db.abilist: Likewise.
55833         * abilist/libutil.abilist: Likewise.
55834         * abilist/libnss_db.abilist: New file.
55836         * scripts/abilist.awk: Add support for indirect functions.
55838         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55840         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55842         * shlib-versions: Remove entries for ports architectures.
55844         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55845         files in ports.
55846         * elf/stackguard-macros.h: Remove support for IA-64.
55847         * elf/tst-auditmod1.c: Likewise.
55848         * sysdeps/generic/ldsodefs.h: Likewise.
55850         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55851         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55852         configure files.
55854         [BZ #13552]
55855         * configure.in: Remove --enable-omitfp support.
55856         * FAQ.in: Adjust.
55857         * config.make.in: Likewise.
55858         * Makeconfig: Likewise.
55859         * manual/install.texi: Likewise.
55861         In case anyone cares, the IA-64 architecture could move to ports.
55862         * sysdeps/ia64/*: Removed.
55863         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55864         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55866         [BZ #13555]
55867         * configure.in: Remove entries for unsupported architectures.
55869         [BZ #13533]
55870         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55871         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55872         routines.
55873         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55874         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55875         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55876         fall back to using wcrtomb.
55877         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55878         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55879         renaming.
55880         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55881         * wcsmbs/tst-c16c32-1.c: New file.
55883         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55884         local variable.
55886         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55888         * elf/tst-unique3.cc: Add explicit declaration of gets.
55889         * elf/tst-unique3lib.cc: Likewise.
55890         * elf/tst-unique3lib2.cc: Likewise.
55891         * elf/tst-unique4.cc: Likewise.
55893         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55895 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55897         [BZ #13566]
55898         * assert/assert.h (static_assert): Don't define for C++.
55899         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55900         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55902 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55904         * iconv/loop.c (single loop): Fix assertion in storing of
55905         remaining bytes.
55907         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55909 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55911         * posix/getconf.c: Update copyright year.
55912         * nss/getent.c: Likewise.
55913         * nss/makedb.c: Likewise.
55914         * iconv/iconvconfig.c: Likewise.
55915         * iconv/iconv_prog.c: Likewise.
55916         * elf/ldconfig.c: Likewise.
55917         * elf/pldd.c: Likewise.
55918         * elf/sotruss.ksh: Likewise.
55919         * catgets/gencat.c: Likewise.
55920         * csu/version.c: Likewise.
55921         * elf/ldd.bash.in: Likewise.
55922         * elf/sprof.c (print_version): Likewise.
55923         * locale/programs/locale.c: Likewise.
55924         * locale/programs/localedef.c: Likewise.
55925         * login/programs/pt_chown.c: Likewise.
55926         * nscd/nscd.c (print_version): Likewise.
55927         * debug/xtrace.sh: Likewise.
55928         * malloc/memusage.sh: Likewise.
55929         * malloc/mtrace.pl: Likewise.
55930         * debug/catchsegv.sh: Likewise.
55932 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55934         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55935         pure attribute.
55937 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55939         [BZ #13533]
55940         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55941         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55942         transformations.
55943         * iconv/gconv_int.h: Likewise.
55944         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55945         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55946         from libc for GLIBC_2.16.
55947         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55948         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55949         * wcsmbs/uchar.h: Really define mbstate_t.
55950         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55951         * wcsmbs/c16rtomb.c: New file.
55952         * wcsmbs/mbrtoc16.c: New file.
55953         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55954         for C/POSIX locale.
55955         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55956         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55958         * wcsmbs/wchar.h: Add missing __restrict.
55960 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55962         [BZ #13532]
55963         * time/Makefile (routines): Add timespec_get.
55964         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55965         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55966         timespec for ISO C11.
55967         * time/timespec_get.c: New file.
55968         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55969         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55971         [BZ #13531]
55972         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55973         * stdlib/stdlib.h: Declare aligned_alloc.
55974         * Versions.def: Add GLIBC_2.16 for libc.
55975         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55977         [BZ 13527]
55978         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55979         ISO C11.
55981         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55982         code.
55984         [BZ #13528]
55985         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55987         [BZ #13529]
55988         * assert/assert.h (static_assert): Define.
55990         * version.h: Update for 2.16 development version.
55992         [BZ #13526]
55993         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55994         _ISOC11_SOURCE.
55996         * version.h (RELEASE): Bump for 2.15 release.
55997         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55999         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56000         Patch by Marek Polacek <mpolacek@redhat.com>.
56002         * bits/byteswap.h: Protect long long constants with __extension__.
56003         * sysdeps/i386/bits/byteswap.h: Likewise.
56004         * sysdeps/ia64/bits/byteswap.h: Likewise.
56005         * sysdeps/s390/bits/byteswap.h: Likewise.
56006         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56008 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56010         [BZ #13540]
56011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56012         destination buffer.
56013         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56015 2011-12-23  Marek Polacek  <polacek@redhat.com>
56017         * elf/dl-addr.c (determine_info): Add inline keyword.
56018         * elf/tst-auditmod4b.c (check_avx): Likewise.
56019         * elf/tst-auditmod6b.c (check_avx): Likewise.
56020         * elf/tst-auditmod6c.c (check_avx): Likewise.
56021         * elf/tst-auditmod7b.c (check_avx): Likewise.
56023 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56025         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56026         !__SSE_MATH__.
56028 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56030         [BZ #13540]
56031         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56032         processing for last bytes.
56034 2011-08-06  Bruno Haible  <bruno@clisp.org>
56036         [BZ #13061]
56037         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56038         U+0385, not to U+1FEE.
56040         [BZ #13062]
56041         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56042         entry for U+00A5 U+0301.
56044 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56046         [BZ #13166]
56047         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56048         buffer for the output is too small.
56050         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56051         optimization.
56053         [BZ #13185]
56054         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56055         SSE flags if possible.
56057 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56059         [BZ #13540]
56060         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56061         processing for last bytes.
56063 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56065         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56066         (syscall-list-default-options, syscall-list-default-condition)
56067         (syscall-list-includes): Define.
56068         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56069         list of ABIs and options and #if conditions for each ABI.  Do not
56070         handle common syscalls between ABIs specially.
56071         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56072         Remove.
56073         (syscall-list-variants, syscall-list-32bit-options)
56074         (syscall-list-32bit-condition, syscall-list-64bit-options)
56075         (syscall-list-64bit-condition): Define.
56076         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56077         (syscall-list-variants, syscall-list-32bit-options)
56078         (syscall-list-32bit-condition, syscall-list-64bit-options)
56079         (syscall-list-64bit-condition): Define.
56080         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56081         Remove.
56082         (syscall-list-variants, syscall-list-32bit-options)
56083         (syscall-list-32bit-condition, syscall-list-64bit-options)
56084         (syscall-list-64bit-condition): Define.
56085         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56086         Remove.
56087         (syscall-list-variants, syscall-list-32bit-options)
56088         (syscall-list-32bit-condition, syscall-list-64bit-options)
56089         (syscall-list-64bit-condition): Define.
56091 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56093         * locale/iso-639.def: Add brx entry.
56095         [BZ #13328]
56096         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56097         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56099         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56100         __feraiseexcept_renamed.
56102 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56104         [BZ #13538]
56105         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56106         EPOLLET with unsigned values.
56107         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56108         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56110         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56111         to large cancellation.
56112         * math/s_cacoshf.c: Likewise.
56113         * math/s_cacoshl.c: Likewise.
56115 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56117         [BZ #13305]
56118         [BZ #12786]
56119         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56120         * math/s_cacoshf.c: Likewise.
56121         * math/s_cacoshl.c: Likewise.
56123 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56125         [BZ #13439]
56126         * iconv/gconv.h: Define __GCONV_SWAP.
56127         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56128         * iconvdata/utf-16.c: Likewise.
56129         * iconvdata/utf-32.c: Likewise.
56131 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56133         [BZ #13524]
56134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56135         numerator after shifting it by one limb.
56137 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56139         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56140         under [__USE_EXTERN_INLINES].
56142 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56144         [BZ #13446]
56145         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56147 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56149         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56150         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56151         optimized code.
56152         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56153         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56154         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56155         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56156         for strncasecmp/strncasecmp_l compilation.
56157         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56158         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56160 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56162         [BZ #13484]
56163         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56164         of __asm__.
56166 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56168         [BZ #13506]
56169         * time/tzfile.c (__tzfile_read): Check values from file header.
56171 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56173         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56174         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56175         * powerpc/powerpc32/dl-start.S: Likewise.
56176         * powerpc/powerpc32/elf/start.S: Likewise.
56177         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56178         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56179         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56180         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56181         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56182         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56183         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56184         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56185         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56186         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56187         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56188         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56189         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56190         * powerpc/powerpc32/memset.S: Likewise.
56191         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56192         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56193         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56194         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56195         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56196         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56197         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56198         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56199         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56200         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56201         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56202         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56203         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56205 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56207         * math/libm-test.inc: Added more nearbyint tests.
56208         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56213 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56215         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56216         FD_CLOEXEC.
56218 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56220         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56221         Add wcscpy-ssse3 wcscpy-c.
56222         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56223         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56224         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56225         * sysdeps/x86_64/wcschr.S: New file.
56226         * sysdeps/x86_64/wcsrchr.S: New file.
56227         * string/test-strcmp.c: Remove checking of wcscmp function for
56228         wrong alignments.
56229         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56230         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56231         wcsrchr-sse2 wcsrchr-c.
56232         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56233         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56234         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56235         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56236         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56237         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56238         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56239         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56240         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56241         * wcsmbc/wcschr.c (WCSCHR): New macro.
56243 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56245         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56246         * wcsmbs/test-wcsrchr.c: New file.
56247         * string/test-strrchr.c: Add wcsrchr support.
56248         (WIDE): New macro.
56249         * wcsmbs/test-wcscpy.c: New file.
56250         * string/test-strcpy.c: Add wcscpy support.
56251         (WIDE): New macro.
56253 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56255         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56256         the inner loop.
56258 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56260         [BZ #13472]
56261         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56263 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56265         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56266         Minor optimizations.
56268         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56269         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56270         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56272 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56274         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56275         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56276         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56277         for gcc to avoid warnings.
56278         * inet/Makefile (tests): Add tst-checks.
56279         * inet/tst-checks.c: New file.
56281         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56282         warning.
56284         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56285         __wmemcmp_sse2.
56287         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56288         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56290         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56292 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56294         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56295         problem.
56297         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56299 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56301         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56302         conditional on GCC version.
56303         (__arch_compare_and_exchange_val_8_acq)
56304         (__arch_compare_and_exchange_val_16_acq)
56305         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56306         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56307         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56309 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56311         * sysdeps/sh/backtrace.c: New file.
56313 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56315         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56316         parenthesis.
56318 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56320         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56321         falling back to utime.
56323 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56325         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56326         expectations for float.
56328 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56330         * locale/weight.h (findidx): Add parameter len.
56331         * locale/weightwc.h (findidx): Likewise.
56332         * posix/fnmatch_loop.c (FCT): Adjust caller.
56333         * posix/regcomp.c (build_equiv_class): Likewise.
56334         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56335         * posix/regexec.c (check_node_accept_bytes): Likewise.
56336         * string/strcoll_l.c (STRCOLL): Likewise.
56337         * string/strxfrm_l.c (STRXFRM): Likewise.
56339 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56341         * Makefile.in: Remove CVSOPT handling.
56342         * configure.in: Remove use of AC_REVISION.
56343         * iconvdata/Makefile (distribute): No need to filter out CVS.
56344         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56345         handling.
56347 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56349         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56350         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56351         [USE_AS_STRNCASECMP_L]: Likewise.
56352         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56353         NO_TLS_DIRECT_SEG_REFS.
56354         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56355         Fix argument offsets for non-PIC.
56356         [USE_AS_STRNCASECMP_L]: Likewise.
56357         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56358         NO_TLS_DIRECT_SEG_REFS.
56360 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56362         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56363         O_CLOEXEC.
56364         * locale/loadlocale.c (_nl_load_locale): Likewise.
56366 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56368         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56369         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56370         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56371         (SYSCALL_GETTIME): Set errno on error.
56373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56374         count references to noai6ai_cached.
56376 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56378         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56380         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56381         FD_CLOEXEC for /proc/self/maps.
56383         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56384         FD_CLOEXEC for /proc/meminfo.
56386         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56387         gai.conf.
56389         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56390         FD_CLOEXEC for given file.
56392         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56394         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56395         FD_CLOEXEC for /etc/hosts.
56396         (_gethtent): Likewise.
56398         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56400         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56401         cancellation and set FD_CLOEXEC for /etc/netgroup.
56403         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56404         reading /etc/publickey.
56406         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56407         allow cancellation when reading /etc/group.
56409         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56410         cancellation.
56411         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56413         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56414         when using data file.
56416         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56418         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56419         (write_nis_obj): Use "c" and "e" in fopen.
56421         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56423         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56425         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56427         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56429         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56430         locale.alias.
56432         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56434         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56436         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56438         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56439         file parsing and set FD_CLOEXEC.
56441 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56443         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56445 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56447         * malloc/arena.c (arena_get2): Don't call reused_arena when
56448         _int_new_arena failed.
56450 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56452         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56453         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56455         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56456         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56457         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56458         to compile strcasecmp and strncasecmp.
56459         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56460         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56464 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56466         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56467         locale-defines.sym to gen-as-const-headers.
56468         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56469         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56471         to compile strcasecmp and strncasecmp.
56472         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56473         strcasecmp_l and strncasecmp_l.
56474         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56475         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56476         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56477         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56478         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56479         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56480         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56481         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56482         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56483         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56484         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56486 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56488         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56489         result of SYSDEP_GETTIME_CPU to retval.
56490         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56491         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56493         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56494         variable.
56496         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56497         mantissa words.
56498         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56500         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56501         from unused variable.
56503         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56504         DWARF definitions.
56505         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56506         for assembling.
56508         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56509         over namespaces.
56511         * sunrpc/rpc_prot.c (rejected): Fix case value.
56513         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56514         unsigned long long int to avoid warnings in shift.
56516         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56517         of use of trans.
56518         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56519         variable tmp.
56521         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56522         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56523         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56525         * nis/nis_table.c (nis_list): Use variable of correct type for
56526         result of __follow_path call.
56528 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56530         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56531         of math functions ceil, trunc, floor, round, and sqrt, when
56532         avaliable on the platform.
56533         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56534         name clash.
56535         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56536         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56537         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56539 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56541         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56542         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56544 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56546         * include/unistd.h: Fix __readlink return type.
56547         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56549 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56551         * stdlib/ucontext.h: Undo last change for makecontext.
56553 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56555         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56557         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56558         * setjmp/setjmp.h: Mark functions as non-leaf.
56559         * setjmp/bits/setjmp2.h: Likewise.
56560         * stdlib/ucontext.h: Likewise.
56562 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56564         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56565         (reused_arena): Don't check arena limit.
56566         (arena_get2): Atomically check arena limit.
56568 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56570         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56571         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56574         instructions.
56576 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56578         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56579         handler when locking.
56581         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56582         Fix size of allocated buffer.
56584 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56586         [BZ #10103]
56587         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56588         declarations for long double functions.
56589         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56591         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56593 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56595         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56596         installed.
56598         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56599         is disabled.
56601 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56603         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56605 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56607         * include/alloca.h (stackinfo_alloca_round): Define.
56608         (extend_alloca): Use it.
56609         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56610         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56611         here.
56613         * scripts/check-local-headers.sh: Ignore libaudit.h.
56615         * nscd/Makefile (extra-objs): Make recursively expanded.
56617 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56619         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56620         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56622         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56623         * posix/tst-rfc3484-2.c: Likewise.
56624         * posix/tst-rfc3484-3.c: Likewise.
56626         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56627         process_vm_writev.
56628         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56629         process_vm_writev.
56630         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56631         process_vm_writev from libc using GLIBC_2.15 version.
56633         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56635 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56637         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56638         stack usage.
56640 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56642         [BZ #13367]
56643         * nss/getent.c (initgroups_keys): Show error message in case no group
56644         names are given.
56646         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56647         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56648         __bump_nl_timestamp.
56649         * nscd/connections (nscd_init): When host database is served open
56650         netlink socket and request notification about configuration changes.
56651         (main_loop_poll): Track netlink file descriptor and bump timestamp
56652         in case data becomes available.
56653         (main_loop_epoll): Likewise.
56654         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56655         (database_pers_head): Add extra_data fileds.
56656         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56657         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56658         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56659         Adjust caller.
56660         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56661         in6ai data, call __free_in6ai.
56662         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56663         Add -DHAVE_NETLINK.
56664         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56665         interface information.  Reuse previous data if netlink timestamp
56666         is not changed.
56667         (__bump_nl_timestamp): New function.
56668         (__free_in6ai): New function.
56670 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56673         close_not_cancel_no_status here.
56674         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56676 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56678         [BZ #13276]
56679         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56680         return value.
56682         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56683         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56684         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56686 2011-07-03  Andreas Jaeger  <aj@suse.de>
56688         [BZ #10709]
56689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56690         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56691         * math/libm-test.inc (sin_test): Add test case.
56693 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56695         [BZ #13337]
56696         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56697         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56699         * elf/chroot_canon.c (chroot_canon): Cleanups.
56701         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56703         [BZ #13335]
56704         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56705         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56707         * string/test-strchr.c: Make usable for strchrnul testing.
56708         * string/test-strchrnul.c: New file.
56709         * string/Makefile (strop-tests): Add strchrnul.
56711         * po/it.po: Update from translation team.
56712         * po/es.po: Likewise.
56714 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56716         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56717         the three constants needed as parameters.  Drop the others.
56718         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56719         __m128i_strloadu_tolower.
56720         Create and initialize variable zero and use it in all the places
56721         where _mm_setzero_si128 was used.
56723         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56724         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56725         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56726         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56727         anymore.
56728         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56729         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56730         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56731         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56732         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56733         __mpranred, __mptan.
56734         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56735         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56736         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56737         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56738         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56739         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56741         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56742         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56744 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56746         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56747         redefine if SHARED.
56748         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56751         wide char related routines to wcsmbs subdir.
56753 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56755         [BZ #13344]
56756         * misc/sys/cdefs.h (__THROWNL): Define.
56757         * posix/unistd.h: Use __THREADNL instead of __THREAD
56758         for memory synchronization functions.
56760 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56762         [BZ #13349]
56763         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56764         doesn't exist.
56765         * manual/stdio.texi (Obstack Streams): Node removed.
56767 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56769         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56771         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56773         * math/math_private.h (math_force_eval): Allow non-addressable
56774         arguments.
56775         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56777 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56779         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56780         file is not needed.
56782         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56783         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56784         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56785         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56786         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56787         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56788         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56789         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56790         Add AVX variants.
56791         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56792         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56793         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56794         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56795         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56796         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56797         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56799         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56800         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56801         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56802         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56804         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56805         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56806         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56807         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56808         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56809         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56811         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56812         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56815         place.  Use VEX encoding when compiling for AVX.
56817 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56819         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56820         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56822         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56824 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56826         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56827         useless if() expression.
56828         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56829         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56831         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56832         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56833         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56836         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56837         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56838         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56839         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56840         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56841         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56842         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56844         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56846         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56848         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56850 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56852         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56853         condition.
56854         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56856 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56858         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56859         .text section.  Avoid duplicate constants.
56860         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56862         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56864         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56867         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56868         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56869         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56870         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56871         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56872         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56873         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56874         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56875         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56876         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56877         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56880         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56882         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56883         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56884         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56885         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56886         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56887         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56888         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56889         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56890         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56891         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56892         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56893         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56894         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56895         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56896         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56897         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56898         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56899         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56900         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56901         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56902         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56903         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56904         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56906 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56908         * sysdeps/x86_64/dla.h: Move to ...
56909         * sysdeps/x86_64/fpu/dla.h: ...here.
56910         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56911         situations.  Use __builtin_fma only for gcc 4.6 and up.
56913         * config.make.in: Add have-mfma4 entry.
56914         * configure.in: Substitute libc_cv_cc_fma4.
56915         * math/Makefile (dbl-only-routines): Add sincostab.
56916         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56917         Use __sincostab not sincos.
56918         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56919         name is a macro.
56920         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56924         using __copysign.
56925         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56926         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56927         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56928         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56929         and __inv.
56930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56931         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56932         __copysign.
56933         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56934         define aliases when function name is a macro.
56935         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56936         sysdeps/ieee754/dbl-64/sincos.tbl.
56937         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56938         fma4-enabled routines.
56939         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56940         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56941         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56942         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56943         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56944         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56945         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56946         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56947         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56948         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56949         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56950         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56951         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56952         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56953         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56954         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56955         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56956         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56957         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56958         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56959         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56960         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56961         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56962         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56963         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56964         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56965         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56966         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56967         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56968         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56970         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56971         rename.
56972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56981 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56983         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56985 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56987         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56989         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56990         prediction.
56991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56993         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56994         Remove unused variable magic_bits.
56995         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56997         * string/strnlen.c: Define and use STRNLEN macro.
56998         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56999         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57001         * wcsmbs/wcslen.c: Define and use WCSLEN.
57002         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57003         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57004         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57005         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57006         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57007         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57008         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57010 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57013         strnlen-sse2-no-bsf.
57014         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57015         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57016         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57017         Add strnlen support.
57018         (USE_AS_STRNLEN): New macro.
57019         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57020         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57021         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57022         * sysdeps/x86_64/wcslen.S: New file.
57024 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57026         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57027         XMM-moves are used for copying on small sizes.
57029 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57031         * wcsmbs/Makefile (strop-tests): Add wcschr.
57032         * wcsmbs/test-wcschr.c: New file.
57033         * string/test-strchr.c: Update.
57034         Add wcschr support.
57035         (WIDE): New macro.
57037 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57039         * wcsmbs/Makefile (strop-tests): Add wcslen.
57040         * wcsmbs/test-wcslen.c: New file.
57041         * string/test-strlen.c: Update.
57042         Add wcslen support.
57043         (WIDE): New macro.
57045 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57047         * po/it.po: Update from translation team.
57049 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57051         * sysdeps/x86_64/wcscmp.S: Update.
57052         Fix wrong comparison semantics.
57053         wcscmp shall use signed comparison not unsigned.
57054         Don't use substraction to avoid overflow bug.
57055         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57056         * wcsmbc/wcscmp.c: Likewise.
57057         * string/test-strcmp.c: Likewise.
57058         Add new tests to check cases with negative values.
57060 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57062         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57063         * sysdeps/x86_64/dla.h: ...here.  New file.
57064         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57065         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57069         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57071         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57074 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57077         __ynl_finite aliases.
57079 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57083         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57084         define DLA_FMA.
57085         [DLA_FMA] (EMULV): Use DLA_FMA.
57086         [DLA_FMA] (MUL12): Use EMULV.
57087         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57088         that are not needed.
57089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57094         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57097 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57099         * math/s_nan.c: Undef __nan.
57100         * math/s_nanf.c: Undef __nanf.
57101         * math/s_nanl.c: Undef __nanl.
57102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57103         "math_private.h".
57105 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57107         * math/s_catan.c: Add branch predictions.
57108         * math/s_catanf.c: Likewise.
57109         * math/s_catanh.c: Likewise.
57110         * math/s_catanhf.c: Likewise.
57111         * math/s_catanhl.c: Likewise.
57112         * math/s_catanl.c: Likewise.
57113         * math/s_cexp.c: Likewise.
57114         * math/s_cexpf.c: Likewise.
57115         * math/s_cexpl.c: Likewise.
57116         * math/s_clog.c: Likewise.
57117         * math/s_clog10.c: Likewise.
57118         * math/s_clog10f.c: Likewise.
57119         * math/s_clog10l.c: Likewise.
57120         * math/s_clogf.c: Likewise.
57121         * math/s_clogl.c: Likewise.
57122         * math/s_csqrt.c: Likewise.
57123         * math/s_csqrtf.c: Likewise.
57124         * math/s_csqrtl.c: Likewise.
57125         * math/s_ctanf.c: Likewise.
57126         * math/s_ctanh.c: Likewise.
57127         * math/s_ctanhf.c: Likewise.
57128         * math/s_ctanhl.c: Likewise.
57129         * math/s_ctanl.c: Likewise.
57131         * math/math_private.h: Define __nan, __nanf, __nanl.
57132         * math/s_cacosh.c: Include <math_private.h>.
57133         * math/s_cacoshl.c: Likewise.
57134         * math/s_casinh.c: Likewise.
57135         * math/s_casinhf.c: Likewise.
57136         * math/s_casinhl.c: Likewise.
57137         * math/s_ccos.c: Rely entire on ccosh.
57138         * math/s_ccosf.c: Rely entire on ccoshf.
57139         * math/s_ccosl.c: Rely entirely on ccoshl.
57140         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57141         Remove tests for FE_INVALID.
57142         * math/s_ccoshf.c: Likewise.
57143         * math/s_ccoshl.c: Likewise.
57144         * math/s_csin.c: Likewise.
57145         * math/s_csinf.c: Likewise.
57146         * math/s_csinh.c Likewise.
57147         * math/s_csinhf.c: Likewise.
57148         * math/s_csinhl.c: Likewise.
57149         * math/s_csinl.c: Likewise.
57150         * math/s_ctan.c: Likewise.
57151         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57152         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57153         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57155 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57158         compilation problems.
57160         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57161         __builtin_expect.
57163 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57165         * sysdeps/i386/configure.in: Test for -mfma4 option.
57166         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57167         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57168         COMMON_CPUID_INDEX_80000001.
57169         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57170         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57171         use it if FMA3 is not supported.
57172         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57174         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57175         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57177 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57179         [BZ #12892]
57180         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57181         it would create a cycle with a link time dependency.
57183 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57185         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57186         instruction.
57187         * string/Makefile (strop-tests): Add rawmemchr.
57188         * string/test-rawmemchr.c: New file.
57190         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57191         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57192         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57193         when compiling str{,n}casecmp and when AVX is available.  Hook up
57194         new optimized code in initializers.
57196 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57198         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57199         __feraiseexcept instead of feraiseexcept.
57201 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57203         * math/math_private.h: Define defaults for libc_fetestexcept and
57204         libc_feupdateenv.
57205         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57206         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57207         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57208         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57209         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57210         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57211         libc_fetestexcept and libc_feupdateenv.
57213         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57214         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57215         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57216         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57217         libc_feholdexcept_setround.
57219         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57220         Add s_nearbyint-c and s_nearbyintf-c.
57221         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57222         nearbyintf inlines.
57223         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57225         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57228         * math/math_private.h: Define defaults for libc_fegetround,
57229         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57230         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57231         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57232         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57233         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57234         standard functions.
57235         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57236         Remove comments and hacks for old compiler versions.
57237         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57238         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57239         libc_feholdexceptl.
57241 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57243         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57244         (__feraiseexcept_renamed): Add __NTH.
57245         (feraiseexcept): Add __NTH.  Rename local variables to fix
57246         namespace violations.
57248 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57250         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57252         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57254         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57255         recently added interfaces.
57256         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57258         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57259         about macro parameter expansion.
57261         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57262         __NO_MATH_INLINES is defined.  Cleanups.
57264         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57265         and __floorf is target has SSE4.1.
57266         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57267         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57268         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57269         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57271         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57272         name.
57273         (floorf): Likewise.
57275         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57277 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57279         * misc/sys/cdefs.h: Fix last change.
57281         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57282         database lookup.
57284 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57286         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57288         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57289         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57290         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57291         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57292         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57293         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57294         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57295         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57296         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57297         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57298         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57299         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57300         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57301         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57302         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57303         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57304         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57305         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57306         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57307         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57308         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57309         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57311         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57312         ceil, ceilf, floor, floorf.
57314         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57315         Perform IRELATIVE relocations last.
57317         * elf/do-rel.h: Add another parameter nrelative, replacing the
57318         local variable with the same name.  Change name of the function
57319         to end in Rel or Rela (uppercase).
57320         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57321         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57322         elf_dynamic_do_##reloc function.
57324 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57326         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57327         is sufficient, at least on modern CPUs.
57329         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57331         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57332         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57334         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57335         __expl_finite.
57336         * math/bits/math-finite.h: Add entries for exp.
57337         * math/e_expl.c: Add __*_finite alias.
57338         * sysdeps/i386/fpu/e_exp.S: Likewise.
57339         * sysdeps/i386/fpu/e_expf.S: Likewise.
57340         * sysdeps/i386/fpu/e_expl.c: Likewise.
57341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57342         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57343         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57346         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57347         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57349         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57350         is sufficient, at least on modern CPUs.
57352         * ctype/ctype-info.c (__ctype_init): Define.
57353         * include/ctype.h (__ctype_init): Declare.
57354         (__ctype_b_loc): The variable is always initialized.
57355         (__ctype_toupper_loc): Likewise.
57356         (__ctype_tolower_loc): Likewise.
57357         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57358         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57360 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57362         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57364         * configure.in: Also look in $cxxmachine/include for C++ system
57365         headers.
57367 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57369         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57370         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57371         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57372         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57373         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57374         (USE_AS_WMEMCMP): New macro.
57375         Fixing indents.
57376         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57377         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57378         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57379         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57381         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57382         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57383         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57384         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57385         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57386         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57387         (USE_AS_WMEMCMP): New macro.
57388         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57389         * sysdeps/string/test-memcmp.c: Update.
57390         Fix simple_wmemcmp.
57391         Add new tests.
57392         * wcsmbs/wmemcmp.c: Update.
57393         (WMEMCMP): New macro.
57394         Fix overflow bug.
57396 2011-10-12  Andreas Jaeger  <aj@suse.de>
57398         [BZ #13268]
57399         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57401 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57403         * libio/iofwide.c (do_length): Avoid warning.
57405         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57407 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57409         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57411         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57412         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57413         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57414         * sysdeps/i386/i686/fpu/e_log.S: New file.
57415         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57416         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57418         * ctype/ctype.h: Add support for inlined isXXX functions when
57419         compiling C++ code.
57421 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57423         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57425         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57427 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57429         [BZ #13291]
57430         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57432 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57434         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57435         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57436         feraiseexcept.
57438         * sysdeps/x86_64/memrchr.S: Check for zero size.
57440         * string/stratcliff.c: Add memrchr tests.
57442 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57445         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57446         rawmemchr-sse2 rawmemchr-sse2-bsf.
57447         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57448         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57449         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57450         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57451         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57452         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57453         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57454         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57455         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57457         * string/memrchr.c (MEMRCHR): New macro.
57459 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57461         Add integration with gcc's -ffinite-math-only and optimize wrapper
57462         functions in libm.
57463         * Versions.def: Define GLIBC_2.15 version for libm.
57464         * math/Makefile (headers): Add bits/math-finite.h.
57465         * math/bits/math-finite.h: New file.
57466         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57467         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57468         * math/e_acoshl.c: Add __*_finite alias.
57469         * math/e_acosl.c: Likewise.
57470         * math/e_asinl.c: Likewise.
57471         * math/e_atan2l.c: Likewise.
57472         * math/e_atanhl.c: Likewise.
57473         * math/e_coshl.c: Likewise.
57474         * math/e_exp10.c: Likewise.
57475         * math/e_exp10f.c: Likewise.
57476         * math/e_exp10l.c: Likewise.
57477         * math/e_exp2l.c: Likewise.
57478         * math/e_fmodl.c: Likewise.
57479         * math/e_gammal_r.c: Likewise.
57480         * math/e_hypotl.c: Likewise.
57481         * math/e_j0l.c: Likewise.
57482         * math/e_j1l.c: Likewise.
57483         * math/e_jnl.c: Likewise.
57484         * math/e_lgammal_r.c: Likewise.
57485         * math/e_log10l.c: Likewise.
57486         * math/e_log2l.c: Likewise.
57487         * math/e_logl.c: Likewise.
57488         * math/e_powl.c: Likewise.
57489         * math/e_sinhl.c: Likewise.
57490         * math/e_sqrtl.c: Likewise.
57491         * math/e_scalb.c: Completely rewritten and optimized.
57492         * math/e_scalbf.c: Likewise.
57493         * math/e_scalbl.c: Likewise.
57494         * math/w_acos.c: Likewise.
57495         * math/w_acosf.c: Likewise.
57496         * math/w_acosl.c: Likewise.
57497         * math/w_acosh.c: Likewise.
57498         * math/w_acoshf.c: Likewise.
57499         * math/w_acoshl.c: Likewise.
57500         * math/w_asin.c: Likewise.
57501         * math/w_asinf.c: Likewise.
57502         * math/w_asinl.c: Likewise.
57503         * math/w_atan2.c: Likewise.
57504         * math/w_atan2f.c: Likewise.
57505         * math/w_atan2l.c: Likewise.
57506         * math/w_atanh.c: Likewise.
57507         * math/w_atanhf.c: Likewise.
57508         * math/w_atanhl.c: Likewise.
57509         * math/w_exp10.c: Likewise.
57510         * math/w_exp10f.c: Likewise.
57511         * math/w_exp10l.c: Likewise.
57512         * math/w_fmod.c: Likewise.
57513         * math/w_fmodf.c: Likewise.
57514         * math/w_fmodl.c: Likewise.
57515         * math/w_j0.c: Likewise.
57516         * math/w_j0f.c: Likewise.
57517         * math/w_j0l.c: Likewise.
57518         * math/w_j1.c: Likewise.
57519         * math/w_j1f.c: Likewise.
57520         * math/w_j1l.c: Likewise.
57521         * math/w_jn.c: Likewise.
57522         * math/w_jnf.c: Likewise.
57523         * math/w_log.c: Likewise.
57524         * math/w_logf.c: Likewise.
57525         * math/w_logl.c: Likewise.
57526         * math/w_log10.c: Likewise.
57527         * math/w_log10f.c: Likewise.
57528         * math/w_log10l.c: Likewise.
57529         * math/w_log2.c: Likewise.
57530         * math/w_log2f.c: Likewise.
57531         * math/w_log2l.c: Likewise.
57532         * math/w_pow.c: Likewise.
57533         * math/w_powf.c: Likewise.
57534         * math/w_powl.c: Likewise.
57535         * math/w_remainder.c: Likewise.
57536         * math/w_remainderf.c: Likewise.
57537         * math/w_remainderl.c: Likewise.
57538         * math/w_scalb.c: Likewise.
57539         * math/w_scalbf.c: Likewise.
57540         * math/w_scalbl.c: Likewise.
57541         * math/w_sqrt.c: Likewise.
57542         * math/w_sqrtf.c: Likewise.
57543         * math/w_sqrtl.c: Likewise.
57544         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57545         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57546         used.
57547         * math/math_private.h: Declare __kernel_standard_f.
57548         * math/w_cosh.c: Remove cruft and optimize a bit.
57549         * math/w_coshf.c: Likewise.
57550         * math/w_coshl.c: Likewise.
57551         * math/w_exp2.c: Likewise.
57552         * math/w_exp2f.c: Likewise.
57553         * math/w_exp2l.c: Likewise.
57554         * math/w_hypot.c: Likewise.
57555         * math/w_hypotf.c: Likewise.
57556         * math/w_hypotl.c: Likewise.
57557         * math/w_lgamma.c: Likewise.
57558         * math/w_lgamma_r.c: Likewise.
57559         * math/w_lgammaf.c: Likewise.
57560         * math/w_lgammaf_r.c: Likewise.
57561         * math/w_lgammal.c: Likewise.
57562         * math/w_lgammal_r.c: Likewise.
57563         * math/w_sinh.c: Likewise.
57564         * math/w_sinhf.c: Likewise.
57565         * math/w_sinhl.c: Likewise.
57566         * math/w_tgamma.c: Likewise.
57567         * math/w_tgammaf.c: Likewise.
57568         * math/w_tgammal.c: Likewise.
57569         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57570         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57571         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57572         Minor optimizations.  Pretty printing.  Remove cruft.
57573         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57574         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57577         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57578         * sysdeps/i386/fpu/e_asin.S: Likewise.
57579         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57580         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57581         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57582         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57583         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57584         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57585         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57586         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57587         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57588         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57589         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57590         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57591         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57592         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57593         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57594         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57595         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57596         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57597         * sysdeps/i386/fpu/e_log.S: Likewise.
57598         * sysdeps/i386/fpu/e_log10.S: Likewise.
57599         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57600         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57601         * sysdeps/i386/fpu/e_log2.S: Likewise.
57602         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57603         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57604         * sysdeps/i386/fpu/e_logf.S: Likewise.
57605         * sysdeps/i386/fpu/e_logl.S: Likewise.
57606         * sysdeps/i386/fpu/e_pow.S: Likewise.
57607         * sysdeps/i386/fpu/e_powf.S: Likewise.
57608         * sysdeps/i386/fpu/e_powl.S: Likewise.
57609         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57610         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57611         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57612         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57613         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57614         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57615         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57616         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57617         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57618         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57619         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57621         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57623         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57625         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57626         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57627         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57631         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57632         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57634         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57635         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57638         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57639         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57640         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57641         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57642         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57643         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57644         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57645         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57646         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57647         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57648         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57649         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57650         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57652         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57653         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57654         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57655         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57656         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57657         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57658         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57659         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57660         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57661         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57663         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57664         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57667         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57668         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57669         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57677         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57680         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57682         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57683         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57686         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57687         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57689         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57691         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57692         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57694         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57696         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57697         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57698         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57699         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57700         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57701         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57702         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57705         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57706         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57707         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57708         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57709         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57710         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57711         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57712         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57713         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57714         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57715         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57716         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57717         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57718         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57719         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57720         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57721         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57722         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57723         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57724         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57725         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57726         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57727         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57728         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57729         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57730         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57731         (__isnanf): Likewise.
57732         (__isinf_ns): Likewise.
57733         (__isinf_nsf): Likewise.
57734         (__finite): Likewise.
57735         (__finitef): Likewise.
57736         (__ieee754_sqrt): Define as macro.
57737         (__ieee754_sqrtf): Define as macro.
57738         (__ieee754_sqrtl): Define as macro.
57739         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57740         inlined copy.
57741         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57742         __FINITE_MATH_ONLY__ consistent.
57743         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57745 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57747         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57748         of rawmemchr.
57750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57752 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57754         * po/ja.po: Update from translation team.
57756 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57758         * locale/programs/locarchive.c (prepare_address_space): New function.
57759         (create_archive, enlarge_archive, open_archive): Use it.
57761         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57762         inside [SHARED], where it is used.
57764         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57766         * nss/getent.c (netgroup_keys): Remove unused variable.
57767         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57769 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57771         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57772         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57774         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57775         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57776         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57777         * math/Makefile (libm-calls): Add s_isinf_ns.
57778         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57779         * math/multc3.c: Likewise.
57780         * math/s_casin.c: Likewise.
57781         * math/s_casinf.c: Likewise.
57782         * math/s_casinl.c: Likewise.
57783         * math/s_ccos.c: Likewise.
57784         * math/s_ccosf.c: Likewise.
57785         * math/s_ccosl.c: Likewise.
57786         * math/s_ctan.c: Likewise.
57787         * math/s_ctanf.c: Likewise.
57788         * math/s_ctanh.c: Likewise.
57789         * math/s_ctanhf.c: Likewise.
57790         * math/s_ctanhl.c: Likewise.
57791         * math/s_ctanl.c: Likewise.
57792         * math/w_fmod.c: Likewise.
57793         * math/w_fmodf.c: Likewise.
57794         * math/w_fmodl.c: Likewise.
57795         * math/w_remainder.c: Likewise.
57796         * math/w_remainderf.c: Likewise.
57797         * math/w_remainderl.c: Likewise.
57798         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57799         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57800         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57802         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57803         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57804         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57805         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57807         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57808         of the number.
57809         * stdio-common/printf_fphex.c: Likewise.
57810         * stdio-common/printf_size.c: Likewise.
57812         * math/e_exp10.c: Include math_private.h using <...> not "...".
57813         * math/e_exp10f.c: Likewise.
57814         * math/e_exp10l.c: Likewise.
57815         * math/e_exp2l.c: Likewise.
57816         * math/e_j0l.c: Likewise.
57817         * math/e_j1l.c: Likewise.
57818         * math/e_jnl.c: Likewise.
57819         * math/e_lgammal_r.c: Likewise.
57820         * math/e_rem_pio2l.c: Likewise.
57821         * math/e_scalb.c: Likewise.
57822         * math/e_scalbf.c: Likewise.
57823         * math/e_scalbl.c: Likewise.
57824         * math/k_cosl.c: Likewise.
57825         * math/k_sinl.c: Likewise.
57826         * math/k_tanl.c: Likewise.
57827         * math/s_cacoshf.c: Likewise.
57828         * math/s_catan.c: Likewise.
57829         * math/s_catanf.c: Likewise.
57830         * math/s_catanh.c: Likewise.
57831         * math/s_catanhf.c: Likewise.
57832         * math/s_catanhl.c: Likewise.
57833         * math/s_catanl.c: Likewise.
57834         * math/s_ccosh.c: Likewise.
57835         * math/s_ccoshf.c: Likewise.
57836         * math/s_ccoshl.c: Likewise.
57837         * math/s_cexp.c: Likewise.
57838         * math/s_cexpf.c: Likewise.
57839         * math/s_cexpl.c: Likewise.
57840         * math/s_clog.c: Likewise.
57841         * math/s_clog10.c: Likewise.
57842         * math/s_clog10f.c: Likewise.
57843         * math/s_clog10l.c: Likewise.
57844         * math/s_clogf.c: Likewise.
57845         * math/s_clogl.c: Likewise.
57846         * math/s_csin.c: Likewise.
57847         * math/s_csinf.c: Likewise.
57848         * math/s_csinh.c: Likewise.
57849         * math/s_csinhf.c: Likewise.
57850         * math/s_csinhl.c: Likewise.
57851         * math/s_csinl.c: Likewise.
57852         * math/s_csqrt.c: Likewise.
57853         * math/s_csqrtf.c: Likewise.
57854         * math/s_csqrtl.c: Likewise.
57855         * math/s_ctan.c: Likewise.
57856         * math/s_ctanf.c: Likewise.
57857         * math/s_ctanh.c: Likewise.
57858         * math/s_ctanhf.c: Likewise.
57859         * math/s_ctanhl.c: Likewise.
57860         * math/s_ctanl.c: Likewise.
57861         * math/s_ldexp.c: Likewise.
57862         * math/s_ldexpf.c: Likewise.
57863         * math/s_ldexpl.c: Likewise.
57864         * math/s_significand.c: Likewise.
57865         * math/s_significandf.c: Likewise.
57866         * math/s_significandl.c: Likewise.
57867         * math/w_acos.c: Likewise.
57868         * math/w_acosf.c: Likewise.
57869         * math/w_acosh.c: Likewise.
57870         * math/w_acoshf.c: Likewise.
57871         * math/w_acoshl.c: Likewise.
57872         * math/w_acosl.c: Likewise.
57873         * math/w_asin.c: Likewise.
57874         * math/w_asinf.c: Likewise.
57875         * math/w_asinl.c: Likewise.
57876         * math/w_atan2.c: Likewise.
57877         * math/w_atan2f.c: Likewise.
57878         * math/w_atan2l.c: Likewise.
57879         * math/w_atanh.c: Likewise.
57880         * math/w_atanhf.c: Likewise.
57881         * math/w_atanhl.c: Likewise.
57882         * math/w_cosh.c: Likewise.
57883         * math/w_coshf.c: Likewise.
57884         * math/w_coshl.c: Likewise.
57885         * math/w_dremf.c: Likewise.
57886         * math/w_exp10.c: Likewise.
57887         * math/w_exp10f.c: Likewise.
57888         * math/w_exp10l.c: Likewise.
57889         * math/w_exp2.c: Likewise.
57890         * math/w_exp2f.c: Likewise.
57891         * math/w_fmod.c: Likewise.
57892         * math/w_fmodf.c: Likewise.
57893         * math/w_fmodl.c: Likewise.
57894         * math/w_hypot.c: Likewise.
57895         * math/w_hypotf.c: Likewise.
57896         * math/w_hypotl.c: Likewise.
57897         * math/w_j0.c: Likewise.
57898         * math/w_j0f.c: Likewise.
57899         * math/w_j0l.c: Likewise.
57900         * math/w_j1.c: Likewise.
57901         * math/w_j1f.c: Likewise.
57902         * math/w_j1l.c: Likewise.
57903         * math/w_jn.c: Likewise.
57904         * math/w_jnf.c: Likewise.
57905         * math/w_jnl.c: Likewise.
57906         * math/w_lgamma.c: Likewise.
57907         * math/w_lgamma_r.c: Likewise.
57908         * math/w_lgammaf.c: Likewise.
57909         * math/w_lgammaf_r.c: Likewise.
57910         * math/w_lgammal.c: Likewise.
57911         * math/w_lgammal_r.c: Likewise.
57912         * math/w_log.c: Likewise.
57913         * math/w_log10.c: Likewise.
57914         * math/w_log10f.c: Likewise.
57915         * math/w_log10l.c: Likewise.
57916         * math/w_log2.c: Likewise.
57917         * math/w_log2f.c: Likewise.
57918         * math/w_log2l.c: Likewise.
57919         * math/w_logf.c: Likewise.
57920         * math/w_logl.c: Likewise.
57921         * math/w_pow.c: Likewise.
57922         * math/w_powf.c: Likewise.
57923         * math/w_powl.c: Likewise.
57924         * math/w_remainder.c: Likewise.
57925         * math/w_remainderf.c: Likewise.
57926         * math/w_remainderl.c: Likewise.
57927         * math/w_scalb.c: Likewise.
57928         * math/w_scalbf.c: Likewise.
57929         * math/w_scalbl.c: Likewise.
57930         * math/w_sinh.c: Likewise.
57931         * math/w_sinhf.c: Likewise.
57932         * math/w_sinhl.c: Likewise.
57933         * math/w_sqrt.c: Likewise.
57934         * math/w_sqrtf.c: Likewise.
57935         * math/w_sqrtl.c: Likewise.
57936         * math/w_tgamma.c: Likewise.
57937         * math/w_tgammaf.c: Likewise.
57938         * math/w_tgammal.c: Likewise.
57940         * po/ja.po: Update from translation team.
57942 2011-09-29  Andreas Jaeger  <aj@suse.de>
57944         [BZ #13179]
57945         * sunrpc/netname.c (netname2host): Fix logic.
57947         [BZ #6779]
57948         [BZ #6783]
57949         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57950         correctly.
57951         * math/w_remainder.c (__remainder): Likewise.
57952         * math/w_remainderf.c (__remainderf): Likewise.
57953         * math/libm-test.inc (remainder_test): Add test cases.
57955 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57957         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57958         sdiv_qrnnd.
57960 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57962         * string/test-memcmp.c: Avoid unncessary #defines.
57963         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57965 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57967         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57968         Use new sse2 version for core i3 - i7 as it's faster
57969         than sse42 version.
57970         (bit_Prefer_PMINUB_for_stringop): New.
57971         * sysdeps/x86_64/rawmemchr.S: Update.
57972         Replace with faster SSE2 version.
57973         * sysdeps/x86_64/memrchr.S: New file.
57974         * sysdeps/x86_64/memchr.S: Update.
57975         Replace with faster SSE2 version.
57977 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57979         * elf/dl-load.c (lose): Add cast to avoid warning.
57981 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57983         * po/ca.po: Update from translation team.
57985         * inet/getnetgrent_r.c: Hook up nscd.
57986         * nscd/Makefile (routines): Add nscd_netgroup.
57987         (nscd-modules): Add netgroupcache.
57988         (CFLAGS-netgroupcache.c): Define.
57989         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57990         (cache_search): Add const to second parameter.
57991         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57992         INNETGR.
57993         (dbs): Add netgrdb entry.
57994         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57995         (verify_persistent_db): Handle netgrdb.
57996         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57997         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57998         GETFDNETGR.
57999         (netgroup_response_header): Define.
58000         (innetgroup_response_header): Define.
58001         (datahead): Add netgroup_response_header and innetgroup_response_header
58002         elements.
58003         * nscd/nscd.conf: Add entries for netgroup cache.
58004         * nscd/nscd.h (dbtype): Add netgrdb.
58005         (_PATH_NSCD_NETGROUP_DB): Define.
58006         (netgroup_iov_disabled): Declare.
58007         (xmalloc, xcalloc, xrealloc): Move declarations here.
58008         (cache_search): Adjust prototype.
58009         Add netgroup-related prototypes.
58010         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58011         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58012         (__nscd_innetgr): Declare.
58013         * nscd/selinux.c (perms): Use access_vector_t as element type and
58014         add netgroup-related initializers.
58015         * nscd/netgroupcache.c: New file.
58016         * nscd/nscd_netgroup.c: New file.
58017         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58018         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58019         For four parameters use innetgr.
58020         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58021         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58022         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58023         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58025         * nscd/connections.c (register_traced_file): Don't register file
58026         for disabled databases.
58028 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58030         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58032         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58033         from tree and freeing node.
58035 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58037         * nss/nsswitch.c (__nss_database_lookup): Handle
58038         nss_parse_service_list out of memory case.
58040 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58042         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58043         out of memory case.
58045 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58047         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58048         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58049         pass it down.
58050         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58051         elf_machine_rela, elf_machine_lazy_rel.
58052         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58053         (ELF_DYNAMIC_DO_REL): Likewise.
58054         (ELF_DYNAMIC_DO_RELA): Likewise.
58055         (ELF_DYNAMIC_RELOCATE): Likewise.
58056         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58057         to ELF_DYNAMIC_DO_REL.
58058         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58059         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58060         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58061         elf_machine_rela.
58062         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58063         skip_ifunc, don't call ifunc function if non-zero.
58064         (elf_machine_rela): Likewise.
58065         (elf_machine_lazy_rel): Likewise.
58066         (elf_machine_lazy_rela): Likewise.
58067         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58068         (elf_machine_lazy_rel): Likewise.
58069         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58070         Likewise.
58071         (elf_machine_lazy_rel): Likewise.
58072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58073         Likewise.
58074         (elf_machine_lazy_rel): Likewise.
58075         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58076         (elf_machine_lazy_rel): Likewise.
58077         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58078         (elf_machine_lazy_rel): Likewise.
58079         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58080         (elf_machine_lazy_rel): Likewise.
58081         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58082         (elf_machine_lazy_rel): Likewise.
58083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58084         (elf_machine_lazy_rel): Likewise.
58085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58086         (elf_machine_lazy_rel): Likewise.
58088 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58090         * nss/nss_files/files-init.c (_nss_files_init): Use static
58091         initialization for all the *_traced_file variables.
58093 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58095         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58097 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58099         [BZ #13226]
58100         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58102 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58104         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58105         Reread the line before reparsing it.
58107 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58109         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58111 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58112             Maxim Kuvyrkov  <maxim@codesourcery.com>
58113             Joseph Myers  <joseph@codesourcery.com>
58115         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58116         if needed for __stack_chk_guard.
58118 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58120         * sysdeps/posix/spawni.c (script_execute): Always define it.
58121         It will be optimized away if unused.
58122         (maybe_script_execute): New function.
58123         (__spawni): Call it.
58125         * Makerules: Don't include tls.make.
58126         (config-tls): Always set to thread.
58127         * tls.make.c: File removed.
58129 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58131         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58132         * config.make.in (CPPFLAGS-config): New substituted variable.
58134 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58138         [BZ #13192]
58139         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58140         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58142 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58144         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58145         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58147         (CALL_FAIL): Likewise.
58148         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58149         (CALL_FAIL): Macro removed.
58150         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58152 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58154         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58155         for __FINITE_MATH_ONLY__ == 1.
58157 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58159         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58160         __ieee754_sqrt instead of sqrt.
58161         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58162         __ieee754_sqrtf instead of sqrtf.
58163         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58164         __floorf instead of floorf.
58165         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58166         __floorf, __truncf instead of floorf, truncf.
58168 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58170         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58172         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58173         __extern_always_inline.
58174         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58175         32-bit.
58177 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58179         * elf/rtld.c (dl_main): Also relocate in dependency order when
58180         doing symbol dependency testing.
58182 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58184         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58185         Always define `refsym'.
58187 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58189         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58190         (__FD_ELT): Renamed from __FDELT.
58191         * misc/bits/select2.h (__FD_ELT): Likewise.
58192         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58193         __FD_MASK instead of __FDELT, __FDMASK.
58194         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58195         Likewise.
58196         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58197         Likewise.
58199         * elf/Makefile (gen-ldd): Fix pattern.
58201         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58202         (init_tls): Likewise.
58204 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58208 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58210         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58211         `struct cmsghdr *' instead of `void *'.
58212         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58213         Likewise.
58215 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58217         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58218         if non-absolute.
58219         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58220         ldd_rewrite_script.
58222 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58224         * configure.in: Remove --with-tls option.
58225         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58226         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58227         out in case it is missing.
58228         * sysdeps/ia64/elf/configure.in: Likewise.
58229         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58230         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58231         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58232         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58233         * sysdeps/sh/elf/configure.in: Likewise.
58234         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58235         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58236         * sysdeps/x86_64/elf/configure.in: Likewise.
58237         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58238         * sysdeps/mach/hurd/tls.h: Likewise.
58240         [BZ #13067]
58241         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58243         [BZ #13090]
58244         * configure.in: Fix use of AC_INIT.
58246         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58248 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58250         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58251         __set_errno.
58252         * malloc/hooks.c: Likewise.
58254         [BZ #11929]
58255         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58256         variables statically.
58257         (narenas): Initialize.
58258         (list_lock): Initialize.
58259         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58260         initializtion of main_arena and list_lock.  Small cleanups.
58261         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58262         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58263         Add initializers to main_arena and mp_.
58264         (malloc_state): Remove pagesize member.  Change all users to use
58265         GLRO(dl_pagesize).
58267         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58268         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58269         is always initialized.
58271         * malloc/malloc.c: Removed unused configurations and dead code.
58272         * malloc/arena.c: Likewise.
58273         * malloc/hooks.c: Likewise.
58274         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58276         * include/tls.h: Removed.  USE___THREAD must always be defined.
58277         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58278         * elf/dl-libc.c: Likewise.
58279         * elf/dl-tsd.c: Likewise.
58280         * include/errno.h: Likewise.
58281         * include/netdb.h: Likewise.
58282         * include/resolv.h: Likewise.
58283         * inet/herrno-loc.c: Likewise.
58284         * inet/herrno.c: Likewise.
58285         * malloc/arena.c: Likewise.
58286         * malloc/hooks.c: Likewise.
58287         * malloc/malloc.c: Likewise.
58288         * resolv/res-state.c: Likewise.
58289         * resolv/res_libc.c: Likewise.
58290         * sysdeps/i386/dl-machine.h: Likewise.
58291         * sysdeps/ia64/dl-machine.h: Likewise.
58292         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58294         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58295         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58296         * sysdeps/sh/dl-machine.h: Likewise.
58297         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58298         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58299         * sysdeps/unix/i386/sysdep.S: Likewise.
58300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58301         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58310         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58311         * sysdeps/x86_64/dl-machine.h: Likewise.
58312         * tls.make.c: Likewise.
58314         * configure.in: Remove --with-__thread option.  Make tests for
58315         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58316         tls_model attribute fail if no support is available.  Remove
58317         USE_IN_LIBIO.
58318         * Makeconfig: Adjust for dropped configure option.  All features are
58319         now mandatory.
58320         * Makerules: Likewise.
58321         * Versions.def: Likewise.
58322         * argp/argp-fmtstream.c: Likewise.
58323         * argp/argp-fmtstream.h: Likewise.
58324         * argp/argp-help.c: Likewise.
58325         * assert/assert.c: Likewise.
58326         * config.h.in: Likewise.
58327         * config.make.in: Likewise.
58328         * configure: Likewise.
58329         * configure.in: Likewise.
58330         * csu/Versions: Likewise.
58331         * csu/init.c: Likewise.
58332         * elf/tst-audit2.c: Likewise.
58333         * elf/tst-tls10.c: Likewise.
58334         * elf/tst-tls10.h: Likewise.
58335         * elf/tst-tls11.c: Likewise.
58336         * elf/tst-tls12.c: Likewise.
58337         * elf/tst-tls14.c: Likewise.
58338         * elf/tst-tlsmod11.c: Likewise.
58339         * elf/tst-tlsmod12.c: Likewise.
58340         * elf/tst-tlsmod13.c: Likewise.
58341         * elf/tst-tlsmod13a.c: Likewise.
58342         * elf/tst-tlsmod14a.c: Likewise.
58343         * elf/tst-tlsmod15b.c: Likewise.
58344         * elf/tst-tlsmod16a.c: Likewise.
58345         * elf/tst-tlsmod16b.c: Likewise.
58346         * elf/tst-tlsmod7.c: Likewise.
58347         * elf/tst-tlsmod8.c: Likewise.
58348         * elf/tst-tlsmod9.c: Likewise.
58349         * gmon/gmon.c: Likewise.
58350         * grp/fgetgrent_r.c: Likewise.
58351         * grp/putgrent.c: Likewise.
58352         * hurd/fopenport.c: Likewise.
58353         * include/libc-symbols.h: Likewise.
58354         * include/tls.h: Likewise.
58355         * intl/gettextP.h: Likewise.
58356         * intl/loadinfo.h: Likewise.
58357         * locale/global-locale.c: Likewise.
58358         * locale/localeinfo.h: Likewise.
58359         * mach/devstream.c: Likewise.
58360         * malloc/arena.c: Likewise.
58361         * malloc/set-freeres.c: Likewise.
58362         * misc/err.c: Likewise.
58363         * misc/getttyent.c: Likewise.
58364         * misc/mntent_r.c: Likewise.
58365         * posix/getopt.c: Likewise.
58366         * posix/wordexp.c: Likewise.
58367         * pwd/fgetpwent_r.c: Likewise.
58368         * resolv/Versions: Likewise.
58369         * resolv/res_hconf.c: Likewise.
58370         * shadow/fgetspent_r.c: Likewise.
58371         * shadow/putspent.c: Likewise.
58372         * stdio-common/printf_fphex.c: Likewise.
58373         * stdio-common/tmpfile.c: Likewise.
58374         * stdlib/abort.c: Likewise.
58375         * stdlib/fmtmsg.c: Likewise.
58376         * sunrpc/auth_unix.c: Likewise.
58377         * sunrpc/clnt_perr.c: Likewise.
58378         * sunrpc/clnt_tcp.c: Likewise.
58379         * sunrpc/clnt_udp.c: Likewise.
58380         * sunrpc/clnt_unix.c: Likewise.
58381         * sunrpc/openchild.c: Likewise.
58382         * sunrpc/svc_simple.c: Likewise.
58383         * sunrpc/svc_tcp.c: Likewise.
58384         * sunrpc/svc_udp.c: Likewise.
58385         * sunrpc/svc_unix.c: Likewise.
58386         * sunrpc/xdr.c: Likewise.
58387         * sunrpc/xdr_array.c: Likewise.
58388         * sunrpc/xdr_rec.c: Likewise.
58389         * sunrpc/xdr_ref.c: Likewise.
58390         * sunrpc/xdr_stdio.c: Likewise.
58392 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58394         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58396 2011-07-03  Andreas Jaeger  <aj@suse.de>
58398         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58399         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58400         regenerate with gen-libm-tests.pl.
58402 2010-05-12  Petr Baudis  <pasky@suse.cz>
58404         [BZ #11589]
58405         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58406         around j0() zero points by switching to j1().
58407         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58410         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58412 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58414         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58415         instead of 0.
58416         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58417         instead of 0.
58418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58419         Patch in part by Pavel Roskin <proski@gnu.org>.
58421         [BZ #13138]
58422         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58423         realloc.
58424         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58425         Free memory block if necessary.
58427         [BZ #12847]
58428         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58429         be NULL.  Don't lock in this case.
58431 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58433         * elf/elf.h (ELFOSABI_GNU): New macro.
58434         (ELFOSABI_LINUX): Define to that.
58436 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58438         * string/strncat.c (strncat): Undef the symbol in case it has been
58439         defined in bits/string.h.
58441 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58443         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58445         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58446         link map.
58448 2011-08-17  Andreas Jaeger  <aj@suse.de>
58450         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58452 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58453             Ian Lance Taylor  <iant@google.com>
58455         * math/libm-test.inc (lround_test): New testcase.
58456         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58458 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58460         * Makefile: Remove support for automatic cvs check-ins.
58461         * Makerules: Likewise.
58462         * config.make.in: Likewise.
58463         * configure.in: Likewise.
58464         * intl/Makefile: Likewise.
58465         * locale/Makefile: Likewise.
58466         * po/Makefile: Likewise.
58467         * posix/Makefile: Likewise.
58468         * sysdeps/gnu/Makefile: Likewise.
58469         * sysdeps/mach/hurd/Makefile: Likewise.
58470         * sysdeps/sparc/sparc32/Makefile: Likewise.
58472         [BZ #13118]
58473         * posix/Makefile (bug-regex32-ENV): Define.
58474         Patch by John Stanley <jpsinthemix@verizon.net>.
58476         * misc/Makefile (headers): Add bits/select2.h.
58477         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58478         * misc/bits/select2.h: New file.
58479         * include/bits/select2.h: New file.
58480         * debug/Makefile (routines): Add fdelt_chk.
58481         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58482         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58483         FD_ISSET.
58484         * debug/fdelt_chk.c: New file.
58486         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58487         * wcsmbs/test-wmemcmp.c: Likewise.
58488         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58489         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58491 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58493         * string/Makefile (strop-tests): Add memcmp.
58494         * string/test-wmemcmp.c: New file.
58495         * string/test-memcmp.c: Add wmemcmp support.
58497 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58499         [BZ #13153]
58500         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58501         2011-07-19 change.
58503         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58504         garbage value in a __mach_port_mod_refs call in the cases of the
58505         task-self and thread-self ports.
58507 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58509         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58511 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58513         * elf/dl-load.c (lose): Check for non-null L.
58515 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58517         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58519         * elf/dl-libc.c (dlerror_run): Pass back error code from
58520         dl_catch_error.
58522         [BZ #13123]
58523         * elf/dl-load.c (lose): Free l_origin if it is valid.
58525         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58526         names.
58527         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58528         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58530         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58531         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58532         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58534 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58536         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58537         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58538         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58539         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58540         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58541         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58542         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58543         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58544         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58545         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58547 2011-08-15  Alan Modra  <amodra@gmail.com>
58549         [BZ #13092]
58550         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58551         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58552         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58553         ppc_mcount to static-only-routines.
58554         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58555         __mcount_internal.
58556         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58557         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58559 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58561         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58562         for finite and infinity parameters.
58564 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58566         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58567         and add nop instructions for throughput optimization.
58568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58570 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58572         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58573         aligned copy for power7 with vector-scalar instructions.
58574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58576 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58579         AVX check.
58581 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58583         [BZ #13144]
58584         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58585         last change.
58587 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58589         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58590         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58591         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58593         clock_gettime.
58595 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58598         Forgot to demangle the pointer.
58600         * sysdeps/i386/sysdep.h: Define atom_text_section.
58601         * sysdeps/x86_64/sysdep.h: Likewise.
58602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58603         section with atom_text_section.
58604         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58605         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58606         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58608         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58610         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58611         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58612         already be defined.  Change to take two parameters and don't assign
58613         result to variable.  Adjust all users.
58614         Define INTERNAL_GETTIME if not already defined.
58615         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58616         call.
58617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58618         HAVE_CLOCK_GETTIME_VSYSCALL.
58619         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58622         gettimeofday vsyscall, just use time.
58624 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58627         <errno.h>.
58629 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58631         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58632         syscall on x86-64.
58633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58634         syscall.
58635         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58636         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58637         syscall if possible.
58639 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58641         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58642         e_ident.  Don't pass to find_mapsXX.
58643         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58645 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58648         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58649         * sysdeps/x86_64/multiarch/strchr.S: Update.
58650         Check bit_slow_BSF bit.
58651         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58652         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58653         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58655 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58657         [BZ #13134]
58658         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58659         before glibc 2.15.
58660         (tryshell): Define.
58661         (__spawni): Change last parameter to be flag.  Test
58662         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58663         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58664         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58665         * posix/spawni.c: Likewise.
58666         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58667         * posix/spawnp.c: Likewise.  Change normal version to use
58668         SPAWN_XFLAGS_USE_PATH.
58669         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58670         SPAWN_XFLAGS_TRY_SHELL.
58672         [BZ #13150]
58673         * posix/glob.h: Remove gcc 1.x support.
58675         [BZ #13068]
58676         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58678 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58681         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58682         strrchr-sse2-bsf
58683         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58684         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58685         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58686         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58687         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58690 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58692         * sysdeps/x86_64/wcscmp.S: New file.
58694         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58695         wcscmp-c wcscmp-sse2
58696         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58697         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58698         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58699         * wcsmbs/wcscmp.c: Allow renaming.
58701 2011-09-05  David S. Miller  <davem@davemloft.net>
58703         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58704         stack slot, rather than the struct return pointer slot.
58705         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58706         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58708         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58710 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58712         * po/ja.po: Update from translation team.
58714         [BZ #13144]
58715         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58716         kernel in 64-bit binaries.
58718 2011-09-01  David S. Miller  <davem@davemloft.net>
58720         * elf/elf.h (HWCAP_SPARC_*): Move to..
58721         * sysdeps/sparc/sysdep.h: this new file and add new values.
58722         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58723         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58724         _DL_HWCAP_COUNT to 24.
58725         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58726         entries.
58727         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58728         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58729         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58730         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58731         instead of magic constants.
58732         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58734 2011-08-31  David S. Miller  <davem@davemloft.net>
58736         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58738         Reimplement to do errno handling inline.
58739         (SYSCALL_ERROR_HANDLER): New macro.
58740         (__SYSCALL_STRING): Do not do errno handling in asm.
58741         (__CLONE_SYSCALL_STRING): Delete.
58742         (__INTERNAL_SYSCALL_STRING): Delete.
58743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58744         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58745         (PSEUDO): Reimplement to do errno handling inline.
58746         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58747         (SYSCALL_ERROR_HANDLER): New macro.
58748         (__SYSCALL_STRING): Do not do errno handling in asm.
58749         (__CLONE_SYSCALL_STRING): Delete.
58750         (__INTERNAL_SYSCALL_STRING): Delete.
58751         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58752         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58753         i386.
58754         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58755         (inline_syscall*): Add 'err' argument.
58756         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58757         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58758         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58759         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58761         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58762         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58764 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58766         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58768 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58770         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58771         directive.
58773 2011-08-24  David S. Miller  <davem@davemloft.net>
58775         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58777 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58779         * elf/Makefile: Add rules to build and run unload8 test.
58780         * elf/unload8.c: New file.
58781         * elf/unload8mod1.c: New file.
58782         * elf/unload8mod1x.c: New file.
58783         * elf/unload8mod2.c: New file.
58784         * elf/unload8mod3.c: New file.
58786         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58787         it wasn't used.
58789 2011-08-23  David S. Miller  <davem@davemloft.net>
58791         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58792         subtract stack bias.
58793         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58794         %sp not %fp in calculations.
58795         (_JMPBUF_UNWINDS_ADJ): Likewise.
58797         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58798         (aio_suspend): Call it to force an exception region around the
58799         AIO_MISC_WAIT() invocation.
58801 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58803         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58804         backslash.
58806 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58808         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58809         protection macro.
58810         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58811         and <dl-machine.h>.
58812         (Elf64_FuncDesc): Remove.
58814 2011-08-22  David S. Miller  <davem@davemloft.net>
58816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58817         sigaltstack check, add missing cfi directives.
58818         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58819         missing cfi directives, and sigaltstack handling.
58821 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58823         [BZ #11724]
58824         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58825         object is seen twice.
58826         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58828         * elf/Makefile (distribute): Add tst-initorder2.c.
58829         (tests): Add tst-initorder2.
58830         (modules-names): Add tst-initorder2a tst-initorder2b
58831         tst-initorder2c tst-initorder2d.  Add rules to build them.
58832         ($(objpfx)tst-initorder2.out): New rule.
58833         * elf/tst-initorder2.c: New file.
58834         * elf/tst-initorder2.exp: New file.
58836 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58838         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58840         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58841         dependencies back to end of function.
58843         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58844         $(elfobjdir)/ld.so.
58846 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58848         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58849         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58851         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58852         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58853         of __vdso_gettimeofday.
58854         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58855         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58856         attribute_hidden.
58857         (_libc_vdso_platform_setup): Remove initialization of
58858         __vdso_gettimeofday and __vdso_time.
58860 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58862         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58863         and fgetc_unlocked.
58864         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58865         getc_unlocked.
58867         * elf/dl-open.c (add_to_global): Report additions to the global scope
58868         for LD_DEBUG=scopes.
58869         (dl_open_worker): Also print scope of newly loaded dependencies.
58870         (_dl_show_scope): Indicate if there is no scope.
58872         [BZ #13114]
58873         * stdio-common/Makefile (tests): Add bug24.
58874         * stdio-common/bug24.c: New file.
58876 2011-08-19  Andreas Jaeger  <aj@suse.de>
58878         [BZ #13114]
58879         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58880         non-existant file when using close-on-exec mode.
58882 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58885         the very first instruction.
58887         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58888         the CFI state in the end.
58889         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58890         inclusion of dl-trampoline.h.
58891         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58893 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58895         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58896         expectations for long double.
58898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58899         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58901 2011-08-14  David S. Miller  <davem@davemloft.net>
58903         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58904         artificual limit depends upon the system page size.
58906 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58908         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58909         * resolv/Makefile: Define CFLAGS-libresolv.
58911 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58913         * nss/makedb.c (compute_tables): Make variables used in nested
58914         function static.
58916 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58918         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58919         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58920         if buffer was too small.
58922         * elf/pldd.c (main): Attach to all threads in the process.
58923         Rewrite /proc handling to use *at functions.
58925 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58927         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58928         specifies first scope to show.
58929         (dl_open_worker): Update callers.  Move printing scope of new
58930         object to before the relocation.
58931         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58932         * sysdeps/generic/ldsodefs.h: Update declaration.
58934         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58935         string for the scope number.
58937 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58939         * nscd/servicescache.c (cache_addserv): Make sure written is always
58940         initialized.
58942 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58944         * sysdeps/i386/i486/bits/atomic.h
58945         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58946         statement expression, so as to suppress "set but not used" warning.
58947         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58949         * string/strncat.c (STRNCAT): Use prototype definition.
58951         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58952         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58953         -Iprograms here.
58954         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58955         (localedef-modules): Add localedef.
58956         (locale-modules): Add locale.
58958         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58959         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58960         to avoid a warning.
58962 2011-08-14  David S. Miller  <davem@davemloft.net>
58964         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58965         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58967 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58969         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58970         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58971         * elf/rtld.c (dl_main): Set l_name of vDSO.
58972         Call _dl_show_scope when DL_DEBUG_SCOPES.
58973         (process_dl_debug): Recognize scopes flag and also set it for all.
58974         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58975         Declare _dl_show_scope.
58977         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58978         (do_dlopen): Pass caller_dlopen to dl_open.
58979         (__libc_dlopen_mode): Initialize caller_dlopen.
58981         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58982         of libc.  Make tolower call locale-independent.  Optimize a bit by
58983         using isdigit instead of isalnum.
58984         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58986 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58988         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58989         was a dependency or dynamically loaded.
58991 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58993         * intl/l10nflist.c: Allow architecture-specific pop function.
58994         * sysdeps/x86_64/l10nflist.c: New file.
58996         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58997         classification.
58999 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59001         * include/dirent.h: Add libc_hidden_proto for scandirat and
59002         scandirat64.  Don't declare __scandirat64.
59003         * dirent/scandirat.c: Add libc_hidden_def.
59004         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59005         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59007 2011-08-10  David S. Miller  <davem@davemloft.net>
59009         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59010         enum.
59011         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59015 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59017         * Versions.def [libc]: Add GLIBC_2.15.
59018         * dirent/Makefile (routines): Add scandirat and scandirat64.
59019         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59020         GLIBC_2.15.
59021         * dirent/dirent.h: Declare scandirat and scandirat64.
59022         * dirent/scandirat.c: New file.
59023         * dirent/scandirat64.c: New file.
59024         * sysdeps/wordsize-64/scandirat.c: New file.
59025         * sysdeps/wordsize-64/scandirat64.c: New file.
59026         * dirent/opendir.c: Define opendirat.
59027         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59028         using scandirat.
59029         * dirent/scandir64.c: Adjust for scandir.c change.
59030         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59031         __scandirat64, and __scandir_cancel_handler.
59032         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59033         additional parameter and use openat instead of open (outside of ld.so).
59034         Add new __opendir as wrapper around __opendirat.
59035         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59036         here without requiring old scandirat implementation.
59038 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59040         * dirent/scandir.c (cancel_handler): Renamed to
59041         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59042         defined.  Adjust users.
59043         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59044         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59046 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59048         * string/test-string.h (IMPL): Use __STRING to expand name and then
59049         stringify it.
59051         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59052         of cleanups.
59054 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59056         * string/Makefile: Update.
59057         (strop-tests): Append strncat.
59058         * string/test-wcscmp.c: New file.
59059         New comprehensive test for wcscmp.
59060         * string/test-strcmp.c: Update.
59061         (WIDE): New define.
59063 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59065         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59066         line.
59068 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59071         encoding to ACE if AI_IDN.
59073 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59076         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59078 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59081         Fix overflow bug in strncat.
59082         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59084         * string/test-strncat.c: Update.
59085         Add new tests for checking overflow bugs.
59087 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59090         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59091         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59092         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59094         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59095         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59096         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59097         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59100         (USE_AS_STRCAT): Define.
59101         Add strcat and strncat support.
59102         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59104 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59106         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59107         __n bigger than INT_MAX+1.
59108         (__strncmp_g): Likewise.
59110 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59112         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59113         * libio/stido.h: Likewise.
59115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59116         (AF_NFC): Define.
59117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59118         (AF_NFC): Define.
59120         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59122         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59123         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59126         [BZ #13021]
59127         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59128         installed.
59130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59131         typo.
59132         (_dl_x86_64_save_sse): Likewise.
59134 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59137         OSXSAVE.
59138         (_dl_x86_64_save_sse): Likewise.
59140         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59142         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59144 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59147         change.
59148         (_dl_x86_64_save_sse): Use correct AVX check.
59150 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59152         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59153         bug in strncpy/strncat.
59154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59156 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59158         * string/tester.c (test_strcat): Add tests for different alignments
59159         of source and destination.
59160         (test_strncat): Likewise.
59162 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59164         [BZ #12852]
59165         * posix/glob.c (glob): Check passed in values before using them in
59166         expressions to avoid some overflows.
59167         (glob_in_dir): Likewise.
59169         [BZ #13007]
59170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59171         check for AVX enablement so that we don't crash with old kernels and
59172         new hardware.
59173         * elf/tst-audit4.c: Add same checks here.
59174         * elf/tst-audit6.c: Likewise.
59176         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59178 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59180         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59182 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59184         * po/cs.po: Update from translation team.
59185         * po/bg.po: Likewise.
59187 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59189         * misc/sys/cdefs.h: Add support for const attribute.
59190         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59191         to gnu_dev_{major,minor,makedev} functions.
59193 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59195         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59197 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59199         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59200         strlen results.
59202 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59205         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59206         register in order to avoid conflicts with the soft frame pointer
59207         being held in r11 when necessary.
59208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59209         (INTERNAL_VSYSCALL_NCS): Likewise.
59211 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59213         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59214         * elf/dl-fini.c (_dl_fini): Adjust caller.
59215         * elf/dl-close.c (_dl_close_worker): Likewise.
59216         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59218 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59220         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59221         "aux_cache->nlibs < 0".
59223         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59224         in the reload-count case.
59226 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59229         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59230         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59231         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59232         * sysdeps/x86_64/multiarch/strcat.S: New file.
59233         * sysdeps/x86_64/multiarch/strncat.S: New file.
59234         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59235         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59236         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59237         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59238         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59239         (USE_AS_STRCAT): Define.
59240         Add strcat and strncat support.
59241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59242         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59243         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59244         * string/strncat.c: Update.
59245         (USE_AS_STRNCAT): Define.
59246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59247         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59248         and i7.
59249         * sysdeps/x86_64/multiarch/init-arch.h
59250         (bit_Prefer_PMINUB_for_stringop): New.
59251         (index_Prefer_PMINUB_for_stringop): Likewise.
59252         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59253         bit_Prefer_PMINUB_for_stringop.
59255 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59257         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59258         buffer64.
59259         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59260         of casting of buffer.
59261         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59262         buffer32 and buffer64.
59263         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59264         writes instead of casting of buffer.
59265         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59266         buffer32.
59267         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59268         casting of buffer.
59270 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59272         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59274 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59276         * nscd/nscd.c (termination_handler): Don't do anything for a database
59277         if it has not yet been initialized.
59279 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59281         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59283 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59285         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59287 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59289         * po/nl.po: Update from translation team.
59290         * po/sv.po: Likewise.
59292 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59294         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59295         now disallowed by GCC.
59297         * configure.in (use-default-link): Default to yes if a test -shared
59298         link meets our qualifications.
59299         * configure: Regenerated.
59301         * config.make.in (output-format): New variable.
59302         * configure.in: Check for ld --print-output-format support.
59303         * configure: Regenerated.
59304         * Makerules ($(common-objpfx)format.lds)
59305         [$(output-format) != unknown]: Just use $(output-format),
59306         instead of the linker-script munging.
59308 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59310         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59311         of $(common-objpfx)shlib.lds.
59312         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59314         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59315         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59317         * configure.in (-z relro check): Adjust test code to add a large
59318         writable data section after it.
59319         * configure: Regenerated.
59321 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59323         * configure.in (-z relro check): Fix test code to make the variable
59324         truly const.
59325         * configure: Regenerated.
59327 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59329         * nscd/nscd.h (struct traced_file): Define.
59330         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59331         elements.  Add traced_files.
59332         (inotify_fd): Declare.
59333         (register_traced_file): Declare.
59334         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59335         (inotify_fd): Export.
59336         (resolv_conf_descr): Remove.
59337         (nscd_init): Move inotify descriptor creation to main.
59338         Don't register files for notification here.
59339         (register_traced_file): New function.
59340         (invalidate_cache): Don't use reset_res to determine whether to call
59341         res_init, go through the list of registered files.
59342         (main_loop_poll): The inotify descriptors are now stored in the
59343         structures for the traced files.
59344         (main_loop_epoll): Likewise
59345         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59346         to __nss_disable_nscd.
59347         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59348         for a database anymore.  Check the records for all the registered
59349         files instead.
59350         * nss/Makefile (libnss_files-routines): Add files-init.
59351         (libnss_db-routines): Add db-init.
59352         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59353         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59354         * nss/nss_db/db-init.c: New file.
59355         * nss/nss_files/files-init.c: New file.
59356         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59357         __nss_lookup_function.
59358         (__nss_lookup_function): Call nss_load_library.
59359         (nss_load_all_libraries): New function.
59360         (__nss_disable_nscd): Take parameter with callback function for files
59361         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59362         used for the cached services.
59363         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59364         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59365         options for features to all the files in nscd.
59367         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59369 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59371         * csu/elf-init.c (__libc_csu_init): Comment typo.
59373 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59375         * po/pl.po: Update from translation team.
59376         * po/ja.po: Likewise.
59377         * po/ru.po: Likewise.
59378         * po/ko.po: Likewise.
59379         * po/fr.po: Likewise.
59381 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59383         * configure.in (.ctors/.dtors header and trailer check):
59384         Use an empirical test on a built program.
59385         * configure: Regenerated.
59387         * configure.in (-z relro check): Use an empirical test on a built DSO.
59388         Detect, but do not require, on ia64.
59389         * configure: Regenerated.
59391         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59392         Update tests that use readelf to use $READELF instead.
59393         * configure: Regenerated.
59395 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59397         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59398         if the result is not used.
59400 2011-07-05  Andreas Jaeger  <aj@suse.de>
59402         [BZ#9696]
59403         * stdlib/tst-strtod.c: Add testcase.
59405 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59407         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59408         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59409         The latter has a higher limit.  Take additional parameter to pass to
59410         the new function.
59411         (__pathconf): Pass file to __statfs_link_max.
59412         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59413         __statfs_link_max.
59414         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59415         __statfs_link_max.
59417         [BZ #12868]
59418         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59419         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59420         Handle Lustre.
59421         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59422         (__statfs_filesize_max): Likewise.
59423         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59425 2011-07-05  Andreas Jaeger  <aj@suse.de>
59427         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59429 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59431         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59432         `status' variable.
59433         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59434         Likewise.
59436 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59438         * Makefile (strop-tests): Add strncat.
59439         * string/test-strncat.c: New file.
59441 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59443         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59445 2011-06-21  Andreas Jaeger  <aj@suse.de>
59447         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59448         Copy rule from iconvdata/Makefile.
59450 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59452         [BZ #12922]
59453         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59454         but no long options are defined, just return 'W'.
59456 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59458         [BZ #9696]
59459         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59461 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59463         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59464         netgroups to read.
59465         (innetgr): Likewise.
59467 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59469         * config.make.in (install_root): Default to $(DESTDIR).
59471 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59475 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59477         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59479         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59480         containing directory rather than embedding absolute directory names.
59482         * scripts/check-local-headers.sh: Rewritten using awk.
59483         Match by word, not by line.  Print error messages for matches.
59484         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59486         * Makerules [shlib-lds-flags empty]:
59487         ($(common-objpfx)libc_pic.opts): New target.
59488         ($(common-objpfx)libc_pic.os.clean): New target.
59489         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59491         * config.make.in (OBJCOPY): New variable.
59492         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59493         * configure: Regenerated.
59495         * config.make.in (use-default-link): New variable.
59496         * configure.in (use_default_link): Grok --with-default-link to set it.
59497         * configure: Regenerated.
59498         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59499         (shlib-lds, shlib-lds-flags): Define to empty.
59501         * Makerules (shlib-lds): New variable.
59502         (shlib-lds-flags): New variable.
59503         (build-shlib, build-moduile, build-module-asneeded): Use it.
59504         ($(common-objpfx)libc.so): Use $(shlib-lds).
59505         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59506         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59508         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59509         DT_FLAGS/DT_FLAGS_1 with zero flags.
59511         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59512         linker script munging.
59514 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59516         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59517         as 128-bit value.
59518         * crypt/sha512.c (sha512_process_block): Perform total addition using
59519         128-bit if possible.
59520         (__sha512_finish_ctx): Likewise.
59521         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59522         as 64-bit value.
59523         * crypt/sha256.c (SWAP64): Define.
59524         (sha256_process_block): Perform total addition using 64-bit if
59525         possible.
59526         (__sha256_finish_ctx): Likewise.
59528 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59530         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59531         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59532         * nscd/hstcache.c (cache_addhst): Likewise.
59533         * nscd/grpcache.c (cache_addgr): Likewise.
59534         * nscd/aicache.c (addhstaiX): Likewise
59535         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59537 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59539         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59540         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59541         * nscd/hstcache.c (cache_addhst): Likewise.
59542         * nscd/grpcache.c (cache_addgr): Likewise.
59543         * nscd/aicache.c (addhstaiX): Likewise
59545 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59547         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59548         domain only when needed.
59550 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59553         is always restored.
59555 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59557         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59558         are re-adding the entry.
59559         * nscd/servicescache.c (cache_addserv): Likewise.
59561 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59563         * sysdeps/generic/dl-irel.h: fix protection against multiple
59564         inclusions.
59565         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59567 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59569         [BZ #12935]
59570         * malloc/memusage.sh: Fix quoting in message.
59571         * debug/xtrace.sh: Likewise.
59573         * configure.in: Remove support for --experimental-malloc option, make
59574         it the default.
59575         * config.make.in: Likewise.
59576         * malloc/Makefile: Likewise.
59578 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59580         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59581         two-byte characters.
59583 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59585         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59586         AC_CACHE_CHECK invocation.
59587         * configure: Regenerated.
59589         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59591 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59593         [BZ #12350]
59594         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59595         bit from old_res_options.
59597         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59599         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59600         value type for setfct.
59602 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59604         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59605         __gettimeofday instead of gettimeofday.
59607 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59609         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59611 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59613         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59615         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59616         info.
59618 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59621         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59622         strcpy-sse2-unaligned strncpy-sse2-unaligned
59623         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59624         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59625         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59626         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59627         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59628         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59629         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59630         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59631         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59632         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59633         (STRCPY): Support SSE2 and SSSE3 versions.
59635 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59637         [BZ #12874]
59638         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59639         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59640         kernels which artificially limit size of requests.
59642 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59645         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59646         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59647         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59648         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59649         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59650         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59651         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59654         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59655         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59656         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59657         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59658         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59660         Enable unaligned load optimization for Intel Core i3, i5 and i7
59661         processors.
59662         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59663         Define.
59664         (index_Fast_Unaligned_Load): Define.
59665         (HAS_FAST_UNALIGNED_LOAD): Define.
59667 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59669         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59671 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59673         [BZ #12907]
59674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59675         until it is clear that the information is realy needed.
59676         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59678 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59682 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59685         /sys/devices/system/cpu/online if it is usable.
59687         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59688         reading the information from the /proc filesystem to once a second.
59690 2011-06-21  Andreas Jaeger  <aj@suse.de>
59692         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59693         NULL after inclusion of kernel headers.
59695 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59697         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59698         calls to internal_setent.
59700         [BZ #12885]
59701         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59702         addresses using gethostbyname4_r ignore IPv4 addresses.
59704         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59705         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59707         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59709 2011-06-20  David S. Miller  <davem@davemloft.net>
59711         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59712         inclusions.
59713         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59715         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59716         (elf_irel): Use it.
59717         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59718         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59719         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59720         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59721         * sysdeps/x86_64/dl-irel.h: Likewise.
59723         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59724         * elf/dl-sym.c: Likewise.
59726 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59728         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59729         need to dereference resplen2.
59731 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59733         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59735 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59737         * Makeconfig: Define vardbdir and inst_vardbdir.
59738         * nss/Makefile: Add rules to install db-Makefile.
59740         * nss/nss_db/db-XXX.c: Cleanup.
59742         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59743         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59744         GLIBC_PRIVATE.
59745         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59746         * nss/makedb.c: Implement -g option to specify that value strings
59747         are generated and should not be added to table iterated over for
59748         get*ent calls.
59749         * nss/nss_db/db-initgroups.c: New file.
59751         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59752         interface.
59754         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59755         (internal_getgrouplist): Adjust to name change.
59756         Update use_initgroups_entry if this is not the first call.
59757         * nss/databases.def: Add initgroups entry.
59759         * nss/makedb.c (compute_tables): Check result of multiple hash table
59760         sizes to minimize maximum chain length.
59762 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59764         * Versions.def: Add entry for libnss_db.
59765         * shlib-versions: Likewise.
59766         * nss/Makefile: Add rules to build libnss_db.
59767         * nss/Versions: Add libnss_db information.  Organize libnss_files
59768         entries better.
59769         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59770         makedb progra.  Some minor improvements to generate smaller files.
59771         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59772         here from...
59773         * nss/makedb.c: ...here.
59774         Improve database format to be smaller and require less memory at
59775         runtime.
59776         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59777         db anymore.
59778         * nss/nss_db/db-netgrp.c: Likewise.
59779         * nss/nss_db/db-open.c: Likewise.
59780         * nss/nss_files/flies-XXX.x: Adjust comments.
59781         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59782         * nss/nss_files/files-grp.c: Likewise.
59783         * nss/nss_files/files-hosts.c: Likewise.
59784         * nss/nss_files/files-network.c: Likewise.
59785         * nss/nss_files/files-proto.c: Likewise.
59786         * nss/nss_files/files-pwd.c: Likewise.
59787         * nss/nss_files/files-rpc.c: Likewise.
59788         * nss/nss_files/files-service.c: Likewise.
59789         * nss/nss_files/files-sgrp.c: Likewise.
59790         * nss/nss_files/files-spwd.c: Likewise.
59791         * nss/nss_db/db-alias.c: Removed.
59792         * nss/nss_db/dummy-db.h: Removed.
59794 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59796         * nss/makedb.c: Rewritten to not use database library.
59797         * nss/Makefile: Update to build new makedb program.
59799 2011-06-14  Andreas Jaeger  <aj@suse.de>
59801         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59802         memset declaration.
59804 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59807         tmpbuf.
59809 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59811         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59812         * elf/Makefile ($(objpfx)ld.so): Likewise.
59814         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59815         Don't list ld.so twice in dependencies.
59817         * posix/bug-regex31.c: Include <stdlib.h>.
59819         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59821         * nis/nss_compat/compat-spwd.c
59822         (getspent_next_nss_netgr): Remove unused variable.
59823         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59825         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59826         nonmembers" output to use the right array.
59828         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59830         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59832         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59833         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59834         * catgets/gencat.c (read_input_file): Likewise.
59835         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59837         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59838         variable definition inside #if's controlling its use.
59840         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59842         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59844         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59846         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59847         unreachable code.
59849         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59851         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59852         * configure: Regenerated.
59854         * Makerules: Revert last change.
59855         * elf/Makefile: Likewise.
59857 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59859         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59860         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59861         (reloc-link): Likewise.
59863 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59865         * elf/Makefile: Add rules to build pldd.
59866         * elf/pldd.c: New file.
59867         * elf/pldd-xx.c: New file.
59869 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59871         * version.h: Update for 2.15 development version.
59873 2011-06-07  David S. Miller  <davem@davemloft.net>
59875         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59876         ifuncs.
59877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59878         elf_machine_lazy_rel): Likewise.
59879         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59881         elf_machine_lazy_rel): Likewise.
59882         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59883         dl_hwcap via passed in argument.
59884         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59885         Likewise.
59887 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59889         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59891 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59893         [BZ #12849]
59894         * manual/fdl-1.1.texi: New file, verbatim from:
59895         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59896         * manual/lgpl-2.1.texi: New file, verbatim from:
59897         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59898         * manual/Makefile (licenses): New variable, list those new file names.
59899         (texis): Use it.
59900         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59902         * manual/fdl.texi: File removed.
59903         * manual/lesser.texi: File removed.
59904         * manual/libc.texinfo (Copying, Documentation License):
59905         Use new @include file names, put @appendix directive before @include.
59907 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59909         [BZ #12841]
59910         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59911         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59912         (mq_open): Add __NTH.
59914 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59917         Assume Intel Core i3/i5/i7 processor if AVX is available.
59919 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59922         typo.
59924 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59926         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59927         memory.  Use alloca_account.  Fix memory leak when retrying.
59929 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59931         * version.h (RELEASE): Bump for 2.14 release.
59932         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59934         * config.make.in (RANLIB): Remove entry.
59936 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59938         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59939         (libc.pot): Work around missing support for .ksh extension in xgettext.
59941         [BZ #12684]
59942         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59943         if both request failed.
59944         (send_dg): In case of server errors clear resplen or *resplen2.
59946         [BZ #12454]
59947         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59948         when there are multiple maps.
59949         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59950         (_dl_fini): Remove test here.
59952         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59954 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59956         [BZ #12350]
59957         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59958         bit from old_res_options.
59959         (gaih_inet): Likewise.
59961         [BZ #11099]
59962         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59963         as signed.
59965         * resolv/res_init.c (res_setoptions): Make the code more compact.
59967         [BZ #11558]
59968         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59969         set RES_USEVC.
59971         [BZ #11634]
59972         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59974         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59976         [BZ #11781]
59977         * malloc/malloc.h: Declare malloc hook variables as volatile.
59979         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59980         in last patch.
59982         [BZ #11799]
59983         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59984         raise in the comment.
59985         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59987         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59989 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59991         [BZ #12811]
59992         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59993         grow the buffers more if it already has to be sufficient.
59994         (build_wcs_upper_buffer): Likewise.
59995         * posix/regexec.c (check_matching): Likewise.
59996         (clean_state_log_if_needed): Likewise.
59997         (extend_buffers): Don't enlarge buffers beyond size of the input
59998         buffer.
59999         Patches mostly by Emil Wojak <emil@wojak.eu>.
60000         * posix/bug-regex32.c: New file.
60001         * posix/Makefile (tests): Add bug-regex32.
60003         * locale/findlocale.c (_nl_find_locale): Return right away if
60004         _nl_explode_name failed.
60005         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60007         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60009         * debug/xtrace.sh: Unify messages.
60010         * malloc/memusage.sh: Likewise.
60012         [BZ #12813]
60013         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60014         time symbol from vDSO.  Substitute with vsyscall if not available.
60015         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60016         __vdso_time.
60018         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60019         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60020         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60021         Add sendmmsg and internal_sendmmsg.
60022         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60023         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60024         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60026         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60027         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60028         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60030 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60032         [BZ #12813]
60033         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60034         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60035         available.
60036         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60037         __vdso_getcpu.
60039         [BZ #12814]
60040         * iconvdata/Makefile (tests): Add bug-iconv9.
60041         * iconvdata/bug-iconv9.c: New file.
60043 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60045         [BZ #12814]
60046         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60048 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60050         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60051         (struct user_regs_struct): Change intcs field back to cs.
60053 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60055         * po/ja.po: Update from translation team.
60057 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60059         [BZ #12795]
60060         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60061         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60063 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60065         * stdlib/longlong.h: Update from GCC.
60067 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60069         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60070         parameter name.
60071         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60072         Add parameter name.
60073         (__sysconf): Pass it down.
60075 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60077         [BZ #12671]
60078         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60079         some situations.
60080         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60081         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60082         add in in __libc_use_alloca calls.  Adjust callers.
60083         (glob): Use malloc in some situations.
60085         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60086         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60087         pltexit.
60089 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60091         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60092         and CLOCK_BOOTTIME_ALARM.
60094         [BZ #12782]
60095         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60096         is returned.
60098         * string/_strerror.c (__strerror_r): Print negative errors as signed
60099         numbers.
60101         [BZ #12777]
60102         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60103         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60104         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60106         * configure.in: Fix typo in redirection and correct removal of test
60107         files in two cases.
60109         [BZ #12788]
60110         * locale/setlocale.c (new_composite_name): Fix test to check for
60111         identical name of all categories.
60113         [BZ #12792]
60114         * libio/filedoalloc.c (local_isatty): New function.
60115         (_IO_file_doallocate): Use local_isatty.
60116         * stdio-common/perror.c (perror): In case a new stream is used
60117         forward the stream error.
60118         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60119         error flag.
60121 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60123         [BZ #11869]
60124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60125         alloca.
60126         * include/alloca.h (extend_alloca_account): Define.
60128         [BZ #11857]
60129         * posix/regex.h: Fix comments with documentation of user-accessible
60130         fields after compilation and describe correct free'ing of pattern
60131         after re_compile_pattern.
60132         Patch by Reuben Thomas <rrt@sc3d.org>.
60134 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60136         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60137         and -mno-altivec to prevent the compiler from using Altivec and/or
60138         VSX instructions when the corresponding registers are not available.
60140 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60142         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60144 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60146         * libio/freopen.c (freopen): Use __dup2, not dup2.
60147         * libio/freopen64.c (freopen64): Likewise.
60149 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60151         [BZ #12775]
60152         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60153         * math/Makefile (tests): Add test-powl.
60154         (CFLAGS-test-powl.c): Define.
60155         * math/test-powl.c: New file.
60157 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60159         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60161 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60163         [BZ #11837]
60164         * iconvdata/gb18030.c: Update to GB18020-2005.
60166 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60168         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60169         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60170         Patch by Aharon Robbins <arnold@skeeve.com>.
60172         [BZ #11892]
60173         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60174         on the stack.
60176         [BZ #11895]
60177         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60178         through underflows.
60180         [BZ #12766]
60181         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60182         point to strings before performing equality test for error_one_per_line
60183         mode.
60185         [BZ #11697]
60186         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60188         [BZ #11820]
60189         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60190         (struct user_fpregs_struct): Avoid __uint*_t types.
60192         [BZ #6420]
60193         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60194         symbol info.  Use it instead of calling _dl_addr locally.
60195         (lock_and_info): New function.
60196         (tr_freehook): Call lock_and_info and pass symbol info as additional
60197         parameter to tr_where.
60198         (tr_mallochook): Likewise.
60199         (tr_reallochook): Likewise.
60200         (tr_memalignhook): Likewise.
60202         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60203         used and couldn't be at all thread-safe.
60205 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60207         * libio/freopen.c (freopen): Don't close old file descriptor
60208         before the new one is opened.  Instead dup the new file descriptor
60209         to the old one after the new stream is created.
60210         * libio/freopen64.c (freopen64): Likewise.
60211         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60212         * libio/fileops.c (_IO_new_file_close_it): Handle new
60213         _IO_FLAGS2_NOCLOSE flag.
60214         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60215         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60216         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60217         _IO_FLAGS2_NOCLOSE flag.
60218         * include/unistd.h: Add hidden_proto for dup3.
60219         Define __have_dup3.
60220         * io/dup3.c: Define hidden symbol.
60221         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60223         [BZ #7101]
60224         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60225         when an incomplete long option is used.
60226         * posix/tst-getopt_long1.c: New file.
60227         * posix/Makefile (tests): Add tst-getopt_long1.
60229         [BZ #10138]
60230         * scripts/config.guess: Update from autoconf-2.68.
60231         * scripts/config.sub: Likewise.
60233         [BZ #10157]
60234         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60235         tests into ...
60236         (has_cpuclock): ...this.  New function.
60237         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60238         macro here based on has_cpuclock code.
60240         [BZ #10149]
60241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60242         First byte (not low byte) is now always NUL.
60243         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60246         Use non-cancelable interfaces.
60248         [BZ #9809]
60249         * locale/iso-639.def: Add entry for Sorani.
60251         [BZ #11901]
60252         * include/stdlib.h: Move include protection to the right place.
60253         Define abort_msg_s.  Declare __abort_msg with it.
60254         * stdlib/abort.c (__abort_msg): Adjust type.
60255         * assert/assert.c (__assert_fail_base): New function.  Majority
60256         of code from __assert_fail.  Allocate memory for __abort_msg with
60257         mmap.
60258         (__assert_fail): Now call __assert_fail_base.
60259         * assert/assert-perr.c: Remove bulk of implementation.  Use
60260         __assert_fail_base.
60261         * include/assert.hL Declare __assert_fail_base.
60262         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60263         mmap.
60264         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60266 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60268         [BZ #11952]
60269         [BZ #12453]
60270         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60271         until all modules are registered in the DTV.
60272         * elf/Makefile: Add rules to build and run tst-tls19.
60273         * elf/tst-tls19.c: New file.
60274         * elf/tst-tls19mod1.c: New file.
60275         * elf/tst-tls19mod2.c: New file.
60276         * elf/tst-tls19mod3.c: New file.
60277         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60279         [BZ #12083]
60280         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60281         correctly.
60283         [BZ #12601]
60284         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60285         two-byte sequence errors.
60286         * iconvdata/Makefile (tests): Add bug-iconv8.
60287         * iconvdata/bug-iconv8.c: New file.
60289         [BZ #12626]
60290         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60291         buf2 definition.
60293         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60295         [BZ #12432]
60296         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60297         (dummy_getcfa): New function.
60298         (init): Get _Unwind_GetCFA address, use dummy if not found.
60299         (backtrace_helper): In recursion check, also check whether CFA changes.
60300         (__backtrace): Completely initialize arg.
60302         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60303         storing incomplete byte sequence in state object.  Avoid testing for
60304         guaranteed too small input if we know there is enough data available.
60306 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60308         * Makeconfig (+link-pie): Indent.
60309         * Rules (binaries-pie): Define if $(have-fpie) and
60310         $(build-shared).
60311         (binaries-shared): Also filter out $(binaries-pie).
60312         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60313         * nscd/Makefile (others-pie): Add nscd.
60314         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60315         ($(objpfx)nscd): Remove command override.
60316         * login/Makefile (others-pie): Add pt_chown.
60317         ($(objpfx)pt_chown): Remove command override.
60318         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60319         remove command overrides.
60321 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60323         * libio/tst_putwc.c: Fix error messages.
60325         [BZ #12724]
60326         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60327         currently writing and seek to current position when not.
60328         * libio/Makefile (tests): Add bug-fclose1.
60329         * libio/bug-fclose1.c: New file.
60331 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60333         [BZ #12511]
60334         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60335         don't set DF_1_NODELETE here.
60336         (do_lookup_x): When entering new entry test for copy relocation
60337         and if necessary set DF_1_NODELETE flag.
60338         * elf/tst-unique4.cc: New file.
60339         * elf/tst-unique4.h: New file.
60340         * elf/tst-unique4lib.cc: New file.
60341         * elf/Makefile: Add rules to build and run tst-unique4.
60342         Patch by Piotr Bury <pbury@goahead.com>.
60344 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60346         [BZ #12052]
60347         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60349         [BZ #12625]
60350         * misc/mntent_r.c (addmntent): Flush the stream after the output
60352         [BZ #12393]
60353         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60354         (is_trusted_path_normalize): Skip initial colon.  Append slash
60355         to empty buffer.  Duplicate is_trusted_path code but allow
60356         constructed patch to be prefix.
60357         (is_dst): Allow $ORIGIN followed by /.
60358         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60359         Correct testing of result of is_trusted_path_normalize
60360         (decompose_rpath): Fix warning.
60362 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60364         [BZ #11257]
60365         * grp/initgroups.c (internal_getgrouplist): When we found the service
60366         list through the initgroups entry in nsswitch.conf do not always
60367         continue on a successful lookup.  Don't always use the
60368         __nss_group_database value if it is set.
60369         * nss/nsswitch.conf (initgroups): Change action for successful db
60370         lookup to continue for compatibility.
60372 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60374         [BZ #11532]
60375         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60376         and CP774 modules.
60377         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60378         and CP774 modules.
60379         * iconvdata/tst-tables.sh: Likewise.
60380         * iconvdata/cp770.c: New file.
60381         * iconvdata/cp771.c: New file.
60382         * iconvdata/cp772.c: New file.
60383         * iconvdata/cp773.c: New file.
60384         * iconvdata/cp774.c: New file.
60385         * iconvdata/testdata/CP770: New file.
60386         * iconvdata/testdata/CP770..UTF8: New file.
60387         * iconvdata/testdata/CP771: New file.
60388         * iconvdata/testdata/CP771..UTF8: New file.
60389         * iconvdata/testdata/CP772: New file.
60390         * iconvdata/testdata/CP772..UTF8: New file.
60391         * iconvdata/testdata/CP773: New file.
60392         * iconvdata/testdata/CP773..UTF8: New file.
60393         * iconvdata/testdata/CP774: New file.
60394         * iconvdata/testdata/CP774..UTF8: New file.
60396         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60397         END CHARMAP line.
60398         * iconvdata/gen-8bit-gap.sh: Likewise.
60399         * iconvdata/gen-8bit.sh: Likewise.
60401         * locale/iso-639.def: Add ary entry.
60403         [BZ #11258]
60404         * locale/C-translit.h.in: Add U20A1 transliteration.
60406         [BZ #12178]
60407         * locale/iso-639.def: Add wae entry.
60408         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60410         [BZ #12545]
60411         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60412         for n.
60414         [BZ #12711]
60415         * locale/C-translit.h.in: Add entry for U20B9.
60416         Patch by pravin.d.s@gmail.com.
60418 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60420         [BZ #12713]
60421         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60422         ENAMETOOLONG use generic getcwd.
60423         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60424         in rtld.  Use *stat64.
60425         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60426         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60427         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60428         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60429         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60430         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60431         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60432         __fstatat64 macros.
60433         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60434         * dirent/rewinddir.c: Add libc_hidden_def.
60435         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60436         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60438         * include/dirent.h (__alloc_dir): Add flags parameter.
60439         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60440         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60441         __alloc_dir.
60442         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60443         from fdopendir if O_CLOEXEC is already set.
60445 2011-03-15  Alan Modra  <amodra@gmail.com>
60447         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60448         l_tls_firstbyte_offset non-zero.  Save padding offset in
60449         l_tls_firstbyte_offset for later use.
60450         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60451         freeing static tls block.
60453 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60455         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60456         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60457         being defined by the kernel headers.
60459 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60461         [BZ #12734]
60462         * resolv/resolv.h: Define RES_NOTLDQUERY.
60463         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60464         no-tld-query and set RES_NOTLDQUERY.
60465         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60466         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60467         modern BIND to search name as TLD unless forbidden.
60469 2011-05-07  Petr Baudis  <pasky@suse.cz>
60470             Ulrich Drepper  <drepper@gmail.com>
60472         [BZ #12393]
60473         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60474         (is_trusted_path): ...to here.
60475         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60476         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60477         using is_trusted_path_normalize() in setuid scripts.
60479 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60481         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60482         __BEGIN/__END_DECLS.
60484 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60487         NSS_STATUS_NOTFOUND if no record was found.
60489 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60491         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60492         (headers-not-in-tirpc): Remove rpc/netdb.h
60493         * resolv/netdb.h: Revert last change.
60495 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60497         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60498         circular dependency between libgcc.a and libc.a.
60500 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60502         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60503         * nis/Makefile: Don't install rpcsvc/*.
60504         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60505         instead of <rpc/types.h>.
60506         (MAXHOSTNAMELEN): Define.
60508 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60510         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60512 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60514         [BZ #12714]
60515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60516         gethostbyname4_r when IPv6 results are possible.
60518 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60520         [BZ #12723]
60521         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60522         _PC_PIPE_BUF handling.
60524 2011-04-30  Bruno Haible  <bruno@clisp.org>
60526         [BZ #12717]
60527         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60528         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60529         to 'int'.
60530         * inet/getnameinfo.c (getnameinfo): Likewise.
60532 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60534         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60535         to groups setting in database lookup.
60536         * nss/nsswitch.conf: Add initgroups entry.
60538 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60540         [BZ #12685]
60541         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60542         mode string.
60543         Patch by Eric Blake <eblake@redhat.com>.
60545 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60547         * sunrpc/Makefile (need-export-routines): Add svc_run.
60548         (routines): Remove svc_run.
60549         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60550         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60551         * sunrpc/svc_run.c (svc_run): Likewise.
60552         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60554 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60556         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60557         problem in reallocation in last patch.
60559 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60561         * sunrpc/Makefile: Move inclusion of Rules.
60563 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60565         * nss/nss_files/files-initgroups.c: New file.
60566         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60567         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60568         _nss_files_initgroups_dyn.
60570 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60572         * elf/elf.h (R_ARM_IRELATIVE): Define.
60574 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60576         * po/ru.po: Update from translation team.
60578 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60580         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60581         dependencies.
60583 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60585         [BZ #12653]
60586         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60587         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60588         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60590         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60592 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60594         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60595         differing bytes.
60596         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60597         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60598         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60600 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60602         [BZ #12420]
60603         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60604         storing it.
60605         * stdlib/bug-getcontext.c: New file.
60606         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60608 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60610         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60611         instructions into .machine "z9-109".
60612         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60613         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60615 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60617         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60618         between environment variables and auxiliary vector.
60620 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60622         * Makefile: Add rules to build linkobj/libc.so.
60623         * include/libc-symbols.h: Define libc_hidden_nolink.
60624         * include/rpc/auth.h: Mark functions which are to be hidden.
60625         * include/rpc/auth_des.h: Likewise.
60626         * include/rpc/auth_unix.h: Likewise.
60627         * include/rpc/clnt.h: Likewise.
60628         * include/rpc/des_crypt.h: Likewise.
60629         * include/rpc/key_prot.h: Likewise.
60630         * include/rpc/pmap_clnt.h: Likewise.
60631         * include/rpc/pmap_prot.h: Likewise.
60632         * include/rpc/pmap_rmt.h: Likewise.
60633         * include/rpc/rpc_msg.h: Likewise.
60634         * include/rpc/svc.h: Likewise.
60635         * include/rpc/svc_auth.h: Likewise.
60636         * include/rpc/xdr.h: Likewise.
60637         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60638         * nss/Makefile: Likewise.
60639         * sunrpc/Makefile: Don't install headers.  Build library with normal
60640         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60641         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60642         for the compat linking library.  Remove use of INTDEF/INTUSE.
60643         * sunrpc/auth_none.c: Likewise.
60644         * sunrpc/auth_unix.c: Likewise.
60645         * sunrpc/authdes_prot.c: Likewise.
60646         * sunrpc/authuxprot.c: Likewise.
60647         * sunrpc/clnt_gen.c: Likewise.
60648         * sunrpc/clnt_perr.c: Likewise.
60649         * sunrpc/clnt_raw.c: Likewise.
60650         * sunrpc/clnt_simp.c: Likewise.
60651         * sunrpc/clnt_tcp.c: Likewise.
60652         * sunrpc/clnt_udp.c: Likewise.
60653         * sunrpc/clnt_unix.c: Likewise.
60654         * sunrpc/des_crypt.c: Likewise.
60655         * sunrpc/des_soft.c: Likewise.
60656         * sunrpc/get_myaddr.c: Likewise.
60657         * sunrpc/key_call.c: Likewise.
60658         * sunrpc/key_prot.c: Likewise.
60659         * sunrpc/netname.c: Likewise.
60660         * sunrpc/pm_getmaps.c: Likewise.
60661         * sunrpc/pm_getport.c: Likewise.
60662         * sunrpc/pmap_clnt.c: Likewise.
60663         * sunrpc/pmap_prot.c: Likewise.
60664         * sunrpc/pmap_prot2.c: Likewise.
60665         * sunrpc/pmap_rmt.c: Likewise.
60666         * sunrpc/publickey.c: Likewise.
60667         * sunrpc/rpc_cmsg.c: Likewise.
60668         * sunrpc/rpc_common.c: Likewise.
60669         * sunrpc/rpc_dtable.c: Likewise.
60670         * sunrpc/rpc_prot.c: Likewise.
60671         * sunrpc/rpc_thread.c: Likewise.
60672         * sunrpc/rtime.c: Likewise.
60673         * sunrpc/svc.c: Likewise.
60674         * sunrpc/svc_auth.c: Likewise.
60675         * sunrpc/svc_authux.c: Likewise.
60676         * sunrpc/svc_raw.c: Likewise.
60677         * sunrpc/svc_run.c: Likewise.
60678         * sunrpc/svc_simple.c: Likewise.
60679         * sunrpc/svc_tcp.c: Likewise.
60680         * sunrpc/svc_udp.c: Likewise.
60681         * sunrpc/svc_unix.c: Likewise.
60682         * sunrpc/svcauth_des.c: Likewise.
60683         * sunrpc/xcrypt.c: Likewise.
60684         * sunrpc/xdr.c: Likewise.
60685         * sunrpc/xdr_array.c: Likewise.
60686         * sunrpc/xdr_float.c: Likewise.
60687         * sunrpc/xdr_intXX_t.c: Likewise.
60688         * sunrpc/xdr_mem.c: Likewise.
60689         * sunrpc/xdr_rec.c: Likewise.
60690         * sunrpc/xdr_ref.c: Likewise.
60691         * sunrpc/xdr_sizeof.c: Likewise.
60692         * sunrpc/xdr_stdio.c: Likewise.
60694 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60696         [BZ #12650]
60697         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60698         * sysdeps/ia64/dl-tls.h: Likewise.
60699         * sysdeps/powerpc/dl-tls.h: Likewise.
60700         * sysdeps/s390/dl-tls.h: Likewise.
60701         * sysdeps/sh/dl-tls.h: Likewise.
60702         * sysdeps/sparc/dl-tls.h: Likewise.
60703         * sysdeps/x86_64/dl-tls.h: Likewise.
60704         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60706 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60708         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60709         rpath element also skip the following colon.
60710         (expand_dynamic_string_token): Add is_path parameter and pass
60711         down to DL_DST_REQUIRED and _dl_dst_substitute.
60712         (decompose_rpath): Call expand_dynamic_string_token with
60713         non-zero is_path.  Ignore empty rpaths.
60714         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60715         with zero is_path.
60717 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60720         Make cancelable.
60722 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60724         [BZ #12655]
60725         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60726         Patch by Filipe David Manana <fdmanana@apache.org>.
60728 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60730         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60731         Maintain aligned stack.
60732         (CHECK_RSP): Remove unused macro.
60734 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60736         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60737         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60739 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60741         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60743         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60745 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60747         [BZ #12518]
60748         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60749         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60750         * sysdeps/x86_64/memmove.c: New file.
60751         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60752         (memcpy): Renamed to ...
60753         (__new_memcpy): This.
60754         (memcpy): Provide GLIBC_2_14 memcpy.
60755         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60756         (memcpy): Provide GLIBC_2_2_5 memcpy.
60758 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60760         [BZ #12631]
60761         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60763 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60765         * misc/syncfs.c: New file.
60766         * misc/Makefile (routines): Add syncfs.
60767         * posix/unistd.h: Declare syncfs.
60768         * sysdeps/unix/syscalls.list: Add syncfs.
60770 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60772         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60773         open_by_handle_at.
60774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60775         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60776         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60777         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60779         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60780         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60782 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60786         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60792         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60793         sync_file_range.c with -fexceptions.
60794         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60795         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60796         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60797         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60798         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60799         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60801         sync_file_range as cancellation point
60802         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60803         now a wrapper around __call_sync_file_range with cancellation handling.
60804         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60806         function name to __call_sync_file_range.
60807         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60808         Add call_sync_file_range.
60810 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60813         bits/timex.h.
60815 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60817         * iconv/iconv.h: Fix typo in comment.
60818         * io/fcntl.h: Likewise.
60819         * libio/stdio.h: Likewise.
60820         * posix/spawn.h: Likewise.
60821         * posix/unistd.h: Likewise.
60822         * stdlib/stdlib.h: Likewise.
60823         * time/time.h: Likewise.
60824         * wcsmbs/wchar.h: Likewise.
60826         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60827         open_by_handle): Add.
60828         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60829         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60830         Augment a few comments.
60831         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60833         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60836         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60837         open_by_handle.
60839         * io/fcntl.h (AT_EMPTY_PATH): Define.
60841 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60843         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60844         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60845         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60846         to...
60847         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60848         * Versions.def: Add GLIBC_2.14.
60849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60850         Export.
60852 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60854         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60855         round counter.
60856         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60858 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60860         [BZ #12597]
60861         * string/test-strncmp.c (do_page_test): New function.
60862         (check2): Likewise.
60863         (test_main): Call check2.
60864         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60866 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60868         [BZ #12587]
60869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60870         Handle cache information in CPU leaf 4.
60871         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60873 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60875         [BZ #12583]
60876         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60877         character representation.
60878         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60880 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60882         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60883         END(__isnan) to END(__isnanf) to match function entry point/label
60884         EALIGN(__isnanf,...).
60886 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60888         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60890 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60892         [BZ #12510]
60893         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60894         copy from the symbol referenced in the relocation to initialize the
60895         used variable.
60896         Patch by Piotr Bury <pbury@goahead.com>.
60897         * elf/Makefile: Add rules to build and tst-unique3.
60898         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60899         * elf/tst-unique3.cc: New file.
60900         * elf/tst-unique3.h: New file.
60901         * elf/tst-unique3lib.cc: New file.
60902         * elf/tst-unique3lib2.cc: New file.
60904         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60906 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60908         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60909         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60910         to _start.
60912 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60914         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60915         to-be-loaded object along a path to loader is ld.so.
60917 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60918             Ulrich Drepper  <drepper@gmail.com>
60920         * sysdeps/x86_64/memset.S: After aligning destination, code
60921         branches to different locations depending on the value of
60922         misalignment, when multiarch is enabled. Fix this.
60924 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60926         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60927         Set _x86_64_preferred_memory_instruction for AMD processsors.
60928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60929         Set bit_Prefer_SSE_for_memop for AMD processors.
60931 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60933         * libio/fmemopen.c (fmemopen): Optimize a bit.
60935 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60937         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60939 2011-03-03  Roland McGrath  <roland@redhat.com>
60941         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60943 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60945         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60946         __bzero_ultra1 instead of __memset_ultra1.
60948 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60949             Ulrich Drepper  <drepper@gmail.com>
60951         [BZ #12509]
60952         * include/link.h (struct link_map): Add l_orig_initfini.
60953         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60954         returning unsuccessfully.
60955         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60956         close of a file loaded at startup, restore the original l_initfini
60957         list.
60958         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60959         list, store the pointer.
60960         * elf/Makefile ($(objpfx)noload-mem): New rule.
60961         (noload-ENV): Define.
60962         (tests): Add $(objpfx)noload-mem.
60963         * elf/noload.c: Include <memcheck.h>.
60964         (main): Call mtrace.  Close all opened handles.
60966 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60968         [BZ #12454]
60969         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60970         dependencies are missing.
60972 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60974         Fix __if_freereq crash: Unlike the generic version which uses free,
60975         Hurd needs munmap.
60976         * sysdeps/mach/hurd/ifreq.h: New file.
60978 2011-01-27  Petr Baudis  <pasky@suse.cz>
60979             Ulrich Drepper  <drepper@gmail.com>
60981         [BZ 12445]#
60982         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60983         to extend_alloca().
60984         * stdio-common/bug23.c: New file.
60985         * stdio-common/Makefile (tests): Add bug23.
60987 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60988             Ulrich Drepper  <drepper@gmail.com>
60990         [BZ #12489]
60991         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60992         before performing relro protection.  At old place add assertion
60993         to make sure nothing changed.
60995 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60996             Glauber de Oliveira Costa  <glommer@gmail.com>
60998         * elf/elf.h: Add new ARM TLS relocs.
61000 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61003         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61004         cast from r3.
61005         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61006         'tests' variable.
61007         * sysdeps/wordsize-64/tst-writev.c: New file.
61009 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61011         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61012         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61013         insns in _dl_start to prevent a TOC reference before relocs are
61014         resolved.
61016 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61018         [BZ #12469]
61019         * Makeconfig: Remove RANLIB definition.
61020         * Makerules: Don't use RANLIB.
61021         * aclocal.m4: Remove ranlib test.
61022         * configure.in: No need to check for ranlib.
61023         * elf/rtld-Rules: Don't use RANLIB.
61025 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61027         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61028         protection macro.
61029         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61030         inclusion protection macro.
61032         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61033         SIGRTMIN and SIGRTMAX and print information in that case only when
61034         SIGRTMIN is defined.
61036 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61038         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61039         arginfo fn returning -1.
61041         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61042         and thousands string is zero terminated.
61044 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61046         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61047         sysdeps/unix/sysv/linux/bits/socket.h.
61049 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61051         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61052         (__CPU_COUNT): Remove old macros.
61053         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61054         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61055         (__CPU_ALLOC, __CPU_FREE): Add macros.
61056         (__sched_cpualloc, __sched_cpufree): Add declarations.
61058 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61060         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61061         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61062         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61063         (readdhstai): Return value of addhstaiX call.
61064         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61065         (addgrbyX): Return value returned by cache_addgr.
61066         (readdgrbyname): Return value returned by addgrbyX.
61067         (readdgrbygid): Likewise.
61068         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61069         (addpwbyX): Return value returned by cache_addpw.
61070         (readdpwbyname): Return value returned by addhstbyX.
61071         (readdpwbyuid): Likewise.
61072         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61073         (addservbyX): Return value returned by cache_addserv.
61074         (readdservbyname): Return value returned by addservbyX:
61075         (readdservbyport): Likewise.
61076         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61077         (addhstbyX): Return value returned by cache_addhst.
61078         (readdhstbyname): Return value returned by addhstbyX.
61079         (readdhstbyaddr): Likewise.
61080         (readdhstbynamev6): Likewise.
61081         (readdhstbyaddrv6): Likewise.
61082         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61083         (readdinitgroups): Return value returned by addinitgroupsX.
61084         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61085         (prune_cache): Keep track of timeout value of re-added entries.
61086         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61087         * nscd/nscd.h: Adjust prototypes of readd* functions.
61089 2011-02-04  Roland McGrath  <roland@redhat.com>
61091         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61092         (nis_stats): Likewise.
61093         * nis/nis_modify.c (nis_modify): Likewise.
61094         * nis/nis_remove.c (nis_remove): Likewise.
61095         * nis/nis_add.c (nis_add): Likewise.
61097         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61099         * posix/fnmatch_loop.c: Add some consts.
61101         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61103 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61105         [BZ #12460]
61106         * config.make.in (config-cflags-novzeroupper): Define.
61107         * configure.in: Substitute libc_cv_cc_novzeroupper.
61108         * elf/Makefile (AVX-CFLAGS): Define.
61109         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61110         (CFLAGS-tst-auditmod4a.c): Likewise.
61111         (CFLAGS-tst-auditmod4b.c): Likewise.
61112         (CFLAGS-tst-auditmod6b.c): Likewise.
61113         (CFLAGS-tst-auditmod6c.c): Likewise.
61114         (CFLAGS-tst-auditmod7b.c): Likewise.
61115         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61117 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61119         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61120         function to the callback.
61121         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61123 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61125         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61126         of errno.
61128 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61130         [BZ #11724]
61131         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61132         of constructors.
61133         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61134         of destructors.
61135         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61137         [BZ #11724]
61138         * elf/Makefile: Add rules to build and run new test.
61139         * elf/tst-initorder.c: New file.
61140         * elf/tst-initorder.exp: New file.
61141         * elf/tst-initordera1.c: New file.
61142         * elf/tst-initordera2.c: New file.
61143         * elf/tst-initordera3.c: New file.
61144         * elf/tst-initordera4.c: New file.
61145         * elf/tst-initorderb1.c: New file.
61146         * elf/tst-initorderb2.c: New file.
61147         * elf/tst-order-a1.c: New file.
61148         * elf/tst-order-a2.c: New file.
61149         * elf/tst-order-a3.c: New file.
61150         * elf/tst-order-a4.c: New file.
61151         * elf/tst-order-b1.c: New file.
61152         * elf/tst-order-b2.c: New file.
61153         * elf/tst-order-main.c: New file.
61154         New test case by George Gensure <werkt0@gmail.com>.
61156 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61159         decoding ACE if AI_CANONIDN.
61161 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61163         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61165 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61167         * version.h (RELEASE): Bump for 2.13 release.
61168         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61170         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61172         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61173         MADV_NOHUGEPAGE.
61174         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61175         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61177         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61178         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61179         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61181         * posix/getconf.c: Update copyright year.
61182         * catgets/gencat.c: Likewise.
61183         * csu/version.c: Likewise.
61184         * debug/catchsegv.sh: Likewise.
61185         * debug/xtrace.sh: Likewise.
61186         * elf/ldconfig.c: Likewise.
61187         * elf/ldd.bash.in: Likewise.
61188         * elf/sprof.c (print_version): Likewise.
61189         * iconv/iconv_prog.c: Likewise.
61190         * iconv/iconvconfig.c: Likewise.
61191         * locale/programs/locale.c: Likewise.
61192         * locale/programs/localedef.c: Likewise.
61193         * malloc/memusage.sh: Likewise.
61194         * malloc/mtrace.pl: Likewise.
61195         * nscd/nscd.c (print_version): Likewise.
61196         * nss/getent.c: Likewise.
61198         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61199         PF_CAIF, and PF_ALG.
61200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61202 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61204         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61205         (modules-names): Use them.
61206         (ifunc-test-modules, ifunc-pie-tests): Define.
61207         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61208         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61209         (test-extras): Likewise.
61210         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61211         $(compile-command.c).
61212         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61213         (all-built-dso): Define.
61214         (check-textrel.out, check-execstack.out): Depend on it.
61216         * configure.in: Don't override --enable-multi-arch.
61218 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61220         [BZ #6812]
61221         * nscd/hstcache.c (tryagain): Define.
61222         (cache_addhst): Return tryagain not notfound for temporary errors.
61223         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61224         failed.
61226 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61228         [BZ #10563]
61229         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61230         to make the syscall.
61231         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61233         [BZ #12378]
61234         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61235         and fall back to matching as normal character if the string ends before
61236         the matching ']' is found.  This is what POSIX requires.
61237         * posix/testfnm.c: Adjust test result.
61238         * posix/globtest.sh: Adjust test result.  Add new test.
61239         * posix/tst-fnmatch.input: Likewise.
61240         * posix/tst-fnmatch2.c: Add new test.
61242 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61244         * elf/Makefile (check-execstack): Revert last change.  Depend on
61245         check-execstack.h.
61246         (check-execstack.h): New target.
61247         (generated): Add check-execstack.h.
61248         * elf/check-execstack.c: Include "check-execstack.h".
61249         (main): Revert last change.
61250         (handle_file): Return zero if GNU_STACK is absent and
61251         DEFAULT_STACK_PERMS doesn't include PF_X.
61253 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61255         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61256         in child fails because the descriptor is already closed.
61257         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61258         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61259         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61261         [BZ #12397]
61262         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61263         syscall.
61265         [BZ #10484]
61266         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61267         temporary buffer used to handle multi lookups locally.
61268         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61270 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61272         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61273         loader is ld.so.
61275 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61277         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61278         alignment for SSE2.
61280 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61282         [BZ #12394]
61283         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61284         characters.  When rounding increased number of integer digits recompute
61285         number of groups.
61286         * stdio-common/tst-grouping.c: New file.
61287         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61289 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61291         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61292         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61294         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61295         void.
61296         * bits/select.h: Likewise.
61298 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61300         * po/ja.po: Update from translation team.
61302 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61304         [BZ #11155]
61305         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61306         implementation just like for lxstat, fxstatat, et al.
61308 2010-12-27  Jim Meyering  <meyering@redhat.com>
61310         [BZ #12348]
61311         * posix/regexec.c (build_trtable): Return failure indication upon
61312         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61314 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61316         [BZ #12201]
61317         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61318         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61319         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61320         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61322         [BZ #12207]
61323         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61325         [BZ #12204]
61326         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61327         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61329 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61331         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61332         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61333         script has SORT_BY_INIT_PRIORITY.
61334         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61335         NO_CTORS_DTORS_SECTIONS is defined.
61336         * elf/soinit.c: Likewise.
61337         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61338         NO_CTORS_DTORS_SECTIONS is defined.
61339         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61340         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61341         * sysdeps/sh/init-first.c: Likewise.
61342         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61344 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61346         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61347         always use the slow path.
61349 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61351         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61352         similar rule which adds the sysdep directories to the header search in
61353         order to pick up the correct platform stackinfo.h.
61354         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61355         perform test if it is, otherwise return successfully without testing.
61356         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61357         DEFAULT_STACK_PERMS define in stackinfo.h.
61358         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61359         defined in stackinfo.h.
61360         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61361         DEFAULT_STACK_PERMS defined in stackinfo.h.
61362         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61363         * sysdeps/ia64/stackinfo.h: Likewise.
61364         * sysdeps/s390/stackinfo.h: Likewise.
61365         * sysdeps/sh/stackinfo.h: Likewise.
61366         * sysdeps/sparc/stackinfo.h: Likewise.
61367         * sysdeps/x86_64/stackinfo.h: Likewise.
61368         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61369         PF_X for powerpc64.  Retain PF_X for powerpc32.
61371 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61373         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61374         accurately.
61375         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61376         GETDENTS_64BIT_ALIGNED.
61378 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61380         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61382 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61384         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61385         _GNU_SOURCE.
61387         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61388         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61389         Remove __restrict.
61390         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61391         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61393 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61395         [BZ #11655]
61396         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61397         are initialized.
61399 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61401         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61403 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61405         * po/it.po: Update from translation team.
61407 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61410         unused codes.
61412 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61414         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61416 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61418         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61419         specially.
61420         (gaih_getanswer_slice): Likewise.
61422 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61426 2010-05-31  Petr Baudis  <pasky@suse.cz>
61428         [BZ #11149]
61429         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61430         silently even in the chroot mode.
61432 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61434         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61435         last patch a bit.  Pretty printing
61437 2010-05-31  Petr Baudis <pasky@suse.cz>
61439         [BZ #10085]
61440         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61441         initialization of skip_initgroups_dyn.
61443 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61445         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61446         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61448 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61450         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61452 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61454         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61455         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61456         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61457         ($(objpfx)tst-fnmatch-mem): New rule.
61458         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61459         * posix/tst-fnmatch.c (main): Call mtrace.
61461 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61464         Support Intel processor model 6 and model 0x2c.
61466 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61468         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61469           signed comparison.
61471 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61473         [BZ #12205]
61474         * string/test-strncasecmp.c (check_result): New function.
61475         (do_one_test): Use it.
61476         (check1): New function.
61477         (test_main): Use it.
61478         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61479         Support strcasecmp and strncasecmp.
61481 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61483         [BZ #12194]
61484         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61485         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61487 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61489         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61490         IFUNC support.
61491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61492         memset-x86-64.
61493         * sysdeps/x86_64/multiarch/bzero.S: New file.
61494         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61495         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61496         * sysdeps/x86_64/multiarch/memset.S: New file.
61497         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61499         Set bit_Prefer_SSE_for_memop for Intel processors.
61500         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61501         Define.
61502         (index_Prefer_SSE_for_memop): Define.
61503         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61505 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61507         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61508         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61510 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61512         [BZ #12191]
61513         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61514         (__x86_64_raw_data_cache_size_half): Likewise.
61515         (__x86_64_raw_shared_cache_size): Likewise.
61516         (__x86_64_raw_shared_cache_size_half): Likewise.
61518         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61519         (__x86_64_raw_data_cache_size_half): Likewise.
61520         (__x86_64_raw_shared_cache_size): Likewise.
61521         (__x86_64_raw_shared_cache_size_half): Likewise.
61522         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61523         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61524         and __x86_64_raw_shared_cache_size_half.  Round
61525         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61526         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61527         to multiple of 256 bytes.
61529 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61531         [BZ #12167]
61532         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61533         of inacessible symlinks.  Verify result of symlink before returning it.
61534         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61535         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61537 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61539         * math/math.h (isinf): Fix typo in comment.
61541 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61543         * po/da.po: Update from translation team.
61545 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61547         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61548         is added to the list.
61550 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61551             Ulrich Drepper  <drepper@gmail.com>
61553         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61554         the global list here.  Move code to...
61555         (_dl_add_to_namespace_list): ...here.  New function.
61556         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61557         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61558         * elf/dl-load.c (lose): Don't remove the element from the list.
61559         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61560         (_dl_map_object): Likewise.
61562 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61564         [BZ #12159]
61565         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61566         into all bytes of SSE register.
61567         Patch by Richard Li <richardpku@gmail.com>.
61569 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61571         [BZ #12140]
61572         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61573         perturbing.
61575 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61577         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61578         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61579         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61580         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61582         submachine.
61583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61585 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61587         * include/dlfcn.h (__RTLD_SECURE): Define.
61588         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61589         mode & __RTLD_SECURE instead.
61590         (open_path): Rename preloaded parameter to secure.
61591         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61592         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61593         * elf/dl-deps.c (openaux): Likewise.
61594         * elf/rtld.c (struct map_args): Remove is_preloaded.
61595         (map_doit): Don't use it.
61596         (dl_main): Likewise.
61597         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61598         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61600 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61602         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61603         (sysd-rules-targets): Remove duplicates.
61604         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61605         rtld-%.$o dependency.
61607 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61609         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61610         _dl_map_object do it.
61612 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61614         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61615         fast fma builtins, define the macros in the C99 standard.
61616         (FP_FAST_FMAF): Likewise.
61617         (FP_FAST_FMAL): Likewise.
61618         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61620         * bits/mathdef.h: Update copyright year.
61621         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61623 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61625         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61626         builtins, define the macros in the C99 standard.
61627         (FP_FAST_FMAF): Likewise.
61628         (FP_FAST_FMAL): Likewise.
61629         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61630         multiply/add.
61631         (FP_FAST_FMAF): Likewise.
61633 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61635         [BZ #3268]
61636         * math/libm-test.inc (fma_test): Some new testcases.
61637         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61638         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61639         y and infinite z.  Do multiplication by C already in long double.
61640         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61642         y and infinite z.  Do bitwise or of inexact bit into u.d.
61643         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61644         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61645         * sysdeps/i386/fpu/s_fma.S: Removed.
61646         * sysdeps/i386/fpu/s_fmal.S: Removed.
61648 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61650         [BZ #3268]
61651         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61653         computation is not scheduled after fetestexcept.  Fix value
61654         of minimum denormal long double.
61656 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61658         [BZ #3268]
61659         * math/libm-test.inc (fma_test): Add some more tests.
61660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61661         correctly.
61663 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61665         * scripts/data/localplt-s390-linux-gnu.data: New file.
61666         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61668 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61670         [BZ #3268]
61671         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61672         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61673         instead of dbl-64.
61674         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61675         inlines.
61676         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61678         if one of x and y is very large and the other is subnormal.
61679         * sysdeps/s390/fpu/s_fmaf.c: New file.
61680         * sysdeps/s390/fpu/s_fma.c: New file.
61681         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61682         * sysdeps/powerpc/fpu/s_fma.S: New file.
61683         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61684         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61685         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61687 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61689         [BZ #3268]
61690         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61691         fma tests.
61692         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61693         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61694         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61695         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61696         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61697         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61700 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61702         [BZ #12078]
61703         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61704         * posix/bug-regex31.input: Add test case.
61706 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61708         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61709         * posix/bug-regex31.input: New file.
61711         [BZ #12078]
61712         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61713         (parse_sub_exp): Fix last change, use postorder.
61715         * posix/bug-regex31.c: New file.
61716         * posix/Makefile: Add rules to build and run bug-regex31.
61718         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61720         [BZ #12078]
61721         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61723         [BZ #12108]
61724         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61725         to have entries in sys_siglist.
61727         [BZ #12093]
61728         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61729         be NULL.
61731 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61733         [BZ #3268]
61734         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61735         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61736         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61737         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61738         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61739         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61740         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61741         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61742         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61743         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61744         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61745         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61746         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61747         * math/ftestexcept.c (fetestexcept): Likewise.
61748         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61749         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61750         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61751         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61752         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61753         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61754         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61756 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61758         [BZ #12107]
61759         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61760         newline.
61762 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61764         * string/bug-strstr1.c: New file.
61765         * string/Makefile: Add rules to build and run bug-strstr1.
61767 2010-10-05  Eric Blake  <eblake@redhat.com>
61769         [BZ #12092]
61770         * string/str-two-way.h (two_way_long_needle): Always clear memory
61771         when skipping input due to the shift table.
61773 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61775         [BZ #12005]
61776         * malloc/mcheck.c: Handle large requests.
61778         [BZ #12077]
61779         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61780         for strncmp and strncasecmp.
61781         * string/stratcliff.c: Add tests for strcmp and strncmp.
61782         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61784 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61786         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61787         __set_fpscr.
61789 2010-09-30  Andreas Jaeger  <aj@suse.de>
61791         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61792         (CGROUP_SUPER_MAGIC): Define.
61793         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61794         Handle btrfs and cgroup file systems.
61795         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61796         Likewise.
61798 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61800         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61801         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61803 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61805         [BZ #12067]
61806         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61807         trying to locate the ELF header.
61809 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61811         [BZ #11611]
61812         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61813         Mask out sign-bit copies when constructing f_fsid.
61815 2010-09-24  Petr Baudis <pasky@suse.cz>
61817         * debug/stack_chk_fail_local.c: Add missing licence exception.
61818         * debug/warning-nop.c: Likewise.
61820 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61822         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61823         implementing getdents64 using getdents syscall, set d_type if
61824         __ASSUME_GETDENTS32_D_TYPE.
61826 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61828         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61829         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61831 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61833         [BZ #12037]
61834         * posix/unistd.h: Undo change of feature selection for ftruncate from
61835         2010-01-11.
61837 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61839         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61840         detection.
61842 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61844         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61845         fanotify_mark.
61846         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61848 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61850         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61851         variables after CHECK_SP call.
61852         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61854 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61855             Ulrich Drepper  <drepper@redhat.com>
61857         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61858         re-relocationg ld.so.
61859         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61860         _dl_init_paths call.
61861         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61862         here anymore.
61864 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61866         * resolv/res_init.c (__res_vinit): Count the default server we added.
61868 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61869             Ulrich Drepper  <drepper@redhat.com>
61871         [BZ #11968]
61872         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61873         (____longjmp_chk): Use %ebx for saving value across system call.
61874         Add unwind info.
61876 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61878         * manual/Makefile: Don't mix pattern rules with normal rules.
61880 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61882         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61883         operation.
61884         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61885         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61886         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61887         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61889         Likewise.
61891 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61893         [BZ #11979]
61894         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61895         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61897 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61899         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61900         * sysdeps/x86_64/addmul_1.S: Likewise.
61901         * sysdeps/x86_64/lshift.S: Likewise.
61902         * sysdeps/x86_64/mul_1.S: Likewise.
61903         * sysdeps/x86_64/rshift.S: Likewise.
61904         * sysdeps/x86_64/sub_n.S: Likewise.
61905         * sysdeps/x86_64/submul_1.S: Likewise.
61907 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61909         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61910         Define __sched_param instead of SCHED_* and sched_param when
61911         <bits/sched.h> is included with __need_schedparam defined.
61912         * bits/sched.h [__need_schedparam]
61913         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61914         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61915         (__defined_schedparam): Define to 1.
61916         (__sched_param): New structure, identical to sched_param.
61917         (__need_schedparam): Undefine.
61919 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61922         (epoll_create1): Declare.
61924         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61926 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61928         [BZ #7066]
61929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61930         shifting retval into place.
61932 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61934         * nis/rpcsvc/nis.h: Update copyright notice.
61935         * nis/rpcsvc/nis.x: Likewise.
61936         * nis/rpcsvc/nis_callback.h: Likewise.
61937         * nis/rpcsvc/nis_callback.x: Likewise.
61938         * nis/rpcsvc/nis_object.x: Likewise.
61939         * nis/rpcsvc/nis_tags.h: Likewise.
61940         * nis/rpcsvc/yp.h: Likewise.
61941         * nis/rpcsvc/yp.x: Likewise.
61942         * nis/rpcsvc/ypupd.h: Likewise.
61943         * nis/yp_xdr.c: Likewise.
61944         * nis/ypupdate_xdr.c: Likewise.
61946         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61947         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61948         (pmap_getport): Use __libc_rpc_getport.
61949         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61950         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61951         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61953 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61956         fanotify_mark.
61958 2010-08-27  Roland McGrath  <roland@redhat.com>
61960         * sysdeps/i386/i686/multiarch/Makefile
61961         (CFLAGS-varshift.c): New variable.
61963 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61965         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61966         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61968         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61970         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61972 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61974         * sysdeps/x86_64/strlen.S: Unroll the loop.
61975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61976         strlen-sse2 strlen-sse2-bsf.
61977         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61978         __strlen_no_bsf if bit_Slow_BSF is set.
61979         (__strlen_sse42): Removed.
61980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61981         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61983 2010-08-25  Roland McGrath  <roland@redhat.com>
61985         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61986         * sysdeps/x86_64/multiarch/varshift.c: New file.
61987         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61988         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61989         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61990         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61992 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61994         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61995         strlen-sse2 strlen-sse2-bsf.
61996         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61997         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61998         (__strlen_sse2): Removed.
61999         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62002         bit_Slow_BSF for Atom.
62003         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62004         (index_Slow_BSF): Define.
62005         (HAS_SLOW_BSF): Define.
62007 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62009         [BZ #10851]
62010         * resolv/res_init.c (__res_vinit): When no server address at all
62011         is given default to loopback.
62013 2010-08-24  Roland McGrath  <roland@redhat.com>
62015         * configure.in: Remove config-name.h generation.
62016         * configure: Regenerated.
62017         * config-name.in: File removed.
62018         * scripts/config-uname.sh: New file.
62019         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62020         ($(objdir)config-name.h): New target.
62022         * sunrpc/rpc_parse.h: Avoid nested comment.
62024 2010-08-24  Richard Henderson  <rth@redhat.com>
62025             Ulrich Drepper  <drepper@redhat.com>
62026             H.J. Lu  <hongjiu.lu@intel.com>
62028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62030         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62031         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62032         _mm_alignr_epi8 with _mm_loadu_si128.
62033         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62034         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62035         (__m128i_shift_right): Removed.
62036         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62037         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62038         * sysdeps/x86_64/multiarch/varshift.h: New file.
62039         * sysdeps/x86_64/multiarch/varshift.S: New file.
62041 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62043         * configure.in: Move assembler checks to before sysdep dir checking.
62045 2010-08-20  Petr Baudis  <pasky@suse.cz>
62047         * LICENSES: Sync the sunrpc license.
62049 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62051         * sunrpc/auth_des.c: Update copyright notice once again.
62052         * sunrpc/auth_none.c: Likewise.
62053         * sunrpc/auth_unix.c: Likewise.
62054         * sunrpc/authdes_prot.c: Likewise.
62055         * sunrpc/authuxprot.c: Likewise.
62056         * sunrpc/bindrsvprt.c: Likewise.
62057         * sunrpc/clnt_gen.c: Likewise.
62058         * sunrpc/clnt_perr.c: Likewise.
62059         * sunrpc/clnt_raw.c: Likewise.
62060         * sunrpc/clnt_simp.c: Likewise.
62061         * sunrpc/clnt_tcp.c: Likewise.
62062         * sunrpc/clnt_udp.c: Likewise.
62063         * sunrpc/clnt_unix.c: Likewise.
62064         * sunrpc/des_crypt.c: Likewise.
62065         * sunrpc/des_soft.c: Likewise.
62066         * sunrpc/get_myaddr.c: Likewise.
62067         * sunrpc/getrpcport.c: Likewise.
62068         * sunrpc/key_call.c: Likewise.
62069         * sunrpc/key_prot.c: Likewise.
62070         * sunrpc/openchild.c: Likewise.
62071         * sunrpc/pm_getmaps.c: Likewise.
62072         * sunrpc/pm_getport.c: Likewise.
62073         * sunrpc/pmap_clnt.c: Likewise.
62074         * sunrpc/pmap_prot.c: Likewise.
62075         * sunrpc/pmap_prot2.c: Likewise.
62076         * sunrpc/pmap_rmt.c: Likewise.
62077         * sunrpc/rpc/auth.h: Likewise.
62078         * sunrpc/rpc/auth_unix.h: Likewise.
62079         * sunrpc/rpc/clnt.h: Likewise.
62080         * sunrpc/rpc/des_crypt.h: Likewise.
62081         * sunrpc/rpc/key_prot.h: Likewise.
62082         * sunrpc/rpc/netdb.h: Likewise.
62083         * sunrpc/rpc/pmap_clnt.h: Likewise.
62084         * sunrpc/rpc/pmap_prot.h: Likewise.
62085         * sunrpc/rpc/pmap_rmt.h: Likewise.
62086         * sunrpc/rpc/rpc.h: Likewise.
62087         * sunrpc/rpc/rpc_des.h: Likewise.
62088         * sunrpc/rpc/rpc_msg.h: Likewise.
62089         * sunrpc/rpc/svc.h: Likewise.
62090         * sunrpc/rpc/svc_auth.h: Likewise.
62091         * sunrpc/rpc/types.h: Likewise.
62092         * sunrpc/rpc/xdr.h: Likewise.
62093         * sunrpc/rpc_clntout.c: Likewise.
62094         * sunrpc/rpc_cmsg.c: Likewise.
62095         * sunrpc/rpc_common.c: Likewise.
62096         * sunrpc/rpc_cout.c: Likewise.
62097         * sunrpc/rpc_dtable.c: Likewise.
62098         * sunrpc/rpc_hout.c: Likewise.
62099         * sunrpc/rpc_main.c: Likewise.
62100         * sunrpc/rpc_parse.c: Likewise.
62101         * sunrpc/rpc_parse.h: Likewise.
62102         * sunrpc/rpc_prot.c: Likewise.
62103         * sunrpc/rpc_sample.c: Likewise.
62104         * sunrpc/rpc_scan.c: Likewise.
62105         * sunrpc/rpc_scan.h: Likewise.
62106         * sunrpc/rpc_svcout.c: Likewise.
62107         * sunrpc/rpc_tblout.c: Likewise.
62108         * sunrpc/rpc_util.c: Likewise.
62109         * sunrpc/rpc_util.h: Likewise.
62110         * sunrpc/rpcinfo.c: Likewise.
62111         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62112         * sunrpc/rpcsvc/key_prot.x: Likewise.
62113         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62114         * sunrpc/rpcsvc/mount.x: Likewise.
62115         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62116         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62117         * sunrpc/rpcsvc/rex.x: Likewise.
62118         * sunrpc/rpcsvc/rstat.x: Likewise.
62119         * sunrpc/rpcsvc/rusers.x: Likewise.
62120         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62121         * sunrpc/rpcsvc/spray.x: Likewise.
62122         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62123         * sunrpc/rtime.c: Likewise.
62124         * sunrpc/svc.c: Likewise.
62125         * sunrpc/svc_auth.c: Likewise.
62126         * sunrpc/svc_authux.c: Likewise.
62127         * sunrpc/svc_raw.c: Likewise.
62128         * sunrpc/svc_run.c: Likewise.
62129         * sunrpc/svc_simple.c: Likewise.
62130         * sunrpc/svc_tcp.c: Likewise.
62131         * sunrpc/svc_udp.c: Likewise.
62132         * sunrpc/svc_unix.c: Likewise.
62133         * sunrpc/svcauth_des.c: Likewise.
62134         * sunrpc/xcrypt.c: Likewise.
62135         * sunrpc/xdr.c: Likewise.
62136         * sunrpc/xdr_array.c: Likewise.
62137         * sunrpc/xdr_float.c: Likewise.
62138         * sunrpc/xdr_mem.c: Likewise.
62139         * sunrpc/xdr_rec.c: Likewise.
62140         * sunrpc/xdr_ref.c: Likewise.
62141         * sunrpc/xdr_sizeof.c: Likewise.
62142         * sunrpc/xdr_stdio.c: Likewise.
62144         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62145         handling.
62147 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62149         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62151 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62153         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62154         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62155         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62156         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62157         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62158         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62159         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62160         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62161         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62162         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62163         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62164         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62165         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62166         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62168 2010-07-26  Anton Blanchard  <anton@samba.org>
62170         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62171         * malloc/arena.c (heap_trim): Likewise.
62173 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62175         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62176         here.  Not...
62177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62178         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62180 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62182         * sysdeps/i386/elf/Makefile: New file.
62184 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62186         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62187         from fanotify_init.
62188         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62191 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62193         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62194         of strncasecmp_l.
62195         * sysdeps/multiarch/strcmp.S: Likewise.
62197 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62199         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62200         strncase_l-nonascii.
62201         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62202         Add strncase_l-ssse3.
62203         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62204         * sysdeps/x86_64/strcmp.S: Likewise.
62205         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62206         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62207         * sysdeps/x86_64/strncase.S: New file.
62208         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62209         * sysdeps/x86_64/strncase_l.S: New file.
62210         * string/Makefile (strop-tests): Add strncasecmp.
62211         * string/test-strncasecmp.c: New file.
62213         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62214         warning.
62216         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62217         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62219 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62221         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62223 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62225         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62226         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62227         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62229 2010-05-01  Alan Modra  <amodra@gmail.com>
62231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62232         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62233         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62234         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62235         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62236         tidying.  Don't tail-call __sigjmp_save for static lib.
62237         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62238         save location.
62239         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62240         (CALL_MCOUNT): Add eh info, and nop after bl.
62241         (TAIL_CALL_SYSCALL_ERROR): New macro.
62242         (PSEUDO_RET): Use it.
62243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62244         Correct save location of integer regs and cr.
62245         (_dl_profile_resolve): Correct cr save location.  Delete nops
62246         after bl when SHARED.  Reduce cfi size a little by better
62247         placement of cfi directives.
62248         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62249         make a stack frame.  Instead use parm save area as a temp.
62250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62251         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62253         Don't make a stack frame for parent, use parm save area.
62254         Increase child stack frame to 112 bytes.  Don't save unused reg,
62255         and adjust reg usage.  Set up cfi on error recovery and
62256         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62258         (__makecontext): Add dummy nop after jump to exit.
62259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62260         Use correct parm save area and cr save, reduce stack frame.
62261         Correct cfi for possible PSEUDO_RET frame setup.
62262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62263         Branch to local label emitted by PSEUDO_RET rather than
62264         __syscall_error.
62266 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62268         [BZ #11904]
62269         * locale/programs/locale.c (print_assignment): New function.
62270         (show_locale_vars): Use it.
62272 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62274         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62275         field.
62276         (struct statfs64): Likewise.
62277         (_STATFS_F_FLAGS): Define.
62278         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62280         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62281         (ST_VALID): Define locally.
62282         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62283         __statvfs_getflags, use the provided value.
62284         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62285         __ASSUME_STATFS_F_FLAGS.
62287         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62289         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62290         Add sys/fanotify.h.
62291         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62292         fanotify_mask for GLIBC_2.13.
62293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62294         fanotify_init and fanotify_mark.
62295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62296         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62298         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62299         Add prlimit.
62300         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62301         prlimit64 for GLIBC_2.13.
62302         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62303         prlimit64.
62304         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62305         syscall.
62306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62308         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62309         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62311         add prlimit alias.
62312         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62314         [BZ #11903]
62315         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62316         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62318         * nss/Makefile: Add rules to build and run tst-nss-test1.
62319         * shlib-versions: Add entry for libnss_test1.
62320         * nss/nss_test1.c: New file.
62321         * nss/tst-nss-test1.c: New file.
62323         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62324         (__nss_configure_lookup): Set appropriate entry in
62325         __nss_configure_lookup to true.
62326         * nss/nsswitch.h: Define enum with indeces of databases in
62327         databases and __nss_database_custom arrays.  Declare
62328         __nss_database_custom.
62329         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62330         to avoid using nscd when custom rules are installed.
62331         * nss/getXXbyYY_r.c: Likewise.
62332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62334         * nss/nss_files/files-parse.c: Whitespace fixes.
62336 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62338         [BZ #11883]
62339         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62340         * posix/fnmatch_loop.c: Likewise.
62342 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62344         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62345         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62346         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62347         * Versions.def [GLIBC_2.13]: Add.
62349 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62351         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62352         Also fail if tpwd after pwuid call is NULL.
62354 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62356         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62357         when converting to ms.
62359 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62361         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62362         EOPNOTSUPP errors with ENOTTY.
62363         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62364         EOPNOTSUPP errors with ENOTTY.
62366 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62368         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62369         Add strcasecmp_l-ssse3.
62370         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62371         strcasecmp.
62372         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62373         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62374         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62376 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62378         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62380         * string/Makefile (strop-tests): Add strcasecmp.
62381         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62382         strcasecmp_l-nonascii.
62383         (gen-as-const-headers): Add locale-defines.sym.
62384         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62385         * sysdeps/x86_64/strcasecmp.S: New file.
62386         * sysdeps/x86_64/strcasecmp_l.S: New file.
62387         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62388         * sysdeps/x86_64/locale-defines.sym: New file.
62389         * string/test-strcasecmp.c: New file.
62391         * string/test-strcasestr.c: Test both ends of the range of characters.
62392         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62394 2010-07-29  Roland McGrath  <roland@redhat.com>
62396         [BZ #11856]
62397         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62399 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62401         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62402         for ld.so.
62404 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62406         * manual/memory.texi (Malloc Tunable Parameters): Document
62407         M_PERTURB.
62409 2010-07-26  Roland McGrath  <roland@redhat.com>
62411         [BZ #11840]
62412         * configure.in (-fgnu89-inline check): Set and substitute
62413         gnu89_inline, not libc_cv_gnu89_inline.
62414         * configure: Regenerated.
62415         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62417 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62419         * string/test-strnlen.c: New file.
62420         * string/Makefile (strop-tests): Add strnlen.
62421         * string/tester.c (test_strnlen): Add a few more test cases.
62422         * string/tst-strlen.c: Better error reporting.
62424         * sysdeps/x86_64/strnlen.S: New file.
62426 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62429         lower-latency instructions.
62431 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62433         * string/test-strcasestr.c: New file.
62434         * string/test-strstr.c: New file.
62435         * string/Makefile (strop-tests): Add strstr and strcasestr.
62436         * string/str-two-way.h: Don't undefine MAX.
62437         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62439 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62442         strcasestr-nonascii.
62443         (CFLAGS-strcasestr-nonascii.c): Define.
62444         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62445         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62446         Remove unused attribute.
62448 2010-07-20  Roland McGrath  <roland@redhat.com>
62450         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62451         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62452         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62453         like LD_HWCAP_MASK can disable hwcaps.
62455 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62457         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62459 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62461         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62462         call in strcasestr.
62463         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62464         __strcasestr_sse42_nonascii.
62465         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62466         strcasestr-nonascii.c.
62467         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62469 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62471         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62473         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62476 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62479         fcntl.
62481 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62483         [BZ #11577]
62484         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62485         dl_signal_cerror.
62487 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62489         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62490         _PC_PIPE_BUF using F_GETPIPE_SZ.
62492 2010-07-05  Roland McGrath  <roland@redhat.com>
62494         * manual/arith.texi (Rounding Functions): Fix rint description
62495         implicit in round description.
62497 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62499         * elf/Makefile: Fix linking for a few tests to make recent linker
62500         happy.
62502 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62504         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62505         $(common-objpfx)libc_nonshared.a.
62507 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62509         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62510         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62511         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62512         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62513         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62514         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62515         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62516         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62531         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62532         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62533         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62534         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62535         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62536         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62537         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62538         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62539         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62540         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62541         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62542         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62558 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62560         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62561         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62562         * string/memmove.c (memmove): Renamed to ...
62563         (MEMMOVE): ...this.  Default to memmove.
62564         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62565         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62566         (END_CHK): Define.
62567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62568         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62569         mempcpy-ssse3-back memmove-ssse3-back.
62570         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62572         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62573         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62574         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62575         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62576         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62577         * sysdeps/x86_64/multiarch/memmove.c: New file.
62578         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62579         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62580         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62581         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62584         Define.
62585         (index_Fast_Copy_Backward): Define.
62586         (HAS_ARCH_FEATURE): Define.
62587         (HAS_FAST_REP_STRING): Define.
62588         (HAS_FAST_COPY_BACKWARD): Define.
62590 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62592         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62593         Restore proper fallback handling.
62595 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62597         [BZ #11701]
62598         * posix/group_member.c (__group_member): Correct checking loop.
62600         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62601         OOM in getpwuid_r correctly.  Return error number when the caller
62602         should return, otherwise -1.
62603         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62604         call returning > 0 value.
62605         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62607 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62609         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62610         libc_nonshared.a from targets in modules-names.
62612 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62614         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62615         requires it.
62617 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62620         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62621         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62622         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62624 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62626         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62628 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62630         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62631         and F_GETPIPE_SZ.
62632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62636         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62637         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62639 2010-06-14  Roland McGrath  <roland@redhat.com>
62641         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62643 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62645         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62646         __REDIRECT followed by __THROW.
62647         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62648         * posix/getopt.h (getopt): Likewise.
62650 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62652         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62653         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62654         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62655         in AT_FLAGS.
62656         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62657         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62659 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62661         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62663 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62665         [BZ #11640]
62666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62667         Properly check family and model.
62669 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62671         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62673 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62675         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62677 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62679         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62680         symbol reference.
62682 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62684         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62685         symbol reference.
62687 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62689         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62690         and internal_recvmmsg.
62691         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62692         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62693         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62694         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62696         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62697         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62698         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62700 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62702         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62704 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62706         POWER7 optimizations.
62707         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62708         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62710 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62712         * version.h: Update for 2.13 development version.
62714 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62716         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62717         exceptions.  Return 0.
62719 2010-05-07  Roland McGrath  <roland@redhat.com>
62721         * elf/ldconfig.c (main): Add a const.
62723 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62725         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62726         (args_options): Add no-idn option.
62727         (ahosts_keys_int): Add idn_flags to ai_flags.
62728         (parse_option): Handle 'i' option to clear idn_flags.
62730         * malloc/malloc.c (_int_free): Possible race in the most recently
62731         added check.  Only act on the data if no current modification
62732         happened.
62734 See ChangeLog.17 for earlier changes.